<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">Hello Ivan,<br><br>I believe the host check can only be done via a Nagios agent installed in the remote host or via check_by_ssh.<br>You said you want to replace check_by_ssh, why are you doing so?<br>Most customer don't want a specific monitoring agent installed in their server (a remote host in Nagios' slang).<br><br>Thanks<br>Sam.<br><br><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">----- Original Message ----<br>From: Ivan Fetch <ifetch@du.edu><br>To: nagios-users@lists.sourceforge.net<br>Sent: Friday, October 5, 2007 1:40:45 PM<br>Subject: [Nagios-users] Switching to passive checks instead of active ones?<br><br><div>Hello,<br><br><br> I'm
wondering whether anyone has used send_nsca as a primary <br>"transport" for service checks, and has any experience and <br>recommendations?<br><br> We're looking at using send_nsca to submit passive service checks in <br>place of check_by_ssh or NRPE for active checks and would like some <br>feedback on the sanity for doing this.<br><br><br><br><br> The plan is to<br><br> 1. Run a script from cron, which iterates through a list of <br>checks (plugins to run, with parameters), and runs each check. There <br>would need to be a timeout mechanism, to reap checks which hang - does <br>anyone have something they use for this with send_nsca (not all plugins <br>have builtin timeouts)?<br><br> 2. Each plugin is run via a wrapper script (nsca_wrapper) which runs <br>the plugin and passes the results to send_nsca. IF send_nsca returns an <br>error,
the wrapper script logs to the local syslog. I'm starting with a <br>wrapper script from here: <br><a target="_blank" href="http://www..nagiosexchange.org/Check_Plugins.21.0.html?&tx_netnagext_pi1%5Bp_view%5D=980">http://www.nagiosexchange.org/Check_Plugins.21.0.html?&tx_netnagext_pi1%5Bp_view%5D=980</a><br><br> 3. Nagios' freshness checking will alert us if Nagios stops hearing <br>from any of these passive checks.<br><br><br> Some of the motivations for switching to this method for running checks <br>are:<br><br> * System logs are not cluttered with frequent SSH logins by Nagios<br><br> * A new system service (NRPE) is not added to systems, some of which <br>are particularly tightened and narrow in purpose<br><br> * Thresholds for checks (disk space percentages, mail queue volume) are <br>moved to the client, not defined
in Nagios checks - some<br>admins like the ability to adjust these locally<br><br><br> I'm looking for folks doing something like this, or reasons why this <br>might be a particularly bad idea. Perhaps Nagios triggering checks <br>has so much sanity built in, that moving checks to the <br>push-to-Nagios model is a bad idea?<br><br><br><br>Thanks all,<br><br>Ivan Fetch.<br><br><br>-------------------------------------------------------------------------<br>This SF.net email is sponsored by: Splunk Inc.<br>Still grepping through log files to find problems? Stop.<br>Now Search log events and configuration files using AJAX and a browser.<br>Download your FREE copy of Splunk now >> <a target="_blank" href="http://get.splunk.com/">http://get.splunk.com/</a><br>_______________________________________________<br>Nagios-users mailing list<br>Nagios-users@lists.sourceforge.net<br><a target="_blank"
href="https://lists.sourceforge.net/lists/listinfo/nagios-users">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. <br>::: Messages without supporting info will risk being sent to /dev/null<br></div></div><br></div></div></body></html>