nagios.log file stopped updating
Posted: Sun Jul 26, 2015 3:15 am
Dear Expert
while checking found @03:40 nagios.log stopped updating, how to fix?
pwd
/usr/local/nagios/var
-rw-r--r-- 1 nagios nagios 0 Jul 26 03:40 nagios.log <<<<<<< should update
-rw-r--r-- 1 nagios nagios 976895 Jul 26 11:01 nagios.log-20150726 <<<<<<<<< should stop updating
-rw-r--r-- 1 nagios nagios 2745343 Jul 26 11:01 npcd.log <<<<<<< updating (its okay)
-rw-r--r-- 1 nagios nagios 10327712 Jul 26 03:39 npcd.log-20150726 <<<<<<<<<<< stopped (its okay)
-rw-rw-rw- 1 nagios nagios 8961227 Jul 26 11:01 perfdata.log <<<<<<<< updating (its okay)
-rw-rw-rw- 1 nagios nagios 3709910 Jul 26 03:39 perfdata.log-20150726 <<<<<<<<<< stopped (its okay)
currently issue with nagios.log file, if same thing goes wrong with npcd.log , perfdata.log how to fix? (its additional info)
After posting this , I found there is some role of lock file , ndo2db.lock , nagios.lock ,, I don't know what was the last value but currently showing
more /usr/local/nagios/var/nagios.lock
20987
Our senior has fixed this issue but need some guidance from you , document so we can fix in future too without troubling to you/our senior.
-rw-r--r-- 1 nagios nagios 6 Jul 26 11:18 nagios.lock
-rw-r--r-- 1 nagios nagios 48657 Jul 26 11:44 nagios.log <<<<< now updating (it okay now)
-rw-r--r-- 1 nagios nagios 1010127 Jul 26 11:18 nagios.log-20150726 <<<<<< stopped updating (its okay now)
Regards
while checking found @03:40 nagios.log stopped updating, how to fix?
pwd
/usr/local/nagios/var
-rw-r--r-- 1 nagios nagios 0 Jul 26 03:40 nagios.log <<<<<<< should update
-rw-r--r-- 1 nagios nagios 976895 Jul 26 11:01 nagios.log-20150726 <<<<<<<<< should stop updating
-rw-r--r-- 1 nagios nagios 2745343 Jul 26 11:01 npcd.log <<<<<<< updating (its okay)
-rw-r--r-- 1 nagios nagios 10327712 Jul 26 03:39 npcd.log-20150726 <<<<<<<<<<< stopped (its okay)
-rw-rw-rw- 1 nagios nagios 8961227 Jul 26 11:01 perfdata.log <<<<<<<< updating (its okay)
-rw-rw-rw- 1 nagios nagios 3709910 Jul 26 03:39 perfdata.log-20150726 <<<<<<<<<< stopped (its okay)
currently issue with nagios.log file, if same thing goes wrong with npcd.log , perfdata.log how to fix? (its additional info)
After posting this , I found there is some role of lock file , ndo2db.lock , nagios.lock ,, I don't know what was the last value but currently showing
more /usr/local/nagios/var/nagios.lock
20987
Our senior has fixed this issue but need some guidance from you , document so we can fix in future too without troubling to you/our senior.
-rw-r--r-- 1 nagios nagios 6 Jul 26 11:18 nagios.lock
-rw-r--r-- 1 nagios nagios 48657 Jul 26 11:44 nagios.log <<<<< now updating (it okay now)
-rw-r--r-- 1 nagios nagios 1010127 Jul 26 11:18 nagios.log-20150726 <<<<<< stopped updating (its okay now)
Regards