Page 1 of 1

Using NRDP with Nagios XI -- new user

Posted: Thu Mar 19, 2020 3:31 pm
by salmann
Hello Folks,

We are evaluating Nagios XI and using nrdp for one of the clients we support and are using NRDP protocol due to some security issues.

We are able to put in alerts for various services like disk, cpu etc by running the plugins on the client machines using a cron job like this one.

*/05 * * * * /usr/local/nrdp/clients/nrds/nrds.pl -H 'client1' > /dev/null 2>&1

The alerts that are coming from the service are some thing like this for a disk service.

Info:
DISK CRITICAL - free space: / 69046 MB (72,26% inode=99%):


so the email notification is not having the information about which client name (ie the hostname) the alert is coming, we have to login into the nagios console to check which client is generating this alert.

How to get the hostname of the client in the info or the email notification.

Please advise.

Thanks,
Sal.

Re: Using NRDP with Nagios XI -- new user

Posted: Thu Mar 19, 2020 3:36 pm
by scottwilkerson
The notifications should have the hostname above the Info: line by default, can you show the whole body of the email?

Re: Using NRDP with Nagios XI -- new user

Posted: Fri Mar 20, 2020 2:46 pm
by salmann
That is correct, earlier we had edited that out and now after putting this variable back its working.

%host%

thanks to all.

Re: Using NRDP with Nagios XI -- new user

Posted: Fri Mar 20, 2020 3:05 pm
by scottwilkerson
salmann wrote:That is correct, earlier we had edited that out and now after putting this variable back its working.

%host%

thanks to all.
Great!

Locking thread