CPU alert not coming properly.

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
njain213

CPU alert not coming properly.

Post by njain213 »

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
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: CPU alert not coming properly.

Post by hsmith »

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.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: CPU alert not coming properly.

Post by tmcdonald »

Check this doc out for customizing your notification messages:

https://assets.nagios.com/downloads/nag ... iables.pdf
Former Nagios employee
Locked