<br><br>
<div><span class="gmail_quote">On 8/7/07, <b class="gmail_sendername"><a href="mailto:nagios-users-request@lists.sourceforge.net">nagios-users-request@lists.sourceforge.net</a></b> <<a href="mailto:nagios-users-request@lists.sourceforge.net">
nagios-users-request@lists.sourceforge.net</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Send Nagios-users mailing list submissions to<br>       <a href="mailto:nagios-users@lists.sourceforge.net">
nagios-users@lists.sourceforge.net</a><br><br>To subscribe or unsubscribe via the World Wide Web, visit<br>       <a href="https://lists.sourceforge.net/lists/listinfo/nagios-users">https://lists.sourceforge.net/lists/listinfo/nagios-users
</a><br>or, via email, send a message with subject or body 'help' to<br>       <a href="mailto:nagios-users-request@lists.sourceforge.net">nagios-users-request@lists.sourceforge.net</a><br><br>You can reach the person managing the list at
<br>       <a href="mailto:nagios-users-owner@lists.sourceforge.net">nagios-users-owner@lists.sourceforge.net</a><br><br>When replying, please edit your Subject line so it is more specific<br>than "Re: Contents of Nagios-users digest..."
<br><br><br>Today's Topics:<br><br>  1. check_nt default port (sujith h)<br>  2. Re: check_nt default port (Frost, Mark {PBG})<br>  3. Re: two notifications everytime (Marc Powell)<br>  4. Re: two notifications everytime (Lalita Drolia)
<br>  5. Re: two notifications everytime (Lalita Drolia)<br>  6. Re: two notifications everytime (Marc Powell)<br>  7. N2rrd problem (Mattia)<br>  8. CGIs path to css is wrong (Marcus Rej?s)<br>  9. Re: dont want notification when machine reboots (Jim Avery)
<br>10. Re: dont want notification when machine reboots (Marc Powell)<br>11. Re: N2rrd problem (Dani)<br>12. Re: Trap Handling Scheme (Jim Avery)<br>13. Re: check_nt default port (Hugo van der Kooij)<br>14. Redudant checks (but also two notifies) (GJP)
<br><br><br>----------------------------------------------------------------------<br><br>Message: 1<br>Date: Mon, 6 Aug 2007 12:45:48 +0530<br>From: "sujith h" <<a href="mailto:sujith.linux@gmail.com">sujith.linux@gmail.com
</a>><br>Subject: [Nagios-users] check_nt default port<br>To: "Nagios Users mailinglist" <<a href="mailto:nagios-users@lists.sourceforge.net">nagios-users@lists.sourceforge.net</a>><br>Message-ID:<br>       <
<a href="mailto:e4a2c74c0708060015s289041fau49da4bed0cec94f0@mail.gmail.com">e4a2c74c0708060015s289041fau49da4bed0cec94f0@mail.gmail.com</a>><br>Content-Type: text/plain; charset="utf-8"<br><br>Can any one help me to find the default port used by nagios for the
<br>plugin check_nt(not NSClient).<br><br>Cheers,<br><br>Sujith Haridasan<br><br>--<br>?????? ???????<br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br><br>------------------------------<br>
<br>Message: 2<br>Date: Mon, 6 Aug 2007 03:22:33 -0400<br>From: "Frost, Mark {PBG}" <<a href="mailto:mark.frost1@pepsi.com">mark.frost1@pepsi.com</a>><br>Subject: Re: [Nagios-users] check_nt default port<br>
To: "sujith h" <<a href="mailto:sujith.linux@gmail.com">sujith.linux@gmail.com</a>><br>Cc: Nagios Users mailinglist <<a href="mailto:nagios-users@lists.sourceforge.net">nagios-users@lists.sourceforge.net
</a>><br>Message-ID:<br>       <<a href="mailto:7F477BD26F545A4C8E4779754A38EFB30219E2C1@PEPWMV00043.corp.pep.pvt">7F477BD26F545A4C8E4779754A38EFB30219E2C1@PEPWMV00043.corp.pep.pvt</a>><br>Content-Type: text/plain; charset="utf-8"
<br><br>Sujith,<br><br>If you run "check_nt --help" you'll see a bunch of output including the following:<br><br>-p, --port=INTEGER<br>  Optional port number (default: 1248)<br><br>Mark</blockquote>
<div> </div>
<div>Sujith,</div>
<div>try  port 5667</div>
<div> </div>
<div> </div><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">________________________________<br><br>       From: <a href="mailto:nagios-users-bounces@lists.sourceforge.net">
nagios-users-bounces@lists.sourceforge.net</a> [mailto:<a href="mailto:nagios-users-bounces@lists.sourceforge.net">nagios-users-bounces@lists.sourceforge.net</a>] On Behalf Of sujith h<br>       Sent: Monday, August 06, 2007 3:16 AM
<br>       To: Nagios Users mailinglist<br>       Subject: [Nagios-users] check_nt default port<br><br><br>       Can any one help me to find the default port used by nagios for the<br>       plugin check_nt(not NSClient).
<br><br>       Cheers,<br><br>       Sujith Haridasan<br><br>       --<br>       ?????? ???????<br><br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br><br>------------------------------<br>
<br>Message: 3<br>Date: Mon, 6 Aug 2007 07:09:17 -0500<br>From: "Marc Powell" <<a href="mailto:marc@ena.com">marc@ena.com</a>><br>Subject: Re: [Nagios-users] two notifications everytime<br>To: <<a href="mailto:nagios-users@lists.sourceforge.net">
nagios-users@lists.sourceforge.net</a>><br>Message-ID: <<a href="mailto:A7B0A9F02975A74A845FE85D0B95B8FA039296CC@misex01.ena.com">A7B0A9F02975A74A845FE85D0B95B8FA039296CC@misex01.ena.com</a>><br>Content-Type: text/plain;       charset="US-ASCII"
<br><br><br><br>> -----Original Message-----<br>> From: <a href="mailto:nagios-users-bounces@lists.sourceforge.net">nagios-users-bounces@lists.sourceforge.net</a> [mailto:<a href="mailto:nagios-users-">nagios-users-
</a><br>> <a href="mailto:bounces@lists.sourceforge.net">bounces@lists.sourceforge.net</a>] On Behalf Of Lalita Drolia<br>> Sent: Monday, August 06, 2007 12:49 AM<br>> To: <a href="mailto:nagios-users@lists.sourceforge.net">
nagios-users@lists.sourceforge.net</a><br>> Subject: [Nagios-users] two notifications everytime<br>><br>> Hi,<br>><br>> I have been using nagios for a long time now. But suddenly since a<br>couple<br>> of days, all email notifications are being sent out twice.
<br><br>Sounds like you may have 2 copies of nagios running at the same time.<br><br>--<br>Marc<br><br><br><br>------------------------------<br><br>Message: 4<br>Date: Mon, 6 Aug 2007 05:14:28 -0700<br>From: "Lalita Drolia" <
<a href="mailto:ldrolia@bea.com">ldrolia@bea.com</a>><br>Subject: Re: [Nagios-users] two notifications everytime<br>To: "Marc Powell" <<a href="mailto:marc@ena.com">marc@ena.com</a>>, <<a href="mailto:nagios-users@lists.sourceforge.net">
nagios-users@lists.sourceforge.net</a>><br>Message-ID:<br>       <<a href="mailto:2402BA0C1F52594E8E271233F62EB6A904067080@repbex02.amer.bea.com">2402BA0C1F52594E8E271233F62EB6A904067080@repbex02.amer.bea.com</a>>
<br>Content-Type: text/plain; charset=us-ascii<br><br><br>I didn't know that was possible. If it is, then that must be the case.<br>Please tell me how can I check and stop that?<br><br>Regards,<br>Lalita<br><br>-----Original Message-----
<br>From: <a href="mailto:nagios-users-bounces@lists.sourceforge.net">nagios-users-bounces@lists.sourceforge.net</a><br>[mailto:<a href="mailto:nagios-users-bounces@lists.sourceforge.net">nagios-users-bounces@lists.sourceforge.net
</a>] On Behalf Of Marc<br>Powell<br>Sent: Monday, August 06, 2007 5:39 PM<br>To: <a href="mailto:nagios-users@lists.sourceforge.net">nagios-users@lists.sourceforge.net</a><br>Subject: Re: [Nagios-users] two notifications everytime
<br><br><br><br>> -----Original Message-----<br>> From: <a href="mailto:nagios-users-bounces@lists.sourceforge.net">nagios-users-bounces@lists.sourceforge.net</a> [mailto:<a href="mailto:nagios-users-">nagios-users-
</a><br>> <a href="mailto:bounces@lists.sourceforge.net">bounces@lists.sourceforge.net</a>] On Behalf Of Lalita Drolia<br>> Sent: Monday, August 06, 2007 12:49 AM<br>> To: <a href="mailto:nagios-users@lists.sourceforge.net">
nagios-users@lists.sourceforge.net</a><br>> Subject: [Nagios-users] two notifications everytime<br>><br>> Hi,<br>><br>> I have been using nagios for a long time now. But suddenly since a<br>couple<br>> of days, all email notifications are being sent out twice.
<br><br>Sounds like you may have 2 copies of nagios running at the same time.<br><br>--<br>Marc<br><br>------------------------------------------------------------------------<br>-<br>This SF.net email is sponsored by: Splunk Inc.
<br>Still grepping through log files to find problems?  Stop.<br>Now Search log events and configuration files using AJAX and a browser.<br>Download your FREE copy of Splunk now >>  <a href="http://get.splunk.com/">
http://get.splunk.com/</a><br>_______________________________________________<br>Nagios-users mailing list<br><a href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a><br><a href="https://lists.sourceforge.net/lists/listinfo/nagios-users">
https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>::: Please include Nagios version, plugin version (-v) and OS when<br>reporting any issue.<br>::: Messages without supporting info will risk being sent to /dev/null
<br><br>Notice:  This email message, together with any attachments, may contain information  of  BEA Systems,  Inc.,  its subsidiaries  and  affiliated entities,  that may be confidential,  proprietary,  copyrighted  and/or legally privileged, and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by email and then delete it.
<br><br><br><br>------------------------------<br><br>Message: 5<br>Date: Mon, 6 Aug 2007 05:25:01 -0700<br>From: "Lalita Drolia" <<a href="mailto:ldrolia@bea.com">ldrolia@bea.com</a>><br>Subject: Re: [Nagios-users] two notifications everytime
<br>To: "Marc Powell" <<a href="mailto:marc@ena.com">marc@ena.com</a>>, <<a href="mailto:nagios-users@lists.sourceforge.net">nagios-users@lists.sourceforge.net</a>><br>Message-ID:<br>       <<a href="mailto:2402BA0C1F52594E8E271233F62EB6A90406708B@repbex02.amer.bea.com">
2402BA0C1F52594E8E271233F62EB6A90406708B@repbex02.amer.bea.com</a>><br>Content-Type: text/plain; charset=us-ascii<br><br>I grepped for nagios process and killed one instance. I will see if I<br>still get two instances.
<br><br>Thank you very much Marc for your help, as always. :)<br><br>Lalita<br><br><br><br>-----Original Message-----<br>From: <a href="mailto:nagios-users-bounces@lists.sourceforge.net">nagios-users-bounces@lists.sourceforge.net
</a><br>[mailto:<a href="mailto:nagios-users-bounces@lists.sourceforge.net">nagios-users-bounces@lists.sourceforge.net</a>] On Behalf Of Marc<br>Powell<br>Sent: Monday, August 06, 2007 5:39 PM<br>To: <a href="mailto:nagios-users@lists.sourceforge.net">
nagios-users@lists.sourceforge.net</a><br>Subject: Re: [Nagios-users] two notifications everytime<br><br><br><br>> -----Original Message-----<br>> From: <a href="mailto:nagios-users-bounces@lists.sourceforge.net">nagios-users-bounces@lists.sourceforge.net
</a> [mailto:<a href="mailto:nagios-users-">nagios-users-</a><br>> <a href="mailto:bounces@lists.sourceforge.net">bounces@lists.sourceforge.net</a>] On Behalf Of Lalita Drolia<br>> Sent: Monday, August 06, 2007 12:49 AM
<br>> To: <a href="mailto:nagios-users@lists.sourceforge.net">nagios-users@lists.sourceforge.net</a><br>> Subject: [Nagios-users] two notifications everytime<br>><br>> Hi,<br>><br>> I have been using nagios for a long time now. But suddenly since a
<br>couple<br>> of days, all email notifications are being sent out twice.<br><br>Sounds like you may have 2 copies of nagios running at the same time.<br><br>--<br>Marc<br><br>------------------------------------------------------------------------
<br>-<br>This SF.net email is sponsored by: Splunk Inc.<br>Still grepping through log files to find problems?  Stop.<br>Now Search log events and configuration files using AJAX and a browser.<br>Download your FREE copy of Splunk now >>  
<a href="http://get.splunk.com/">http://get.splunk.com/</a><br>_______________________________________________<br>Nagios-users mailing list<br><a href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net
</a><br><a href="https://lists.sourceforge.net/lists/listinfo/nagios-users">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>::: Please include Nagios version, plugin version (-v) and OS when<br>reporting any issue.
<br>::: Messages without supporting info will risk being sent to /dev/null<br><br>Notice:  This email message, together with any attachments, may contain information  of  BEA Systems,  Inc.,  its subsidiaries  and  affiliated entities,  that may be confidential,  proprietary,  copyrighted  and/or legally privileged, and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by email and then delete it.
<br><br><br><br>------------------------------<br><br>Message: 6<br>Date: Mon, 6 Aug 2007 07:28:56 -0500<br>From: "Marc Powell" <<a href="mailto:marc@ena.com">marc@ena.com</a>><br>Subject: Re: [Nagios-users] two notifications everytime
<br>To: <<a href="mailto:nagios-users@lists.sourceforge.net">nagios-users@lists.sourceforge.net</a>><br>Message-ID: <<a href="mailto:A7B0A9F02975A74A845FE85D0B95B8FA039296CD@misex01.ena.com">A7B0A9F02975A74A845FE85D0B95B8FA039296CD@misex01.ena.com
</a>><br>Content-Type: text/plain;       charset="US-ASCII"<br><br><br><br>> -----Original Message-----<br>> From: Lalita Drolia [mailto:<a href="mailto:ldrolia@bea.com">ldrolia@bea.com</a>]<br>> Sent: Monday, August 06, 2007 7:14 AM
<br>> To: Marc Powell; <a href="mailto:nagios-users@lists.sourceforge.net">nagios-users@lists.sourceforge.net</a><br>> Subject: RE: [Nagios-users] two notifications everytime<br>><br>><br>> I didn't know that was possible. If it is, then that must be the case.
<br>> Please tell me how can I check and stop that?<br><br>The best way is to stop nagios then see if there are any that remain. If<br>so, kill them and restart nagios.<br><br>--<br>Marc<br><br><br><br>------------------------------
<br><br>Message: 7<br>Date: Mon, 6 Aug 2007 14:57:06 +0200 (CEST)<br>From: "Mattia" <<a href="mailto:mattia@sinapto.net">mattia@sinapto.net</a>><br>Subject: [Nagios-users] N2rrd problem<br>To: <a href="mailto:nagios-users@lists.sourceforge.net">
nagios-users@lists.sourceforge.net</a><br>Message-ID:<br>       <<a href="mailto:36537.217.221.111.31.1186405026.squirrel@webmail.sinapto.net">36537.217.221.111.31.1186405026.squirrel@webmail.sinapto.net</a>><br>Content-Type: text/plain;charset=iso-8859-1
<br><br>Hi all,<br><br>I've got a working Nagios 2.9 installation running on Red Hat Enterprise<br>Linux 4.<br>Now I'm trying to setup n2rrd and rrd2graph, to get performance and<br>availability reports from within the web interface.
<br><br>I've installed and configured n2rrd 1.2, and configured Nagios to process<br>performance data in nagios.cfg<br><br>process_performance_data=1<br>host_perfdata_command=process-host-perfdata<br>service_perfdata_command=process-service-perfdata
<br><br>this two commands are defined as follow<br><br>define command{<br>       command_name    process-host-perfdata<br>       command_line    /usr/local/bin/n2rrd.pl -d -c<br>/etc/n2rrd/n2rrd.conf -T $LASTHOSTCHECK$ -H $HOSTNAME$ -s
<br>"check_icmp" -o "$HOSTOUTPUT$"<br>      }<br><br>define command{<br>       command_name    process-service-perfdata<br>       command_line    /usr/local/bin/n2rrd.pl -d -c<br>/etc/n2rrd/n2rrd.conf -T $LASTSERVICECHECK$ -H $HOSTNAME$ -s
<br>"$SERVICEDESC$" -o "$SERVICEPERFDATA$"<br>       }<br><br>however rrd are generated, but never updated, and in n2rrd logs I see<br><br>n2rrd:mailallarm: Host = mailallarm, Service name = check_icmp, Check
<br>result = PING OK - Packet loss = 0%, RTA = 0.23 ms<br>n2rrd:mailallarm: Updating ds_names: loss:RTA, ds_values: 0:0.23 in file:<br>/var/log/nagios/rra/mailallarm/mailallarm_icmp.rrd<br>n2rrd:mailallarm: ERROR while updating
<br>/var/log/nagios/rra/mailallarm/mailallarm_icmp.rrd: unknown DS name 'loss'<br><br>has anyone any clue?<br><br>Thanks<br><br>Cheers<br><br>Mattia<br><br><br><br><br><br><br><br>------------------------------<br>
<br>Message: 8<br>Date: Mon, 6 Aug 2007 14:48:00 +0200<br>From: Marcus Rej?s <<a href="mailto:marcus@rejas.se">marcus@rejas.se</a>><br>Subject: [Nagios-users] CGIs path to css is wrong<br>To: <a href="mailto:nagios-users@lists.sourceforge.net">
nagios-users@lists.sourceforge.net</a><br>Message-ID: <<a href="mailto:20070806124800.GA20041@rejas.se">20070806124800.GA20041@rejas.se</a>><br>Content-Type: text/plain; charset=iso-8859-1<br><br>Hello!<br><br>Before the upcoming Nagios 3 release we have started to test the
<br>cvs-version. But in our CGI-scripts we have this header.<br><br><HEAD><br><TITLE><br>Nagios Tactical Monitoring Overview<br></TITLE><br><LINK REL='stylesheet' TYPE='text/css' HREF='
common.css'><br><LINK REL='stylesheet' TYPE='text/css' HREF='tac.css'><br></HEAD><br><br>However the stylesheets are in /stylesheets. There are several<br>work-arounds for this at our site but I'm wondering if this is a
<br>configuration error we made or is something currently broken?<br><br>Regards.<br><br>/Marcus<br><br>--<br>Marcus Rej?s           jabber:   <a href="mailto:marcus@jabber.rejas.se">marcus@jabber.rejas.se</a>       ,= ,-_-. =.
<br>Rej?s Datakonsult      e-mail:   <a href="mailto:marcus@rejas.se">marcus@rejas.se</a>             ((_/)o o(\_))<br>Kaserngatan 1          web:      <a href="http://www.rejas.se">http://www.rejas.se</a>          `-'(. .)`-'
<br>s-761 46 Norrt?lje     gpg-key:  <a href="http://www.rejas.se/rejas.asc">http://www.rejas.se/rejas.asc</a>    \_/<br><br><br><br>------------------------------<br><br>Message: 9<br>Date: Mon, 6 Aug 2007 15:15:13 +0100
<br>From: "Jim Avery" <<a href="mailto:jim@jimavery.me.uk">jim@jimavery.me.uk</a>><br>Subject: Re: [Nagios-users] dont want notification when machine<br>       reboots<br>To: <a href="mailto:nagios-users@lists.sourceforge.net">
nagios-users@lists.sourceforge.net</a><br>Message-ID:<br>       <<a href="mailto:765d77c80708060715y73a5b951m287316b46b72afac@mail.gmail.com">765d77c80708060715y73a5b951m287316b46b72afac@mail.gmail.com</a>><br>Content-Type: text/plain; charset=ISO-8859-1
<br><br>On 27/07/07, Jim Avery <<a href="mailto:jim@jimavery.me.uk">jim@jimavery.me.uk</a>> wrote:<br>> I've been having a similar problem and have thought about the solution<br>> but haven't gotten around to implementing it yet.  Mark Powell's
<br>> suggestion to rely on the service check notification is absolutely<br>> right when you want to ignore brief bounces or lost pings.  I'm going<br>> to do just that, but I will still have a host notification enabled
<br>> too...<br>><br>> I'll configure things so that the on-call engineers get the ping<br>> service notification rather than the host notification - they don't<br>> want to know about servers briefly bounced.  The host notifications
<br>> I'll send only to me by email so I will know the next day which<br>> servers have bounced overnight.  I'm hoping that will bring me the<br>> best of both worlds.<br><br>For the record, I tried my variation of Mark's suggestion and it
<br>didn't work because I hadn't taken the trouble to understand it<br>properly.<br><br>If I leave host checks enabled (contrary to Mark's advice), then as<br>soon as any service check fails, Nagios will try the host check which
<br>will fail too and will immediately set the service check to a HARD<br>status.<br><br>Mark's suggestion works because host checks are disabled.  The<br>possible down-side is that you don't then see hosts go down in Nagios
<br>as such.  The host up/down status is important to me because it is<br>used in the Nexsm status map display.  I think unfortunately I'm going<br>to use escalations instead, although it's going to be a bit messy.
<br><br>Cheers,<br><br>Jim<br><br><br><br>------------------------------<br><br>Message: 10<br>Date: Mon, 6 Aug 2007 09:40:44 -0500<br>From: "Marc Powell" <<a href="mailto:marc@ena.com">marc@ena.com</a>><br>
Subject: Re: [Nagios-users] dont want notification when machine<br>       reboots<br>To: <<a href="mailto:nagios-users@lists.sourceforge.net">nagios-users@lists.sourceforge.net</a>><br>Message-ID: <<a href="mailto:A7B0A9F02975A74A845FE85D0B95B8FA08276C1D@misex01.ena.com">
A7B0A9F02975A74A845FE85D0B95B8FA08276C1D@misex01.ena.com</a>><br>Content-Type: text/plain;       charset="US-ASCII"<br><br><br><br>> -----Original Message-----<br>> From: <a href="mailto:nagios-users-bounces@lists.sourceforge.net">
nagios-users-bounces@lists.sourceforge.net</a> [mailto:<a href="mailto:nagios-users-">nagios-users-</a><br>> <a href="mailto:bounces@lists.sourceforge.net">bounces@lists.sourceforge.net</a>] On Behalf Of Jim Avery<br>> Sent: Monday, August 06, 2007 9:15 AM
<br>> To: <a href="mailto:nagios-users@lists.sourceforge.net">nagios-users@lists.sourceforge.net</a><br>> Subject: Re: [Nagios-users] dont want notification when machine<br>reboots<br>><br><br><br>> Mark's suggestion works because host checks are disabled.  The
<br>> possible down-side is that you don't then see hosts go down in Nagios<br>> as such.  The host up/down status is important to me because it is<br>> used in the Nexsm status map display.  I think unfortunately I'm going
<br>> to use escalations instead, although it's going to be a bit messy.<br><br>Yup. The good news is that nagios-3 addresses this kind of situation by<br>making host checks work like service checks.<br><br>--<br>Marc
<br><br><br><br>------------------------------<br><br>Message: 11<br>Date: Mon, 6 Aug 2007 17:15:35 +0200<br>From: Dani <<a href="mailto:dani@tydnet.org">dani@tydnet.org</a>><br>Subject: Re: [Nagios-users] N2rrd problem
<br>To: <a href="mailto:nagios-users@lists.sourceforge.net">nagios-users@lists.sourceforge.net</a><br>Message-ID: <<a href="mailto:200708061715.35277.dani@tydnet.org">200708061715.35277.dani@tydnet.org</a>><br>Content-Type: text/plain; charset="iso-8859-1"
<br><br>A Dilluns 06 Agost 2007, Mattia va escriure:<br>> Hi all,<br><br>Hi Mattia,<br><br>> n2rrd:mailallarm: Host = mailallarm, Service name = check_icmp, Check<br>> result = PING OK - Packet loss = 0%, RTA = 0.23
 ms<br>> n2rrd:mailallarm: Updating ds_names: loss:RTA, ds_values: 0:0.23 in<br>> file: /var/log/nagios/rra/mailallarm/mailallarm_icmp.rrd<br>> n2rrd:mailallarm: ERROR while updating<br>> /var/log/nagios/rra/mailallarm/mailallarm_icmp.rrd: unknown DS name
<br>> 'loss'<br>><br>> has anyone any clue?<br><br>Is telling you that found loss = sth but you did not defined this in icmp.t under templates/rra/.<br><br>just define it even when you are not to finally graph it
<br><br>-s 300 # 5minutes<br>       DS:rta:GAUGE:600:0:U<br>->   DS:loss:GAUGE:600:0:U<br>       RRA:AVERAGE:0.5:1:1440   #day<br>       RRA:AVERAGE:0.5:30:336   #week<br>       RRA:AVERAGE:0.5:120:360  #month<br>       RRA:AVERAGE:
0.5:1440:365 #year<br>       RRA:MAX:0.5:1:1440   #day<br>       RRA:MAX:0.5:30:336   #week<br>       RRA:MAX:0.5:120:360  #month<br>       RRA:MAX:0.5:1440:365 #year<br>       RRA:MIN:0.5:1:1440   #day<br>       RRA:MIN:
0.5:30:336   #week<br>       RRA:MIN:0.5:120:360  #month<br>       RRA:MIN:0.5:1440:365 #year<br><br>This comes from "Packet Loss" but rrd is taken the last word... use code.t to convert packet loss to Packet_Loss for instance.
<br><br>> Thanks<br>> Cheers<br>> Mattia<br><br>good luck,<br><br>dani<br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br><br>------------------------------<br><br>Message: 12<br>
Date: Mon, 6 Aug 2007 16:32:50 +0100<br>From: "Jim Avery" <<a href="mailto:jim@jimavery.me.uk">jim@jimavery.me.uk</a>><br>Subject: Re: [Nagios-users] Trap Handling Scheme<br>To: <a href="mailto:nagios-users@lists.sourceforge.net">
nagios-users@lists.sourceforge.net</a><br>Message-ID:<br>       <<a href="mailto:765d77c80708060832t1188fb83t1dd9fe03e72edc97@mail.gmail.com">765d77c80708060832t1188fb83t1dd9fe03e72edc97@mail.gmail.com</a>><br>Content-Type: text/plain; charset=ISO-8859-1
<br><br>On 06/08/07, Paul Dugas <<a href="mailto:paul@dugas.cc">paul@dugas.cc</a>> wrote:<br>> What about all the other "pending doom" traps the UPS can send?<br>> Temperatures, bad batteries, etc.?  Do I have a corresponding service
<br>> for every one and manually clear them when they fire?  Or, could I have<br>> a single generic "TRAP" service that logged and send notifications for<br>> them?<br><br>I have a bit of a mixture.  For most, I just have a generic "SNMP"
<br>service for the host and have it always go "Critical" regardless of<br>what the trap is.  So long as the traps are few and far between, this<br>is no problem, I just manually reset the status to OK by sending a
<br>passive check result once I've investigated what the problem is.  I<br>only bother to configure specific named trap services in Nagios where<br>it makes sense to do so.<br><br>If you have a setup where you let Nagios process the trap which sets
<br>status back to OK, it may make sense to have Nagios notify by email so<br>these traps won't go unnoticed.  A danger, though, is that if you get<br>a storm of traps from a system, you could be inundated with emails.
<br><br>I have configured the event handler script so that if any traps arrive<br>from hosts which I don't know about, they go to the generic "SNMP"<br>service for localhost.  That way, if someone is setting up a new
<br>device and points traps at my Nagios system, I will know about it as<br>soon as any trap arrives and can retrospectively configure Nagios to<br>recognise that host.<br><br>I also have a line in snmptt.ini like so:<br>
unknown_trap_exec =<br>/usr/local/nagios/libexec/eventhandler/submit_unknown_check_result<br><br>this writes the trap information to a log file if snmptt comes across<br>a trap which isn't defined in the snmptt.conf file.  I have a Nagios
<br>service defined to check this log file so I will know if any unknown<br>traps come in - I can then go find the relevant MIB and add it to the<br>snmptt.conf file.<br><br>I can't pretend I'm entirely happy with the way my system works, as
<br>it's not entirely intuitive, but it is catch-all so I'm unlikely to<br>miss anything!<br><br>hth,<br><br>Jim<br><br><br><br>------------------------------<br><br>Message: 13<br>Date: Mon, 6 Aug 2007 19:32:00 +0200 (CEST)
<br>From: Hugo van der Kooij <<a href="mailto:hvdkooij@vanderkooij.org">hvdkooij@vanderkooij.org</a>><br>Subject: Re: [Nagios-users] check_nt default port<br>To: sujith h <<a href="mailto:sujith.linux@gmail.com">
sujith.linux@gmail.com</a>><br>Cc: Nagios Users mailinglist <<a href="mailto:nagios-users@lists.sourceforge.net">nagios-users@lists.sourceforge.net</a>><br>Message-ID:<br>       <<a href="mailto:Pine.LNX.4.64.0708061930240.30495@faramir.hugo.vanderkooij.org">
Pine.LNX.4.64.0708061930240.30495@faramir.hugo.vanderkooij.org</a>><br>Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed<br><br>On Mon, 6 Aug 2007, sujith h wrote:<br><br>> Can any one help me to find the default port used by nagios for the
<br>plugin check_nt(not NSClient).<br><br>Use the command `netstat -na` to detect all listening ports. Do this with<br>and without the service running.<br><br>Hugo.<br><br>--<br>       <a href="mailto:hvdkooij@vanderkooij.org">
hvdkooij@vanderkooij.org</a>        <a href="http://hugo.vanderkooij.org/">http://hugo.vanderkooij.org/</a><br>           This message is using 100% recycled electrons.<br><br>       Some men see computers as they are and say "Windows"
<br>       I use computers with Linux and say "Why Windows?"<br>               (Thanks JFK, for the insight.)<br><br><br><br>------------------------------<br><br>Message: 14<br>Date: Mon, 06 Aug 2007 19:44:46 +0200
<br>From: GJP <<a href="mailto:gjp@gpnet.nl">gjp@gpnet.nl</a>><br>Subject: [Nagios-users] Redudant checks (but also two notifies)<br>To: <a href="mailto:nagios-users@lists.sourceforge.net">nagios-users@lists.sourceforge.net
</a><br>Message-ID: <<a href="mailto:200708061944.46723.gjp@gpnet.nl">200708061944.46723.gjp@gpnet.nl</a>><br>Content-Type: text/plain; charset=utf-8<br><br>Hi All,<br><br>I have setup an off-site client under nagios to do redundant checks on a
<br>webserver. However if something goes wrong I also get two notifies. This is<br>correct but I would like only one. Anybody solved this before?<br><br>I am thinking of (well, want to examine) the two following scenarios.
<br><br>Create a bogus service with a dependancy to two http checks. So if either one<br>fails have the bogus one fail and notify?<br><br>And maybe I could use the check_cluster plugin. Define a cluster (with the two<br>services) and make it only send notifies if both nodes (services) decide a
<br>service failure.<br><br>Any pointers are very welcome.<br><br>Regards,<br><br>Gerard.<br><br><br><br>------------------------------<br><br>-------------------------------------------------------------------------<br>This 
SF.net email is sponsored by: Splunk Inc.<br>Still grepping through log files to find problems?  Stop.<br>Now Search log events and configuration files using AJAX and a browser.<br>Download your FREE copy of Splunk now >>  
<a href="http://get.splunk.com/">http://get.splunk.com/</a><br><br>------------------------------<br><br>_______________________________________________<br>Nagios-users mailing list<br><a href="mailto:Nagios-users@lists.sourceforge.net">
Nagios-users@lists.sourceforge.net</a><br><a href="https://lists.sourceforge.net/lists/listinfo/nagios-users">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br><br><br>End of Nagios-users Digest, Vol 15, Issue 10
<br>********************************************<br></blockquote></div><br>