SNMP OID?MIB to return irules -> Data Group List Records

Hi All,

First post so please be gentle.

Our F5 BIG-IP 2000s running 11.5.2 hotfix 6

We would like to write a nagios check to see if there are any records in our irule Data Group List. Having hunted around I cannot come up with a MIB or OID entry that will allow us to retrieve this value via SNMP

Does anyone know the MIB/OID that would return this value. Alternatively is there another way to get the same result using some other technique?

regards

Tom

Hi Tom,

don’t believe that you will be able to access a specific datagroup using SNMP.

But you may configure an additional HTTP Virtual Server and use an simple iRule to check the data group size using HTTP (I duno if nagios can query this type of information?)

when HTTP_REQUEST {
    HTTP::respond 200 content [class size YOUR_DATAGROUP]
}

Cheers, Kai

You should also look into the REST API.

this returns all LTM internal datagroups on the F5 in a JSON format

https:///mgmt/tm/ltm/data-group/internal?expandSubcollections=true

For the IP address i typically use one of the floating IP’s configured to allow HTTPS.

Cheers

Thanks guys,

I went for the second option but had to stop as 11.5 does not allow non admin accounts to pull this data without us changing a whole bunch off stuff on our infrastructure. We will await 11.6, which we just rolled back from, in the New year

Regards

Tom