BIGIP-F5 Pool monitoring

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
haile711
Posts: 197
Joined: Thu May 28, 2015 7:36 am

BIGIP-F5 Pool monitoring

Post by haile711 »

Hello everyone,
I have been trying to do a monitoring on the BIG-IP (F5) Pool monitoring, I have looked at these I have not luck with either one of these. If anyone has any luck with monitoring BIG-IP before, please give me some inputs. Thanks!!!
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: BIGIP-F5 Pool monitoring

Post by tgriep »

Can you provide details on the issues you are having?
Are you having problems installing the plugin, running the plugin, etc...
Be sure to check out our Knowledgebase for helpful articles and solutions!
jdalrymple
Skynet Drone
Posts: 2620
Joined: Wed Feb 11, 2015 1:56 pm

Re: BIGIP-F5 Pool monitoring

Post by jdalrymple »

A couple of thoughts:

1) You might want us to relocate this to the general forums? It will hit a broader audience.

2) These are the important bits of the first plugin you posted:

my $activeMemberCountOid = "1.3.6.1.4.1.3375.2.2.5.1.2.1.8";
my $availableMemberCountOid = "1.3.6.1.4.1.3375.2.2.5.1.2.1.23";
my $poolAvailabilityCountOid = "1.3.6.1.4.1.3375.2.2.5.5.2.1.2";

Can you post the output of `snmpwalk -v 2c -c <community> <F5 IP> .1.3.6.1.4.1.3375.2.2.5.1.2.1`
haile711
Posts: 197
Joined: Thu May 28, 2015 7:36 am

Re: BIGIP-F5 Pool monitoring

Post by haile711 »

Yea, we can post this on the general forum.
here is the output of

Code: Select all

snmpwalk -v 2c -c <community> <F5 IP> .1.3.6.1.4.1.3375.2.2.5.1.2.1

Code: Select all

Configuration directives understood:
No log handling enabled - turning on stderr logging
  In snmpwalk.conf and snmpwalk.local.conf:
    includeRequested         (1|yes|true|0|no|false)
    excludeRequested         (1|yes|true|0|no|false)
    printStatistics          (1|yes|true|0|no|false)
    dontCheckOrdering        (1|yes|true|0|no|false)
    timeResults              (1|yes|true|0|no|false)
  In snmp.conf and snmp.local.conf:
    alias                    NAME TRANSPORT_DEFINITION
    doDebugging              (1|0)
    debugTokens              token[,token...]
    logTimestamp             (1|yes|true|0|no|false)
    mibdirs                  [mib-dirs|+mib-dirs|-mib-dirs]
    mibs                     [mib-tokens|+mib-tokens]
    mibfile                  mibfile-to-read
    showMibErrors            (1|yes|true|0|no|false)
    commentToEOL             (1|yes|true|0|no|false)
    strictCommentTerm        (1|yes|true|0|no|false)
    mibAllowUnderline        (1|yes|true|0|no|false)
    mibWarningLevel          integerValue
    mibReplaceWithLatest     (1|yes|true|0|no|false)
    printNumericEnums        (1|yes|true|0|no|false)
    printNumericOids         (1|yes|true|0|no|false)
    escapeQuotes             (1|yes|true|0|no|false)
    dontBreakdownOids        (1|yes|true|0|no|false)
    quickPrinting            (1|yes|true|0|no|false)
    numericTimeticks         (1|yes|true|0|no|false)
    oidOutputFormat          integerValue
    suffixPrinting           integerValue
    extendedIndex            (1|yes|true|0|no|false)
    printHexText             (1|yes|true|0|no|false)
    printValueOnly           (1|yes|true|0|no|false)
    dontPrintUnits           (1|yes|true|0|no|false)
    hexOutputLength          integerValue
    dumpPacket               (1|yes|true|0|no|false)
    reverseEncodeBER         (1|yes|true|0|no|false)
    defaultPort              integerValue
    defCommunity             string
    noTokenWarnings          (1|yes|true|0|no|false)
    noRangeCheck             (1|yes|true|0|no|false)
    persistentDir            string
    tempFilePattern          string
    noDisplayHint            (1|yes|true|0|no|false)
    16bitIDs                 (1|yes|true|0|no|false)
    clientaddr               string
    clientaddrUsesPort       (1|yes|true|0|no|false)
    serverSendBuf            integerValue
    serverRecvBuf            integerValue
    clientSendBuf            integerValue
    clientRecvBuf            integerValue
    noPersistentLoad         (1|yes|true|0|no|false)
    noPersistentSave         (1|yes|true|0|no|false)
    noContextEngineIDDiscovery (1|yes|true|0|no|false)
    defDomain                application domain
    defTarget                application domain target
    defSecurityModel         string
    defSecurityName          string
    defContext               string
    defPassphrase            string
    defAuthPassphrase        string
    defPrivPassphrase        string
    defAuthMasterKey         string
    defPrivMasterKey         string
    defAuthLocalizedKey      string
    defPrivLocalizedKey      string
    defVersion               1|2c|3
    defAuthType              MD5|SHA
    defPrivType              DES|AES
    defSecurityLevel         noAuthNoPriv|authNoPriv|authPriv
  In snmpapp.conf and snmpapp.local.conf:
    defDomain                application domain
    defTarget                application domain target
    engineID                 string
    engineIDType             num
    engineIDNic              string
