using both check_nrpe and check_by_ssh
Posted: Thu Jul 12, 2012 1:52 pm
Hi,
I am trying to implement this scenario:
- NagiosServer (nrpe plugin + Nagios plugins, Apache server)
- remoteLevel1 (nrpe daemon + Nagios plugins)
- remoteLevel2 (Nagios plugins)
Due to network setup, firewalls, etc. NagiosServer can reach remoteLevel1 via nrpe, but it cannot reach remoteLevel2.
I would like to get check results from remoteLevel2 back up to the NagiosServer for display via the GUI.
Is it possible for a command defined on NagiosServer to use nrpe to run a check_by_ssh on the remoteLevel1 machine that ultimately executes the plugins on the remoteLevel2 machine?
I have most of this in place, but am somewhat puzzled by what needs to be defined at the NagiosServer level for the remoteLevel2 machine in order to tie everything together.
Has anyone else tried implementing this scenario? I'm interested in any configuration tips you can share.
Thanks in advance for your reply,
M
I am trying to implement this scenario:
- NagiosServer (nrpe plugin + Nagios plugins, Apache server)
- remoteLevel1 (nrpe daemon + Nagios plugins)
- remoteLevel2 (Nagios plugins)
Due to network setup, firewalls, etc. NagiosServer can reach remoteLevel1 via nrpe, but it cannot reach remoteLevel2.
I would like to get check results from remoteLevel2 back up to the NagiosServer for display via the GUI.
Is it possible for a command defined on NagiosServer to use nrpe to run a check_by_ssh on the remoteLevel1 machine that ultimately executes the plugins on the remoteLevel2 machine?
I have most of this in place, but am somewhat puzzled by what needs to be defined at the NagiosServer level for the remoteLevel2 machine in order to tie everything together.
Has anyone else tried implementing this scenario? I'm interested in any configuration tips you can share.
Thanks in advance for your reply,
M