Re: [Nagios-devel] Feature request

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

Re: [Nagios-devel] Feature request

Post by Guest »

Christoph Maser financial.com> writes:
>
> Hi,
>
> this is not a good idea. You will never know if your services are just
> stale. Make your checks report periodically (e.g. once a day) report an
> OK status themselves and add freshness checking. Otherwise you will not
> know if the service actually works.
>
> Chris
>
> Horvath Tamas wrote:
> > Hi Listmembers!
> >
> > I think it would be useful if Nagios automatically set up passive service
> > checks' initial state. For example after I configured a passive service
> > check, its status will be "Ok" and its status information will be "Service
> > assumed to be ok".
> >
> > In my scenario I have lost status information and all of my passive service
> > checks become "PENDING", "Service check is not scheduled for execution...".
> > I have more than 300 passive service checks and nearly 200 are based upon
> > smatmontools. SMARTD will not send information to Nagios for a long time (I
> > hope, because it means that HDDs are OK). In this case PENDING", "Service
> > check is not scheduled for execution..." on the web page is a little
> > confusing. Our users complained about it.
> >
> > Today I spent more than 1 hour to submit passive check results for all of
> > these services manually, one at a time. It was time consuming and tedious.
> >
> > If you think that this idea is wrong, do you know a tool, which can setup
> > all PENDING passive service checks intial status together?.
> >
> > Thanks in advance,
> > Tamas.
> >
> > PS.: I use Nagios 1.3.

You can easily set the status by sending a file containing the following lines
to the FIFO.

[1165913959] PROCESS_SERVICE_CHECK_RESULT;Server;Service;0;

I prepared a file containing this for all the servers and all the services I
configure as passive check and send it ( cat [file_name] >
/usr/local/nagios/var/rw/nagios.cmd ) whenever I want to set to OK ( In fact, I
just do it once at the installation ).

--
Nicolas COLIN







This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
Locked