Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


HP Printers

 
Post new topic   Reply to topic    Cacti Forum Index -> Scripts and Templates
Author Message
ottomatic



Joined: 20 Mar 2006
Posts: 9

PostPosted: Thu Mar 23, 2006 12:08 pm    Post subject: HP Printers Reply with quote

I know this kind of topic gets mentioned alot, but this is something that is driving me crazy.

I can get any page count on any HP printer. But for the life of me I can not get the toner usage. I've looked at every OID on the internet. Here's the OID's that I have checked....


BLACK CURRENT: .1.3.6.1.2.1.43.11.1.1.9.1.1
BLACK MAX: .1.3.6.1.2.1.43.11.1.1.8.1.1
CYAN CURRENT: .1.3.6.1.2.1.43.11.1.1.9.1.2
MAGENTA CURRENT: .1.3.6.1.2.1.43.11.1.1.9.1.3
YELLOW CURRENT: .1.3.6.1.2.1.43.11.1.1.9.1.4


I find these numbers all over the internet but none of them work.

The printers that I am trying to graph are the HP LaserJet 4000 and 5100. The the HP Color LaserJet 5500.


Can someone please tell me where I can find the good OID's or if they don't exist.
Back to top
NHDave
Cacti User


Joined: 20 Mar 2005
Posts: 58

PostPosted: Fri Mar 24, 2006 2:47 am    Post subject: Re: HP Printers Reply with quote

ottomatic wrote:
I know this kind of topic gets mentioned alot, but this is something that is driving me crazy.

I can get any page count on any HP printer. But for the life of me I can not get the toner usage. I've looked at every OID on the internet. Here's the OID's that I have checked....


I use the ones here for a number of HP printers:
http://forums.cacti.net/viewtopic.php?t=6941&start=0&postdays=0&postorder=asc&highlight=
Back to top
ottomatic



Joined: 20 Mar 2006
Posts: 9

PostPosted: Fri Mar 24, 2006 10:56 am    Post subject: Reply with quote

That's the script I am using for the page counters and that works fine.

So today I sucked it up and called HP's JetDirect support and they gave me a website. http://new.hpdevelopersolutions.com/spp/Public/Sdk/SdkPublicDownload.aspx

Switch the drop down to "Laserjet and Digital Sender." Then expand "Printer Management" > then "Printer Specific MIBs"

Then I went and grabbed this freeware program to browse through the MIB that I downloaded from the address above. This program gives you the OID. Download here

I guess they don't have the OID's for my printers yet.
Back to top
bio777



Joined: 17 Mar 2006
Posts: 12

PostPosted: Wed Apr 05, 2006 7:35 am    Post subject: Reply with quote

well... do you have internal jetdirect cards (the 4000N or 5100N) or do you have external jetdirect boxes on those printers (4000 or 5100) ?

if external you can forget about toner levels because they are set to 0 !!

regards
bio..
Back to top
hnlk



Joined: 10 Apr 2006
Posts: 1

PostPosted: Mon Apr 10, 2006 7:13 pm    Post subject: Reply with quote

I have the same problem with Dell printers. There's no OID available on the net. However, the web interface shows the toner and maintenance kit levels. So I wrote a PHP script that gathers the toner/maintenance kit levels from the web interface and put it inside a Data Input Method.

I don't know if your printers' jetdirects use simple HTML or are JAVA based. If it's simple HTML, then it shouldn't be too difficult to generate the php script.
Back to top
jwashburn



Joined: 09 Jun 2006
Posts: 33

PostPosted: Fri Jul 28, 2006 9:56 am    Post subject: Reply with quote

hnlk wrote:
I have the same problem with Dell printers. There's no OID available on the net. However, the web interface shows the toner and maintenance kit levels. So I wrote a PHP script that gathers the toner/maintenance kit levels from the web interface and put it inside a Data Input Method.

I don't know if your printers' jetdirects use simple HTML or are JAVA based. If it's simple HTML, then it shouldn't be too difficult to generate the php script.


If you wouldnt mind would you share your PHP script to grab that information
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Scripts and Templates All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group