check_nagios and system log
Demetri Mouratis
dmourati at cm.math.uiuc.edu
Wed Mar 21 00:38:18 CET 2007
On Tue, 20 Mar 2007, chiel wrote:
> check_nagios -e 5 -F /usr/local/nagios/var/nagios.log -C
> /usr/local/nagios/bin/nagios
>
> -e, --expires=INTEGER
> Minutes aging after which logfile is considered stale
>
>
> Just raise -e
I found that raising -e *and* setting:
retention_update_interval=1
worked for me.
Without the retention tweak, I was seeing nagios run for 15 minutes
without updating its status.log and that is too long of an outage for me
to live with.
Hope that helps.
-D
-------------------------------------------------------------------------
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