Forum Discussion
Feb 02, 2009
Extend SNMP Agent Functionality with extension commands, e.g. 'pass'
Hi,
There is a feature of UCD/Net-SNMP that allows you to configure it to call external programs to return data for SNMP queries. i.e. for a particular MIB's OID you could have the SNMP agent call a perl script to return data. Some example extensions are 'exec', 'sh', 'pass' and 'pass_persist' (http://www.net-snmp.org/docs/FAQ.htmlWhat_s_the_difference_between__exec____sh____extend__and__pass__ )
an example would be if you added the following to your snmpd.conf file:
pass_persist .1.3.6.1.4.1.2021.55 /usr/bin/perl /usr/local/bin/bind9-stats-snmpd.pl
This would cause the SNMP agent to call the /etc/snmp/bind9-snmp-stats.pl perl script whenever it received a request for OID .1.3.6.1.4.1.2021.55
Is there a way to enable this functionality on a GTM?
thanks,
Andy
- Fabien_V__28825
Nimbostratus
Same problem here, I want to monitor HA status using snmpd, but I found no way to pass script using specific OID...
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects