missing archives directory
Marc Powell
marc at ena.com
Sun Jun 11 17:08:34 CEST 2006
> -----Original Message-----
> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-
> bounces at lists.sourceforge.net] On Behalf Of Robert Snyder
> Sent: Friday, June 09, 2006 10:18 PM
> To: Nagios Users
> Subject: [Nagios-users] missing archives directory
>
> Hi,
>
> I am running nagios 2.2 on OS X 10.4.6 (Darwinports).
>
> When I try to view error history I get the following error:
>
> Error: Cannot open log file '/opt/local/var/nagios/archives/
> nagios-06-09-2006-00.log' for reading!
>
> and when I cd to /opt/local/var/nagios there is no archives directory.
>
> What am I doing wrong?
It seems that whatever you used to install nagios either didn't create
the archives directory or created it in a different place than is
defined in nagios.cfg. See if it was created elsewhere with 'locate
archives'. In both cases your historical data has almost certainly not
been retained.
You can always just create the directory --
mkdir -p /opt/local/var/nagios
chmod 755 /opt/local/var/nagios
chown <your nagios user>:<your nagios group> /opt/local/var/nagios
--
Marc
_______________________________________________
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