Search found 10 matches
- Fri Sep 06, 2019 9:50 am
- Forum: Open Source Nagios Projects
- Topic: Cannot open log file '/usr/local/nagios/var/archives/nagios
- Replies: 19
- Views: 6532
Re: Cannot open log file '/usr/local/nagios/var/archives/nag
The situation you describe would absolutely cause those issues. If possible, you should allow the nagios server to run continuously. This way you can detect outages or other issues which would occur off-shift for you (even if you don't handle them until coming in the next morning). If that's not po...
- Fri Sep 06, 2019 9:03 am
- Forum: Open Source Nagios Projects
- Topic: Cannot open log file '/usr/local/nagios/var/archives/nagios
- Replies: 19
- Views: 6532
Re: Cannot open log file '/usr/local/nagios/var/archives/nag
Okay, the directory permissions look fine. I haven't reproduced your issue so far - though we're on day 2 so far, and yours hadn't failed by then. When you say I restarted the Nagios process on a regular interval, using the command systemctl restart Nagios do you mean that you have a cron job that ...
- Wed Sep 04, 2019 12:46 pm
- Forum: Open Source Nagios Projects
- Topic: Cannot open log file '/usr/local/nagios/var/archives/nagios
- Replies: 19
- Views: 6532
Re: Cannot open log file '/usr/local/nagios/var/archives/nag
Hi Philix , We haven't figured out what the issue is yet, but I've set up several test machines running 4.4.3 and 4.4.5 to see if we can reproduce. There are a couple of other things we can take a look at, though they probably won't lead to resolution. 1. I'm curious to see the permissions for the ...
- Tue Sep 03, 2019 3:59 pm
- Forum: Open Source Nagios Projects
- Topic: Cannot open log file '/usr/local/nagios/var/archives/nagios
- Replies: 19
- Views: 6532
Re: Cannot open log file '/usr/local/nagios/var/archives/nag
If you click "Process Info" from the left menu, what does it say in the "Last Log File Rotation:"? Also, what do you get when running the following? date date +%s grep last_log_rotation /usr/local/nagios/var/status.dat Last Log File Rotation: N/A root@debian:/usr/local/nagios/et...
- Tue Sep 03, 2019 10:20 am
- Forum: Open Source Nagios Projects
- Topic: Cannot open log file '/usr/local/nagios/var/archives/nagios
- Replies: 19
- Views: 6532
Re: Cannot open log file '/usr/local/nagios/var/archives/nag
That is strange, it doesn't even seem to have attempted the rotation since 8/25 what is the output of the following ps -ef|grep nagios.cfg root@debian:~# ps -ef|grep nagios.cfg nagios 719 1 0 08:07 ? 00:00:02 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg nagios 776 719 0 08:07 ? ...
- Tue Sep 03, 2019 9:49 am
- Forum: Open Source Nagios Projects
- Topic: Cannot open log file '/usr/local/nagios/var/archives/nagios
- Replies: 19
- Views: 6532
Re: Cannot open log file '/usr/local/nagios/var/archives/nag
So this seems to have stopped working on 8/26/2019, does this correspond to an upgrade to 4.4.5? what do you get with the following? grep ROT -4 /usr/local/nagios/var/nagios.log it is a fresh installation root@debian:~# grep ROT -4 /usr/local/nagios/var/nagios.log [1566712800] LOG ROTATION: DAILY [...
- Tue Sep 03, 2019 9:36 am
- Forum: Open Source Nagios Projects
- Topic: Cannot open log file '/usr/local/nagios/var/archives/nagios
- Replies: 19
- Views: 6532
Re: Cannot open log file '/usr/local/nagios/var/archives/nag
root@debian:~# grep log_rotation_method /usr/local/nagios/etc/nagios.cfgscottwilkerson wrote:what is the log_rotation_method set to?
I would expectCode: Select all
grep log_rotation_method /usr/local/nagios/etc/nagios.cfgCode: Select all
log_rotation_method=d
log_rotation_method=d
root@debian:~#
- Tue Sep 03, 2019 9:27 am
- Forum: Open Source Nagios Projects
- Topic: Cannot open log file '/usr/local/nagios/var/archives/nagios
- Replies: 19
- Views: 6532
Re: Cannot open log file '/usr/local/nagios/var/archives/nag
That is weird, you don't have a nagios-08-29-2019-00.log file... Did someone change the log rotation settings in the nagios.cfg? Has Nagios been running as I don't see any newer than nagios-08-25-2019-00.log when i was not getting the desired results, i was playing with the nagios.cfg file and i am...
- Tue Sep 03, 2019 9:11 am
- Forum: Open Source Nagios Projects
- Topic: Cannot open log file '/usr/local/nagios/var/archives/nagios
- Replies: 19
- Views: 6532
Re: Cannot open log file '/usr/local/nagios/var/archives/nag
What are the permissions of the files in this directory? ls -al /usr/local/nagios/var/archives/ root@debian:~# ls -al /usr/local/nagios/var/archives/ total 16 drwxrwxr-x 2 nagios nagios 4096 Aug 24 23:59 . drwxr-xr-x 5 nagios nagios 4096 Sep 3 08:08 .. -rw-r--r-- 1 nagios nagios 2939 Aug 23 23:35 n...
- Thu Aug 29, 2019 4:55 pm
- Forum: Open Source Nagios Projects
- Topic: Cannot open log file '/usr/local/nagios/var/archives/nagios
- Replies: 19
- Views: 6532
Cannot open log file '/usr/local/nagios/var/archives/nagios
Hi everyone! ON console, when I try to see Service Alert History for whatever service, I can see only events for present log file When I try to browse on console view for previous log history, Notification, Eventlogs the following error appears! Error: Cannot open log file '/usr/local/nagios/var/arc...