Echo nagios status?
Marc Powell
marc at ena.com
Wed Mar 31 17:06:46 CEST 2004
Spencer L Horn <mailto:shorn at lssi.net> wrote:
> I have this defined in my remote secondary nagios monitoring box,
>
> /bin/echo -e "$1\t$2\t$return_code\t$4\n" |
> /usr/local/nagios/bin/send_nsca_nagios nagiosw0 -c
> /usr/local/nagios/etc/send_nsca.cfg
>
> which pipes the service check info into the send_nsca program, which
> in turn transmits the data to the nsca daemon on the central
> monitoring server.
>
> How do i tell my main server not to activly check these remote
> services just recieve status update via nsca?
On the machine receiving the checks --
active_checks_enabled 0
passive_checks_enabled 1
_or_
active_checks_enabled 1
passive_checks_enabled 1
check_period none
Each will yeild the same results but display differently in the web
interface. In the former, each service will have a big red X indicating
that active checks are disabled. It's not present in the latter. I
haven't been able to determine any real functional difference between
the two different methods and routinely use the latter example.
--
Marc
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click
_______________________________________________
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