SNMP OID for 4xx and 5xx

Hi,

We have a requirement to check 4xx and 5xx response code for pool and per virtual server. After applying analytics profile we can see that in F5 statistics tab. However, we would like to integrate F5 with an external monitoring server as well. Does anyone have specific SNMP OID for 4xx and 5xx responses handy with them?

Thanks in advance!

I see 2 option for you.

First, an iRule that logs to ltm log when it sees those status codes. After, you create a custom snmp trap to send the alert.

Here are the useful links for this:

https://devcentral.f5.com/wiki/irules.http__status.ashx

https://devcentral.f5.com/wiki/irules.log.ashx

Second, you use also an iRule, but send the information using HSL. Same links as above, but here is the link for HSL:

https://devcentral.f5.com/wiki/irules.hsl.ashx