|
From: James O. <jo...@re...> - 2004-07-29 18:19:24
|
I have noticed that Nagios 2.0a1 tends to segfault if sent the HUP command
;) I turned off the --delete option on my perfparse scripts and it stopped
crashing nagios
James
-----Original Message-----
From: Steve Foley [mailto:sf...@uc...]
Sent: Thursday, July 29, 2004 11:16 AM
To: per...@li...
Subject: [Perfparse-users] perfparse.sh causing nagios 2.0a1 to die?
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
-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
Perfparse-users mailing list
Per...@li...
https://lists.sourceforge.net/lists/listinfo/perfparse-users
|