Forum Discussion

superd_88943's avatar
superd_88943
Icon for Nimbostratus rankNimbostratus
Mar 23, 2015

Disable alerts on pool / pool member

Hi,

 

Without disabling the health monitor, is there a way to stop alerts for a particular pool or pool member being sent to my alerting server? I believe the alerting on F5 is a global thing..

 

And I also assume the health monitor is required for load balancing to take effect...

 

Cheers....

 

1 Reply

  • can you try something like this?

     config
    
    [root@ve11b:Active:In Sync] config  cat /config/user_alert.conf
    alert TEST1 "Pool /Common/foo member /Common/200\.200\.200\.101:80 monitor status down(.*?)" {
    }
    
     /var/log/ltm
    
    [root@ve11b:Active:In Sync] config  tail -f /var/log/ltm
    Mar 23 20:33:03 ve11b notice mcpd[7634]: 01070638:5: Pool /Common/foo member /Common/200.200.200.101:80 monitor status down. [ /Common/fake: down ]  [ was unchecked for 0hr:0min:48sec ]
    Mar 23 20:33:03 ve11b notice mcpd[7634]: 01071682:5: SNMP_TRAP: Virtual /Common/bar has become unavailable
    Mar 23 20:33:03 ve11b err tmm[22545]: 01010028:3: No members available for pool /Common/foo
    Mar 23 20:33:03 ve11b err tmm1[22545]: 01010028:3: No members available for pool /Common/foo
    Mar 23 20:33:12 ve11b notice mcpd[7634]: 01070638:5: Pool /Common/test member /Common/200.200.200.111:80 monitor status down. [ /Common/fake: down ]  [ was unchecked for 0hr:1min:2sec ]
    Mar 23 20:33:12 ve11b err tmm1[22545]: 01010028:3: No members available for pool /Common/test
    Mar 23 20:33:12 ve11b err tmm[22545]: 01010028:3: No members available for pool /Common/test
    
     trace
    
    [root@ve11b:Active:In Sync] config  tcpdump -nni 0.0 -s0 port 162
    tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
    listening on 0.0, link-type EN10MB (Ethernet), capture size 65535 bytes
    20:33:03.421496 IP 172.28.24.12.45619 > 172.28.24.1.162:  V2Trap(154)  .1.3.6.1.2.1.1.3.0=2279 .1.3.6.1.6.3.1.1.4.1.0=.1.3.6.1.4.1.3375.2.4.0.136 .1.3.6.1.4.1.3375.2.4.1.1="SNMP_TRAP: Virtual /Common/bar has become unavailable" .1.3.6.1.6.3.1.1.4.3.0=.1.3.6.1.4.1.3375.2.4 out slot1/tmm1 lis=
    20:33:12.435816 IP 172.28.24.12.45619 > 172.28.24.1.162:  V2Trap(294)  .1.3.6.1.2.1.1.3.0=3180 .1.3.6.1.6.3.1.1.4.1.0=.1.3.6.1.4.1.3375.2.4.0.10 .1.3.6.1.4.1.3375.2.4.1.1="Pool /Common/test member /Common/200.200.200.111:80 monitor status down. [ /Common/fake: down ]  [ was unchecked for 0hr:1min:2sec ]" .1.3.6.1.4.1.3375.2.4.1.2="/Common/200.200.200.111" .1.3.6.1.4.1.3375.2.4.1.3="80" .1.3.6.1.6.3.1.1.4.3.0=.1.3.6.1.4.1.3375.2.4 out slot1/tmm1 lis=