how the file /var/log/status.log is updated

Aaron Segura Aaron.Segura at cabelas.com
Mon Nov 20 18:26:33 CET 2006


http://nagios.sourceforge.net/docs/2_0/configmain.html#status_update_int
erval

I have a script that loops and checks the mtime of the status.log.  If
it changes, I re-read the file.

-----Original Message-----
From: nagios-users-bounces at lists.sourceforge.net
[mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of enediel
gonzalez
Sent: Monday, November 20, 2006 10:19 AM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] how the file /var/log/status.log is updated

Hello:

I use nagios with linux, It's necessary for me to read the file
status.log 
to look for services status and take decisions in some cases, but I need
to 
know in which way this file is update to read it at the right time,

If in case I read the file at the moment it's updated, I could make
mistakes 
in my decisions.

I'll appreciate any help to coordinate these processes.

Thanks in advance for any answer

Enediel
SCJP 1.5 ( Sun Certified Java Programmer)
Linux user 300141
Debian GNU/Linux

_________________________________________________________________
Don't just search. Find. Check out the new MSN Search! 
http://search.msn.com/


------------------------------------------------------------------------
-
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=DEVDE
V
_______________________________________________
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

-------------------------------------------------------------------------
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
_______________________________________________
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