zoukankan      html  css  js  c++  java
  • 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:

    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

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

  • 相关阅读:
    jQuery 参考手册
    jQuery 参考手册
    ASP.NET框架例举
    判断checkbox是否选中
    ajax动态添加的li不能绑定click事件
    缓存代码备用
    关于ajax伪实时动态下拉显示最新数据
    JavaScript中,格式化DateTime
    jquery判断id是否存在
    SSI-Server Side Inclued
  • 原文地址:https://www.cnblogs.com/jing1617/p/11276146.html
Copyright © 2011-2022 走看看