haile711
Posts: 197
Joined: Thu May 28, 2015 7:36 am

Re: BIGIP-F5 Pool monitoring

Post by haile711 »

CHECK_BIGIP_POOL UNKNOWN - Unknown SW version BIG-IP 11.5.1 Build 8.0.175
This version is the version on the BIG-IP, but it keeps complaining not the right version. I have tried all variation of the version already. What version is the -s SW_version is the script looking for in this script? from this link
You do not have the required permissions to view the files attached to this post.
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: BIGIP-F5 Pool monitoring

Post by Box293 »

Did you try the changes suggested in the first review "BIG-IP v11 by 72mm, April 24, 2013"?

https://exchange.nagios.org/directory/P ... ks/details
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
haile711
Posts: 197
Joined: Thu May 28, 2015 7:36 am

Re: BIGIP-F5 Pool monitoring

Post by haile711 »

good morning box293,
yea..i've tried making the changes, but still now working. Do we have to make add the oid for v11 of the PoolActiveMemberCnt?
haile711
Posts: 197
Joined: Thu May 28, 2015 7:36 am

Re: BIGIP-F5 Pool monitoring

Post by haile711 »

This is the new error, I've got after making the changes.

Code: Select all

Use of uninitialized value $MemberQty in split at ./check_f5pool.pl line 235, <SNMPWALK> line 1669.
Use of uninitialized value $test[3] in pattern match (m//) at ./check_f5pool.pl line 236, <SNMPWALK> line 1669.
jdalrymple
Skynet Drone
Posts: 2620
Joined: Wed Feb 11, 2015 1:56 pm

Re: BIGIP-F5 Pool monitoring

Post by jdalrymple »

It looks to me like you have some errors in your snmp.conf...

Code: Select all

Configuration directives understood:
No log handling enabled - turning on stderr logging
  In snmpwalk.conf and snmpwalk.local.conf:
    includeRequested         (1|yes|true|0|no|false)...
Usually snmp.conf isn't required for snmpwalk to work, but I don't know how you'd get the above message if you didn't have it and it wasn't corrupt/invalid/whatever. Do you have any snmp checks working on this machine?
DIRECTORIES SEARCHED
First off, there are numerous places that configuration files can be found and read from. By default, the applications look for configuration files in the following 4 directories, in order: /usr/local/etc/snmp, /usr/local/share/snmp, /usr/local/lib/snmp, and $HOME/.snmp. In each of these directories, it looks for files with the extension of both conf and local.conf (reading the second ones last). In this manner, there are 8 default places a configuration file can exist for any given configuration file type.

Additionally, the above default search path can be overridden by setting the environment variable SNMPCONFPATH to a colon-separated list of directories to search for. The path for the persistent data should be included when running applications that use persistent storage, such as snmpd.

Applications will read persistent configuration files in the following order of preference:

file in SNMP_PERSISTENT_FILE environment variable

directories in SNMPCONFPATH environment variable

directory defined by persistentDir snmp.conf variable

directory in SNMP_PERSISTENT_DIR environment variable

default /var/net-snmp directory
haile711
Posts: 197
Joined: Thu May 28, 2015 7:36 am

Re: BIGIP-F5 Pool monitoring

Post by haile711 »

hey jdalrymple,
Yea..I have already configured a couple of checks with snmp already.
Locked