logs dissapering

Jasmine jasmine.chua at securecirt.com
Fri Jul 25 15:47:15 CEST 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> On Thursday 24 July 2003 21:09, Jeff McKeon wrote:
> /usr/local/nagios/var/
>
> [root at MIS01TC07927 var]# ls -l
> total 60
> drwxrwxr-x    2 nagios   nagios       4096 Jul 24 00:00 archives
> -rw-rw-r--    1 nagios   nagios        708 Jul 24 12:21 comment.log
> -rw-rw-r--    1 nagios   nagios          0 Jul 24 12:21 downtime.log
> -rw-r--r--    1 root     root            4 Jul 24 12:21 nagios.lock
> -rw-rw-r--    1 nagios   nagios      12494 Jul 24 12:26 nagios.log
> drwxrws---    2 nagios   nagiocmd     4096 Jul 24 12:21 rw
> -rw-rw-r--    1 nagios   nagios      15782 Jul 24 13:07 status.log
> -rw-rw-r--    1 nagios   nagios      12034 Jul 24 12:21 status.sav
>
> /usr/local/nagios/var/archives/
>
> --snip--
>
> -rw-rw-r--    1 nagios   nagios         33 Jul 19 23:59
> nagios-07-20-2003-00.log
> -rw-rw-r--    1 nagios   nagios       5291 Jul 20 23:44
> nagios-07-20-2003-23.log
> -rw-rw-r--    1 nagios   nagios         33 Jul 20 23:59
> nagios-07-21-2003-00.log
> -rw-rw-r--    1 nagios   nagios      49941 Jul 21 23:44
> nagios-07-22-2003-00.log
> -rw-rw-r--    1 nagios   nagios      25519 Jul 22 23:39
> nagios-07-22-2003-23.log
> -rw-rw-r--    1 nagios   nagios         33 Jul 22 23:59
> nagios-07-23-2003-00.log
> -rw-rw-r--    1 nagios   nagios       5143 Jul 23 23:39
> nagios-07-23-2003-23.log
> -rw-rw-r--    1 nagios   nagios         33 Jul 23 23:59
> nagios-07-24-2003-00.log
>
> --snip--
>
> From nagios.cfg
>
> --snip--
>
> retain_state_information=1
> state_retention_file=/usr/local/nagios/var/status.sav
> retention_update_interval=60
> use_retained_program_state=0
> interval_length=60
>
> --snip--

Hmm.. I couldnt see anything wrong with your logging. Since you mentioned that 
you have sufficient disk space and stuffs.. The log events for the past few 
days are all in the /var/nagios/archives/ directory! Can you try generating 
reports for the past few days from Alert History on your web interface? 


Jasmine 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE/ITTjNgvTa7Hj2AURArP0AJ45gZjR4uB091W4Xa5iHoe59Lr6ZQCgqZ0m
UvAUYrDcmdwPbOqQ7nMeZEg=
=/D3y
-----END PGP SIGNATURE-----



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
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