On May 30, 2008, at 11:29 AM, mosburn wrote:
I am attempting to graph the value from a custom SNMP script. The
basic premise of the script is to grab the PID of a process and pipe
it out to SNMP. The issue that I am having is that Zenoss is not
liking the OID of the script.
The OID that snmpd is using is 1.3.6.1.4.1.2021.8.1.101 and I can
snmpwalk this OID and get the result.
I can test the string from the template section and get the result
as well.
When I leave it running and check the server after a time I get the
error
Error reading value for "script" on "localhost" (oid .
1.3.6.1.4.1.2021.8.1.101 is bad)
Is there a specific data type that Zenoss wants the SNMP scripts to
return in order for the OID type to be valid?
The data type doesn't matter. The reason you're getting that "Error
reading value" event is that you're pulling an incomplete OID. If you
look at the output of you snmpwalk more closely you'll likely see that
the OID needs a .1 added to the end of it: .1.3.6.1.4.1.2021.8.1.101.1
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users