NSCA messages - DOCUMENTATION BUG
Marc Powell
marc at ena.com
Tue Feb 7 20:34:33 CET 2006
> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-
> admin at lists.sourceforge.net] On Behalf Of Brady Maxwell
> Sent: Tuesday, February 07, 2006 1:10 PM
> To: Mike Koponick
> Cc: Sumit Malhotra; Nagios users
> Subject: Re: [Nagios-users] NSCA messages
>
> I would actually be willing to except this as an answer
>
> here is the script I am using for submit_check_results
>
[chop]
> my command def is
>
> define command{
> command_name submit_check_result
> command_line
> /usr/local/nagios/libexec/eventhandlers/submit_check_result $HOSTNAME$
> '$SERVICEDESC$' $SERVICESTATE$ '$OUTPUT$'
> }
>
> Identical to the sample script in the 2.0 doco and the sample command
> definition i really just customized the ip and port
Docco bug in http://nagios.sourceforge.net/docs/2_0/distributed.html.
$OUTPUT$ should be $SERVICEOUTPUT$.
--
Marc
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
_______________________________________________
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