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.
Using NRDP with Nagios XI -- new user
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Using NRDP with Nagios XI -- new user
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
That is correct, earlier we had edited that out and now after putting this variable back its working.
%host%
thanks to all.
%host%
thanks to all.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Using NRDP with Nagios XI -- new user
Great!salmann wrote:That is correct, earlier we had edited that out and now after putting this variable back its working.
%host%
thanks to all.
Locking thread