> -----Original Message----- > From: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] On Behalf Of Alejandro Imass > Sent: Monday, January 22, 2007 10:18 AM > To: [email protected] > Subject: [Nagios-users] Using the Trending Graph >
> This did NOT work either because the nagios web interface was expecting > log names like: > > nagios-01-19-2007-00.log Yes, it is. > instead of the ones nagios has been generating which are of the form: > > nagios.log.X.gz Yes, this is a problem. Nagios is not creating these. > I decompressed all the gz files and create soft links so the web > interface could display past notifications: > > poseidon:/var/log/nagios2# ls -l > total 140 > lrwxrwxrwx 1 root adm 12 2007-01-22 09:54 nagios-01-19-2007-00.log > -> nagios.log.4 > lrwxrwxrwx 1 root adm 12 2007-01-22 09:53 nagios-01-20-2007-00.log > -> nagios.log.3 > lrwxrwxrwx 1 root adm 12 2007-01-22 09:52 nagios-01-21-2007-00.log > -> nagios.log.2 > lrwxrwxrwx 1 root adm 12 2007-01-22 09:50 nagios-01-22-2007-00.log > -> nagios.log.1 > -rw-r--r-- 1 nagios adm 9265 2007-01-22 11:17 nagios.log > -rw-r--r-- 1 nagios adm 52767 2007-01-22 06:25 nagios.log.1 > -rw-r--r-- 1 nagios adm 45689 2007-01-22 06:25 nagios.log.2 > -rw-r--r-- 1 nagios adm 10469 2007-01-21 06:25 nagios.log.3 > -rw-r--r-- 1 nagios adm 10419 2007-01-20 06:25 nagios.log.4 Nagios is not creating the .tar.gz files, nor is it rotating the logs as above. You need to figure out what is and stop it. My guess would be logrotate. Nagios must have the uncompressed files in the archive directory with the proper names (nagios handles this) for historical reporting. > It is my guess that my log problem is related to the trending problem > given some of the threads that I read on the user's mailing list > archives. Yes, you're correct. -- Marc ------------------------------------------------------------------------- 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 [email protected] 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
