submitting external commands remotely

Iphtashu Fitz iphtashu.fitz at gmail.com
Wed Aug 23 16:40:28 CEST 2006


I have a handful of scripts that I've written that submit commands to our
Nagios monitor remotely, so I'm pretty comfortable with working with
external commands.  I now need to be able to submit external commands from
an external host.  In a nutshell I want to schedule downtime of specific
services based on recurring tasks that are run on those remote machines.
I've written a script that will schedule service downtime and it works fine
when I run it on the nagios server.  I tried exporting the nagios/var
directory via NFS and mounted it from one of the remote machines so that
they could write to nagios.cmd.  But when I run the script on these remote
machines Nagios never responds to those external commands.  The script
appears to successfully write to the NFS mounted nagios.cmd but Nagios never
gets the message, and it never shows up in nagios.log.

Is it possible for a remote machine to communicate with Nagios this way (NFS
mounted nagios.cmd), or is there a better approach for submitting external
commands from an external host?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20060823/299561ed/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
-------------- next part --------------
_______________________________________________
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