Nagios thinks the archive logs are empty but they are not.
Marc Powell
marc at ena.com
Tue Jul 7 20:07:34 CEST 2009
On Jul 7, 2009, at 12:23 PM, John Andrunas wrote:
> When using the reporting functions in Nagios I can only view the
> current days logs/statistics, anything beyond that is empty (on the
> web interface). The log path and permissions all seem to be good, and
> I can see that the files do contain information.
>
> ls -al /usr/local/nagios/var/nagios.log
> -rw-rw-r-- 1 nagios nagios 3178106 Jul 7 10:09 /usr/local/nagios/
> var/nagios.log
>
> ls -al /usr/local/nagios/var/archives/nagios-07-06-2009-00.log
> -rw-r--r-- 1 nagios nagios 57943 Jul 5 23:59
> /usr/local/nagios/var/archives/nagios-07-06-2009-00.log
How about permissions on the /usr/local/nagios/var/archives directory?
Is SELinux enabled?
Does the value of log_rotation_method in nagios.cfg match the rotation
method indicated by the actual archive files?
--
Marc
------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize
details at: http://p.sf.net/sfu/blackberry
_______________________________________________
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