F5 BIG-IP – Useful SNMP oids to monitor

F5 BIG-IP 监控 OID 汇总
本文汇总了F5 BIG-IP设备中用于监控的SNMP OID,包括系统数据如硬件传感器状态、资源使用情况,Access Policy Manager (APM)模块的会话统计,以及Local Traffic Manager (LTM)模块的池和节点状态。通过这些OID,可以实现对F5设备的硬件状态、同步状态、CPU和内存使用、以及应用层面的连接数和会话数的全面监控。

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)

Synchronization status messagesysCmSyncStatusSummary.1.3.6.1.4.1.3375.2.1.14.1.4
Failover statussysCmFailoverStatusStatus
.1.3.6.1.4.1.3375.2.1.14.3.2
Synchronization status colorsysCmSyncStatusColor
.1.3.6.1.4.1.3375.2.1.14.1.3
Power Supply statussysChassisPowerSupplyStatus
.1.3.6.1.4.1.3375.2.1.3.2.2.2.1.2
Fan StatussysChassisFanStatus
.1.3.6.1.4.1.3375.2.1.3.2.1.2.1.2
Interface StatussysInterfaceStatus
.1.3.6.1.4.1.3375.2.1.2.4.1.2.1.17
Cpu UsagesysMultiHostCpuUsageRatio1m
.1.3.6.1.4.1.3375.2.1.7.5.2.1.27
Memory UsagesysMultiHostTable
.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 SessionsapmPaStatCurrentActiveSessions
.1.3.6.1.4.1.3375.2.6.1.1.3.1.5
Pending SessionsapmPaStatCurrentPendingSessions
.1.3.6.1.4.1.3375.2.6.1.1.3.1.6
Completed SessionsapmPaStatCurrentCompletedSessions
.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 namesltmPoolMemberNodeName
.1.3.6.1.4.1.3375.2.2.5.3.2.1.19
Nodes Current ConnectionsltmNodeAddrStatServerCurConns
.1.3.6.1.4.1.3375.2.2.4.2.3.1.9
Nodes StatusltmPoolMemberMonitorStatus
.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 - Download MIB file
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 - Nagios HW

CPU graphs
F5 BIG-IP – Useful SNMP oids to monitor - Nagios CPU

Pool and nodes connections
F5 BIG-IP - Useful SNMP oids to monitor - Pool connections

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

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值