I have collected some of the most interesting OIDs (in my scenario im using LTM and APM modules) from the F5 MIBS:
OIDs – System Data
Hardware sensors (fans, power supplies…), resource usage (cpu, mem…), sync status…
MIB: F5-BIGIP-SYSTEM-MIB (file F5-BIGIP-SYSTEM-MIB.txt)
[table id=5 /]
OIDs – Access Policy Manager (APM)
Number of sessions in my VPN SSL portal
MIB: F5-BIGIP-APM-MIB (file F5-BIGIP-APM-MIB.txt)
[table id=6 /]
OIDs – Local Traffic Manager (LTM)
State of my pools servers and nodes (active nodes, number of connections…)
MIB: F5-BIGIP-LOCAL-MIB (F5-BIGIP-LOCAL-MIB.txt)
[table id=7 /]
Downloading MIB files
You can download the MIB files using the WEB gui (About -> Download section -> MIB files)
For more information… https://support.f5.com/csp/article/K13322
Output examples
These are the snmpwalk command outputs for some of these OIDs:
# snmpwalk -v2c -c public bigip1 F5-BIGIP-SYSTEM-MIB::sysCmFailoverStatusStatus
F5-BIGIP-SYSTEM-MIB::sysCmFailoverStatusStatus.0 = STRING: ACTIVE
# snmpwalk -v2c -c public bigip2 .1.3.6.1.4.1.3375.2.1.14.3.2
F5-BIGIP-SYSTEM-MIB::sysCmFailoverStatusStatus.0 = STRING: STANDBY
Note you can use either MIB name or OID format
# snmpwalk -v2c -c public bigip1 F5-BIGIP-SYSTEM-MIB::sysChassisPowerSupplyTable
F5-BIGIP-SYSTEM-MIB::sysChassisPowerSupplyIndex.1 = INTEGER: 1
F5-BIGIP-SYSTEM-MIB::sysChassisPowerSupplyIndex.2 = INTEGER: 2
F5-BIGIP-SYSTEM-MIB::sysChassisPowerSupplyStatus.1 = INTEGER: good(1)
F5-BIGIP-SYSTEM-MIB::sysChassisPowerSupplyStatus.2 = INTEGER: good(1)
# snmpwalk -v2c -c public bigip1 F5-BIGIP-LOCAL-MIB::ltmNodeAddrStatServerCurConns
F5-BIGIP-LOCAL-MIB::ltmNodeAddrStatServerCurConns."/LAN/EXCHANGE01" = Gauge32: 3341
F5-BIGIP-LOCAL-MIB::ltmNodeAddrStatServerCurConns."/LAN/EXCHANGE02" = Gauge32: 3383
F5-BIGIP-LOCAL-MIB::ltmNodeAddrStatServerCurConns."/LAN/PROXY01" = Gauge32: 2853
F5-BIGIP-LOCAL-MIB::ltmNodeAddrStatServerCurConns."/LAN/PROXY02" = Gauge32: 2631
Examples of Nagios monitoring F5 using SNMP
(i have been working on my own nagios plugins to parse the SNMP output and customize the sensors in Nagios)
Sync status
HW status
CPU graphs
Pool and nodes connections
Pool and nodes state
15 Comments
Sir, let me know the HW-interface status confiiguration process.Thanks.
I am waiting for your reply.
For example:
/usr/bin/snmpwalk -v2c -c public bigip01 F5-BIGIP-SYSTEM-MIB::sysInterfaceStatus
F5-BIGIP-SYSTEM-MIB::sysInterfaceStatus.”1.1″ = INTEGER: up(0)
F5-BIGIP-SYSTEM-MIB::sysInterfaceStatus.”1.2″ = INTEGER: up(0)
F5-BIGIP-SYSTEM-MIB::sysInterfaceStatus.”1.3″ = INTEGER: up(0)
F5-BIGIP-SYSTEM-MIB::sysInterfaceStatus.”1.4″ = INTEGER: up(0)
F5-BIGIP-SYSTEM-MIB::sysInterfaceStatus.”1.5″ = INTEGER: down(1)
F5-BIGIP-SYSTEM-MIB::sysInterfaceStatus.”1.6″ = INTEGER: down(1)
F5-BIGIP-SYSTEM-MIB::sysInterfaceStatus.”1.7″ = INTEGER: up(0)
F5-BIGIP-SYSTEM-MIB::sysInterfaceStatus.”1.8″ = INTEGER: up(0)
F5-BIGIP-SYSTEM-MIB::sysInterfaceStatus.”2.1″ = INTEGER: unpopulated(5)
F5-BIGIP-SYSTEM-MIB::sysInterfaceStatus.”2.2″ = INTEGER: unpopulated(5)
F5-BIGIP-SYSTEM-MIB::sysInterfaceStatus.”mgmt” = INTEGER: up(0)
I dont know if you refer to the example i show about my nagios environment (now i have migrated to Icinga). But that involves much more work to explain it in a simple comment.
Dear Sir, may I ask you.
To check F5 interface status, which plugin shall I use?
OR
How to write shell script to get as in above PHOTO?
Please kindly reply sir _^
How can I identify if a F5 is being used for a LTM Function using OID?
Hi Kevis!
What do you need that for?
Simply check the configured virtual servers.
Can you share your nagios plugins with me? I couldn´t find on your website. If you could share I will thank you, I don´t know how to create plugins, so if you could help me.
Im thinking about creating a section in my site in which I collect all the downloadable files, scripts, etc...
Nice. But this F5 lugins, can you share on my mail? I will be very grate if you could share with me.
rodrigo.patricio.farias@gmail.com
How we will identify the snmp traps sent to the monitoring server is sent by active or standby f5 device?
Use a float address for snmp to thats shared between them
Hello,
Is it possible to make an SNMP request only on a pool member (example pool_member_A).
The following command does not work (snmpwalk -v2c -c public 127.0.0.1 F5-BIGIP-LOCAL-MIB::ltmPoolStatCurSessions."/Common/pool_member_A")
I don't want to list the outcome of all pools.
Thanks.
I use by node like in the example:
snmpwalk -v2c -c public bigip1 F5-BIGIP-LOCAL-MIB::ltmNodeAddrStatServerCurConns
Then you can parse, grep or whatever you want by the concrete node you want the data of.
Helo,
F5 CPU Usage is categorized by data plane CPU, control plane CPU dan analisys plane CPU.
How do you monitor CPU Usage based on this categorize ?
Hi
How can I monitor specific virtual server statistics, such as number of current connections, by SNMP? I have several virtual servers, I need to monitor number of each specific virtual server separatly.
Hi,
F5 CPU Usage is categorized by data plane CPU, control plane CPU dan analisys plane CPU.
Can you share all for me
How do you monitor CPU Usage based on this categorize ?