Greetings:
I set up a snmpdiskio stats under net-snmp i.e.
exec .1.3.6.1.4.1.2021.54 hdNum /usr/local/bin/snmpdiskio hdNum
etc. on our NFS servers, which have 41 disks (LUNs). I noticed a walk was extremely slow, so I put an echo at the top of the script to append to a log file each time it's run. It appears that net-snmp runs the script for EACH index plus a couple extra times (43 times). I've searched high and low and haven't been able to figure out why it's doing this. I've tested this on SLES 9 running net-snmp 5.1.3 and CentOS 4 running 5.1.2. Am I missing something? Why does net-snmp run this script over an over again? Anyone else experience this?
Brendon
UPDATE: net-snmp 5.4.1 using "extend" (exec has been deprecated) does not do this. I'd still like to figure out why exec on the older versions reruns the script over and over!
net-snmp exec runs script over and over!
Moderators: Developers, Moderators
Who is online
Users browsing this forum: No registered users and 3 guests