Page 1 of 2
BIGIP-F5 Pool monitoring
Posted: Fri Jun 26, 2015 1:47 pm
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!!!
Re: BIGIP-F5 Pool monitoring
Posted: Fri Jun 26, 2015 1:57 pm
by tgriep
Can you provide details on the issues you are having?
Are you having problems installing the plugin, running the plugin, etc...
Re: BIGIP-F5 Pool monitoring
Posted: Fri Jun 26, 2015 1:59 pm
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`
Re: BIGIP-F5 Pool monitoring
Posted: Fri Jun 26, 2015 2:08 pm
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
Re: BIGIP-F5 Pool monitoring
Posted: Fri Jun 26, 2015 2:36 pm
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
Re: BIGIP-F5 Pool monitoring
Posted: Sun Jun 28, 2015 10:14 pm
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
Re: BIGIP-F5 Pool monitoring
Posted: Mon Jun 29, 2015 7:55 am
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?
Re: BIGIP-F5 Pool monitoring
Posted: Mon Jun 29, 2015 8:12 am
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.
Re: BIGIP-F5 Pool monitoring
Posted: Mon Jun 29, 2015 12:31 pm
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
Re: BIGIP-F5 Pool monitoring
Posted: Mon Jun 29, 2015 12:39 pm
by haile711
hey jdalrymple,
Yea..I have already configured a couple of checks with snmp already.