Forum Discussion

Heiko_Engemann_'s avatar
Heiko_Engemann_
Icon for Nimbostratus rankNimbostratus
Apr 08, 2008

using nagios to monitor f5 bigIP

Hello,

 

currently I am trying to monitor our pools and other bigIP services using our nagios server.

 

Is here someone who has experience with the bigIP Plugins that can be found on nagiosexchange?

 

I followed the steps to create a commonity and used as source our nagios server,

 

when I now try one of the plugins I get the following output:

 

 

./check_bigip_pool_201 -H 172.17.1.11 -C public -S 9 -P Dell_M1000e_X1 -w 50 -c 40 -v 3

 

Getting 'MemberQty' trough SNMP

 

Matching F5-BIGIP-LOCAL-MIB::ltmPoolMemberPoolName against '\.1\.3\.6\.1\.4\.1\.3375\.2\.2\.5\.3\.2\.1\.1\.14\.68\.101\.108\.108\.95\.77\.49\.48\.48\.48\.101\.95\.88\.49'

 

Timeout: No Response from 172.17.1.11

 

Getting 'ActiveMemberCount' trough SNMP

 

CHECK_BIGIP_POOL UNKNOWN - plugin timed out (timeout 10s)

 

[root@monitoring-1:~/TMP/nagios_plugins_3rd] Timeout: No Response from 172.17.1.11.

 

 

How do I have to proceed?

 

 

greetings

 

 

 

Heiko

 

8 Replies

  • You should probably post to the nagios forum for this. Make sure on the F5 side that you have snmp configured to allow polls from your host, and that your community and version are set correctly. I've found v2c gets are much more reliable than v1.
  • im not completely sure,

     

    do i need to create a trap for my nagios server?

     

     

    this is how the Access section looks like

     

    IPv4 nagios : 172.17.9.102 .1 Read Only

     

     

    For me it looks like it doenst get a connection at all.

     

     

    thought this bigIP is a bit to specific to post on the nagios list.

     

     

    greets

     

     

     

    Heiko

     

     

  • This can be configured in the GUI, and should result in the /config/snmp/snmpd.conf file with a line like this:

     

     

    rocommunity mycommunity default .1

     

     

    Also, look in your /etc/hosts.allow file and make sure your host is included in this list:

     

     

    snmpd: 127. 172.16.9.102
  • Hello,

    now I have the monitoring of pools and vservers running through nagios.

    We would like to check if the 2 nodes are synched or not.

    How can I do this with snmp?

    I found this entry in the MID file, but im completely new to snmp.

    
    sysAttrConfigsyncState OBJECT-TYPE
            SYNTAX LongDisplayString
            MAX-ACCESS read-only
            STATUS current
            DESCRIPTION
                    "Enumerated state between peer systems.
                    -1 - uninitialized or disabled config state
                     0 - Synchronized
                     1 - Local config modified, recommend configsync to peer
                     2 - Peer config modified, recommend configsync from peer
                     3 - Config modified on both systems, manual intervention required"
            ::= { sysGlobalAttr 6 }

    Can you give me some tips, nagios has a snmp check,so i think I can customize that when I get some infos with snmp.

    greetings

    Heiko
  • If you pull that oid, any value other than 0 is not synchronized. You'll need to check the nagios documentation on how to write that logic on their service checks.
  • Hello elah,

     

    I have nagios now monitoring our bigIP, on the standby machine I can monitor the pools, vservers and the configsyncstate, but why do I cant monitor the active bigIP, I did a config sysnc and all the snmp settings are the same on both machines?

     

     

    First I thought it is a timeout problem, but i set all the timeount to 180 seconds, without any results.

     

    I think this is bigIP specific, so i ask here and not the mailing list, for now.

     

     

    thx

     

     

    Heiko
  • If you are successfully monitoring the standby, then I agree that the problem is most likely on your active unit. If all snmp settings are the same, the only thing I can think of is to check the status of your selfIP and the list of ports/protocols assigned.
  • Hello Heiko,

     

     

    are you able to present your solution for monitoring your BIGIPs?

     

    I am totally new to the SNMP-Monitoring topic regarding Nagios and I do not know where to start.

     

     

    Thank you for your reply.

     

     

    Best regards,

     

     

    Felix