Hi Team,
I have setup CPU and memory usage alerts for one machine and alert I am getting is shown below.
***** Nagios XI Alert *****
Nagios has detected a problem with this service.
Notification Type: PROBLEM
Service: CPU Stats
Host: 10.72.25.211
Address: 10.72.25.211
State: CRITICAL
Info:
(Return code of 255 is out of bounds)
Date/Time: 2016-05-18 17:39:45
But I want alert should come as shown below.
Summary output : CPU load high: 90% (> 90%)
Host : hostname
Description :
Test : CPU
First alert :
Last update : 2016-05-13 10:23:30
Details
User Sys Total Max Alert Warn
72% 18% 90% 90% 90% 85%
Could you please let me know how to configure this so that I will receive alerts in above format.
Thanks
Naman
CPU alert not coming properly.
Re: CPU alert not coming properly.
This generally happens if something is misconfigured with NRPE. Are other checks from that host working? Can you try to run the check from the command line and see if it works?
Former Nagios Employee.
me.
me.
Re: CPU alert not coming properly.
Check this doc out for customizing your notification messages:
https://assets.nagios.com/downloads/nag ... iables.pdf
https://assets.nagios.com/downloads/nag ... iables.pdf
Former Nagios employee