Obsessive Compulsive Problem

Jason Marshall jasonm at kelman.com
Wed Feb 19 01:09:36 CET 2003


> First thing to check...file permissions for the submit_check_result 
> script.  I had a problem with that once.  Make sure that whatever used 

I just checked, and it was the wrong owner, but mode 755, so it was
runnable by whomever.

> Nagios runs as can execute that script.  Then double check the command 
> you have defined in your misccommands.cfg file to make sure the syntax 
> is good (suggestion:  email it to the list).  Rememver to put quotes 
> around any $MACRO$ variable that could have spaces in them.

I had quotes around everything, and then removed them, and the results
have been the same:

define command {
        command_name            submit_check_result
        command_line            /opt/nagios/libexec/submit_check_result 
$HOSTNAME$ $SERVICEDESC$ $SERVICESTATE$ '$OUTPUT$'
}

The command_line is all one one line, sorry for the wrappage.

---
Jason Marshall, Unix Geek, Kelman Technologies, Inc., Calgary, AB, Canada.

  From a Sun Microsystems bug report (#4102680):
    "Workaround: don't pound on the mouse like a wild monkey."

  "I have great faith in fools: 
     Self confidence my friends call it."  -Edgar Allan Poe




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
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