Forum Discussion

Will_F_98397's avatar
Will_F_98397
Icon for Nimbostratus rankNimbostratus
Dec 24, 2009

Suppress SNMP alerts

Hi All,

 

I’m running a ws* service in Windows, this service has a monitoring interface which can send 3 types of state messages “Active”, “Inactive” and “Failed”.

 

 

Active – Service is running fine

 

Inactive – Service has been put into a maintenance type mode

 

Failed – Something has gone wrong within the service

 

 

The setup of this service is to provide failover not load balancing, without having to change DNS records or client configurations. This is what the “Inactive” state is for sent from the other nodes.

 

 

The monitor we have used is a SOAP monitor

 

Here’s a sample:

 

monitor soapmonitor {

 

defaults from soap

 

dest *:1234

 

debug "no"

 

method "ServiceStatus"

 

namespace "http://www.website.com/service/servicehealth"

 

param type "bool"

 

return type "string"

 

return value "ACTIVE"

 

urlpath "/service/servicehealth"

 

}

 

 

I want to stop the 'node failed' SNMP alerts from being sent to our SNMP console when the state of "Inactive" is returned, and return a 'node changed' type alert. – this is only ever manually set from a controlling application and the service cannot accidently fall into that state, and there are some recovery procedures which need to be run if the service does for some reason fail (it's not automatic fail over).

 

 

I was thinking an iRule with something along the lines of “when http request block ‘bad’ SNMP and send a nice message”, maybe I’ll need a custom monitor? Has anyone done anything similar to this before?

 

 

LTM is at BIG-IP 9.4.7 Build 320.1 Final

 

  • hoolio's avatar
    hoolio
    Icon for Cirrostratus rankCirrostratus
    I can't think of a way to stop SNMP alerts depending on the monitor response and still mark the pool member up/down as appropriate. Anyone have ideas on this?

     

     

    Aaron