Greetings,
I am trying to monitor the printer status of my Xerox beast that sits beside me.
The data is quite easy to get at from the command line:
# snmpget -c public -v 1 -OnU n2025 1.3.6.1.2.1.25.3.5.1.1.1
.1.3.6.1.2.1.25.3.5.1.1.1 = INTEGER: idle(3)
In cacti I've set up a data template, etc., but when I try to retrieve this data, I'm getting the following error:
05/15/2005 04:10:04 PM - CMDPHP: Poller[0] Host[10] WARNING: Result from SNMP not valid. Partial Result: idle(3)
Any ideas how I can get cacti to read the result (preferably without having to muck around by writing a script to do that call and mangle the output...
hrPrinterStatus
Moderators: Developers, Moderators
Could try applying the patch here, http://forums.cacti.net/viewtopic.php?t=7289&start=15 (scroll down to the bottom), which should eliminate the text from being returned. But since the number is inside the text, my guess is that it will remove it all.
Another option is to run net-snmp with the option to not return any text.
Lastly, creating and running a script, isn't that hard to do.
Another option is to run net-snmp with the option to not return any text.
Lastly, creating and running a script, isn't that hard to do.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Who is online
Users browsing this forum: No registered users and 3 guests