Page 1 of 1

Nagios 4.0 - Problem with Log Rotate

Posted: Fri Oct 11, 2013 9:18 am
by Stiuzz
Hi all,
I'm testing a fresh Nagios 4.0 installation (CentOS 6.4 64bit) and today I noticed this problem:
While I was checking in the /log/archives/ the yesterday's logfile I noticed that the UTC at the beginning of log was the same of today's logfile, and I noticed also that only CURRENT HOST/SERVICE STATE where reported (Yesterday I restarted nagios several times so I would expect some more lines).
At the moment nagios is writing the log both in the /usr/local/nagios/var/nagios.log and /var/log/messages, so I give a look in the 2nd and I found something strange (See logs). It seems like that during log rotation something happened and the log file stored in the archives is just a copy of today's logfile with just log rotation report (LOG ROTATION VERSION + CURRENT HOST/SERVICE STATE), it seems as well that log rotation was repeated a lot of times till 00:00. All the logfiles in the /archive are the same so the problem seems to repeat every day.
I have the same problem with another fresh installation (CentOS 6.4 64bit as well)

Regards
Stiuzz

Today's nagios.log:

Code: Select all

[1381442400] LOG ROTATION: DAILY
[1381442400] LOG VERSION: 2.0
[1381442400] CURRENT HOST STATE: localhost;UP;HARD;1;PING OK - Packet loss = 0%, RTA = 0.03 ms
[1381442400] CURRENT SERVICE STATE: localhost;Current Load;OK;HARD;1;OK - load average: 0.00, 0.00, 0.00
[1381442400] CURRENT SERVICE STATE: localhost;Current Users;OK;HARD;1;USERS OK - 1 users currently logged in
[1381442400] CURRENT SERVICE STATE: localhost;HTTP;WARNING;HARD;4;HTTP WARNING: HTTP/1.1 403 Forbidden - 5237 bytes in 0.001 second response time
[1381442400] CURRENT SERVICE STATE: localhost;PING;OK;HARD;1;PING OK - Packet loss = 0%, RTA = 0.03 ms
[1381442400] CURRENT SERVICE STATE: localhost;Root Partition;OK;HARD;1;DISK OK - free space: / 10269 MB (91% inode=98%):
[1381442400] CURRENT SERVICE STATE: localhost;SSH;OK;HARD;1;SSH OK - OpenSSH_5.3 (protocol 2.0)
[1381442400] CURRENT SERVICE STATE: localhost;Swap Usage;OK;HARD;1;SWAP OK - 100% free (7999 MB out of 7999 MB)
[1381442400] CURRENT SERVICE STATE: localhost;Total Processes;OK;HARD;1;PROCS OK: 120 processes with STATE = RSZDT
[1381444544] Auto-save of retention data completed successfully.
[1381448144] Auto-save of retention data completed successfully.
[1381451744] Auto-save of retention data completed successfully.
[1381455344] Auto-save of retention data completed successfully.
[1381458944] Auto-save of retention data completed successfully.
[1381462544] Auto-save of retention data completed successfully.
[1381466144] Auto-save of retention data completed successfully.
[1381469744] Auto-save of retention data completed successfully.
[1381473344] Auto-save of retention data completed successfully.
[1381476944] Auto-save of retention data completed successfully.
[1381480544] Auto-save of retention data completed successfully.
[1381483735] Caught SIGHUP, restarting...
[1381483735] Event broker module 'NERD' deinitialized successfully.
[1381483735] Nagios 4.0.0 starting... (PID=12906)
[1381483735] Local time is Fri Oct 11 11:28:55 CEST 2013
[1381483735] LOG VERSION: 2.0
[1381483735] qh: Socket '/usr/local/nagios/var/rw/nagios.qh' successfully initialized
[1381483735] qh: core query handler registered
[1381483735] nerd: Channel hostchecks registered successfully
[1381483735] nerd: Channel servicechecks registered successfully
[1381483735] nerd: Channel opathchecks registered successfully
[1381483735] nerd: Fully initialized and ready to rock!
[1381483735] wproc: Successfully registered manager as @wproc with query handler
[1381483735] wproc: Registry request: name=Core Worker 2952;pid=2952
[1381483735] wproc: Registry request: name=Core Worker 2953;pid=2953
[1381483735] wproc: Registry request: name=Core Worker 2954;pid=2954
[1381483735] wproc: Registry request: name=Core Worker 2955;pid=2955
[1381487334] Auto-save of retention data completed successfully.
[1381490934] Auto-save of retention data completed successfully.
[1381494534] Auto-save of retention data completed successfully.
[1381498134] Auto-save of retention data completed successfully.
Yesterday's nagios.log (archives/nagios-10-11-2013-00.log):

Code: Select all

