nagios archives in var/archives

Andreas Ericsson ae at op5.se
Mon Jun 14 22:44:29 CEST 2004


Cook, Garry wrote:
> Never tried this, don't know if it will work, but what if you left your
> default interval set to 60 seconds, and then changed your service check
> interval to '.25'?
> 
> -g
> 

I'm chopping on it, adding some code that makes it read the extentions 
s, m and h (with m being default) for seconds, minutes and hours, 
respectively.

It's terribly slow going though, since I've got about a dozen other 
projects at hand simultaneously.

> nagios-users-admin at lists.sourceforge.net wrote:
> 
>>This started happening when I modified my nagios.cfg's
>>interval from the
>>default 1 minute to 15s. The reason I brought it down is for getting
>>ping response every 15s. I will restore it back to 60 but, is
>>there a way to have
>>a service check be in the interval of 15s even if our default
>>is 60 seconds?
>>
>>Thanks.
>>
>>Ben Clewett writes:
>>
>>
>>>Just a thought.  The second set of files are a minute after the
>>> first set. Is the rotation being completed twice?  The second time
>>>from an empty log file, wiping the already rotated log?
>>>
>>>Ben
>>>
>>>Neil wrote:
>>>
>>>
>>>>Hey guys,
>>>>Look at this:
>>>>-rw-rw-r--    1 nagios   nagios    1023305 Jun  1 23:59
>>>>nagios-06-02-2004-00.log 
>>>>-rw-rw-r--    1 nagios   nagios     969582 Jun  2 23:59
>>>>nagios-06-03-2004-00.log 
>>>>-rw-rw-r--    1 nagios   nagios    1018123 Jun  3 23:59
>>>>nagios-06-04-2004-00.log 
>>>>-rw-rw-r--    1 nagios   nagios    1030579 Jun  4 23:59
>>>>nagios-06-05-2004-00.log 
>>>>-rw-rw-r--    1 nagios   nagios     975405 Jun  5 23:59
>>>>nagios-06-06-2004-00.log 
>>>>-rw-rw-r--    1 nagios   nagios     809465 Jun  6 23:59
>>>>nagios-06-07-2004-00.log 
>>>>-rw-rw-r--    1 nagios   nagios     932407 Jun  7 23:59
>>>>nagios-06-08-2004-00.log 
>>>>-rw-rw-r--    1 nagios   nagios         33 Jun  9 00:00
>>>>nagios-06-09-2004-00.log 
>>>>-rw-rw-r--    1 nagios   nagios         33 Jun 10 00:00
>>>>nagios-06-10-2004-00.log 
>>>>-rw-rw-r--    1 nagios   nagios         33 Jun 11 00:00
>>>>nagios-06-11-2004-00.log 
>>>>-rw-rw-r--    1 nagios   nagios         33 Jun 12 00:00
>>>>nagios-06-12-2004-00.log 
>>>>-rw-rw-r--    1 nagios   nagios         33 Jun 13 00:00
>>>>nagios-06-13-2004-00.log 
>>>>-rw-rw-r--    1 nagios   nagios         33 Jun 14 00:00
>>>>nagios-06-14-2004-00.log What could be the reason why nagios
>>>>stopped archiving? I still have about 400mb of free disk. The small
>>>>file contains the following message: [1087196400] LOG ROTATION:
>>>>DAILY 
>>>>Any help will be greatly appreciated.
>>>>Thanks.
>>>>Neil
> 
> 
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
> Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
> Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
> REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
> _______________________________________________
> 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
> 

-- 
Andreas Ericsson
OP5 AB
+46 (0)733 709032
andreas.ericsson at op5.se


-------------------------------------------------------
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
_______________________________________________
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