logs dissapering

Jeff McKeon jsm at inpro.net
Thu Jul 24 15:09:15 CEST 2003


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



On Wed, 2003-07-23 at 21:43, Jasmine wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On Wednesday 23 July 2003 22:37, Jeff McKeon wrote:
> > Does anyone have any info on this???
> 
> 
> hmm interesting problem.. 
> Did you check to make sure that this is set to 1 in nagios.cfg? 
> 
> retain_state_information=1
> 
> Maybe you would like to post your nagios.cfg together with the permissions of 
> all nagios log files. 
> 
> Jasmine 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.2 (GNU/Linux)
> 
> iD8DBQE/HzmqNgvTa7Hj2AURAlhhAKCFwAtERAi0y1CMkqpelB9y7G8u/QCfZKtZ
> jAKEudHLS9G0sPi7BhJ/dPo=
> =AB5K
> -----END PGP SIGNATURE-----
-- 
Jeff McKeon <jsm at inpro.net>



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