From: Paulo A. G. F. <pau...@pr...> - 2004-08-26 19:58:40
|
Wilson: As far as I could tell in my system, excluding the --delete option just keeps serviceperf.log indefinitely, until you run perfparse --delete-service-log manually. OTOH, on a system like yours, with a reasonable number of hosts/services, the serviceperf.log file will grow really big, and sometime it will be neccessary delete (or compress) it and recreate.=20 About your problems with nagios defuncts, e-mail me in pvt and we can discuss the issue. I had it before and it's not related to PerfParse. []'s Paulo Paulo Afonso Graner Fessel Administrador de Ambiente e Sistemas UNIX pau...@pr... OWT Fone: +55 (11) 3038-6464 Fax: +55 (11) 3038-6508 http://www.primesys.com.br =20 =20 =20 =20 > -----Mensagem original----- > De: per...@li...=20 > [mailto:per...@li...] Em nome=20 > de Wilson Pires Jr > Enviada em: quinta-feira, 26 de agosto de 2004 15:18 > Para: 'Yves Mettier'; per...@li... > Assunto: [Possible SPAM] - RE: [Perfparse-users] nagios=20 > restarting - Found word(s) inkjet cartridges in the Text body >=20 > >> Hi all. > >> > >> I've observed my nagios restart every perfparse.sh run. I use > >> perfparse-0.99.07 > >> > >> [26-08-2004 12:35:00] Nagios 1.2 starting... (PID=3D12443) > >> [26-08-2004 12:35:00] Caught SIGHUP, restarting... > >> > >> Is this ok? If so, why is needed nagios restarting? >=20 > > If you are using --delete* option, yes, perfparse sends some SIGHUP=20 > > signal to nagios to ask for restart and use a new=20 > serviceperf.log file. > Otherwise, > nothing to see with perfparse. >=20 > Yes. I use --delete (default into perfparse.sh). Is there any=20 > advantage or disadvantage using this option? >=20 > The problem I see restarting nagios every 10 minutes (in my=20 > case with pp), is that nagios log grows too much, since I get=20 > around 700 services and hosts alerts saying "OK". (I monitor=20 > 100 hosts and 600 services). >=20 > >> I'm trying to figure out why my nagios stops working after=20 > few hours=20 > >> and I'd like to know if this "nagios restarting" has some=20 > relation to=20 > >> "nagios stopping". >=20 > > perfparse does not ask nagios to stop, but only to start=20 > writing to a=20 > > new serviceperf.log file, which also mean restarting, but=20 > not stopping. > > In your log, strange that nagios starts and restarts at the=20 > same time.=20 > > SIGHUP caught by change at that time ? >=20 > Every 10 minutes I get the same situation: >=20 > [26-08-2004 14:40:11] SERVICE ALERT:=20 > bbrdcsrv1;RADIUS;OK;HARD;1; Radius.exe: > Running > [26-08-2004 14:40:11] SERVICE ALERT:=20 > bbrdcsrv1;Drive_C;OK;HARD;1;C::\ - > total: 2.93 Gb - used: 1.07 Gb (36%) - free 1.87 Gb (64%) > [26-08-2004 14:40:11] HOST ALERT: bbrdcsrv1;UP;HARD;1;(Host=20 > assumed to be > up) > [26-08-2004 14:40:11] SERVICE ALERT:=20 > bbr002363sis;HTTP;OK;HARD;1;HTTP OK > HTTP/1.1 200 OK - 3970 bytes in 0.316 seconds > [26-08-2004 14:40:11] HOST ALERT:=20 > bbr002363sis;UP;HARD;1;(Host assumed to be > up) > [26-08-2004 14:40:01] Nagios 1.2 starting... (PID=3D12443) > [26-08-2004 14:40:01] Caught SIGHUP, restarting... > [26-08-2004 14:39:41] SERVICE ALERT:=20 > bbrsrdir1;Drive_E;WARNING;SOFT;5;E::\ - > total: 19.53 Gb - used: 19.00 Gb (97%) - free 0.53 Gb (3%) > [26-08-2004 14:39:41] SERVICE ALERT:=20 > spossra;PING;CRITICAL;SOFT;1;PING CRITICAL - Packet loss =3D=20 > 0%, RTA =3D 20.24 ms > [26-08-2004 14:39:31] SERVICE ALERT: > rjo1601a;CPU5m-Cisco;WARNING;SOFT;3;SNMP WARNING - *32* >=20 > As you can see "Caught SIGHUP, restarting..." and "Nagios 1.2=20 > restarting..." > at the same time. And then, nagios starts to log the 700 "OK". >=20 >=20 > >> When nagios stops its checks, it always has a zombie process. >=20 > > How long do they live ? (just asking for if others can help :) >=20 > nagios runs from 2 to 6 hours, then stops checking: >=20 > Process Status Information > Process Status: WARNING =20 > Check Command Output: Nagios problem: located 14 processes,=20 > status log updated 260136 seconds ago =20 >=20 > So, with ps -aux I see a nagios <defunct> process. If I don't=20 > killall -9 nagios, the defunct process remain for days and=20 > nagios doesn't check anything. >=20 > I don't know how to trouble this situation. Could anybody help me? >=20 > > Yves >=20 > >> > >> Regards, > >> > >> Wilson > >> > >> > > > > > > ------------------------------------------------------- > > SF.Net email is sponsored by Shop4tech.com-Lowest price on=20 > Blank Media=20 > > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for=20 > only $33 Save=20 > > 50% off Retail on Ink & Toner - Free Shipping and Free Gift. > > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > > _______________________________________________ > > Perfparse-users mailing list > > Per...@li... > > https://lists.sourceforge.net/lists/listinfo/perfparse-users > > > > >=20 >=20 > --=20 > - 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/ - >=20 >=20 >=20 >=20 >=20 > ------------------------------------------------------- > SF.Net email is sponsored by Shop4tech.com-Lowest price on=20 > Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic=20 > DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free=20 > Shipping and Free Gift. > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > _______________________________________________ > Perfparse-users mailing list > Per...@li... > https://lists.sourceforge.net/lists/listinfo/perfparse-users >=20 >=20 >=20 >=20 >=20 > ------------------------------------------------------- > SF.Net email is sponsored by Shop4tech.com-Lowest price on=20 > Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic=20 > DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free=20 > Shipping and Free Gift. > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > _______________________________________________ > Perfparse-users mailing list > Per...@li... > https://lists.sourceforge.net/lists/listinfo/perfparse-users >=20 |