[1381442400] LOG ROTATION: DAILY
[1381442400] LOG VERSION: 2.0
[1381442400] CURRENT HOST STATE: localhost;UP;HARD;1;PING OK - Packet loss = 0%, RTA = 0.03 ms
[1381442400] CURRENT SERVICE STATE: localhost;Current Load;OK;HARD;1;OK - load average: 0.00, 0.00, 0.00
[1381442400] CURRENT SERVICE STATE: localhost;Current Users;OK;HARD;1;USERS OK - 1 users currently logged in
[1381442400] CURRENT SERVICE STATE: localhost;HTTP;WARNING;HARD;4;HTTP WARNING: HTTP/1.1 403 Forbidden - 5237 bytes in 0.001 second response time
[1381442400] CURRENT SERVICE STATE: localhost;PING;OK;HARD;1;PING OK - Packet loss = 0%, RTA = 0.03 ms
[1381442400] CURRENT SERVICE STATE: localhost;Root Partition;OK;HARD;1;DISK OK - free space: / 10269 MB (91% inode=98%):
[1381442400] CURRENT SERVICE STATE: localhost;SSH;OK;HARD;1;SSH OK - OpenSSH_5.3 (protocol 2.0)
[1381442400] CURRENT SERVICE STATE: localhost;Swap Usage;OK;HARD;1;SWAP OK - 100% free (7999 MB out of 7999 MB)
[1381442400] CURRENT SERVICE STATE: localhost;Total Processes;OK;HARD;1;PROCS OK: 120 processes with STATE = RSZDT
/var/log/messages:

Code: Select all

