For more information regarding the security incident at F5, the actions we are taking to address it, and our ongoing efforts to protect our customers, click here.

Forum Discussion

Muhammad_Irfan1's avatar
Dec 12, 2014

Email alerts on 40% memory usage or CPU usage

I have configured alerts on pool members down of many pools individually.

 

How can I set email alerts on 40% memory used or 40% cpu used? is there anyway?

 

9 Replies

  • there is cpu threshold db key. anyway, please be noted that if cpu is heavily loaded, bigip might not be able to send notification.

    The cpu.logthreshold database variable provides a configurable value for the CPU utilization threshold. When the CPU utilization exceeds this configured value, the chmand process logs a warning message in the /var/log/ltm file. By default, the cpu.logthreshold database variable value is set to 0 (zero) for all platforms except for certain platforms, such as the BIG-IP 2000s and 4000s, where this database variable is set to 80 by default.
    
  • there is cpu threshold db key. anyway, please be noted that if cpu is heavily loaded, bigip might not be able to send notification.

    The cpu.logthreshold database variable provides a configurable value for the CPU utilization threshold. When the CPU utilization exceeds this configured value, the chmand process logs a warning message in the /var/log/ltm file. By default, the cpu.logthreshold database variable value is set to 0 (zero) for all platforms except for certain platforms, such as the BIG-IP 2000s and 4000s, where this database variable is set to 80 by default.
    
  • it is a db key.

    root@(ve11a)(cfg-sync In Sync)(Active)(/Common)(tmos) list sys db cpu.logthreshold
    sys db cpu.logthreshold {
        value "0"
    }
    
    • Muhammad_Irfan1's avatar
      Muhammad_Irfan1
      Icon for Cirrus rankCirrus
      Nitass I changed the value to 8 for testing and when cpu went above 8 I see no log in the /var/log/ltm for this. If I see no log then I can not generate email alert.
  • it is a db key.

    root@(ve11a)(cfg-sync In Sync)(Active)(/Common)(tmos) list sys db cpu.logthreshold
    sys db cpu.logthreshold {
        value "0"
    }
    
    • Nitass I changed the value to 8 for testing and when cpu went above 8 I see no log in the /var/log/ltm for this. If I see no log then I can not generate email alert.
  • I changed the value to 8 for testing and when cpu went above 8 I see no log in the /var/log/ltm for this.

    i understand it is measured by 5 minutes (300 seconds) interval.

    e.g.

     db key
    
    root@(ve11a)(cfg-sync In Sync)(Active)(/Common)(tmos) list sys db cpu.logthreshold
    sys db cpu.logthreshold {
        value "5"
    }
    
     /var/log/ltm
    
    Dec 13 16:29:03 ve11a notice chmand[6279]: 012a0005:5: Cpu utilization over 300 seconds is 38%, exceeded log level 5%