pass command in snmpd.conf doesn't work as expected
Stefan Guenther <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Organization | in-put GbR - Das Linux-Systemhaus |
| Message-ID | <[email protected]> |
Hello, following the example in the snmpd.conf (and a number of articles and postings) I have entered the following line: pass .1.3.6.1.4.1.2021.255 /bin/bash /bin/root.sh The script root.sh is executeable and looks like this: #! /bin/bash echo "42" # End According to the example I enter snmpwalk -v 2c -c public localhost .1.3.6.1.4.1.2021.255 And the response is UCD-SNMP-MIB::ucdavis.255 = No Such Instance currently exists at this OID Where's me mistake? Thanks for any help, Stefan ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ 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