Forum Discussion

Dmitry_Kuzura's avatar
Dmitry_Kuzura
Icon for Nimbostratus rankNimbostratus
Mar 31, 2009

Custom alerts in 9.4.4 do not send email notifications

Greetings!

 

I'm banging my head against the wall..

 

custom alert from /conf/user_alert.conf does not send email notification when pool member is marked down by monitor.

 

/config/user_alert.conf looks like this:

 

alert BIGIP_MCPD_MCPDERR_POOL_MEMBER_MON_STATUS_251 "Pool member 192.168.253.251:80 monitor status down." {

 

email toaddress="xxx@xxx.com"

 

fromaddress="root-bip1@xxx.com"

 

body="*** Pool member 192.168.253.251 marked DOWN by monitor ***"

 

}

 

when I use logger -p local0.info "Pool member 192.168.253.251:80 monitor status down.", i get email notification from the BIG-IP..

 

when pool member is marked down by monitor and a new log record appears in /var/log/ltm file, no email alert is sent...

 

 

for example, /var/log/ltm has two log records:

 

Mar 31 13:58:28 bip root: Pool member 192.168.253.251:80 monitor status down.

 

Mar 31 13:58:49 bip mcpd[1772]: 01070638:5: Pool member 192.168.253.251:80 monitor status down.

 

 

first one was created by me using logger. Second one was recorded when actual monitor marked pool member down.

 

I got email message ONLY after using logger.

 

Please advice!

 

thanks!

13 Replies

  • Per this post (Click here), it looks like it's just the order the alert definition is found for matching and not most specific. The poster in that thread said it worked when manually editing the alert.conf and putting the custom definition before the more general default alert. However, I like hwidjaja's solution as it doesn't involve editing a system file.

     

     

    Aaron
  • Tried configuring custom alerts (exactly the same config as in previous version) in v10.0.1

     

     

    NOT WORKING!!!

     

     

    Who knows if it this ever going to work?

     

     

    thanks!