Forum Discussion

mahnsc's avatar
mahnsc
Icon for Nimbostratus rankNimbostratus
Jan 25, 2021
Solved

Temporarily Disable SNMP Traps

When doing releases, it is not unusual for an application server to be taken down but when this occurs, a health check failure will often occur. Or, if a host is decommissioned before it is removed from the load balancer. Is there a way to temporarily suspend or suppress a health check per node and/or per pool member or to temporarily suppress SNMP traps getting issued for a host or pool member?

  • Dario_Garrido's avatar
    Dario_Garrido
    Feb 02, 2021

    Hello Mahnsc.

     

    Sure, you can. Try it with this:

    https://support.f5.com/csp/article/K53142338

     

    If this helps, please mark the answer as 'the best' to help other people to find it.

     

    Regards,

    Dario.

6 Replies

  • Hello Mahnsc.

    You can stop the service during those maintenance works.

    ## Stop services
    tmsh stop sys service snmpd
    tmsh stop sys service alertd
     
    ## Check services status
    tmsh show sys service snmpd
    tmsh show sys service alertd
     
    ## Start services
    tmsh stop sys service snmpd
    tmsh stop sys service alertd

    Regards,

    Dario.

    • Dario_Garrido's avatar
      Dario_Garrido
      Icon for MVP rankMVP

      BTW, in section SNMP > Traps > Configuration > Agent Start / Stop

      You can disable SNMP Traps exclusively.

      REF - https://techdocs.f5.com/kb/en-us/products/big-ip-afm/manuals/product/dns-dos-firewall-implementations-12-1-0/7.html

       

      Regards,

      Dario.

      • mahnsc's avatar
        mahnsc
        Icon for Nimbostratus rankNimbostratus

        Thanks! I apologize for not responding sooner. I was hoping to see if there was a solution that could be applied more granularly to specific nodes and/or pools but it doesn't appear so.