From nagios.cfg: # EXTERNAL COMMAND FILE # This is the file that Nagios checks for external command requests. # It is also where the command CGI will write commands that are # submitted # by users, so it must be writeable by the user that the web server # is running as (usually 'nobody'). Permissions should be set at the # directory level instead of on the file, as the file is deleted every # time its contents are processed.
command_file=/var/log/nagios/rw/nagios.cmd On Sun, 07 May 2006, Nelson Serafica wrote: > Just want to know how can I configure CGI web interface to use external > command? > > I enable check_external_commands in nagios.cfg and allow user in cgi.cfg to > use external commands. > Problem is whenever I did this step, web interface shows an error but when I > turn it back to default, it goes back to normal. > > It seems I dont have /usr/local/nagios/var/rw/nagios.cmd. I created rw dir > but how can i get or make nagios.cmd? > > TIA > -- Patrick Morris Snapfish/HP 303 Second Street Suite 500, South Tower San Francisco, CA 94107 (415) 979-3727 ------------------------------------------------------- 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&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list [email protected] 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