Oct 10 23:59:59 emcngs02-new nagios: LOG ROTATION: DAILY
Oct 10 23:59:59 emcngs02-new nagios: LOG VERSION: 2.0
Oct 10 23:59:59 emcngs02-new nagios: CURRENT HOST STATE: localhost;UP;HARD;1;PING OK - Packet loss = 0%, RTA = 0.03 ms
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;Current Load;OK;HARD;1;OK - load average: 0.00, 0.00, 0.00
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;Current Users;OK;HARD;1;USERS OK - 1 users currently logged in
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;HTTP;WARNING;HARD;4;HTTP WARNING: HTTP/1.1 403 Forbidden - 5237 bytes in 0.001 second response time
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;PING;OK;HARD;1;PING OK - Packet loss = 0%, RTA = 0.03 ms
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;Root Partition;OK;HARD;1;DISK OK - free space: / 10269 MB (91% inode=98%):
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;SSH;OK;HARD;1;SSH OK - OpenSSH_5.3 (protocol 2.0)
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;Swap Usage;OK;HARD;1;SWAP OK - 100% free (7999 MB out of 7999 MB)
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;Total Processes;OK;HARD;1;PROCS OK: 120 processes with STATE = RSZDT
Oct 10 23:59:59 emcngs02-new nagios: LOG ROTATION: DAILY
Oct 10 23:59:59 emcngs02-new nagios: LOG VERSION: 2.0
Oct 10 23:59:59 emcngs02-new nagios: CURRENT HOST STATE: localhost;UP;HARD;1;PING OK - Packet loss = 0%, RTA = 0.03 ms
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;Current Load;OK;HARD;1;OK - load average: 0.00, 0.00, 0.00
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;Current Users;OK;HARD;1;USERS OK - 1 users currently logged in
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;HTTP;WARNING;HARD;4;HTTP WARNING: HTTP/1.1 403 Forbidden - 5237 bytes in 0.001 second response time
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;PING;OK;HARD;1;PING OK - Packet loss = 0%, RTA = 0.03 ms
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;Root Partition;OK;HARD;1;DISK OK - free space: / 10269 MB (91% inode=98%):
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;SSH;OK;HARD;1;SSH OK - OpenSSH_5.3 (protocol 2.0)
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;Swap Usage;OK;HARD;1;SWAP OK - 100% free (7999 MB out of 7999 MB)
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;Total Processes;OK;HARD;1;PROCS OK: 120 processes with STATE = RSZDT
Oct 10 23:59:59 emcngs02-new nagios: LOG ROTATION: DAILY
Oct 10 23:59:59 emcngs02-new nagios: LOG VERSION: 2.0
Oct 10 23:59:59 emcngs02-new nagios: CURRENT HOST STATE: localhost;UP;HARD;1;PING OK - Packet loss = 0%, RTA = 0.03 ms
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;Current Load;OK;HARD;1;OK - load average: 0.00, 0.00, 0.00
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;Current Users;OK;HARD;1;USERS OK - 1 users currently logged in
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;HTTP;WARNING;HARD;4;HTTP WARNING: HTTP/1.1 403 Forbidden - 5237 bytes in 0.001 second response time
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;PING;OK;HARD;1;PING OK - Packet loss = 0%, RTA = 0.03 ms
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;Root Partition;OK;HARD;1;DISK OK - free space: / 10269 MB (91% inode=98%):
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;SSH;OK;HARD;1;SSH OK - OpenSSH_5.3 (protocol 2.0)
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;Swap Usage;OK;HARD;1;SWAP OK - 100% free (7999 MB out of 7999 MB)
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;Total Processes;OK;HARD;1;PROCS OK: 120 processes with STATE = RSZDT
Oct 10 23:59:59 emcngs02-new nagios: LOG ROTATION: DAILY
Oct 10 23:59:59 emcngs02-new nagios: LOG VERSION: 2.0
Oct 10 23:59:59 emcngs02-new nagios: CURRENT HOST STATE: localhost;UP;HARD;1;PING OK - Packet loss = 0%, RTA = 0.03 ms
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;Current Load;OK;HARD;1;OK - load average: 0.00, 0.00, 0.00
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;Current Users;OK;HARD;1;USERS OK - 1 users currently logged in
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;HTTP;WARNING;HARD;4;HTTP WARNING: HTTP/1.1 403 Forbidden - 5237 bytes in 0.001 second response time
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;PING;OK;HARD;1;PING OK - Packet loss = 0%, RTA = 0.03 ms
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;Root Partition;OK;HARD;1;DISK OK - free space: / 10269 MB (91% inode=98%):
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;SSH;OK;HARD;1;SSH OK - OpenSSH_5.3 (protocol 2.0)
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;Swap Usage;OK;HARD;1;SWAP OK - 100% free (7999 MB out of 7999 MB)
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;Total Processes;OK;HARD;1;PROCS OK: 120 processes with STATE = RSZDT
Oct 10 23:59:59 emcngs02-new nagios: LOG ROTATION: DAILY
Oct 10 23:59:59 emcngs02-new nagios: LOG VERSION: 2.0
Oct 10 23:59:59 emcngs02-new nagios: CURRENT HOST STATE: localhost;UP;HARD;1;PING OK - Packet loss = 0%, RTA = 0.03 ms
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;Current Load;OK;HARD;1;OK - load average: 0.00, 0.00, 0.00
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;Current Users;OK;HARD;1;USERS OK - 1 users currently logged in
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;HTTP;WARNING;HARD;4;HTTP WARNING: HTTP/1.1 403 Forbidden - 5237 bytes in 0.001 second response time
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;PING;OK;HARD;1;PING OK - Packet loss = 0%, RTA = 0.03 ms
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;Root Partition;OK;HARD;1;DISK OK - free space: / 10269 MB (91% inode=98%):
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;SSH;OK;HARD;1;SSH OK - OpenSSH_5.3 (protocol 2.0)
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;Swap Usage;OK;HARD;1;SWAP OK - 100% free (7999 MB out of 7999 MB)
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;Total Processes;OK;HARD;1;PROCS OK: 120 processes with STATE = RSZDT
Oct 10 23:59:59 emcngs02-new nagios: LOG ROTATION: DAILY
Oct 10 23:59:59 emcngs02-new nagios: LOG VERSION: 2.0
Oct 10 23:59:59 emcngs02-new nagios: CURRENT HOST STATE: localhost;UP;HARD;1;PING OK - Packet loss = 0%, RTA = 0.03 ms
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;Current Load;OK;HARD;1;OK - load average: 0.00, 0.00, 0.00
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;Current Users;OK;HARD;1;USERS OK - 1 users currently logged in
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;HTTP;WARNING;HARD;4;HTTP WARNING: HTTP/1.1 403 Forbidden - 5237 bytes in 0.001 second response time
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;PING;OK;HARD;1;PING OK - Packet loss = 0%, RTA = 0.03 ms
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;Root Partition;OK;HARD;1;DISK OK - free space: / 10269 MB (91% inode=98%):
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;SSH;OK;HARD;1;SSH OK - OpenSSH_5.3 (protocol 2.0)
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;Swap Usage;OK;HARD;1;SWAP OK - 100% free (7999 MB out of 7999 MB)
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;Total Processes;OK;HARD;1;PROCS OK: 120 processes with STATE = RSZDT
Oct 10 23:59:59 emcngs02-new nagios: LOG ROTATION: DAILY
Oct 10 23:59:59 emcngs02-new nagios: LOG VERSION: 2.0
Oct 10 23:59:59 emcngs02-new nagios: CURRENT HOST STATE: localhost;UP;HARD;1;PING OK - Packet loss = 0%, RTA = 0.03 ms
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;Current Load;OK;HARD;1;OK - load average: 0.00, 0.00, 0.00
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;Current Users;OK;HARD;1;USERS OK - 1 users currently logged in
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;HTTP;WARNING;HARD;4;HTTP WARNING: HTTP/1.1 403 Forbidden - 5237 bytes in 0.001 second response time
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;PING;OK;HARD;1;PING OK - Packet loss = 0%, RTA = 0.03 ms
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;Root Partition;OK;HARD;1;DISK OK - free space: / 10269 MB (91% inode=98%):
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;SSH;OK;HARD;1;SSH OK - OpenSSH_5.3 (protocol 2.0)
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;Swap Usage;OK;HARD;1;SWAP OK - 100% free (7999 MB out of 7999 MB)
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;Total Processes;OK;HARD;1;PROCS OK: 120 processes with STATE = RSZDT
Oct 10 23:59:59 emcngs02-new nagios: LOG ROTATION: DAILY
Oct 10 23:59:59 emcngs02-new nagios: LOG VERSION: 2.0
Oct 10 23:59:59 emcngs02-new nagios: CURRENT HOST STATE: localhost;UP;HARD;1;PING OK - Packet loss = 0%, RTA = 0.03 ms
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;Current Load;OK;HARD;1;OK - load average: 0.00, 0.00, 0.00
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;Current Users;OK;HARD;1;USERS OK - 1 users currently logged in
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;HTTP;WARNING;HARD;4;HTTP WARNING: HTTP/1.1 403 Forbidden - 5237 bytes in 0.001 second response time
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;PING;OK;HARD;1;PING OK - Packet loss = 0%, RTA = 0.03 ms
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;Root Partition;OK;HARD;1;DISK OK - free space: / 10269 MB (91% inode=98%):
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;SSH;OK;HARD;1;SSH OK - OpenSSH_5.3 (protocol 2.0)
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;Swap Usage;OK;HARD;1;SWAP OK - 100% free (7999 MB out of 7999 MB)
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;Total Processes;OK;HARD;1;PROCS OK: 120 processes with STATE = RSZDT
Oct 10 23:59:59 emcngs02-new nagios: LOG ROTATION: DAILY
Oct 10 23:59:59 emcngs02-new nagios: LOG VERSION: 2.0
Oct 10 23:59:59 emcngs02-new nagios: CURRENT HOST STATE: localhost;UP;HARD;1;PING OK - Packet loss = 0%, RTA = 0.03 ms
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;Current Load;OK;HARD;1;OK - load average: 0.00, 0.00, 0.00
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;Current Users;OK;HARD;1;USERS OK - 1 users currently logged in
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;HTTP;WARNING;HARD;4;HTTP WARNING: HTTP/1.1 403 Forbidden - 5237 bytes in 0.001 second response time
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;PING;OK;HARD;1;PING OK - Packet loss = 0%, RTA = 0.03 ms
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;Root Partition;OK;HARD;1;DISK OK - free space: / 10269 MB (91% inode=98%):
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;SSH;OK;HARD;1;SSH OK - OpenSSH_5.3 (protocol 2.0)
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;Swap Usage;OK;HARD;1;SWAP OK - 100% free (7999 MB out of 7999 MB)
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;Total Processes;OK;HARD;1;PROCS OK: 120 processes with STATE = RSZDT
Oct 10 23:59:59 emcngs02-new nagios: LOG ROTATION: DAILY
Oct 10 23:59:59 emcngs02-new nagios: LOG VERSION: 2.0
Oct 10 23:59:59 emcngs02-new nagios: CURRENT HOST STATE: localhost;UP;HARD;1;PING OK - Packet loss = 0%, RTA = 0.03 ms
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;Current Load;OK;HARD;1;OK - load average: 0.00, 0.00, 0.00
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;Current Users;OK;HARD;1;USERS OK - 1 users currently logged in
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;HTTP;WARNING;HARD;4;HTTP WARNING: HTTP/1.1 403 Forbidden - 5237 bytes in 0.001 second response time
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;PING;OK;HARD;1;PING OK - Packet loss = 0%, RTA = 0.03 ms
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;Root Partition;OK;HARD;1;DISK OK - free space: / 10269 MB (91% inode=98%):
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;SSH;OK;HARD;1;SSH OK - OpenSSH_5.3 (protocol 2.0)
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;Swap Usage;OK;HARD;1;SWAP OK - 100% free (7999 MB out of 7999 MB)
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;Total Processes;OK;HARD;1;PROCS OK: 120 processes with STATE = RSZDT
Oct 10 23:59:59 emcngs02-new nagios: LOG ROTATION: DAILY
Oct 10 23:59:59 emcngs02-new nagios: LOG VERSION: 2.0
Oct 10 23:59:59 emcngs02-new nagios: CURRENT HOST STATE: localhost;UP;HARD;1;PING OK - Packet loss = 0%, RTA = 0.03 ms
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;Current Load;OK;HARD;1;OK - load average: 0.00, 0.00, 0.00
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;Current Users;OK;HARD;1;USERS OK - 1 users currently logged in
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;HTTP;WARNING;HARD;4;HTTP WARNING: HTTP/1.1 403 Forbidden - 5237 bytes in 0.001 second response time
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;PING;OK;HARD;1;PING OK - Packet loss = 0%, RTA = 0.03 ms
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;Root Partition;OK;HARD;1;DISK OK - free space: / 10269 MB (91% inode=98%):
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;SSH;OK;HARD;1;SSH OK - OpenSSH_5.3 (protocol 2.0)
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;Swap Usage;OK;HARD;1;SWAP OK - 100% free (7999 MB out of 7999 MB)
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;Total Processes;OK;HARD;1;PROCS OK: 120 processes with STATE = RSZDT
Oct 10 23:59:59 emcngs02-new nagios: LOG ROTATION: DAILY
Oct 10 23:59:59 emcngs02-new nagios: LOG VERSION: 2.0
Oct 10 23:59:59 emcngs02-new nagios: CURRENT HOST STATE: localhost;UP;HARD;1;PING OK - Packet loss = 0%, RTA = 0.03 ms
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;Current Load;OK;HARD;1;OK - load average: 0.00, 0.00, 0.00
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;Current Users;OK;HARD;1;USERS OK - 1 users currently logged in
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;HTTP;WARNING;HARD;4;HTTP WARNING: HTTP/1.1 403 Forbidden - 5237 bytes in 0.001 second response time
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;PING;OK;HARD;1;PING OK - Packet loss = 0%, RTA = 0.03 ms
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;Root Partition;OK;HARD;1;DISK OK - free space: / 10269 MB (91% inode=98%):
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;SSH;OK;HARD;1;SSH OK - OpenSSH_5.3 (protocol 2.0)
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;Swap Usage;OK;HARD;1;SWAP OK - 100% free (7999 MB out of 7999 MB)
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;Total Processes;OK;HARD;1;PROCS OK: 120 processes with STATE = RSZDT
Oct 10 23:59:59 emcngs02-new nagios: LOG ROTATION: DAILY
Oct 10 23:59:59 emcngs02-new nagios: LOG VERSION: 2.0
Oct 10 23:59:59 emcngs02-new nagios: CURRENT HOST STATE: localhost;UP;HARD;1;PING OK - Packet loss = 0%, RTA = 0.03 ms
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;Current Load;OK;HARD;1;OK - load average: 0.00, 0.00, 0.00
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;Current Users;OK;HARD;1;USERS OK - 1 users currently logged in
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;HTTP;WARNING;HARD;4;HTTP WARNING: HTTP/1.1 403 Forbidden - 5237 bytes in 0.001 second response time
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;PING;OK;HARD;1;PING OK - Packet loss = 0%, RTA = 0.03 ms
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;Root Partition;OK;HARD;1;DISK OK - free space: / 10269 MB (91% inode=98%):
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;SSH;OK;HARD;1;SSH OK - OpenSSH_5.3 (protocol 2.0)
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;Swap Usage;OK;HARD;1;SWAP OK - 100% free (7999 MB out of 7999 MB)
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;Total Processes;OK;HARD;1;PROCS OK: 120 processes with STATE = RSZDT
Oct 10 23:59:59 emcngs02-new nagios: LOG ROTATION: DAILY
Oct 10 23:59:59 emcngs02-new nagios: LOG VERSION: 2.0
Oct 10 23:59:59 emcngs02-new nagios: CURRENT HOST STATE: localhost;UP;HARD;1;PING OK - Packet loss = 0%, RTA = 0.03 ms
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;Current Load;OK;HARD;1;OK - load average: 0.00, 0.00, 0.00
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;Current Users;OK;HARD;1;USERS OK - 1 users currently logged in
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;HTTP;WARNING;HARD;4;HTTP WARNING: HTTP/1.1 403 Forbidden - 5237 bytes in 0.001 second response time
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;PING;OK;HARD;1;PING OK - Packet loss = 0%, RTA = 0.03 ms
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;Root Partition;OK;HARD;1;DISK OK - free space: / 10269 MB (91% inode=98%):
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;SSH;OK;HARD;1;SSH OK - OpenSSH_5.3 (protocol 2.0)
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;Swap Usage;OK;HARD;1;SWAP OK - 100% free (7999 MB out of 7999 MB)
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;Total Processes;OK;HARD;1;PROCS OK: 120 processes with STATE = RSZDT
Oct 10 23:59:59 emcngs02-new nagios: LOG ROTATION: DAILY
Oct 10 23:59:59 emcngs02-new nagios: LOG VERSION: 2.0
Oct 10 23:59:59 emcngs02-new nagios: CURRENT HOST STATE: localhost;UP;HARD;1;PING OK - Packet loss = 0%, RTA = 0.03 ms
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;Current Load;OK;HARD;1;OK - load average: 0.00, 0.00, 0.00
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;Current Users;OK;HARD;1;USERS OK - 1 users currently logged in
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;HTTP;WARNING;HARD;4;HTTP WARNING: HTTP/1.1 403 Forbidden - 5237 bytes in 0.001 second response time
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;PING;OK;HARD;1;PING OK - Packet loss = 0%, RTA = 0.03 ms
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;Root Partition;OK;HARD;1;DISK OK - free space: / 10269 MB (91% inode=98%):
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;SSH;OK;HARD;1;SSH OK - OpenSSH_5.3 (protocol 2.0)
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;Swap Usage;OK;HARD;1;SWAP OK - 100% free (7999 MB out of 7999 MB)
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;Total Processes;OK;HARD;1;PROCS OK: 120 processes with STATE = RSZDT
Oct 10 23:59:59 emcngs02-new nagios: LOG ROTATION: DAILY
Oct 10 23:59:59 emcngs02-new nagios: LOG VERSION: 2.0
Oct 10 23:59:59 emcngs02-new nagios: CURRENT HOST STATE: localhost;UP;HARD;1;PING OK - Packet loss = 0%, RTA = 0.03 ms
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;Current Load;OK;HARD;1;OK - load average: 0.00, 0.00, 0.00
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;Current Users;OK;HARD;1;USERS OK - 1 users currently logged in
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;HTTP;WARNING;HARD;4;HTTP WARNING: HTTP/1.1 403 Forbidden - 5237 bytes in 0.001 second response time
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;PING;OK;HARD;1;PING OK - Packet loss = 0%, RTA = 0.03 ms
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;Root Partition;OK;HARD;1;DISK OK - free space: / 10269 MB (91% inode=98%):
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;SSH;OK;HARD;1;SSH OK - OpenSSH_5.3 (protocol 2.0)
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;Swap Usage;OK;HARD;1;SWAP OK - 100% free (7999 MB out of 7999 MB)
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;Total Processes;OK;HARD;1;PROCS OK: 120 processes with STATE = RSZDT
Oct 10 23:59:59 emcngs02-new nagios: LOG ROTATION: DAILY
Oct 10 23:59:59 emcngs02-new nagios: LOG VERSION: 2.0
Oct 10 23:59:59 emcngs02-new nagios: CURRENT HOST STATE: localhost;UP;HARD;1;PING OK - Packet loss = 0%, RTA = 0.03 ms
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;Current Load;OK;HARD;1;OK - load average: 0.00, 0.00, 0.00
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;Current Users;OK;HARD;1;USERS OK - 1 users currently logged in
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;HTTP;WARNING;HARD;4;HTTP WARNING: HTTP/1.1 403 Forbidden - 5237 bytes in 0.001 second response time
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;PING;OK;HARD;1;PING OK - Packet loss = 0%, RTA = 0.03 ms
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;Root Partition;OK;HARD;1;DISK OK - free space: / 10269 MB (91% inode=98%):
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;SSH;OK;HARD;1;SSH OK - OpenSSH_5.3 (protocol 2.0)
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;Swap Usage;OK;HARD;1;SWAP OK - 100% free (7999 MB out of 7999 MB)
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;Total Processes;OK;HARD;1;PROCS OK: 120 processes with STATE = RSZDT
Oct 10 23:59:59 emcngs02-new nagios: LOG ROTATION: DAILY
Oct 10 23:59:59 emcngs02-new nagios: LOG VERSION: 2.0
Oct 10 23:59:59 emcngs02-new nagios: CURRENT HOST STATE: localhost;UP;HARD;1;PING OK - Packet loss = 0%, RTA = 0.03 ms
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;Current Load;OK;HARD;1;OK - load average: 0.00, 0.00, 0.00
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;Current Users;OK;HARD;1;USERS OK - 1 users currently logged in
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;HTTP;WARNING;HARD;4;HTTP WARNING: HTTP/1.1 403 Forbidden - 5237 bytes in 0.001 second response time
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;PING;OK;HARD;1;PING OK - Packet loss = 0%, RTA = 0.03 ms
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;Root Partition;OK;HARD;1;DISK OK - free space: / 10269 MB (91% inode=98%):
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;SSH;OK;HARD;1;SSH OK - OpenSSH_5.3 (protocol 2.0)
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;Swap Usage;OK;HARD;1;SWAP OK - 100% free (7999 MB out of 7999 MB)
Oct 10 23:59:59 emcngs02-new nagios: CURRENT SERVICE STATE: localhost;Total Processes;OK;HARD;1;PROCS OK: 120 processes with STATE = RSZDT
Oct 10 23:59:59 emcngs02-new nagios: LOG ROTATION: DAILY
Oct 10 23:59:59 emcngs02-new nagios: LOG VERSION: 2.0
Oct 10 23:59:59 emcngs02-new rsyslogd-2177: imuxsock begins to drop messages from pid 12906 due to rate-limiting
Oct 11 00:35:44 emcngs02-new rsyslogd-2177: imuxsock lost 284 messages from pid 12906 due to rate-limiting

