From: Steve F. <sf...@uc...> - 2004-07-29 18:16:03
|
I just moved up to Nagios 2.0a1 at the same time that I installed PerfParse. After running perfparse.sh in my nagios user's crontab every 10 minutes for a couple of nights, I have noticed that Nagios seems to stop firing off checks at some point. It seems to happen within a few hours of starting up the crons and does not seem to happen if I disable the perfparse.sh check. I get the feeling it has something to do with sending the HUP to Nagios or having a lock file clobbered or something. I havent had a chance to really dig into it, but the nagios logs dont seem to say much...just silent stopping (but the main process remains running). Anyone seen something like this before? FYI, my perfparse.sh settings are: BASE_DIR="/opt/nagios2" PERFPARSE="${BASE_DIR}/bin/perfparse" LOG="${BASE_DIR}/var/perfparse.log" TMP_LOG="/tmp/perfparse.${$}.log" TMP_ERR="/tmp/perfparse.${$}.err" PERF_FILE="/opt/nagios2/var/serviceperf.log" My perfparse.cfg file settings are: # Performance Data Log Files: Drop_File="/tmp/perfparse.drop" Service_Log="/opt/nagios2/var/serviceperf.log" # Deletion of log file when perfparse runs. Delete_Log = "No" Nagios_Lock="/opt/nagios2/var/nagios.lock" # Drop file for lines of log rejected: Host_Log="/opt/nagios2/var/hostperf.log" # Reporting options: # Do not display completion status of perfparse: Be_Silent = "no" # Display a report on exit of perfparse: Do_Report = "no" # Lock file for only one perfparse running at the same time Lock_File = "/opt/nagios2/var/perfparse.lock" ----- Steve Foley Scripps Institution of Oceanography sf...@uc..., (858) 822-3356 |