passive host checking
Lori Adams
ladams at cloudmark.com
Thu Aug 25 20:02:20 CEST 2005
Bill,
I think you're a little bit confused. nrpe is an active check. On your
nagios machine, you would call
check_nrpe -H <remote machine with nrpe_nt on it> -c <some command>
(see nrpe.cfg).
nrpe_nt will run the program listed in nrpe.cfg, and the results will
come back through nrpe to your nagios machine.
send_nsca works differently. nsca runs some program that you've defined
(nsca.cfg) on your remote machine, and pushes that data to the nagios
server. nagios does not submit the request to your remote machine, it
only collects the data. Check the documentation for nrpe and nsca.
Then decide which one it is you want. In my specific case, I had to go
with nrpe, as we didn't want any of our remote machines to push data.
short story: nrpe pulls data, nsca pushes data. Read the docs.
-Lori
-----Original Message-----
From: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Bill
Stevenson
Sent: Wednesday, August 24, 2005 6:28 PM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] passive host checking
Okay here it goes: I have a handful of windows servers
that would like to have collect data on themselves and
send back to a Nagios server. These, of course, would
be passive host checks.
I have nrpe_nt installed and it can collect data. I
have send_nsca on the windows boxes and it can
establish a connection with the Nagios server. But how
can I get the results of the nrpe_nt checks to the
Nagios server? Doing some like this
"c:\cpuload_nrpe_nt.exe 70 90 | send_nsca -H
12.34.56.78 -c send_nsca.cfg" cause the program to
hang.
My one real burning question, is how can I configure
the Nagios server to accept the data that the Windows
boxes sent to it via send_nsca? What command in
checkcommands.cfg would I use to look for incoming
data from the windows servers, this incoming data is
going to come from one single IP address as these
hosts are behind a firewall and sending check results
across the Internet to the Nagios server.
Thanks,
Bill
____________________________________________________
Start your day with Yahoo! - make it your home page
http://www.yahoo.com/r/hs
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle
Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing &
QA
Security * Process Improvement & Measurement *
http://www.sqe.com/bsce5sf
_______________________________________________
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
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
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