F5 BIG-IP – Useful SNMP oids to monitor

I have collected some of the most interesting OIDs (in my scenario im using LTM and APM modules) from the F5 MIBS:

Contents [hide]

  • 1 OIDs – System Data
  • 2 OIDs – Access Policy Manager (APM)
  • 3 OIDs – Local Traffic Manager (LTM)
  • 4 Downloading MIB files
  • 5 Output examples
  • 6 Examples of Nagios monitoring F5 using SNMP

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)

Synchronization status message sysCmSyncStatusSummary .1.3.6.1.4.1.3375.2.1.14.1.4
Failover status sysCmFailoverStatusStatus
.1.3.6.1.4.1.3375.2.1.14.3.2
Synchronization status color sysCmSyncStatusColor
.1.3.6.1.4.1.3375.2.1.14.1.3
Power Supply status sysChassisPowerSupplyStatus
.1.3.6.1.4.1.3375.2.1.3.2.2.2.1.2
Fan Status sysChassisFanStatus
.1.3.6.1.4.1.3375.2.1.3.2.1.2.1.2
Interface Status sysInterfaceStatus
.1.3.6.1.4.1.3375.2.1.2.4.1.2.1.17
Cpu Usage sysMultiHostCpuUsageRatio1m
.1.3.6.1.4.1.3375.2.1.7.5.2.1.27
Memory Usage sysMultiHostTable
.1.3.6.1.4.1.3375.2.1.7.4.2

OIDs – Access Policy Manager (APM)

Number of sessions in my VPN SSL portal
MIB: F5-BIGIP-APM-MIB (file F5-BIGIP-APM-MIB.txt)

Active Sessions apmPaStatCurrentActiveSessions
.1.3.6.1.4.1.3375.2.6.1.1.3.1.5
Pending Sessions apmPaStatCurrentPendingSessions
.1.3.6.1.4.1.3375.2.6.1.1.3.1.6
Completed Sessions apmPaStatCurrentCompletedSessions
.1.3.6.1.4.1.3375.2.6.1.1.3.1.7

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)

Pools/Nodes names ltmPoolMemberNodeName
.1.3.6.1.4.1.3375.2.2.5.3.2.1.19
Nodes Current Connections ltmNodeAddrStatServerCurConns
.1.3.6.1.4.1.3375.2.2.4.2.3.1.9
Nodes Status ltmPoolMemberMonitorStatus
.1.3.6.1.4.1.3375.2.2.5.3.2.1.11

Downloading MIB files

You can download the MIB files using the WEB gui (About -> Download section -> MIB files)
F5 BIG-IP – Useful SNMP oids to monitor_第1张图片
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
F5 BIG-IP – Useful SNMP oids to monitor - Download MIB file

HW status
F5 BIG-IP – Useful SNMP oids to monitor_第2张图片

CPU graphs
F5 BIG-IP – Useful SNMP oids to monitor_第3张图片

Pool and nodes connections
F5 BIG-IP – Useful SNMP oids to monitor_第4张图片

Pool and nodes state
F5 BIG-IP – Useful SNMP oids to monitor - Pool nodes states

This entry was posted in  F5 BIG-IP by  Sysadmin SomoIT. Bookmark the  permalink.

8 THOUGHTS ON “F5 BIG-IP – USEFUL SNMP OIDS TO MONITOR

转载于:https://www.cnblogs.com/jing1617/p/11276146.html

你可能感兴趣的:(F5 BIG-IP – Useful SNMP oids to monitor)