Michael> I'm using the MIB extension in snmpd.conf to run a shell script that
Michael> returns a number, so I can map this value via MRTG.  While I get the
Michael> correct number if I walk the SNMP output, MRTG isn't working
Michael> correctly.  I believe it is because net-snmp is returning a string
Michael> instead of an integer.

Robert> Check out the pass directive if you want to return other data types.

Alternatively, you might be able to return this value as the exit code
of the script, and get MRTG to monitor the extResult object instead.

Dave

[Yes, yes - I know.  I'm just passing through.....]



-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
_______________________________________________
Net-snmp-users mailing list
[EMAIL PROTECTED]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to