Forum Discussion
Andrewjb87_1625
Jul 09, 2015Nimbostratus
Virtual server status via SNMP
I am trying to use SNMP to get the status of my virtual servers. With snmpwalk and ltmVsStatusAvailState I can get the list of servers.
[user@ltm01:Active:Standalone] ~ snmpwalk -v2c -c nagios ...
Andrewjb87_1625
Jul 13, 2015Nimbostratus
I figured it out, the quotes need to be escaped.
user@ltm01:Active:Standalone] ~ snmpget -v2c -c nagios 192.168.x.4 F5-BIGIP-LOCAL-MIB::ltmVsStatusAvailState.\"/Common/ipforwarder\" F5-BIGIP-LOCAL-MIB::ltmVsStatusAvailState."/Common/ipforwarder" = INTEGER: green(1)
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