Checking stuff on remote hosts question

Sand Philipp Philipp.Sand at sycor.de
Wed Nov 3 08:23:58 CET 2004


Could you post the relevant part of your checkcommands.cfg?
BTW, Good solution to handle a lot of those remote checks is the Plguin
push_by_ssh, which kindof combines the nrpe and the check_by_ssh plugin.

> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net 
> [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf 
> Of Jason Williams
> Sent: Tuesday, November 02, 2004 11:19 PM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] Checking stuff on remote hosts question
> 
> Hello everyone.
> 
> As i dive deeper and deeper into Nagios, I am finding that 
> there are more and more things that i want to do. With that 
> comes a few questions and problems that i have run into.
> 
> Right now, i am running nagios 1.2 on a Fedora Core 2 box.
> One thing I am trying to get working is the ability to check 
> the load average on a remote host.
> 
> The host I am trying to contact is a Red Hat 8.0.
> 
> i have gone ahead and setup SSH-KEYS for the user nagios 
> (setup nagios on the remote host).
> 
> I have been able to key passwordless SSH working for the user 
> nagios. WHich is good. I can even try the plugin from the 
> commandline, using the user nagios and it works correctly.
> 
> However, here is my problem. On the web interface, I see this 
> error on the remote host when it is checking for the load average:
> 
> bash: line 1: /usr/lib/nagios/plugins/check_load: No such 
> file or directory
> 
> That tells me that the remote host is trying to execute that 
> command on itself, correct? If not, im missing something.
> 
> My question here is I am missing something, or I have misread 
> something and now I am confused.
> 
> If I am trying to check the load average on a few remote 
> machines, besides setting up the nagios server, what else 
> needs to be done on the remote hosts? This seems to be my 
> pitfall at this point.
> 
> I appreciate the help.
> 
> Jason
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by:
> Sybase ASE Linux Express Edition - download now for FREE 
> LinuxWorld Reader's Choice Award Winner for best database on Linux.
> http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
> _______________________________________________
> 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
> 


************************************************

sycor plastics - die neue Branchenlösung für die Kunststoffindustrie

www.sycor-plastics.de

************************************************




Diese E-Mail ist vertraulich und kann darüber hinaus persönliche Informationen beinhalten. Wenn Sie nicht der bestimmungsgemäße Empfänger sind, löschen Sie bitte die E-Mail und deren Anhänge sofort und benachrichtigen Sie uns darüber. Die Firma sycor willigt in keine Verträge oder vertragliche Verpflichtungen ein oder übermittelt rechtsverbindliche Angebote, die in Form von E-Mail versandt werden, sofern dies nicht ausdrücklich in schriftlicher Form zwischen den Parteien vereinbart wurde.

This e-mail is confidential and may contain personal and/or privileged information. If you are not the intended recipient please delete this e-mail and all attachments immediately and inform us. The company sycor does not agree with contracts or contract obligations sent by e-mail, neither do we transmit legally binding offers by e-mail, unless this is not expressly agreed upon between the parties and documented in written form.



-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_idU88&alloc_id065&op=click
_______________________________________________
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