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. <br><br>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?<br>