We've also added an explanation here:
http://code.google.com/p/checkossec/wiki/NagiosConfiguration



---------- Forwarded message ----------
From: Bill Mathews <billf...@gmail.com>
Date: Mon, Jan 26, 2009 at 4:36 PM
Subject: Re: check_ossec nagios plugin
To: ossec-list@googlegroups.com


Derek,

>Whats the syntax look like in the config files for nagios??




define command {
        command_name    check_remote_ossec
        command_line    $USER1$/check_nrpe -nH $ARG1$ -c check_ossec -a
$HOSTADDRESS$
}

The above is for using via NRPE.


command[check_ossec]=/usr/local/nagioscommon/libexec/check_ossec "$ARG1$"

This is for setting up the check command.

I thought we had an example in there but if not I'll get it updated. Thanks.


Bill

-- 

This is my gmail account, there are many like it
but this one is mine.



-- 

This is my gmail account, there are many like it
but this one is mine.

Reply via email to