Forum Discussion
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
- nitass
Employee
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.- Mine is 5000s LTM. where to find cpu.logthreshold database file?
- nitass_89166
Noctilucent
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.- Mine is 5000s LTM. where to find cpu.logthreshold database file?
- nitass_89166
Noctilucent
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.
- nitass
Employee
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.
- nitass
Employee
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%
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
