I am trying to use the SNMPD pass command in version 5.1.2 built for openwrt on a powerpc. My exec commands in the same snmpdconf file work perfectly. The pass command seems to never even execute. If i change the pass to an exec, I get the errors output as if nothing is being passed in, which seems correct to me. I read that the agent must be built with support for pass. Is there a simple way to check if pass was built in to the agent?
---------snmpd.conf-------------------------------------------------------------------------------------- exec 1.3.6.1.4.1.33066.1.1 googleping /bin/ping -c 1 -w 1 -q www.google.com exec 1.3.6.1.4.1.33066.1.2 serial_num_query /bin/cat /etc/snmp/serial exec 1.3.6.1.4.1.33066.1.3 route_table /bin/netstat -r exec 1.3.6.1.4.1.33066.1.4 netstat /bin/netstat pass .1.3.6.1.4.1.2021.255 /bin/sh /etc/snmp/passtest --------------------------------------------------------------------------------------------------------------- Thanks, Tyler
------------------------------------------------------------------------------
_______________________________________________ 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
