SNMP Extensible sections (exec) not working
"Sun Lei" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Hi,all My net-snmp is 5.4.1-7 on Fedora 8 system which install by yum. My snmpd.conf is # snmd.conf start com2sec mynet 172.16.0.0/16 123456 group mygroup v1 mynet group mygroup v2c mynet group mygroup usm mynet view all included .1 80 access mygroup "" any noauth exact all all all exec .1.3.6.1.4.1.2021.555 /bin/sh /opt/script/mem.sh exec .1.3.6.1.4.1.2021.556 /bin/sh /opt/script/cpu.sh exec .1.3.6.1.4.1.2021.557 /bin/sh /opt/script/if.sh #snmd.conf end When I use snmpwalk command to test ,there is a error occurred. snmpwalk -v 2c -c 123456 172.16.1.12 .1.3.6.1.4.1.2021.555 UCD-SNMP-MIB::ucdavis.555 = No Such Object available on this agent at this OID I have long time to use snmp to monitor system. I remember in the previous version , use the same config it's OK Is it a bug ? Look forward your relay. Thanks & Regards. Alex Sun ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ 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