net-snmp isn't running pass_persist script? how do i know?

"Abdul-Wahid Paterson" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
I setup a script for reading QoS/traffic shaping information from the
output of the tc command. The idea being that when I run the script as
a pass_persist extension for snmpd I can read the information remotely
from my network monitoring machine so I can see the traffic on the
different queues in all the router/firewalls on the network.

I add a line to snmpd.conf like this....
Code:

pass_persist .1.3.6.1.4.1.2021.255 /usr/bin/snmp_persist.pl


But when I try to browse it remotely I get this....

Code:

# snmpwalk -c yeahyeah -v 2c 10.0.0.1 .1.3.6.1.4.1.2021.255
UCD-SNMP-MIB::ucdavis.255 = No Such Instance currently exists at this OID


Any ideas why it might not be working or another step I have to
perform? I am pretty sure the script itself (snmp_perist.pl) works but
as far as I can see the script is not even being run by snmpd.

Is there any way I can switch on debugging inside snmpd to let me see
what is happening? All the options I have tried so far don't tell me
anything.

Regards,

Abdul-Wahid

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.