Re: Nagios 4.0 - Problem with Log Rotate

Posted: Fri Oct 11, 2013 2:04 pm
by sreinhardt
I could be entirely incorrect, but it seems to me that you have so few entries in the logs, that they are not moving\overwriting the entire log. Due to this, I would presume that it is simply appending to the current log and making a backup. Does this seem to fit your scenario or are you seeing more entries that the small example provided.

Re: Nagios 4.0 - Problem with Log Rotate

Posted: Mon Oct 14, 2013 4:28 am
by Stiuzz
Some points:
  • I'm working with 2 new nagios 4.0 installation in a test envoronment with WmWare and ContOS 6.4 64 bit and both installations have the same behaviour
  • There are few entries in the log but why I cannot see this entries in the archived log (Consider that I restarted nagios several times in the last days and I would expect at least to find this entries in the archive)?
  • Why the UTC in the last archived log is the same of the currnet nagios log (I have other 3.3 nagios installation and I don't see this situation)?
  • Why in the /var/log/messages there are repeated entries during log rotate?
All this make me think that there's a problem with log rotation, I also find another user with the same problem (http://support.nagios.com/forum/viewtop ... =7&t=21643).

Anyway today I'll try to set some other checks to have more entries in the log.

Regards
Stiuzz

Re: Nagios 4.0 - Problem with Log Rotate

Posted: Mon Oct 14, 2013 9:49 am
by slansing
If you believe this is a bug I would also file a bug report at:

tracker.nagios.org

Re: Nagios 4.0 - Problem with Log Rotate

Posted: Tue Oct 15, 2013 11:13 am
by jimlegg
I have also seen this problem. It does not depend on a daily logrotate. I set mine for hourly and it occurred with that setting also.

Re: Nagios 4.0 - Problem with Log Rotate

Posted: Tue Oct 15, 2013 3:09 pm
by slansing
Hey Jim,

Could you tack that on to the tracker post? Stiuzz, if you could post that here that would be great.

Re: Nagios 4.0 - Problem with Log Rotate

Posted: Wed Oct 16, 2013 5:32 am
by Stiuzz
I created a TEST service on monday and I manually changed the state, now I'm sure that there's a problem during log rotate process (maybe that's not logrotate). I'm going to track this as a bug.

Regards
Stiuzz

Log from /var/log/messages:

Code: Select all

Oct 14 16:38:39 emcnagios-new nagios: EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;localhost;TEST;2;THIS IS A TEST|
Oct 14 16:38:39 emcnagios-new nagios: PASSIVE SERVICE CHECK: localhost;TEST;2;THIS IS A TEST
Oct 14 16:38:39 emcnagios-new nagios: SERVICE ALERT: localhost;TEST;CRITICAL;SOFT;1;THIS IS A TEST
Oct 14 16:39:17 emcnagios-new nagios: SERVICE ALERT: localhost;TEST;OK;SOFT;2;OK: THIS IS A TEST
Oct 14 16:39:49 emcnagios-new nagios: EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;localhost;TEST;0;THIS IS A TEST|
Oct 14 16:39:49 emcnagios-new nagios: PASSIVE SERVICE CHECK: localhost;TEST;0;THIS IS A TEST
Oct 14 16:39:57 emcnagios-new nagios: EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;localhost;TEST;2;THIS IS A TEST|
Oct 14 16:39:57 emcnagios-new nagios: PASSIVE SERVICE CHECK: localhost;TEST;2;THIS IS A TEST
Oct 14 16:39:57 emcnagios-new nagios: SERVICE ALERT: localhost;TEST;CRITICAL;SOFT;1;THIS IS A TEST
Oct 14 16:40:03 emcnagios-new nagios: EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;localhost;TEST;2;THIS IS A TEST|
Oct 14 16:40:03 emcnagios-new nagios: PASSIVE SERVICE CHECK: localhost;TEST;2;THIS IS A TEST
Oct 14 16:40:03 emcnagios-new nagios: SERVICE ALERT: localhost;TEST;CRITICAL;SOFT;2;THIS IS A TEST
Oct 14 16:40:09 emcnagios-new nagios: EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;localhost;TEST;2;THIS IS A TEST|
Oct 14 16:40:09 emcnagios-new nagios: PASSIVE SERVICE CHECK: localhost;TEST;2;THIS IS A TEST
Oct 14 16:40:09 emcnagios-new nagios: SERVICE ALERT: localhost;TEST;CRITICAL;SOFT;3;THIS IS A TEST
Oct 14 16:40:16 emcnagios-new nagios: EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;localhost;TEST;2;THIS IS A TEST|
Oct 14 16:40:16 emcnagios-new nagios: PASSIVE SERVICE CHECK: localhost;TEST;2;THIS IS A TEST
Oct 14 16:40:16 emcnagios-new nagios: SERVICE ALERT: localhost;TEST;CRITICAL;HARD;4;THIS IS A TEST
Oct 14 16:40:16 emcnagios-new nagios: SERVICE NOTIFICATION: nagiosadmin;localhost;TEST;CRITICAL;notify-service-by-email;THIS IS A TEST
Oct 14 16:40:17 emcnagios-new nagios: SERVICE ALERT: localhost;TEST;OK;HARD;4;OK: THIS IS A TEST
Oct 14 16:40:17 emcnagios-new nagios: SERVICE NOTIFICATION: nagiosadmin;localhost;TEST;OK;notify-service-by-email;OK: THIS IS A TEST
Oct 14 16:40:22 emcnagios-new nagios: EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;localhost;TEST;2;THIS IS A TEST|
Oct 14 16:40:22 emcnagios-new nagios: PASSIVE SERVICE CHECK: localhost;TEST;2;THIS IS A TEST
Oct 14 16:40:22 emcnagios-new nagios: SERVICE ALERT: localhost;TEST;CRITICAL;SOFT;1;THIS IS A TEST
Oct 14 16:40:29 emcnagios-new nagios: EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;localhost;TEST;2;THIS IS A TEST|
Oct 14 16:40:29 emcnagios-new nagios: PASSIVE SERVICE CHECK: localhost;TEST;2;THIS IS A TEST
Oct 14 16:40:29 emcnagios-new nagios: SERVICE ALERT: localhost;TEST;CRITICAL;SOFT;2;THIS IS A TEST
Oct 14 16:41:17 emcnagios-new nagios: SERVICE ALERT: localhost;TEST;OK;SOFT;3;OK: THIS IS A TEST
Oct 14 17:35:46 emcnagios-new nagios: Auto-save of retention data completed successfully.
Log after log rotate (/usr/local/nagios/var/archives/nagios-10-15-2013-00.log):

Code: Select all

[1381788000] LOG ROTATION: DAILY
[1381788000] LOG VERSION: 2.0
[1381788000] CURRENT HOST STATE: localhost;UP;HARD;1;PING OK - Packet loss = 0%, RTA = 0.03 ms
[1381788000] CURRENT SERVICE STATE: localhost;Current Load;OK;HARD;1;OK - load average: 0.00, 0.00, 0.00
[1381788000] CURRENT SERVICE STATE: localhost;Current Users;OK;HARD;1;USERS OK - 1 users currently logged in
[1381788000] CURRENT SERVICE STATE: localhost;HTTP;WARNING;HARD;4;HTTP WARNING: HTTP/1.1 403 Forbidden - 5237 bytes in 0.001 second response time
[1381788000] CURRENT SERVICE STATE: localhost;PING;OK;HARD;1;PING OK - Packet loss = 0%, RTA = 0.03 ms
[1381788000] CURRENT SERVICE STATE: localhost;Root Partition;OK;HARD;1;DISK OK - free space: / 8885 MB (95% inode=98%):
[1381788000] CURRENT SERVICE STATE: localhost;SSH;OK;HARD;1;SSH OK - OpenSSH_5.3 (protocol 2.0)
[1381788000] CURRENT SERVICE STATE: localhost;Swap Usage;OK;HARD;1;SWAP OK - 100% free (7999 MB out of 7999 MB)
[1381788000] CURRENT SERVICE STATE: localhost;TEST;OK;HARD;1;OK: THIS IS A TEST
[1381788000] CURRENT SERVICE STATE: localhost;Total Processes;OK;HARD;1;PROCS OK: 126 processes with STATE = RSZDT

Re: Nagios 4.0 - Problem with Log Rotate

Posted: Wed Oct 16, 2013 5:59 am
by Stiuzz
Open issue on tracker: http://tracker.nagios.org/view.php?id=507

Regards
Stiuzz

Re: Nagios 4.0 - Problem with Log Rotate

Posted: Wed Oct 16, 2013 3:10 pm
by sreinhardt
Thanks for posting that in the thread! I will lock this, hopefully there is a resolve quickly!