SSHing with Nagios NRPE
Posted: Thu Apr 16, 2015 6:18 am
Hi all,
Unfortunatly I cannot post in nagios core, so have had to post here. If anybody can move this post that would be great!
I currently have two servers.
Server A has nagios core on it.
Server B has nrpe on it
When an alarm is raised e.g a file doesnt exist I disable notifications (http://old.nagios.org/developerinfo/ext ... mmand_id=7). Once someone has added the file it is the alarm is then re-enabled.... This is the way it must happen and has been achieved by sshing from Server B into server A and runing a script containing the disable commands.
Is there any way to remove this SSH being run on Server B and pass parameters back via nrpe. Exit codes are passed back etc.....
Thanks in advance!
djs
Unfortunatly I cannot post in nagios core, so have had to post here. If anybody can move this post that would be great!
I currently have two servers.
Server A has nagios core on it.
Server B has nrpe on it
When an alarm is raised e.g a file doesnt exist I disable notifications (http://old.nagios.org/developerinfo/ext ... mmand_id=7). Once someone has added the file it is the alarm is then re-enabled.... This is the way it must happen and has been achieved by sshing from Server B into server A and runing a script containing the disable commands.
Is there any way to remove this SSH being run on Server B and pass parameters back via nrpe. Exit codes are passed back etc.....
Thanks in advance!
djs