[mrtg] Mrtg to gather printer pagecounts?
swb at mercury.campbell-mithun.com
Wed Sep 29 19:24:50 MEST 1999
OK, so I've been reading the FAQs and config docs, and it seems that I
should be able to use mrtg to graph printer page counts. I don't have the
HP printer MIBs installed, but an smpwalk of my printer revealed that the
OID 188.8.131.52.4.1.1 is an HP5si's pagecount variable.
I copied an existing entry from my cfg and modified it like so:
Target[10.10.10.1]: 184.108.40.206.4.1.1&220.127.116.11.4.1.1:public at 10.10.10.1
Title[10.10.10.1]: (): 10.10.10.1
PageTop[10.10.10.1]: <H1>Pagecount for 10.10.10.1
According to the Target keyword docs, I should be able to pass it two OIDs
(in this case, the same ones, the graph should just track identical values
for in and out).
When I run mrtg with this in my config, I get:
Cannot encode Object ID 18.104.22.168.4.1.1: first subid too big in Object ID
22.214.171.124.4.1.1 at /SNMP_util.pm line 958.
SNMPGET: Failed to reach target:
"126.96.36.199.4.1.1&188.8.131.52.4.1.1:public at 10.10.10.1. I tried multiple times!
I'm presuming that the second error is due to the first error. Is there
something wrong with the OID I'm passing to it? snmpget doesn't seem to
have a problem with it. Do I need to pass it a "smaller" OID (lop off one
of the octets?). Or is this a case where I have to use a seperate program
to snarf the data?
Thanks for any help.
* To unsubscribe from the mrtg mailing list, send a message with the
subject: unsubscribe to mrtg-request at list.ee.ethz.ch
* The mailing list archive is at http://www.ee.ethz.ch/~slist/mrtg
More information about the mrtg