Error: Cannot open log file '/opt/nagios/var/archives/nagios-01-14-2015-00.log' for reading!
All other log files archived cannot be read from the Web UI.
Permissions for the directory and files are -rw-r--r--
The owner of the files and directory is nagios:nagios
Please advise of where / how to troubleshoot.
Thank you
Error: Cannot open log file '/opt/nagios/var/archives/nagios
Re: Error: Cannot open log file '/opt/nagios/var/archives/na
What OS are you using ?
How did you install Nagios ?
Could you share your nagios.conf file ?
Where did you get this error ?
==>brian.
How did you install Nagios ?
Could you share your nagios.conf file ?
Where did you get this error ?
==>brian.
Re: Error: Cannot open log file '/opt/nagios/var/archives/na
RHEL
It is a legacy install inherited from previous admins.
The error shows in the Web browser interface when trying to view the archived nagios log files.
If you browse to Alerts -> History and then choose and earlier archive at the top navigation the error appears for any previous dates.
The current day shows just fine.
It is a legacy install inherited from previous admins.
The error shows in the Web browser interface when trying to view the archived nagios log files.
If you browse to Alerts -> History and then choose and earlier archive at the top navigation the error appears for any previous dates.
The current day shows just fine.
Re: Error: Cannot open log file '/opt/nagios/var/archives/na
Just out of curiosity, can you post the output of:
I would like to make sure it exists. I have seen a handful of installs that stamped the file names differently than what nagios was expecting.
Also, is nagios is the apache group and vice versa?
Code: Select all
ls -la /opt/nagios/var/archives/nagios-01-14-2015-00.logAlso, is nagios is the apache group and vice versa?
Code: Select all
grep nag /etc/groupFormer Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
-
venkat.p789
- Posts: 3
- Joined: Thu Jun 25, 2015 12:09 am
Re: Error: Cannot open log file '/opt/nagios/var/archives/na
Hi ,
We are unable to fetch the alert history for the hosts or service for the previous days from Nagios core web interface. But logs are available in under /usr/local/nagios/var/archives.PFA for screen shot and help me on this issue. Please let us know,if you need further information
system details:
Nagios version : nagios core 3.5
operating systems :centos6.6
Thanks in advance for your support.
We are unable to fetch the alert history for the hosts or service for the previous days from Nagios core web interface. But logs are available in under /usr/local/nagios/var/archives.PFA for screen shot and help me on this issue. Please let us know,if you need further information
system details:
Nagios version : nagios core 3.5
operating systems :centos6.6
Thanks in advance for your support.
- Attachments
-
- Nagios archive logs
- Nagios history log.PNG (8 KiB) Viewed 2515 times
-
jdalrymple
- Skynet Drone
- Posts: 2620
- Joined: Wed Feb 11, 2015 1:56 pm
Re: Error: Cannot open log file '/opt/nagios/var/archives/na
1) new thread please, your problem is unrelated to the OP's problem as far as I can tell (I'm going to lock this one)
2) Are you sure you even have notifications to be viewed? `grep NOTIFICATION nagios.log`
2) Are you sure you even have notifications to be viewed? `grep NOTIFICATION nagios.log`