using both check_nrpe and check_by_ssh

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
mjl
Posts: 1
Joined: Thu Jul 12, 2012 12:54 pm

using both check_nrpe and check_by_ssh

Post by mjl »

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
Locked