From: James O. <jo...@re...> - 2004-07-29 18:39:29
|
http://www.nagios.org/cvs.php perfparse seems to be working fine, but this version of nagios has a problem with being HUP'd... it crashes even doing /etc/init.d/nagios reload. James -----Original Message----- From: Yves Mettier [mailto:yme...@li...] Sent: Thursday, July 29, 2004 11:36 AM To: per...@li... Subject: RE: [Perfparse-users] perfparse.sh causing nagios 2.0a1 to die? Where can nagios 2.0a1 be downloaded ? In the specs of nagios 2.0, it is said that perf data will be available from a daemon. I don't know if perfparse is compatible with nagios 2.0 However, if I can work on perfparse with the new version of nagios, I'd like to. Yves > 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 > -- - Homepage - http://ymettier.free.fr - http://www.logicacmg.com - - GPG key - http://ymettier.free.fr/gpg.txt - - Maitretarot - http://www.nongnu.org/maitretarot/ - - GTKtalog - http://www.nongnu.org/gtktalog/ - ------------------------------------------------------- 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 |