Re: check_by_ssh - (Service Check Timed Out)
Ian Rarity <Ian.Rarity-9ch1i/[email protected]>
| Newsgroups | gmane.network.nagios.plugins |
|---|---|
| Message-ID | <[email protected]> |
Hi Tim, What user does your Nagios process run checks as? The default is "nagios"; have you tried running the command as that user from the command line? Ta, IR. ================== Ian Rarity IT Services Engineer ESPC (UK) Ltd. ian.rarity-9ch1i/[email protected]<mailto:ian.rarity-9ch1i/[email protected]> http://www.espc.com<http://www.espc.com/> ================== From: Tim Sheets [mailto:dolfantimmy-/[email protected]] Sent: 02 November 2012 14:48 To: nagiosplug-help-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Subject: [Nagiosplug-help] check_by_ssh - (Service Check Timed Out) I'm pulling my hair out over this one. If I execute the following from the command line.... ./check_by_ssh -t 60 -H 10.171.6.75 -C "~/bin/check_disk -t 60 -w 20% -c 10%" I get a perfect response. But, when the following command in commands.cfg is executed, it always returns Service Check Timed Out define command{ command_name check_remote_disk command_line $USER1$/check_by_ssh -t 60 -H $HOSTADDRESS$ -C "~/bin/check_disk -t 60 -w $ARG1$ -c $ARG2$" } Any ideas? ________________________________ Follow us on Twitter at http://twitter.com/espc Private and Confidential: This e-mail transmission is strictly confidential and intended solely for the addressee. It may contain privileged and confidential information and if you are not the intended recipient, you must not copy, disclose, distribute or take any action in reliance on it. If you have received this e-mail in error, please delete it and notify our E-mail Systems Administrator on +44 (0) 131 624 8000. ESPC (UK) Ltd does not accept any liability for any harm that may be caused to the recipient's system or data by this message or any attachment. ESPC (UK) Ltd is a company registered under the Companies Acts in Scotland (Registered Number SC203585), and having its registered office at 90A George Street, Edinburgh, Midlothian EH2 3DF. ESPC (UK) Ltd is an Appointed Representative of Accord Consultancy which is authorised and regulated by the Financial Services Authority. ******************************************************************* Private and Confidential: This e-mail transmission is strictly confidential and intended solely for the addressee. It may contain privileged and confidential information and if you are not the intended recipient, you must not copy, disclose, distribute or take any action in reliance on it. If you have received this e-mail in error, please delete it and notify our E-mail Systems Administrator on +44 (0) 131 624 8000. ESPC (UK) Ltd does not accept any liability for any harm that may be caused to the recipient's system or data by this message or any attachment. ESPC (UK) Ltd is a company registered under the Companies Acts in Scotland (Registered Number SC203535), and having its registered office at 90A George Street, Edinburgh, Midlothian EH2 3DF. ESPC (UK) Limited is authorised and regulated by the Financial Services Authority. ------------------------------------------------------------------------------ LogMeIn Central: Instant, anywhere, Remote PC access and management. Stay in control, update software, and manage PCs from one command center Diagnose problems and improve visibility into emerging IT issues Automate, monitor and manage. Do more in less time with Central http://p.sf.net/sfu/logmein12331_d2d _______________________________________________ Nagiosplug-help mailing list Nagiosplug-help-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org https://lists.sourceforge.net/lists/listinfo/nagiosplug-help ::: Please include plugins version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null