Feature request

Nicolas COLIN ncolin at technodiva.com
Fri Jan 12 09:53:45 CET 2007


Christoph Maser <cmr <at> 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



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV




More information about the Developers mailing list