Distributed host checks

mark mark at woodstream.net
Tue Mar 25 00:04:48 CET 2003


If you get the CVS version of NPRE (2.something) it accepts arguments. I 
use this setup for doing host checks and it works just fine. I just pass 
the $HOSTADDRESS$ as an argument to the NPRE check. That way I only have 
to have one command (check_host) defined on my distributed server.

Mark


On Mon, 
24 Mar 2003, White, Chad (MED) wrote:

> Hi,
> Does anyone have a good strategy for doing distributed host checks?
> 
> In my situation, I have a central Nagios server that accepts passive 
> checks from distributed Nagios servers that are located in other 
> networks.  There is absolutely no way that the central Nagios server 
> can directly access the hosts that are monitored by the distributed 
> servers, not even for ping.
> 
> I have service checks working well using NSCA to feed passive service 
> check results to the central server.  However, I can't come up with a 
> good way to do host checking in this circumstance.  Obviously I could 
> use NRPE on my distributed servers to run ping commands, but due to the 
> fact that I can't pass macros through to an NRPE command, I would need 
> to define a command for each and every host I monitor.  I would really 
> like to avoid that if at all possible.
> 
> What are some things that other people are using in this situation?  
> Right now I just have host-checking off, but it would be nice to check 
> the host and get one notification rather than one for each service on 
> the host.
> 
> Chad White
> Systems Administrator
> GE Medical Systems - IT
> chad.white at med.ge.com
> Visit us at http://www.gemedicalsystems.com
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
> ::: Messages without supporting info will risk being sent to /dev/null
> 



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list