From jmoseley at corp.xanadoo.com Fri May 1 00:16:23 2009 From: jmoseley at corp.xanadoo.com (jmoseley at corp.xanadoo.com) Date: Thu, 30 Apr 2009 17:16:23 -0500 Subject: experience with check_sasraid_megaraid for Dell PERC 4? In-Reply-To: <49FA1BB7.4060502@bogusville.us> References: <49FA1BB7.4060502@bogusville.us> Message-ID: Since you are getting that error, I don't think the firewall is the problem. If it were the firewall, I'd expect a timeout issue. First, make sure you are passing the proper community string and SNMP version into the script: ./check_sasraid_megaraid.pl -H bullwinkle -C -T megaraid -s <1 or 2c> If you still are getting that error, try 'perc4' as your -T argument. Lastly (or firstly, I suppose), check to make sure you actually have a MegaRAID adapter: dmesg | grep -i raid If you do, you should see a line like: Vendor: MegaRAID Model: LD 0 RAID5 139G Rev: 513O James Moseley Bo Gusman wrote: The second is that when running ./check_sasraid_megaraid.pl -H bullwinkle -T megaraid --debug it fails: alert: CRITICAL snmp error: Requested table is empty or does not exist Megaraid UNKNOWN - could not retrieve snmp table .1.3.6.1.4.1.3582.1.1.2.1.3 ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mlist at bogusville.us Fri May 1 01:05:10 2009 From: mlist at bogusville.us (Bo Gusman) Date: Thu, 30 Apr 2009 16:05:10 -0700 Subject: experience with check_sasraid_megaraid for Dell PERC 4? In-Reply-To: References: Message-ID: <49FA2EA6.9030502@bogusville.us> grep -i raid /var/log/dmesg shows, for bullwinkle, Vendor: MegaRaid Model: LD 0 RAID1 69G Rev: 521X Vendor: MegaRaid Model: LD 1 RAID1 858G Rev: 521X same as the h/w browser. So the kernel thinks there's something there. That said ./check_sasraid_megaraid.pl -H bullwinkle -C public -T megaraid -s 2c all hell breaks loose: substr outside of string at ./check_sasraid_megaraid.pl line 461. Use of uninitialized value in split at ./check_sasraid_megaraid.pl line 462. Use of uninitialized value in concatenation (.) or string at ./check_sasraid_megaraid.pl line 482. Use of uninitialized value in concatenation (.) or string at ./check_sasraid_megaraid.pl line 482. Use of uninitialized value in hash element at ./check_sasraid_megaraid.pl line 485. Use of uninitialized value in hash element at ./check_sasraid_megaraid.pl line 486. substr outside of string at ./check_sasraid_megaraid.pl line 527. Use of uninitialized value in hash element at ./check_sasraid_megaraid.pl line 535. Use of uninitialized value in hash element at ./check_sasraid_megaraid.pl line 537. Use of uninitialized value in hash element at ./check_sasraid_megaraid.pl line 538. Use of uninitialized value in hash element at ./check_sasraid_megaraid.pl line 540. Use of uninitialized value in concatenation (.) or string at ./check_sasraid_megaraid.pl line 544. Use of uninitialized value in hash element at ./check_sasraid_megaraid.pl line 546. substr outside of string at ./check_sasraid_megaraid.pl line 586. Use of uninitialized value in split at ./check_sasraid_megaraid.pl line 587. Use of uninitialized value in concatenation (.) or string at ./check_sasraid_megaraid.pl line 590. Use of uninitialized value in concatenation (.) or string at ./check_sasraid_megaraid.pl line 595. hostname: bullwinkle community: public port: 161 timeout: 15 alert: CRITICAL phydrv_status: .1.3.6.1.4.1.3582.1.1.3.1.4 = endOfMibView | suffix = , controller = 0, channel = 0, drive = , lun = 0 logdrv_status: .1.3.6.1.4.1.3582.1.1.2.1.3 = endOfMibView | logdrv_id = Megaraid CRITICAL - phy drv() unknown code endOfMibView, log drv() unknown code endOfMibView - 1 logical disks, 0 physical drives, 1 controllers found The upshot of it appears to be the "unknown code endOfMibView", whatever that may be. Bo jmoseley at corp.xanadoo.com wrote: > Since you are getting that error, I don't think the firewall is the > problem. If it were the firewall, I'd expect a timeout issue. > > First, make sure you are passing the proper community string and SNMP > version into the script: > > ./check_sasraid_megaraid.pl -H bullwinkle -C -T megaraid > -s <1 or 2c> > > If you still are getting that error, try 'perc4' as your -T argument. > > Lastly (or firstly, I suppose), check to make sure you actually have a > MegaRAID adapter: > > dmesg | grep -i raid > > If you do, you should see a line like: > > Vendor: MegaRAID Model: LD 0 RAID5 139G Rev: 513O > > > James Moseley > > > > Bo Gusman wrote: > > > The second is that when running > > ./check_sasraid_megaraid.pl -H bullwinkle -T megaraid --debug > > it fails: > > alert: CRITICAL > snmp error: Requested table is empty or does not exist > Megaraid UNKNOWN - could not retrieve snmp table > .1.3.6.1.4.1.3582.1.1.2.1.3 > > > > ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jmoseley at corp.xanadoo.com Fri May 1 01:50:44 2009 From: jmoseley at corp.xanadoo.com (jmoseley at corp.xanadoo.com) Date: Thu, 30 Apr 2009 18:50:44 -0500 Subject: experience with check_sasraid_megaraid for Dell PERC 4? In-Reply-To: <49FA2EA6.9030502@bogusville.us> References: <49FA2EA6.9030502@bogusville.us> Message-ID: My guess is you have an old version of perl or missing something else... How did you install perl and Nagios/Nagios plugins? I just tested this plugin on a CentOS 5.3 box which had perl and nagios-plugins installed via yum repository. Worked just fine. I'd install nagios-plugins from yum and see if that clears things up. If it doesn't you might want to check which version of perl you are running and upgrade it. James Moseley Bo Gusman wrote: That said ./check_sasraid_megaraid.pl -H bullwinkle -C public -T megaraid -s 2c all hell breaks loose: substr outside of string at ./check_sasraid_megaraid.pl line 461. Use of uninitialized value in split at ./check_sasraid_megaraid.pl line 462. ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jon at netdork.net Fri May 1 03:04:15 2009 From: jon at netdork.net (Jon Angliss) Date: Thu, 30 Apr 2009 20:04:15 -0500 Subject: check_proc -a works directly but fails through nrpe References: <57shv453flg0u1a0ngjit2b9q7eoqaejsv@4ax.com> Message-ID: <30hkv4tkd10nmsv5j7kutjcufms40pa6il@4ax.com> On Thu, 30 Apr 2009 10:12:40 +0000 (UTC), "R. David Murray" wrote: >Jon Angliss wrote: >> On Wed, 29 Apr 2009 22:03:46 +0000 (UTC), "R. David Murray" >> wrote: >> >> >This is weird. If I do this: >> > >> > >sudo -u nagios /usr/local/libexec/nagios/check_procs -a "-L /var/sipenv-10.1.2.1/log/b2bua.log" -C python -c 1:1 >> > PROCS OK: 1 process with args '-L /var/sipenv-10.1.2.1/log/b2bua.log', command name 'python' >> > >> >everything is fine, but if I do it remotely: >> > >> > >./check_nrpe -H 65.175.131.174 -c check_foo >> > PROCS CRITICAL: 0 processes with args '-L /var/sipenv-10.1.2.1/log/b2bua.log', command name 'python' >> > >> >it can't find the process. It looks as though the string that check_cpu >> >is looking at is truncated when and only when it is run under nrpe. >> > >> >Anyone have any clues, especially thoughts on a workaround? >> >> What's your definition for check_foo from the nrpe? You mentioned >> check_procs in the first statement, check_foo in the command call, and >> check_cpu in the explanation of truncation... which is right? ;) > >The nrpe.cfg definition of check_foo is: > >command[check_foo]=/usr/local/libexec/nagios/check_procs -a "-L /var/sipenv-10.1.2.1/log/b2bua.log" -C python -c 1:1 Looks the same. Double checked the user running nrpe is really nagios? How about running "env -i" before testing the script locally to see if there are any issues with environment being loaded when executed remotely. >The mention of check_cpu should be replaced with check_procs, sorry for the typo. Figured that was what you meant ;) -- Jonathan Angliss ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From subscription at kkeane.com Fri May 1 11:49:56 2009 From: subscription at kkeane.com (Kevin Keane) Date: Fri, 1 May 2009 02:49:56 -0700 Subject: [nagios] Trigger alert via email In-Reply-To: <66f2b5ed0904300912v6e7d6573y8c7e1b30d8371604@mail.gmail.com> References: <66f2b5ed0904300912v6e7d6573y8c7e1b30d8371604@mail.gmail.com> Message-ID: <49FAC5C4.6080506@kkeane.com> Nagios itself doesn't receive emails, but if you have control over the mail server in some form, you can make it work. For instance, if you have sendmail (or anything that can invoke procmail), you can use that to call a script, and the script in turn can send an external command to Nagios. Ed Donahue wrote: > Is it possible to trigger an alert by sending an email to nagios > (passive check)? > I'm guessing it isn't a straight forward as that, just wonder if it is doable, > and any links to examples would be cool too. > > Thanks in advance > Ed > -- Kevin Keane Owner The NetTech Find the Uncommon: Expert Solutions for a Network You Never Have to Think About Office: 866-642-7116 http://www.4nettech.com This e-mail and attachments, if any, may contain confidential and/or proprietary information. Please be advised that the unauthorized use or disclosure of the information is strictly prohibited. The information herein is intended only for use by the intended recipient(s) named above. If you have received this transmission in error, please notify the sender immediately and permanently delete the e-mail and any copies, printouts or attachments thereof. ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From albrecht.dress at arcor.de Fri May 1 15:24:39 2009 From: albrecht.dress at arcor.de (Albrecht =?iso-8859-1?b?RHJl3w==?=) Date: Fri, 01 May 2009 15:24:39 +0200 Subject: Check Windows Updates question Message-ID: <1241184286.3430.0@antares> Hi, I try to use the plugin via nrpe as to detect pending Windows updates. However, running the plug-in says root at my-server:/opt/nagios/libexec# ./check_nrpe -H winbox -c check_win_updates ; echo $? Critical: 10 Updates detected! No Reboot required! 2 but when I log onto the Win box and run the Win update, it says that there are no pending updates. Any idea what I missed here? I would really like to use that plug-in... Thanks, Albrecht. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mlist at bogusville.us Fri May 1 17:01:36 2009 From: mlist at bogusville.us (Bo Gusman) Date: Fri, 01 May 2009 08:01:36 -0700 Subject: experience with check_sasraid_megaraid for Dell PERC 4? In-Reply-To: References: Message-ID: <49FB0ED0.3060502@bogusville.us> Host OS is CentOS 5.x (originally 5.2 with ongoing updates applied via yum.) Perl is default install v 5.8.8. On the Nagios box (actually a VM) I'm using Groundwork Community Edition 5.3 VM as provided by groundwork. I've not actually connected the plugin to anything Nagios yet, I'm just running it from the command line. I did have to install Net::SNMP for perl from CPAN. Hmmm, what a puzzle. Bo jmoseley at corp.xanadoo.com wrote: > My guess is you have an old version of perl or missing something else... > > How did you install perl and Nagios/Nagios plugins? I just tested this > plugin on a CentOS 5.3 box which had perl and nagios-plugins installed via > yum repository. Worked just fine. > > I'd install nagios-plugins from yum and see if that clears things up. If > it doesn't you might want to check which version of perl you are running > and upgrade it. > > > James Moseley > > > > > Bo Gusman wrote: > > > That said > > ./check_sasraid_megaraid.pl -H bullwinkle -C public -T > megaraid -s 2c > > all hell breaks loose: > > > substr outside of string at ./check_sasraid_megaraid.pl line 461. > Use of uninitialized value in split at ./check_sasraid_megaraid.pl > line 462. > > > > > ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jmoseley at corp.xanadoo.com Fri May 1 17:21:09 2009 From: jmoseley at corp.xanadoo.com (jmoseley at corp.xanadoo.com) Date: Fri, 1 May 2009 10:21:09 -0500 Subject: experience with check_sasraid_megaraid for Dell PERC 4? In-Reply-To: <49FB0ED0.3060502@bogusville.us> References: <49FB0ED0.3060502@bogusville.us> Message-ID: Doesn't matter if you're not using the plugin within Nagios yet. What matters is if you have all the perl utilities installed. If you haven't already, install the following: yum install nagios-plugins Then rerun the script. I have a CentOS 5.2 box with Perl, Nagios, and Nagios-plugins installed via yum and I don't have the problems you do running the script. James Moseley Bo Gusman wrote: Host OS is CentOS 5.x (originally 5.2 with ongoing updates applied via yum.) Perl is default install v 5.8.8. On the Nagios box (actually a VM) I'm using Groundwork Community Edition 5.3 VM as provided by groundwork. I've not actually connected the plugin to anything Nagios yet, I'm just running it from the command line. I did have to install Net::SNMP for perl from CPAN. Hmmm, what a puzzle. ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dunnlg at bettis.gov Fri May 1 17:09:32 2009 From: dunnlg at bettis.gov (Dunn, Larry) Date: Fri, 1 May 2009 11:09:32 -0400 Subject: Please remove my email from this posting Message-ID: Please remove this email address from future email deliveries. Thank you, Larry Dunn -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Fri May 1 17:58:24 2009 From: marc at ena.com (Marc Powell) Date: Fri, 1 May 2009 10:58:24 -0500 Subject: Please remove my email from this posting In-Reply-To: References: Message-ID: <5563A636-745A-4DF4-A9A9-EDB5106C1CA0@ena.com> Only you can do that. Follow the instructions you received in the Welcome e-mail when you signed up or by going to the listinfo link that's at the bottom of every message. Look for the " Nagios-users Subscribers " section. -- Marc On May 1, 2009, at 10:09 AM, Dunn, Larry wrote: > Please remove this email address from future email deliveries. > > Thank you, > > Larry Dunn > ------------------------------------------------------------------------------ > Register Now & Save for Velocity, the Web Performance & Operations > Conference from O'Reilly Media. Velocity features a full day of > expert-led, hands-on workshops and two days of sessions from industry > leaders in dedicated Performance & Operations tracks. Use code > vel09scf > and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf_______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mlist at bogusville.us Fri May 1 19:07:23 2009 From: mlist at bogusville.us (Bo Gusman) Date: Fri, 01 May 2009 10:07:23 -0700 Subject: experience with check_sasraid_megaraid for Dell PERC 4? In-Reply-To: References: Message-ID: <49FB2C4B.1000904@bogusville.us> Progress, of sorts. I installed nagios on another CentOS box to ensure that you and I are working from the same essential config. Had exactly the same perl errors as before. Doing some debugging of the script, it occurred to me that the first error substr outside of string at ./check_sasraid_megaraid.pl line 461. was a great big clue perhaps the script wasn't getting anything back from the percsnmp daemon on the monitored box. Since I was running snmpd using the default snmpd.conf, I figured that since I'm only going to use the percsnmpd, why not symlink percsnmpd.conf to snmpd.conf and try again. This got me much further, though still with errors: snmp error: No response from remote host 'bullwinkle' Megaraid UNKNON - could not retrieve snmp table blah blah OK, so I'm guessing that something is broken in my snmp config. Guess it's time to try to figure that out. RTFM, as they say! Bo jmoseley at corp.xanadoo.com wrote: > Doesn't matter if you're not using the plugin within Nagios yet. What > matters is if you have all the perl utilities installed. > > If you haven't already, install the following: > > yum install nagios-plugins > > Then rerun the script. I have a CentOS 5.2 box with Perl, Nagios, and > Nagios-plugins installed via yum and I don't have the problems you do > running the script. > > > James Moseley > > > > Bo Gusman wrote: > > Host OS is CentOS 5.x (originally 5.2 with ongoing updates applied via > yum.) Perl is default install v 5.8.8. On the Nagios box (actually a > VM) I'm using Groundwork Community Edition 5.3 VM as provided by > groundwork. I've not actually connected the plugin to anything Nagios > yet, I'm just running it from the command line. > > I did have to install Net::SNMP for perl from CPAN. > > Hmmm, what a puzzle. > > > > > ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frisvolj at lafayette.edu Fri May 1 19:43:45 2009 From: frisvolj at lafayette.edu (Jason Frisvold) Date: Fri, 01 May 2009 13:43:45 -0400 Subject: SNMP Checking - Alert if a single value is detected In-Reply-To: <20090430211405.GJ19457@bakgwai.americas.hpqcorp.net> References: <49FA0A03.1040407@lafayette.edu> <20090430211405.GJ19457@bakgwai.americas.hpqcorp.net> Message-ID: <49FB34D1.7070307@lafayette.edu> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Patrick Morris wrote: > Wrapper scripts are pretty handy for stuff like this, but there's not > enough detail in the problem description to be much more specific than > that. I thought about writing a wrapper script, just wanted to make sure there wasn't something (better) out there already.. *OH* ... I figured it out. Duh.. Should have tried this before. Here's the behaviour I was looking for : ./check_snmp -H 10.0.0.1 -C public -o .1.3.6.1.4.1.318.1.1.1.4.1.1.0 -r [^3]$ In other words, return an OK value UNLESS you get a 3 ... The only concern I have with this is that I can't figure out how to restrict this to ONLY a 3. As I see it, I believe it would match 3, 13, 23, etc. If I put a ^ at the beginning, though, it doesn't match properly.. But, what I have is enough to start. - -- - --------------------------- Jason Frisvold Network Engineer frisvolj at lafayette.edu - --------------------------- "What I cannot create, I do not understand" - Richard Feynman -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iEYEARECAAYFAkn7NNEACgkQO80o6DJ8UvkEiACgky8rUvTW5NXw+tIw+BUIy7RD ZEgAnjcks7bFnInTnd6Kb6BAau+Wjyyr =TgjM -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mlist at bogusville.us Fri May 1 20:51:49 2009 From: mlist at bogusville.us (Bo Gusman) Date: Fri, 01 May 2009 11:51:49 -0700 Subject: experience with check_sasraid_megaraid for Dell PERC 4? In-Reply-To: <49FB2C4B.1000904@bogusville.us> References: <49FB2C4B.1000904@bogusville.us> Message-ID: <49FB44C5.8000201@bogusville.us> Well, if I use the default snmpd.conf, I can connect to the host using snmpwalk locally and from the nagios host, but I can't see anything related to the perc array. It is this configuration that causes the perl substr error when I run check_sasraid_megaraid. Renaming percsnmpd.conf -> snmpd.conf, I can't connect to the host at all either using snmpwalk or the script. Both conf files have a line "pass .1.3.6.1.4.1.3582 /usr/sbin/percmain" as the last line of the file, but I don't understand enough about snmp (reading the docs is giving me a headache! :) to be able to connect the dots. Would you share relevant snmpd.conf info for me, James? Much thanks for your patience and advice. Bo Bo Gusman wrote: > Progress, of sorts. > > I installed nagios on another CentOS box to ensure that you and I are > working from the same essential config. Had exactly the same perl errors > as before. Doing some debugging of the script, it occurred to me that > the first error > > substr outside of string at ./check_sasraid_megaraid.pl line 461. > > was a great big clue perhaps the script wasn't getting anything back from the percsnmp daemon on the monitored box. > > Since I was running snmpd using the default snmpd.conf, I figured that since I'm only going to use the percsnmpd, why not symlink percsnmpd.conf to snmpd.conf and try again. This got me much further, though still with errors: > > snmp error: No response from remote host 'bullwinkle' > Megaraid UNKNON - could not retrieve snmp table blah blah > > OK, so I'm guessing that something is broken in my snmp config. Guess it's time to try to figure that out. RTFM, as they say! > > Bo > > > > jmoseley at corp.xanadoo.com wrote: > >> Doesn't matter if you're not using the plugin within Nagios yet. What >> matters is if you have all the perl utilities installed. >> >> If you haven't already, install the following: >> >> yum install nagios-plugins >> >> Then rerun the script. I have a CentOS 5.2 box with Perl, Nagios, and >> Nagios-plugins installed via yum and I don't have the problems you do >> running the script. >> >> >> James Moseley >> >> >> >> Bo Gusman wrote: >> >> Host OS is CentOS 5.x (originally 5.2 with ongoing updates applied via >> yum.) Perl is default install v 5.8.8. On the Nagios box (actually a >> VM) I'm using Groundwork Community Edition 5.3 VM as provided by >> groundwork. I've not actually connected the plugin to anything Nagios >> yet, I'm just running it from the command line. >> >> I did have to install Net::SNMP for perl from CPAN. >> >> Hmmm, what a puzzle. >> >> >> >> >> >> > > > ------------------------------------------------------------------------------ > Register Now & Save for Velocity, the Web Performance & Operations > Conference from O'Reilly Media. Velocity features a full day of > expert-led, hands-on workshops and two days of sessions from industry > leaders in dedicated Performance & Operations tracks. Use code vel09scf > and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jmoseley at corp.xanadoo.com Fri May 1 22:37:02 2009 From: jmoseley at corp.xanadoo.com (jmoseley at corp.xanadoo.com) Date: Fri, 1 May 2009 15:37:02 -0500 Subject: experience with check_sasraid_megaraid for Dell PERC 4? In-Reply-To: <49FB44C5.8000201@bogusville.us> References: <49FB44C5.8000201@bogusville.us> Message-ID: First, have you verified that the perc agent is actually running on the remote host? ps -ef | grep perc Furthermore, you're certainly not going to be able to connect to your remote server via SNMP by using the default percsnmpd.conf file. If you are able to connect to your host using the original snmpd.conf file with the added perc statements, then you are fine. Next, are you running SNMP v1 or v2? That's important as you have to provide the correct version to the plugin. Lastly, what happens when you do an snmpwalk from the remote host using the following? snmpwalk -c wiband -v 2c localhost .1.3.6.1.4.1.3582 You should get a bunch of valid, snmp output. If not, try using version 1. If you do get valid output, then SNMP/percSNMP are setup correctly on that host. James Moseley Bo Gusman wrote: Well, if I use the default snmpd.conf, I can connect to the host using snmpwalk locally and from the nagios host, but I can't see anything related to the perc array. It is this configuration that causes the perl substr error when I run check_sasraid_megaraid. Renaming percsnmpd.conf -> snmpd.conf, I can't connect to the host at all either using snmpwalk or the script. Both conf files have a line "pass .1.3.6.1.4.1.3582 /usr/sbin/percmain" as the last line of the file, but I don't understand enough about snmp (reading the docs is giving me a headache! :) to be able to connect the dots. Would you share relevant snmpd.conf info for me, James? Much thanks for your patience and advice. ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mlist at bogusville.us Fri May 1 22:58:49 2009 From: mlist at bogusville.us (Bo Gusman) Date: Fri, 01 May 2009 13:58:49 -0700 Subject: experience with check_sasraid_megaraid for Dell PERC 4? In-Reply-To: References: Message-ID: <49FB6289.6040109@bogusville.us> Yep, percagent is clearly running per ps -ef. snmpwalk -c public -v 2c localhost .1.3.6.1.4.1.3582 returns SNMPv2-SMI::enterprises.3582 = No more variables left in this MIB View (It is past the end of the MIB tree) jmoseley at corp.xanadoo.com wrote: > First, have you verified that the perc agent is actually running on the > remote host? > > ps -ef | grep perc > > Furthermore, you're certainly not going to be able to connect to your > remote server via SNMP by using the default percsnmpd.conf file. > > If you are able to connect to your host using the original snmpd.conf file > with the added perc statements, then you are fine. > > Next, are you running SNMP v1 or v2? That's important as you have to > provide the correct version to the plugin. > > Lastly, what happens when you do an snmpwalk from the remote host using the > following? > > snmpwalk -c wiband -v 2c localhost .1.3.6.1.4.1.3582 > > You should get a bunch of valid, snmp output. If not, try using version 1. > If you do get valid output, then SNMP/percSNMP are setup correctly on that > host. > > > James Moseley > > > > > Bo Gusman wrote: > > Well, if I use the default snmpd.conf, I can connect to the host using > snmpwalk locally and from the nagios host, but I can't see anything > related to the perc array. It is this configuration that causes the perl > substr error when I run check_sasraid_megaraid. > > Renaming percsnmpd.conf -> snmpd.conf, I can't connect to the host at > all either using snmpwalk or the script. > > Both conf files have a line "pass .1.3.6.1.4.1.3582 /usr/sbin/percmain" > as the last line of the file, but I don't understand enough about snmp > (reading the docs is giving me a headache! :) to be able to connect the > dots. > > Would you share relevant snmpd.conf info for me, James? > > Much thanks for your patience and advice. > > > > ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jmoseley at corp.xanadoo.com Fri May 1 23:13:33 2009 From: jmoseley at corp.xanadoo.com (jmoseley at corp.xanadoo.com) Date: Fri, 1 May 2009 16:13:33 -0500 Subject: experience with check_sasraid_megaraid for Dell PERC 4? In-Reply-To: <49FB6289.6040109@bogusville.us> References: <49FB6289.6040109@bogusville.us> Message-ID: To be honest, I'm stumped. Have you disabled SELinux to see if that does the trick? At this point in time it's a problem with SNMP, the Dell Perc agent, and/or the controller. You might open a ticket with Dell to see if there are any known compatibility issues with the software and your specific card. James Moseley Bo Gusman wrote: Yep, percagent is clearly running per ps -ef. snmpwalk -c public -v 2c localhost .1.3.6.1.4.1.3582 returns SNMPv2-SMI::enterprises.3582 = No more variables left in this MIB View (It is past the end of the MIB tree) ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scarolan at gmail.com Fri May 1 23:43:11 2009 From: scarolan at gmail.com (Sean Carolan) Date: Fri, 1 May 2009 16:43:11 -0500 Subject: check_mssql_health Plugin Message-ID: <277020fc0905011443o601d949bwaea7c055ca43186f@mail.gmail.com> We're trying to use the check_mssql_plugin from Gerhard's site here: http://www.consol.de/opensource/nagios/check-mssql-health It seems not to work on 64 bit systems. When we run it on our 64 bit nagios host we get this error: [root at monitorbox libexec]# ./check_mssql_health --hostname=server.example.com --username=nagios --password=secret --mode=list-databases bumm Can't call method "prepare" on an undefined value at ./check_mssql_health line 1886. Can't use an undefined value as an ARRAY reference at ./check_mssql_health line 1902. Anyone have an idea why this is happening? I did have to patch and build perl-DBD-Sybase from source, because the Makefile.PL in CPAN did not support 64 bit systems. ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mlist at bogusville.us Fri May 1 23:48:04 2009 From: mlist at bogusville.us (Bo Gusman) Date: Fri, 01 May 2009 14:48:04 -0700 Subject: experience with check_sasraid_megaraid for Dell PERC 4? In-Reply-To: References: Message-ID: <49FB6E14.5070806@bogusville.us> Well, krikey! SELinux is disabled so that isn't in play. I will get in touch with Dell, although their linux-poweredge mailing list (where I also asked the same question as here) has returned null. I appreciate all of your help with this, James. Karma points for you! Bo jmoseley at corp.xanadoo.com wrote: > To be honest, I'm stumped. Have you disabled SELinux to see if that does > the trick? At this point in time it's a problem with SNMP, the Dell Perc > agent, and/or the controller. You might open a ticket with Dell to see if > there are any known compatibility issues with the software and your > specific card. > > > James Moseley > > > > > Bo Gusman wrote: > > Yep, percagent is clearly running per ps -ef. > > snmpwalk -c public -v 2c localhost .1.3.6.1.4.1.3582 > > returns > > SNMPv2-SMI::enterprises.3582 = No more variables left in this MIB > View (It is past the end of the MIB tree) > > ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From shadhin71 at gmail.com Fri May 1 23:57:08 2009 From: shadhin71 at gmail.com (shadih rahman) Date: Fri, 1 May 2009 17:57:08 -0400 Subject: Ndoutils only capturing host data, there is no service information Message-ID: <6db4a4200905011457i3317ee67k135c30a0c6c5a54f@mail.gmail.com> All, I recently discovered that my nagios setup is only storing in nagios_hostchecks table. In my ndomod.cfg file I have selected data_processing_options=67108863, which suppose to process all data. Little overview about my setup I have two mahcine running nagios active failover settings. On mysql side, I have master master replication from both machine. Can someone please advise me on this. I am including my nagios.cfg file, ndo2db.cfg file and ndomod.cfg file. Thanks in advance. My nagios.cfg:::::::::::::::::::::::::: log_file=/var/log/nagios/nagios.log cfg_file=/etc/nagios/commands.cfg cfg_file=/etc/nagios/contacts.cfg cfg_file=/etc/nagios/timeperiods.cfg cfg_file=/etc/nagios/templates.cfg cfg_dir=/etc/nagios/hosts cfg_dir=/etc/nagios/services object_cache_file=/var/log/nagios/objects.cache precached_object_file=/var/log/nagios/objects.precache resource_file=/etc/nagios/resource.cfg status_file=/var/log/nagios/status.dat status_update_interval=60 nagios_user=nagios nagios_group=nagios check_external_commands=1 command_check_interval=-1 command_file=/var/log/nagios/rw/nagios.cmd external_command_buffer_slots=4096 lock_file=/var/lock/subsys/nagios temp_file=/var/log/nagios/nagios.tmp temp_path=/tmp event_broker_options=8 broker_module=/usr/lib64/nagios/ndomod.o config_file=/etc/nagios/ndomod.cfg log_rotation_method=m log_archive_path=/var/log/nagios/archives use_syslog=1 log_notifications=1 log_service_retries=1 log_host_retries=1 log_event_handlers=1 log_initial_states=0 log_external_commands=1 log_passive_checks=1 service_inter_check_delay_method=s max_service_check_spread=30 service_interleave_factor=s host_inter_check_delay_method=s max_host_check_spread=30 max_concurrent_checks=0 check_result_reaper_frequency=10 max_check_result_reaper_time=20 check_result_path=/var/log/nagios/spool/checkresults max_check_result_file_age=3600 cached_host_check_horizon=15 cached_service_check_horizon=15 enable_predictive_host_dependency_checks=1 my ndo2db.cfg ::::::::::::: ndo2db_user=nagios ndo2db_group=nagios socket_type=unix socket_name=/var/log/nagios/ndo.sock tcp_port=5668 db_servertype=mysql db_host=localhost db_port=3306 db_name=nagios db_prefix=nagios_ db_user=nagios db_pass=********* max_timedevents_age=1440 max_systemcommands_age=10080 max_servicechecks_age=0 max_hostchecks_age=0 max_eventhandlers_age=44640 debug_level=1 debug_verbosity=0 debug_file=/var/log/nagios/ndo2db.debug max_debug_file_size=1000000 my nodmod.cfg file :::::::::::::::::::::::: instance_name=default output_type=unixsocket output=/var/log/nagios/ndo.sock tcp_port=5668 output_buffer_items=50000 buffer_file=/var/log/nagios/ndomod.tmp file_rotation_interval=14400 file_rotation_timeout=60 reconnect_interval=15 reconnect_warning_interval=15 data_processing_options=67108863 config_output_options=0 -- Cordially, Shadhin Rahman -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jmoseley at corp.xanadoo.com Sat May 2 00:09:41 2009 From: jmoseley at corp.xanadoo.com (jmoseley at corp.xanadoo.com) Date: Fri, 1 May 2009 18:09:41 -0400 Subject: experience with check_sasraid_megaraid for Dell PERC 4? In-Reply-To: <49FB6E14.5070806@bogusville.us> References: <49FB6E14.5070806@bogusville.us> Message-ID: Attached is a sample snmpd.conf config. Just change COMMUNITY-STRING and the 192.168.1.0/24 settings to what works for you. If you are still having problems, then it's most likely your RAID card is not supported by the version of Perc agent you downloaded. (See attached file: snmpd.conf) James Moseley Bo Gusman wrote: Well, krikey! SELinux is disabled so that isn't in play. I will get in touch with Dell, although their linux-poweredge mailing list (where I also asked the same question as here) has returned null. I appreciate all of your help with this, James. Karma points for you! -------------- next part -------------- A non-text attachment was scrubbed... Name: snmpd.conf Type: application/octet-stream Size: 18657 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mlist at bogusville.us Sat May 2 00:39:35 2009 From: mlist at bogusville.us (Bo Gusman) Date: Fri, 01 May 2009 15:39:35 -0700 Subject: experience with check_sasraid_megaraid for Dell PERC 4? In-Reply-To: References: Message-ID: <49FB7A27.2060103@bogusville.us> Wow, that changed things big time. Using snmpwalk locally this time resulted in 221 lines of output along the lines of SNMPv2-SMI::enterprises.3582.1.1.14.0 = INTEGER: -1 check_sasraid_megaraid says Megaraid OK - 2 logical disks, 6 physical drives, 1 controllers found I think I'll compare the two snmpd.conf files that I've got. Maybe learn something. Dude, you rock! Thanks again! Bo jmoseley at corp.xanadoo.com wrote: > Attached is a sample snmpd.conf config. > > Just change COMMUNITY-STRING and the 192.168.1.0/24 settings to what works > for you. If you are still having problems, then it's most likely your RAID > card is not supported by the version of Perc agent you downloaded. > > (See attached file: snmpd.conf) > > James Moseley > > > > Bo Gusman wrote: > > Well, krikey! > > SELinux is disabled so that isn't in play. I will get in touch with > Dell, although their linux-poweredge mailing list (where I also asked > the same question as here) has returned null. > > I appreciate all of your help with this, James. Karma points for you! > > > ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jmoseley at corp.xanadoo.com Sat May 2 00:44:47 2009 From: jmoseley at corp.xanadoo.com (jmoseley at corp.xanadoo.com) Date: Fri, 1 May 2009 17:44:47 -0500 Subject: experience with check_sasraid_megaraid for Dell PERC 4? In-Reply-To: <49FB7A27.2060103@bogusville.us> References: <49FB7A27.2060103@bogusville.us> Message-ID: You're welcome. I'd be interested in the diff output... James Moseley Bo Gusman wrote: Wow, that changed things big time. Using snmpwalk locally this time resulted in 221 lines of output along the lines of SNMPv2-SMI::enterprises.3582.1.1.14.0 = INTEGER: -1 check_sasraid_megaraid says Megaraid OK - 2 logical disks, 6 physical drives, 1 controllers found I think I'll compare the two snmpd.conf files that I've got. Maybe learn something. Dude, you rock! ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jmoseley at corp.xanadoo.com Sat May 2 01:18:45 2009 From: jmoseley at corp.xanadoo.com (jmoseley at corp.xanadoo.com) Date: Fri, 1 May 2009 18:18:45 -0500 Subject: experience with check_sasraid_megaraid for Dell PERC 4? In-Reply-To: <49FB7F80.7040307@bogusville.us> References: <49FB7F80.7040307@bogusville.us> Message-ID: Yep, all the important stuff was commented out. James Moseley Bo Gusman wrote: Your file is first. I did 0 configuration on it - so much for trusting things right out of the box. :) Bo 41c41 < com2sec notConfigUser default OcwyronAs4 --- > > com2sec notConfigUser default public > 74,75c74,75 < com2sec local localhost nagiosofc < com2sec mynetwork 192.168.1.0/24 nagiosofc --- > > #com2sec local localhost COMMUNITY > > #com2sec mynetwork NETWORK/24 COMMUNITY > 78,79c78,79 < group MyRWGroup v2c local < group MyROGroup v2c mynetwork --- > > #group MyRWGroup any local > > #group MyROGroup any mynetwork > 85c85 < view all included .1 80 --- > > #view all included .1 80 > 93,94c93,94 < access MyROGroup "" any noauth exact all none none < access MyRWGroup "" any noauth exact all all all --- > > #access MyROGroup "" any noauth 0 all none none > > #access MyRWGroup "" any noauth 0 all all all > 162,163c162,163 < syslocation Your City < syscontact Network Operations --- > > syslocation Unknown (edit /etc/snmp/snmpd.conf) > > syscontact Root (configure /etc/snmp/snmp.local.conf) > 452,454d451 < # Dell MegaRAID data will be exported on port 161 by the main snmpd < pass .1.3.6.1.4.1.3582 /usr/sbin/percmain < 458a456 > > pass .1.3.6.1.4.1.3582 /usr/sbin/percmain ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jon at netdork.net Sat May 2 02:38:09 2009 From: jon at netdork.net (Jon Angliss) Date: Fri, 01 May 2009 19:38:09 -0500 Subject: Check Windows Updates question References: <1241184286.3430.0@antares> Message-ID: On Fri, 01 May 2009 15:24:39 +0200, Albrecht Dre? wrote: >Hi, > >I try to use the plugin > via >nrpe as to detect pending Windows updates. However, running the >plug-in says > > >root at my-server:/opt/nagios/libexec# ./check_nrpe -H winbox -c >check_win_updates ; echo $? >Critical: 10 Updates detected! No Reboot required! >2 > > >but when I log onto the Win box and run the Win update, it says that >there are no pending updates. > >Any idea what I missed here? I would really like to use that plug-in... Not something you missed, but the plugin author. The plugin reads the "ReportingEvents.log" file in the SoftwareDistribution folder, and looks for a specific ID. Unfortunately it appears that log isn't rotated on each check, which means that you had, at one point, several updates pending, and WSUS hasn't updated the status successfully since. Try stopping wuauctl on the server in question, and renaming the log file. net stop wuauctl C:\windows\softwaredistribution\ReportingEvents.log net start wuauctl wuauclt /detectnow Trigger another check, and see what comes back. If you still see odd issues, take a look at the log file, and search for the line that looks like this: Windows Update Client successfully detected 0 updates If this still doesn't work out for you, there are plenty of other options on the http://nagiosexchange.org such as: http://www.nagiosexchange.org/cgi-bin/page.cgi?g=2547.html;d=1 Good luck -- Jonathan Angliss ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jimmyjose2980 at gmail.com Sat May 2 07:16:52 2009 From: jimmyjose2980 at gmail.com (Jimmyboy) Date: Sat, 2 May 2009 10:46:52 +0530 Subject: Nagios: External directory permission issue. Message-ID: Hi, After installing Nagios 3.0.6, I login to the web interface using http://localhost/nagios. When I attempt to restart the Nagios service using 'Process Info', the error thrown is as seen below. =-=-= Error: Could not open command file '/usr/local/nagios/var/rw/nagios.cmd' for update! The permissions on the external command file and/or directory may be incorrect. Read the FAQs on how to setup proper permissions. An error occured while attempting to commit your command for processing. *Return from whence you came *=-=-= I checked the directory permissions and here is the output. *Output of 'ls -al /usr/local/nagios/var'* drwxrwsr-x 2 nagios nagcmd 4096 2009-04-18 07:25 rw *Output of 'ls -al /usr/local/nagios/var/rw'* prw-rw---- 1 nagios nagcmd 14049 2009-04-18 07:25 nagios.cmd =-=-= Any idea what else need to be done? Regards, Jim -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From albrecht.dress at arcor.de Sat May 2 12:44:44 2009 From: albrecht.dress at arcor.de (Albrecht =?iso-8859-1?b?RHJl3w==?=) Date: Sat, 02 May 2009 12:44:44 +0200 Subject: Check Windows Updates question In-Reply-To: (from jon@netdork.net on Sat May 2 02:38:09 2009) References: Message-ID: <1241261091.3720.0@antares> Hi Jon: Thanks for your reply! Am 02.05.09 02:38 schrieb(en) Jon Angliss: > Try stopping wuauctl on the server in question, and renaming the log > file. It appears that that service isn't running on my box (Windows XP Professional SP2 German version), although the log file exists. > net stop wuauctl Command results in (my vague translation from German to English) System error 1060 occurred. The specified service is not an installed service. > C:\windows\softwaredistribution\ReportingEvents.log I was not able to rename that file before I disabled the "Automatic Updates" service in Windows. Is is launched (according to the service control panel) via the command "C:\WINDOWS\system32\svchost.exe -k netsvcs". > net start wuauctl Same as above, although the error now reads The name for the service is invalid. You get more help by typing NET HELPMSG 2185. > Trigger another check, and see what comes back. Using the script from returns via check_nrpe Number of updates waiting or installing: 10
Microsoft Base Smartcard-Kryptografiedienstanbieter-Paket: x86 (KB909520)+ Update f?r Stammzertifikate+ Update f?r die Microsoft .NET Framework 3.5 Service Pack 1- und .NET Framework 3.5-Produktfamilie (KB951847) x86+ Atheros - Network - Atheros L1 Gigabit Ethernet 10/100/1000Base-T Controller+ Gruppenrichtlinieneinstellungs-Clienterweiterungen f?r Windows XP (KB943729)+ Windows Search 4.0 f?r Windows XP (KB940157)+ Matrox Graphics Inc. - Display - Matrox Millennium P650 PCIe 128+ Windows Internet Explorer 7 f?r Windows XP+ Windows Media Player 11+ Microsoft .NET Framework Version 1.1 - Sprachpaket (Deutsch)+
> If you still see odd issues, take a look at the log file, and search > for the line that looks like this: The /complete/ file ReportingEvents.log (which has been created by running check_nrpe) reads {CB736E16-0659-46C9-B16C-ABD070C74BD1} 2009-05-02 12:25:05:187+0200 1 147 101 {00000000-0000-0000-0000-000000000000} 0 0 AutomaticUpdates Success Software Synchronization Windows Update Client successfully detected 0 updates. {EAFBF2B9-9314-4B90-A4F2-9564BCC5A391} 2009-05-02 12:25:07:328+0200 1 147 101 {00000000-0000-0000-0000-000000000000} 0 0 Success Software Synchronization Windows Update Client successfully detected 10 updates. Still, running the Windows Updates through IE doesn't show any pending updates (I removed IE 8 from the updates to be checked, btw.). Any ideas? Thanks, Albrecht. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From epearce at amberpoint.com Sat May 2 16:04:30 2009 From: epearce at amberpoint.com (Eric Pearce) Date: Sat, 2 May 2009 07:04:30 -0700 Subject: Check Windows Updates question References: <1241261091.3720.0@antares> Message-ID: <171B1342C60443449B1D5335B9F4A7E9@ap872c3fe40484> It is possible that there are updates available, but none of these are "high priority", so they are not appearing when you go to the Windows Update website? Did you check the website for "optional" updates? It looks like some of the contributed plugins on nagiosexchange do not check the priority when displaying the list of available updates, so you get a list of every available update. -e ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jon at netdork.net Sat May 2 23:34:20 2009 From: jon at netdork.net (Jon Angliss) Date: Sat, 02 May 2009 16:34:20 -0500 Subject: Nagios: External directory permission issue. References: Message-ID: On Sat, 2 May 2009 10:46:52 +0530, Jimmyboy wrote: >Hi, > >After installing Nagios 3.0.6, I login to the web interface using >http://localhost/nagios. >When I attempt to restart the Nagios service using 'Process Info', the error >thrown is as seen below. > >=-=-= >Error: Could not open command file '/usr/local/nagios/var/rw/nagios.cmd' for >update! > >The permissions on the external command file and/or directory may be >incorrect. Read the FAQs on how to setup proper permissions. > >An error occured while attempting to commit your command for processing. > >*Return from whence you came >*=-=-= > >I checked the directory permissions and here is the output. > >*Output of 'ls -al /usr/local/nagios/var'* >drwxrwsr-x 2 nagios nagcmd 4096 2009-04-18 07:25 rw > >*Output of 'ls -al /usr/local/nagios/var/rw'* >prw-rw---- 1 nagios nagcmd 14049 2009-04-18 07:25 nagios.cmd >=-=-= > >Any idea what else need to be done? What user is your web server running as? Going to assume something like www-data, or apache. In either case, the above permissions wouldn't allow for access. You could add your webserver user into the nagcmd group to get permissions. -- Jonathan Angliss ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From service at shdawson.com Sun May 3 01:02:16 2009 From: service at shdawson.com (Stephen H. Dawson) Date: Sat, 2 May 2009 19:02:16 -0400 Subject: Scheduling Active Checks Message-ID: <3984EFB7E4D5498B9B9FBEF556B89CEE@Because> Hi, How does what schedule an active check to happen at a certain time. And, better yet, how to check active checks 1 right after the other...say for 5 active checks? Thanks, SHD -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From albrecht.dress at arcor.de Sun May 3 13:57:27 2009 From: albrecht.dress at arcor.de (Albrecht Dreß) Date: Sun, 3 May 2009 13:57:27 +0200 (CEST) Subject: Check Windows Updates question Message-ID: <24110508.1241351847485.JavaMail.ngmail@webmail12.arcor-online.net> Hi Eric: > It is possible that there are updates available, but none of these are "high > priority", so they are not appearing when you go to the Windows Update > website? You're right - these update were in the categories "Software, Optional" and "Hardware, Optional". After installing them manually, the they also disappeared from the list reported by check_nrpe. It would now be nice to have the options to either exclude optional updates completely from the check or to exclude them from the "critical" and "warning" counters (i.e. if there are no important updates, check_nrpe still returns ok, but once there is an important one, the list of optional ones is included in the performance data). Do you know the property of the object returned by the searcher interface which indicates if the update is important or optional (I hope there is one...)? I would then tweak the script. Thanks, Albrecht. Arcor.de Gaming Area - kostenfrei daddeln bis der Arzt kommt! Jetzt checken und aus ?ber 80 Spielen w?hlen! http://www.arcor.de/footer-gaming/ ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jon at netdork.net Sun May 3 18:43:00 2009 From: jon at netdork.net (Jon Angliss) Date: Sun, 03 May 2009 11:43:00 -0500 Subject: Check Windows Updates question References: <24110508.1241351847485.JavaMail.ngmail@webmail12.arcor-online.net> Message-ID: <7rhrv41rp6u9snjkknquig1s67i0hggnv2@4ax.com> On Sun, 3 May 2009 13:57:27 +0200 (CEST), "Albrecht Dre?" wrote: >Hi Eric: > >> It is possible that there are updates available, but none of these are "high >> priority", so they are not appearing when you go to the Windows Update >> website? > >You're right - these update were in the categories "Software, Optional" and "Hardware, Optional". After installing them manually, the they also disappeared from the list reported by check_nrpe. > >It would now be nice to have the options to either exclude optional updates completely from the check or to exclude them from the "critical" and "warning" counters (i.e. if there are no important updates, check_nrpe still returns ok, but once there is an important one, the list of optional ones is included in the performance data). > >Do you know the property of the object returned by the searcher interface which indicates if the update is important or optional (I hope there is one...)? I would then tweak the script. > Software: http://www.microsoft.com/technet/scriptcenter/scripts/sus/client/suclvb12.mspx Harware (Drivers): http://www.microsoft.com/technet/scriptcenter/scripts/sus/client/suclvb11.mspx Details on the IUpdate interface http://msdn.microsoft.com/en-us/library/aa386099(VS.85).aspx That being said, not entirely sure if the windows update service knows the difference between a critical, and optional update when a WSUS server is not involved. You could use the code above, and look for ones that have the AutoSelectOnWebSites set to yes/true/1. This should give you the same view as what you get on the website. http://www.nagiosexchange.org/cgi-bin/jump.cgi?ID=2547&view=File1;d=1 That should be a good base, you can probably just modify the search criteria, and ass "and AutoSelectOnWebSites = 1" -- Jonathan Angliss ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From divan.santana at gmail.com Sun May 3 21:01:53 2009 From: divan.santana at gmail.com (Divan Santana) Date: Sun, 3 May 2009 21:01:53 +0200 Subject: Only hard status on tactical display? In-Reply-To: References: Message-ID: <200905032101.57134.divan.santana@gmail.com> Hi All, Has anyone managed to figure out how to only show "hard" status' on the tactical display screen? I hope so... otherwise I'd like to request this as a feature/wish list... -- Divan Santana On Tuesday 16 December 2008 17:24:10 Matthew Pounsett wrote: > My tactical display gets posted on a large monitor in the office which > is visible to all staff. Since the tactical display shows every soft > warning or critical state, I often get questions about "what's > broken?" when we've merely lost a single UDP packet while testing a > DNS server, or something similarly innocuous. I'm considering > modifying tac.cgi so that it only displays warning or critical HARD > statuses, and not SOFT. I did a few searches on nagios exchange and > didn't find anything already there... but thought I'd ask to avoid re- > inventing the wheel: has anyone done this before that wants to share > code? > > If I don't hear back from anyone I'll go ahead and try to do this > myself. If successful I'll share the diff back to the list. > > Cheers, > Matt -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 197 bytes Desc: This is a digitally signed message part. URL: -------------- next part -------------- ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From info at stoeps.de Sun May 3 22:12:36 2009 From: info at stoeps.de (Christoph Stoettner) Date: Sun, 3 May 2009 22:12:36 +0200 Subject: Check Windows Updates question In-Reply-To: <1241261091.3720.0@antares> References: <1241261091.3720.0@antares> Message-ID: <90ab54e30905031312j36cec56x621a9b4d25aa0726@mail.gmail.com> . >> > > It appears that that service isn't running on my box (Windows XP > Professional SP2 German version), although the log file exists. > > net stop wuauctl >> > > Command results in (my vague translation from German to English) > > > System error 1060 occurred. > The specified service is not an installed service. > > Please try net stop wuauclt Greets Stoeps -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From moshesharon at gmail.com Mon May 4 00:58:55 2009 From: moshesharon at gmail.com (moshe sharon) Date: Mon, 4 May 2009 01:58:55 +0300 Subject: check_mssql_health Plugin In-Reply-To: <277020fc0905011443o601d949bwaea7c055ca43186f@mail.gmail.com> References: <277020fc0905011443o601d949bwaea7c055ca43186f@mail.gmail.com> Message-ID: <88ad29240905031558m19810b24p7493994bc085f6c5@mail.gmail.com> Hi did you install libtds ? it wont work without it. "MS-SQL started out as Sybase 4.2, and there are still a lot of similarities between Sybase and MS-SQL which makes it possible to use DBD::Sybase to query a MS-SQL dataserver using either the Sybase OpenClient libraries or the FreeTDS libraries (see http://www.freetds.org)." -- Moshe Sharon http://www.centerity.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jon at netdork.net Mon May 4 02:46:57 2009 From: jon at netdork.net (Jon Angliss) Date: Sun, 03 May 2009 19:46:57 -0500 Subject: Check Windows Updates question References: <1241261091.3720.0@antares> <90ab54e30905031312j36cec56x621a9b4d25aa0726@mail.gmail.com> Message-ID: <2nesv4platrgvpaelvd4rpo8i2il3omrr6@4ax.com> On Sun, 3 May 2009 22:12:36 +0200, Christoph Stoettner wrote: >. >>> >> >> It appears that that service isn't running on my box (Windows XP >> Professional SP2 German version), although the log file exists. >> >> net stop wuauctl >>> >> >> Command results in (my vague translation from German to English) >> >> >> System error 1060 occurred. >> The specified service is not an installed service. >> >> > >Please try net stop wuauclt Damn my fingers ;) Well spotted :) -- Jonathan Angliss ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Ales.Rikovsky at upol.cz Mon May 4 11:35:38 2009 From: Ales.Rikovsky at upol.cz (Ales Rikovsky) Date: Mon, 04 May 2009 11:35:38 +0200 Subject: Nagios and log rotating Message-ID: <49FEB6EA.3030005@upol.cz> Question from Nagios newbie: I need an access to the whole Nagios history to the complete log archive. As Nagios (due to logrorating??) compresses the logs, I can't see for example stats for the whole year or so. So I'm getting a message: Error: Cannot open log file '/var/log/nagios/archives/nagios-04-28-2009-00.log' for reading! Is there a possibility or way to let the log files not to be compressed and therefore the whole history available at ANY time, please? Please help me. Thank you. Ales -- Ales Rikovsky, CVT UP Computer Centre Palacky University +420 585631826 Ales.Rikovsky at upol.cz Biskupske nam. 1 771 11 Olomouc Czech Rep. ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From roy at karlsbakk.net Mon May 4 12:18:32 2009 From: roy at karlsbakk.net (Roy Sigurd Karlsbakk) Date: Mon, 4 May 2009 12:18:32 +0200 Subject: Performance data issues Message-ID: <24F98632-0727-47FB-B8D2-F53F1F557A81@karlsbakk.net> Hi all I have recently enabled process_performance_data in nagios.cfg and in the templates and setup pnp. this seems to work, but nagios doesn't seem to start loggin performance data until I force a check. Restarting it doesn't help much. Is this intentional? I have 100+ hosts in nagios, and forcing checks for all of them and their services will take some time. Also (it might be offtopic), does anyone know how I can include the javascript file to allow on-mouseover graphs with pnp? the docs are unclear on that. Best regards roy -- Roy Sigurd Karlsbakk (+47) 97542685 / 98013356 roy at karlsbakk.net -- I all pedagogikk er det essensielt at pensum presenteres intelligibelt. Det er et element?rt imperativ for alle pedagoger ? unng? eksessiv anvendelse av idiomer med fremmed opprinnelse. I de fleste tilfeller eksisterer adekvate og relevante synonymer p? norsk. ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Mon May 4 12:34:35 2009 From: ae at op5.se (Andreas Ericsson) Date: Mon, 04 May 2009 12:34:35 +0200 Subject: Nagios and log rotating In-Reply-To: <49FEB6EA.3030005@upol.cz> References: <49FEB6EA.3030005@upol.cz> Message-ID: <49FEC4BB.6050406@op5.se> Ales Rikovsky wrote: > Question from Nagios newbie: > > I need an access to the whole Nagios history to the complete log archive. > As Nagios (due to logrorating??) compresses the logs, I can't see for > example stats for the whole year or so. So I'm getting a message: > > Error: Cannot open log file > '/var/log/nagios/archives/nagios-04-28-2009-00.log' for reading! > > > Is there a possibility or way to let the log files not to be compressed > and therefore the whole history available at ANY time, please? > Nagios does not compress rotated logfiles. If logfiles are compressed, something else is doing the compressing. In that case, you need to disable that (whatever it is) and undo the damage it has done. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Register now for Nordic Meet on Nagios, June 3-4 in Stockholm http://nordicmeetonnagios.op5.org/ Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should give some serious thought to declaring war on peace. ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jtugores at dome-consulting.com Mon May 4 14:48:27 2009 From: jtugores at dome-consulting.com (Joan Tugores) Date: Mon, 04 May 2009 14:48:27 +0200 Subject: Problems with NSCA Message-ID: <49FEE41B.4070804@dome-consulting.com> Hi, I'm Joan Tugores from spain. I have a little problem with nsca: When I run /usr/local/nagios/bin/nsca -c /usr/local/nagios/etc/nsca.cfg in /var/log/messages: Network server bind failure (98: Address already in use) but my port 5667 is open. And another problem in other machine, the daemon ups but when send a packet in /var/log/messages: Command file '/usr/local/nagios/var/rw/nagios.cmd' does not exist, attempting to use alternate dump file '/usr/local/nagios/var/rw/nsca.dump' for output but nagios.cmd exists and the permissions are good. Thanks and sorry for my english. ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From shadhin71 at gmail.com Mon May 4 17:09:41 2009 From: shadhin71 at gmail.com (shadih rahman) Date: Mon, 4 May 2009 11:09:41 -0400 Subject: Odd errors in nagios.log In-Reply-To: <48603ddb0904170803q2783e4dt8230d6d6071ce21d@mail.gmail.com> References: <49E6E9E5.4010900@antibodymx.net> <765d77c80904160232r17627d78j3da9aa9fce7fe15a@mail.gmail.com> <49E6FDD3.9080009@antibodymx.net> <48603ddb0904170803q2783e4dt8230d6d6071ce21d@mail.gmail.com> Message-ID: <6db4a4200905040809j511ad6b4qea769f699d51b9dc@mail.gmail.com> Martin, were you able to solve this problem by changing check_result_reaper value? I am also receiving the following error. Thansk [1241449457] Error: Unable to rename file '/var/log/nagios/nagios.debug' to '/var/log/nagios/nagios.debug.old': No such file or directory [sr2690 at xxxx]>ls -ld . drwxrwxr-x 6 nagios nagios 4096 May 4 11:07 . [sr2690 at xxxxx]>ls -l |grep nagios drwxrwxr-x 2 nagios nagios 4096 May 1 00:00 archives drwxrwxr-x 2 nagios nagios 4096 Oct 18 2008 cache -rw-rw-r-- 1 nagios nagios 842929 May 4 11:08 nagios.debug -rw-rw-r-- 1 nagios nagios 1000059 May 4 11:07 nagios.debug.old -rwxrwxr-x 1 nagios nagios 1753614 May 4 11:05 nagios.log -rwxrwxr-x 1 nagios nagios 0 Apr 27 14:52 ndo2db.debug -rwxrwxr-x 1 nagios nagios 0 May 4 11:00 ndomod.tmp srwxrwxr-x 1 nagios nagios 0 May 1 14:53 ndo.sock -rwxrwxr-x 1 nagios nagios 5566455 May 4 11:00 objects.cache -rwxrwxr-x 1 nagios nagios 5208995 Apr 9 10:04 objects.precache -rw------- 1 nagios nagios 8833834 May 4 11:00 retention.dat drwxrwxrwx 2 nagios nagios 4096 May 4 11:00 rw drwxrwxr-x 3 nagios nagios 4096 Oct 18 2008 spool -rw-rw-r-- 1 nagios nagios 8847207 May 4 11:08 status.dat On Fri, Apr 17, 2009 at 11:03 AM, Marc Ismael wrote: > > > On Thu, Apr 16, 2009 at 5:43 PM, Martin A. Brooks wrote: > >> Jim Avery wrote: >> > You don't have more than one instance of the Nagios daemon running do >> > you? Try stopping the Nagios daemon, make sure all instances of >> > nagios are stopped (using ps -ef | grep nagios), and kill any which >> > remain then start the Nagios daemon using /etc/init.d/nagios start . >> >> I looked for the before, and there's definitely only one nagios instance >> running. The problem persists across nagios restarts and reboots. >> >> Thanks >> >> -- >> Martin A. Brooks | http://www.antibodymx.net/ | Anti-spam & anti-virus >> Consultant | martin at antibodymx.net | filtering. Inoculate >> antibodymx.net | m: +447792493388 | your mail system. >> >> >> > try playing around with your check_result_reaper_* timings. I have a > feeling that your check results are already stale before the reaper gets a > chance to process them. > > tip: for a while, try setting max_check_result_file_age to 0 and see if > you'd still get these errors. if not, then its a timing misconfiguration. > > cheers, > Marc.I > > > > ------------------------------------------------------------------------------ > Stay on top of everything new and different, both inside and > around Java (TM) technology - register by April 22, and save > $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. > 300 plus technical and hands-on sessions. Register today. > Use priority code J9JMT32. http://p.sf.net/sfu/p > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Cordially, Shadhin Rahman -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Sascha.Runschke at gfkl.com Mon May 4 17:10:23 2009 From: Sascha.Runschke at gfkl.com (Sascha.Runschke at gfkl.com) Date: Mon, 4 May 2009 17:10:23 +0200 Subject: Antwort: Scheduling Active Checks In-Reply-To: <3984EFB7E4D5498B9B9FBEF556B89CEE@Because> References: <3984EFB7E4D5498B9B9FBEF556B89CEE@Because> Message-ID: > How does what schedule an active check to happen at a certain time. > And, better yet, how to check active checks 1 right after the > other...say for 5 active checks? Easy answer: you can't. If you want checks to happen at predefined times and in a predefined order - use passive checks. Regards Sascha GFKL Financial Services AG Vorstand: Dr. Peter J?nsch (Vors.), J?rgen Baltes, Dr. Tom Haverkamp Vorsitzender des Aufsichtsrats: Dr. Georg F. Thoma Sitz: Limbecker Platz 1, 45127 Essen, Amtsgericht Essen, HRB 13522 ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From john at andrunas.net Mon May 4 17:19:06 2009 From: john at andrunas.net (John Andrunas) Date: Mon, 4 May 2009 08:19:06 -0700 Subject: Only one notification on Warning Message-ID: <9c4cd14a0905040819t1b67bd51u81072266992fa855@mail.gmail.com> Is it reasonably possible to make Nagios only send one notification when a host or service hits a warning, but continue sending notifications based on the notification_interval directive when it is critical? -- John ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From doherty at crystal.harvard.edu Mon May 4 18:57:33 2009 From: doherty at crystal.harvard.edu (Peter Doherty) Date: Mon, 4 May 2009 12:57:33 -0400 Subject: Acknowledgement after escalation, sends email to the escalation email? Message-ID: <64616928-49E3-461F-9D7F-A254AD2EEC22@crystal.harvard.edu> Hi all, Okay, here's the problem. I set up nagios to send emails to our RT system for certain problems. For example: define serviceescalation{ host_name server service_description Uptime contact_groups admins,rt first_notification 3 last_notification 3 notification_interval 0 escalation_period 24x7 escalation_options c } This worked perfectly today, 'server' failed the 'Uptime' service check, and on the third notification, it went into the RT system. I logged into the Nagios web interface, and acknowledged the problem. Nagios then sent the acknowledgement email into RT, which opened a second ticket. That shouldn't happen. How do I disable Nagios from sending acknowledgement emails to the email that it escalated to. I know I could have unchecked the box to send email, but I'd rather for Nagios to ONLY do what I told it to do, which is to send out the escalation on the third notification, and not try and be smart and send acknowledgements to that address too. Thanks. --Peter ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Mon May 4 19:05:07 2009 From: jim at jimavery.me.uk (Jim Avery) Date: Mon, 4 May 2009 18:05:07 +0100 Subject: Only one notification on Warning In-Reply-To: <9c4cd14a0905040819t1b67bd51u81072266992fa855@mail.gmail.com> References: <9c4cd14a0905040819t1b67bd51u81072266992fa855@mail.gmail.com> Message-ID: <765d77c80905041005o2eb5f9d4g234bd6aa25c76302@mail.gmail.com> 2009/5/4 John Andrunas : > Is it reasonably possible to make Nagios only send one notification > when a host or service hits a warning, but continue sending > notifications based on the notification_interval directive when it is > critical? You can do this using service escalations (except the interval for ongoing critical notifications will be defined in your service escalation definition, not in the notification_interval directive of your service definition). See http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#serviceescalation (especially note the escalation_options directive) hth, Jim ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From service at shdawson.com Mon May 4 19:07:40 2009 From: service at shdawson.com (Stephen H. Dawson) Date: Mon, 4 May 2009 13:07:40 -0400 Subject: Antwort: Scheduling Active Checks In-Reply-To: References: <3984EFB7E4D5498B9B9FBEF556B89CEE@Because> Message-ID: <2EF4C349D81B49FD8783CCC8393A6C72@Because> Thanks, SHD -----Original Message----- From: Sascha.Runschke at gfkl.com [mailto:Sascha.Runschke at gfkl.com] Sent: Monday, May 04, 2009 11:10 EST To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Antwort: Scheduling Active Checks > How does what schedule an active check to happen at a certain time. > And, better yet, how to check active checks 1 right after the > other...say for 5 active checks? Easy answer: you can't. If you want checks to happen at predefined times and in a predefined order - use passive checks. Regards Sascha GFKL Financial Services AG Vorstand: Dr. Peter J?nsch (Vors.), J?rgen Baltes, Dr. Tom Haverkamp Vorsitzender des Aufsichtsrats: Dr. Georg F. Thoma Sitz: Limbecker Platz 1, 45127 Essen, Amtsgericht Essen, HRB 13522 ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Mon May 4 19:46:22 2009 From: marc at ena.com (Marc Powell) Date: Mon, 4 May 2009 12:46:22 -0500 Subject: Acknowledgement after escalation, sends email to the escalation email? In-Reply-To: <64616928-49E3-461F-9D7F-A254AD2EEC22@crystal.harvard.edu> References: <64616928-49E3-461F-9D7F-A254AD2EEC22@crystal.harvard.edu> Message-ID: <7B46BCB3-862C-421D-82BD-552538E93D0E@ena.com> On May 4, 2009, at 11:57 AM, Peter Doherty wrote: > Hi all, > > Okay, here's the problem. I set up nagios to send emails to our RT > system for certain problems. For example: [snip] > This worked perfectly today, 'server' failed the 'Uptime' service > check, and on the third notification, it went into the RT system. > I logged into the Nagios web interface, and acknowledged the problem. > Nagios then sent the acknowledgement email into RT, which opened a > second ticket. That shouldn't happen. For your use of the escalation... For other uses, that acknowledgment e-mail is quite desired... > How do I disable Nagios from sending > acknowledgement emails to the email that it escalated to. You can't. You can, however, filter out the $NOTIFICATIONTYPE$ of 'ACKNOWLEDGMENT' in the notification script you are calling for that contact. > I know I could have unchecked the box to send email, but I'd rather > for Nagios > to ONLY do what I told it to do, which is to send out the escalation > on the third notification, and not try and be smart and send > acknowledgements to that address too. And where did you tell nagios what notification types to send to the escalated contacts; that specifically restricted acknowledgements? Heh. It was told by the Nagios developer to send acknowledgment notifications to any contact that received a prior notification. This is very longstanding and generally desired behavior that currently trumps anything you think you've told nagios to do in that regard. ;) -- Marc ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From selliott at unwiredbb.com Mon May 4 20:17:31 2009 From: selliott at unwiredbb.com (Shon Elliott) Date: Mon, 4 May 2009 11:17:31 -0700 Subject: Bug or feature? Message-ID: <43BAB891D6D01742AFDEA3D62DCE9E5D2514CB@uwbb-cat2.unwiredbb.local> Hi everyone, When scheduling downtime, it asks to put in comments in the box and select the time and what not. When you click submit, and it submits it for processing, it puts all this data into the event log, but after it's processed, the host comment only lists: 05-04-2009 10:31:13 (Nagios Process) This host has been scheduled for fixed downtime from 05-04-2009 10:31:01 to 05-04-2009 12:31:01. Notifications for the host will not be sent out during that time period. 288 No Scheduled Downtime N/A Delete This Comment It doesn't say who issued it or why (as listed in the comments field). Is this normal behavior? If it is, can we get this added so it will also add this information to the host comments area so that when someone goes to look, it says who scheduled it and why? The way I have to find this information out now is by reading the event log. Regards, Shon Elliott Senior Network Engineer unWired Broadband, Inc. Office: (559) 261-4444 x 511 Cell: (559) 917-6480 ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lecb79 at gmail.com Mon May 4 20:55:02 2009 From: lecb79 at gmail.com (Eduardo Barreto) Date: Mon, 4 May 2009 15:55:02 -0300 Subject: Centreon Message-ID: Hi All, I'm looking for a solution to monitor Nagios with some resources just like Cacti, and I found Centreon, does anyone know about it, working with Nagios? Thanks in advance Eduardo Barreto -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From doherty at crystal.harvard.edu Mon May 4 20:54:05 2009 From: doherty at crystal.harvard.edu (Peter Doherty) Date: Mon, 4 May 2009 14:54:05 -0400 Subject: Acknowledgement after escalation, sends email to the escalation email? In-Reply-To: <7B46BCB3-862C-421D-82BD-552538E93D0E@ena.com> References: <64616928-49E3-461F-9D7F-A254AD2EEC22@crystal.harvard.edu> <7B46BCB3-862C-421D-82BD-552538E93D0E@ena.com> Message-ID: <78EBEF78-12FB-4134-9C8F-C55B5265E38B@crystal.harvard.edu> On May 4, 2009, at 1:46 PM, Marc Powell wrote: > > You can't. You can, however, filter out the $NOTIFICATIONTYPE$ of > 'ACKNOWLEDGMENT' in the notification script you are calling for that > contact. Could you provide me with more information on this? > And where did you tell nagios what notification types to send to the > escalated contacts; that specifically restricted acknowledgements? > Heh. It was told by the Nagios developer to send acknowledgment > notifications to any contact that received a prior notification. This > is very longstanding and generally desired behavior that currently > trumps anything you think you've told nagios to do in that regard. ;) I understand this. I just viewed it as I told nagios to send one notification at a specific point, so I was surprised when it started sending acknowledgement emails. So there isn't a specific option to disable acknowledgments? escalation_options c ^^ implies to me, that it will ONLY send escalation emails on critical status. I think there should be a field similar to this that allows enabling/disabling the acknowledgement email. Either way, whether you agree that this is something that should be easily user-configurable or not, can you tell me specifically how to stop this behavior? Cheers, --Peter ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From albrecht.dress at arcor.de Mon May 4 21:18:27 2009 From: albrecht.dress at arcor.de (Albrecht =?iso-8859-1?b?RHJl3w==?=) Date: Mon, 04 May 2009 21:18:27 +0200 Subject: Check Windows Updates question In-Reply-To: <7rhrv41rp6u9snjkknquig1s67i0hggnv2@4ax.com> (from jon@netdork.net on Sun May 3 18:43:00 2009) References: <24110508.1241351847485.JavaMail.ngmail@webmail12.arcor-online.net> <7rhrv41rp6u9snjkknquig1s67i0hggnv2@4ax.com> Message-ID: <1241464707.5191.2@antares> Hi Jonathan: Am 03.05.09 18:43 schrieb(en) Jon Angliss: > You could use the code above, and look for ones that have the > AutoSelectOnWebSites set to yes/true/1. This should give you the > same view as what you get on the website. Thank you so much - that indeed did the trick! It's now working perfectly for me (with the exception of an ugly display of German national characters, but that's not important). I already sent the modified version to the author, hopefully he will update his one on nagiosexchange. Thanks again. Albrecht. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Mon May 4 21:16:47 2009 From: marc at ena.com (Marc Powell) Date: Mon, 4 May 2009 14:16:47 -0500 Subject: Acknowledgement after escalation, sends email to the escalation email? In-Reply-To: <78EBEF78-12FB-4134-9C8F-C55B5265E38B@crystal.harvard.edu> References: <64616928-49E3-461F-9D7F-A254AD2EEC22@crystal.harvard.edu> <7B46BCB3-862C-421D-82BD-552538E93D0E@ena.com> <78EBEF78-12FB-4134-9C8F-C55B5265E38B@crystal.harvard.edu> Message-ID: On May 4, 2009, at 1:54 PM, Peter Doherty wrote: > > On May 4, 2009, at 1:46 PM, Marc Powell wrote: >> >> You can't. You can, however, filter out the $NOTIFICATIONTYPE$ of >> 'ACKNOWLEDGMENT' in the notification script you are calling for that >> contact. > > Could you provide me with more information on this? I presume that you are currently passing the $NOTIFACTIONTYPE$ macro to your notification script in it's command{} definition (see the command pointed to by that contact's service_notification_commands). I don't know if you've created a special notification script to handle the RT integration but that script should compare the value of the NOTIFICATIONTYPE parameter to the word 'ACKNOWLEDGMENT' and not send a notification to RT if it matches. If that notification command is simply calling /bin/mail or /bin/ mailx, you'll need to create a wrapper script to perform the test above before calling /bin/mail or /bin/mailx. That's about as specific as I can get. -- Marc ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stanislas.leveau at ac-caen.fr Mon May 4 21:20:17 2009 From: stanislas.leveau at ac-caen.fr (Leveau Stanislas) Date: Mon, 4 May 2009 21:20:17 +0200 Subject: Centreon In-Reply-To: References: Message-ID: <20090504212017.wephcaudyi8swssk@mel.ac-caen.fr> Hi This is a very good graphical interface to monitor nagios regards Stan > Hi All, > > I'm looking for a solution to monitor Nagios with some resources just like > Cacti, and I found Centreon, does anyone know about it, working with Nagios? > > > Thanks in advance > > Eduardo Barreto > ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nccomp at gmail.com Mon May 4 22:13:12 2009 From: nccomp at gmail.com (Andrew Davis) Date: Mon, 04 May 2009 16:13:12 -0400 Subject: check_disk and CD/DVD in Solaris Message-ID: <49FF4C58.3080201@gmail.com> I have check_disk setup to do monitor all local disks so that I don't have to make edits everytime I add a new filesystem or mount point. Unfortunately, on Solaris, mounted CD's and DVD's show as local volumes and as 100% full. Unfortunately, check_disk (the stock one) is not a simple shell script that I can edit to throw in a "grep -v cdrom" line. I'm curious how you guys are handling this? Do you define all your filesystems manually for Solaris hosts? Are you using an alternate test? Any suggestions would be much appreciated... BTW: please don't remind me of the joys of the open source community and how I can just edit the code. I'm a sysadmin with lots of perl and shell scripting experience, but no C experience so I'd be more inclined to do the work of manually defining all the filesystems to be monitored than I am to figure out how to edit the code. Of course, if one of you knows how to make the edit and wants to send over your .c file for me to compile, I wouldn't complain... :) -- A. Davis Email: nccomp at gmail.com "There is no limit to what a man can accomplish if he doesn't care who gets the credit." - Ronald Reagan -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rdmurray at bitdance.com Mon May 4 22:35:37 2009 From: rdmurray at bitdance.com (R. David Murray) Date: Mon, 4 May 2009 20:35:37 +0000 (UTC) Subject: check_proc -a works directly but fails through nrpe References: <57shv453flg0u1a0ngjit2b9q7eoqaejsv@4ax.com> <30hkv4tkd10nmsv5j7kutjcufms40pa6il@4ax.com> Message-ID: Jon Angliss wrote: > On Thu, 30 Apr 2009 10:12:40 +0000 (UTC), "R. David Murray" > wrote: > > >Jon Angliss wrote: > >> On Wed, 29 Apr 2009 22:03:46 +0000 (UTC), "R. David Murray" > >> wrote: > >> > >> >This is weird. If I do this: > >> > > >> > >sudo -u nagios /usr/local/libexec/nagios/check_procs -a "-L /var/sipenv-10.1.2.1/log/b2bua.log" -C python -c 1:1 > >> > PROCS OK: 1 process with args '-L /var/sipenv-10.1.2.1/log/b2bua.log', command name 'python' > >> > > >> >everything is fine, but if I do it remotely: > >> > > >> > >./check_nrpe -H 65.175.131.174 -c check_foo > >> > PROCS CRITICAL: 0 processes with args '-L /var/sipenv-10.1.2.1/log/b2bua.log', command name 'python' > >> > > >> >it can't find the process. It looks as though the string that check_cpu > >> >is looking at is truncated when and only when it is run under nrpe. > >> > > >> >Anyone have any clues, especially thoughts on a workaround? > >> > >> What's your definition for check_foo from the nrpe? You mentioned > >> check_procs in the first statement, check_foo in the command call, and > >> check_cpu in the explanation of truncation... which is right? ;) > > > >The nrpe.cfg definition of check_foo is: > > > >command[check_foo]=/usr/local/libexec/nagios/check_procs -a "-L /var/sipenv-10.1.2.1/log/b2bua.log" -C python -c 1:1 > > Looks the same. Double checked the user running nrpe is really > nagios? How about running "env -i" before testing the script locally > to see if there are any issues with environment being loaded when > executed remotely. With this: >sudo -u nagios env -i /usr/local/libexec/nagios/check_procs -a "-L /var/sipenv-10.1.2.1/log/b2bua.log" -C python -c 1:1 I get the same result: the process is found. As for the userid: >ps auxww | grep nrpe nagios 646 0.0 0.1 2568 1596 ?? Ss 4Feb09 6:49.40 /usr/local/sbin/nrpe2 -c /usr/local/etc/nrpe.cfg -d > >The mention of check_cpu should be replaced with check_procs, sorry for the typo. > > Figured that was what you meant ;) Thanks for responding. Any other thoughts? I'm stuck and am considering writing a python script to replace check_procs as a workaround. --David ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Mon May 4 22:53:07 2009 From: jim at jimavery.me.uk (Jim Avery) Date: Mon, 4 May 2009 21:53:07 +0100 Subject: Bug or feature? In-Reply-To: <43BAB891D6D01742AFDEA3D62DCE9E5D2514CB@uwbb-cat2.unwiredbb.local> References: <43BAB891D6D01742AFDEA3D62DCE9E5D2514CB@uwbb-cat2.unwiredbb.local> Message-ID: <765d77c80905041353q339a5fl4295e96f0c8d7578@mail.gmail.com> 2009/5/4 Shon Elliott : > Hi everyone, > > When scheduling downtime, it asks to put in comments in the box and > select the time and what not. When you click submit, and it submits it > for processing, it puts all this data into the event log, but after it's > processed, the host comment only lists: > > 05-04-2009 10:31:13 ? ? (Nagios Process) ? ? ? ?This host has been > scheduled for fixed downtime from 05-04-2009 10:31:01 to 05-04-2009 > 12:31:01. Notifications for the host will not be sent out during that > time period. ? ?288 ? ? No ? ? ?Scheduled Downtime ? ? ?N/A ? ? Delete > This Comment > > > It doesn't say who issued it or why (as listed in the comments field). > Is this normal behavior? If it is, can we get this added so it will also > add this information to the host comments area so that when someone goes > to look, it says who scheduled it and why? > > The way I have to find this information out now is by reading the event > log. It is normal behaviour, but you can see the information (and cancel scheduled downtime) in the 'Downtime' screen. Cheers, Jim ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Mon May 4 23:17:54 2009 From: jim at jimavery.me.uk (Jim Avery) Date: Mon, 4 May 2009 22:17:54 +0100 Subject: Acknowledgement after escalation, sends email to the escalation email? In-Reply-To: <765d77c80905041416g59136411yc410a884188812cb@mail.gmail.com> References: <64616928-49E3-461F-9D7F-A254AD2EEC22@crystal.harvard.edu> <765d77c80905041416g59136411yc410a884188812cb@mail.gmail.com> Message-ID: <765d77c80905041417l5d0c48a6p25aa5191cf3f3f01@mail.gmail.com> 2009/5/4 Peter Doherty : > Hi all, > > Okay, here's the problem. ?I set up nagios to send emails to our RT I believe you can control this mechanism best if you use an eventhandler. http://nagios.sourceforge.net/docs/3_0/eventhandlers.html and check what macros might be useful to you. There's a detailed section about integrating Nagios with ticketing systems in the book "Nagios 3 Enterprise Network Monitoring" ISBN 9781597492676 hth, Jim ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tore.lonoy at gmail.com Tue May 5 09:16:55 2009 From: tore.lonoy at gmail.com (=?ISO-8859-1?Q?Tore_L=F8n=F8y?=) Date: Tue, 5 May 2009 09:16:55 +0200 Subject: Problems with service dependency Message-ID: Hello, Having some issues getting service dependency to work, when doing a configuration check after modifying my settings, it never completes and seems to hang at "Checking for circular host and service dependencies..." This is my basic setup for dependency right now: define servicedependency { hostgroup_name Windows service_description NRPE Agent dependent_hostgroup_name Windows dependent_service_description CPU Usage,Disk Usage,Memory Usage,Remote Procedure Call Service execution_failure_criteria n notification_failure_criteria c,u } Does anyone spot any errors? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nttbroken at gmail.com Tue May 5 09:24:05 2009 From: nttbroken at gmail.com (ntt broken) Date: Tue, 5 May 2009 10:24:05 +0300 Subject: Few questions (monitoring time, specific service , event log). Message-ID: Nagios server: Red Hat Enterprise 4 Nagios version: 3.0.3 June 25, 2008 Monitoring: Windows Server 2003 machines. Windows client on Windows server 2003 machines: NSclient++ (version 0.3.5.2 2008-09-24, platform: w32) Some questions: 1. Time @ Nagios server & time @ Client (Windows server 2003) are the same and notify if there's difference between them. I don't know of any such plug-in that is capable of doing that, for example that it records the time on a remote server and send it to Nagios, then when Nagios receives it , than it should execute a script that would compare the received time value of remote server to its local time and send you the notification if those are different. 2. Monitor specific services (for example application's service) a) Get notifications if a service is not in started mode. b) Get notifications if there's CPU load above level given (this is related to a specific service and not to the general cpu load). I found out how to do this for the machine's CPU load (but not to a specific service). 3. Get notification if a specific message appeared in the windows server event log (warning and error). -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jerome.Meyer at baldata.ch Tue May 5 09:33:46 2009 From: Jerome.Meyer at baldata.ch (Meyer Jerome) Date: Tue, 5 May 2009 09:33:46 +0200 Subject: How to stop nagios properly? Message-ID: <46EEEA5FAED9CA479556002BA9C27FD705C59DC1@iw50.iwbnet.ch> Hi I used with RedHat "service nagios stop/start" to manage the nagios server but I'll see that the stop is not enough because one process is running : ps -ef|grep nagios root 16729 16670 0 09:21 pts/1 00:00:00 grep nagios nagios 27223 1 0 Apr24 ? 00:02:10 /usr/local/nagios/bin/nagios -d /etc/nagios/nagios.cfg Which command to use to stop nagios properly?? Thanks in advance J?r?me Meyer -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zarrelli at linux.it Tue May 5 10:07:44 2009 From: zarrelli at linux.it (zarrelli at linux.it) Date: Tue, 5 May 2009 10:07:44 +0200 (CEST) Subject: How to stop nagios properly? In-Reply-To: <46EEEA5FAED9CA479556002BA9C27FD705C59DC1@iw50.iwbnet.ch> References: <46EEEA5FAED9CA479556002BA9C27FD705C59DC1@iw50.iwbnet.ch> Message-ID: <5850.213.255.109.107.1241510864.squirrel@picard.linux.it> Hi, service nagios stop is the right way to stop it. Probably you have some issues with the mananager script. Paste here the output of service nagios stop and the output of sh -x /etc/init.d/nagios stop Giorgio > Hi > > > > I used with RedHat "service nagios stop/start" to manage the nagios server > but I'll see that the stop is not enough because one process is running : > > > > ps -ef|grep nagios > > root 16729 16670 0 09:21 pts/1 00:00:00 grep nagios > > nagios 27223 1 0 Apr24 ? 00:02:10 > /usr/local/nagios/bin/nagios -d /etc/nagios/nagios.cfg > > > > Which command to use to stop nagios properly?? > > > > > > > > Thanks in advance > > J?r?me Meyer > > ------------------------------------------------------------------------------ > The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your > production scanning environment may not be a perfect world - but thanks to > Kodak, there's a perfect scanner to get the job done! With the NEW KODAK > i700 > Series Scanner you'll get full speed at 300 dpi even with all image > processing features enabled. > http://p.sf.net/sfu/kodak-com_______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From NOC at eurofmc.com Tue May 5 10:14:01 2009 From: NOC at eurofmc.com (Network Operation Center FMC Luxemburg) Date: Tue, 05 May 2009 10:14:01 +0200 Subject: How to stop nagios properly? In-Reply-To: <46EEEA5FAED9CA479556002BA9C27FD705C59DC1@iw50.iwbnet.ch> References: <46EEEA5FAED9CA479556002BA9C27FD705C59DC1@iw50.iwbnet.ch> Message-ID: <49FFF549.9000106@eurofmc.com> Hi Jerome, See the script below . Is that we use in production: Fran?ois FMC Luxembourg SA Luxembourg -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- #!/bin/sh # # chkconfig: 345 99 01 # description: Nagios network monitor # # File : nagios # # Author : Jorge Sanchez Aymar (jsanchez at lanchile.cl) # # Changelog : # # 1999-07-09 Karl DeBisschop # - setup for autoconf # - add reload function # 1999-08-06 Ethan Galstad # - Added configuration info for use with RedHat's chkconfig tool # per Fran Boon's suggestion # 1999-08-13 Jim Popovitch # - added variable for nagios/var directory # - cd into nagios/var directory before creating tmp files on startup # 1999-08-16 Ethan Galstad # - Added test for rc.d directory as suggested by Karl DeBisschop # 2000-07-23 Karl DeBisschop # - Clean out redhat macros and other dependencies # 2003-01-11 Ethan Galstad # - Updated su syntax (Gary Miller) # # Description: Starts and stops the Nagios monitor # used to provide network services status. # status_nagios () { if test -x $NagiosCGI/daemonchk.cgi; then if $NagiosCGI/daemonchk.cgi -l $NagiosRunFile; then return 0 else return 1 fi else if ps -p $NagiosPID > /dev/null 2>&1; then return 0 else return 1 fi fi return 1 } printstatus_nagios() { if status_nagios $1 $2; then echo "nagios (pid $NagiosPID) is running..." else echo "nagios is not running" fi } killproc_nagios () { kill $2 $NagiosPID } pid_nagios () { if test ! -f $NagiosRunFile; then echo "No lock file found in $NagiosRunFile" exit 1 fi NagiosPID=`head -n 1 $NagiosRunFile` } # Source function library # Solaris doesn't have an rc.d directory, so do a test first if [ -f /etc/rc.d/init.d/functions ]; then . /etc/rc.d/init.d/functions elif [ -f /etc/init.d/functions ]; then . /etc/init.d/functions fi prefix=/usr/local/nagios exec_prefix=${prefix} NagiosBin=${exec_prefix}/bin/nagios NagiosCfgFile=/etc/nagios/nagios.cfg NagiosStatusFile=${prefix}/var/status.dat NagiosRetentionFile=${prefix}/var/retention.dat NagiosCommandFile=${prefix}/var/rw/nagios.cmd NagiosVarDir=${prefix}/var NagiosRunFile=${prefix}/var/nagios.lock NagiosLockDir=/var/lock/subsys NagiosLockFile=nagios NagiosCGIDir=${exec_prefix}/sbin NagiosUser=nagios NagiosGroup=nagios # Check that nagios exists. if [ ! -f $NagiosBin ]; then echo "Executable file $NagiosBin not found. Exiting." exit 1 fi # Check that nagios.cfg exists. if [ ! -f $NagiosCfgFile ]; then echo "Configuration file $NagiosCfgFile not found. Exiting." exit 1 fi # See how we were called. case "$1" in start) echo -n "Starting nagios:" $NagiosBin -v $NagiosCfgFile > /dev/null 2>&1; if [ $? -eq 0 ]; then su - $NagiosUser -c "touch $NagiosVarDir/nagios.log $NagiosRetentionFile" rm -f $NagiosCommandFile touch $NagiosRunFile chown $NagiosUser:$NagiosGroup $NagiosRunFile $NagiosBin -d $NagiosCfgFile if [ -d $NagiosLockDir ]; then touch $NagiosLockDir/$NagiosLockFile; fi echo " done." exit 0 else echo "CONFIG ERROR! Start aborted. Check your Nagios configuration." exit 1 fi ;; stop) echo -n "Stopping nagios: " pid_nagios killproc_nagios nagios # now we have to wait for nagios to exit and remove its # own NagiosRunFile, otherwise a following "start" could # happen, and then the exiting nagios will remove the # new NagiosRunFile, allowing multiple nagios daemons # to (sooner or later) run - John Sellens #echo -n 'Waiting for nagios to exit .' for i in 1 2 3 4 5 6 7 8 9 10 ; do if status_nagios > /dev/null; then echo -n '.' sleep 1 else break fi done if status_nagios > /dev/null; then echo '' echo 'Warning - nagios did not exit in a timely manner' else echo 'done.' fi rm -f $NagiosStatusFile $NagiosRunFile $NagiosLockDir/$NagiosLockFile $NagiosCommandFile ;; status) pid_nagios printstatus_nagios nagios ;; checkconfig) printf "Running configuration check..." $NagiosBin -v $NagiosCfgFile > /dev/null 2>&1; if [ $? -eq 0 ]; then echo " OK." else echo " CONFIG ERROR! Check your Nagios configuration." exit 1 fi ;; restart) printf "Running configuration check..." $NagiosBin -v $NagiosCfgFile > /dev/null 2>&1; if [ $? -eq 0 ]; then echo "done." $0 stop $0 start else echo " CONFIG ERROR! Restart aborted. Check your Nagios configuration." exit 1 fi ;; reload|force-reload) printf "Running configuration check..." $NagiosBin -v $NagiosCfgFile > /dev/null 2>&1; if [ $? -eq 0 ]; then echo "done." if test ! -f $NagiosRunFile; then $0 start else pid_nagios if status_nagios > /dev/null; then printf "Reloading nagios configuration..." killproc_nagios nagios -HUP echo "done" else $0 stop $0 start fi fi else echo " CONFIG ERROR! Reload aborted. Check your Nagios configuration." exit 1 fi ;; *) echo "Usage: nagios {start|stop|restart|reload|force-reload|status|checkconfig}" exit 1 ;; esac # End of this script -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Meyer Jerome wrote: > > Hi > > > > I used with RedHat "service nagios stop/start" to manage the nagios > server but I'll see that the stop is not enough because one process is > running : > > > > ps -ef|grep nagios > > root 16729 16670 0 09:21 pts/1 00:00:00 grep nagios > > nagios 27223 1 0 Apr24 ? 00:02:10 > /usr/local/nagios/bin/nagios -d /etc/nagios/nagios.cfg > > > > Which command to use to stop nagios properly?? > > > > > > > > Thanks in advance > > J?r?me Meyer > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your > production scanning environment may not be a perfect world - but thanks to > Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 > Series Scanner you'll get full speed at 300 dpi even with all image > processing features enabled. http://p.sf.net/sfu/kodak-com > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kmechri at gmail.com Tue May 5 10:50:37 2009 From: kmechri at gmail.com (kaouther mechri) Date: Tue, 5 May 2009 10:50:37 +0200 Subject: problem to execute some checks on remote hosts Message-ID: Hello All, In my archtecture I need to use check_by_ssh for remote checks. for some plugins like http://www.consol.com/opensource/nagios/check-logfiles and many others (not standards) when I execute these checks on remote hosts using check_by_ssh I have the following output : /usr/local/nagios/libexec/check_logfiles not found , It seems it need to have the script on the remote hosts. Do you have any idea how to solve this issue please? Many thanks Kaouther -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frank.bourdeau at dga.defense.gouv.fr Tue May 5 11:08:32 2009 From: frank.bourdeau at dga.defense.gouv.fr (frank.bourdeau at dga.defense.gouv.fr) Date: Tue, 5 May 2009 11:08:32 +0200 Subject: RE problem to execute some checks on remote hosts In-Reply-To: References: Message-ID: Hi, Have you installed the plugin on the remote hosts ? If no, install it and re-test your check ! Regards Frank [ENVOYE PAR INTERNET] kaouther mechri 05/05/2009 10:50 A Nagios-users at lists.sourceforge.net cc Objet [Nagios-users] problem to execute some checks on remote hosts Hello All, In my archtecture I need to use check_by_ssh for remote checks. for some plugins like http://www.consol.com/opensource/nagios/check-logfiles and many others (not standards) when I execute these checks on remote hosts using check_by_ssh I have the following output : /usr/local/nagios/libexec/check_logfiles not found , It seems it need to have the script on the remote hosts. Do you have any idea how to solve this issue please? Many thanks Kaouther ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From simon.kainz at tugraz.at Tue May 5 11:35:20 2009 From: simon.kainz at tugraz.at (Simon Kainz) Date: Tue, 05 May 2009 11:35:20 +0200 Subject: Maximum length of plugin output Message-ID: <4A000858.2040209@tugraz.at> Hi! Currently i struggle with the following: My plugins returns the line below, containing _lots_ of info and also perfdata. OK: BB Temp is 34C, Front Panel Temp is 25C, MCH Therm Margin is -32C, Mem Therm Margin is -14C, Fan 1A is at 3712 RPM, Fan 2A is at 3538 RPM, Fan 3A is at 3770 RPM, Fan 4A is at 3712 RPM, Fan 5A is at 4698 RPM, Fan 1B is at 7030 RPM, Fan 2B is at 7252 RPM, Fan 3B is at 7548 RPM, Fan 4B is at 7252 RPM, Fan 5B is at 6660 RPM, P1 Therm Margin is -47C, P2 Therm Margin is -53C|BB_Temp=34;;; Front_Panel_Temp=25;;; MCH_Therm_Margin=-32;;; Mem_Therm_Margin=-14;;; P1_Therm_Margin=-47;;; P2_Therm_Margin=-53;;; But in the logfiles I see that nagios cuts the plugin output after "Fan 5B is at". This leads to NO perfdata. So, what is the maximum length of plugin output Nagios is able to handle ? I did a quick search through my config files, but did not findy anything appropriate. Regards, -- DI Simon Kainz Graz, University of Technology Department Computing Phone: ++43 (0) 316 / 873 6885 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 260 bytes Desc: OpenPGP digital signature URL: -------------- next part -------------- ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mohandas.k at tcs.com Tue May 5 12:15:14 2009 From: mohandas.k at tcs.com (mohandas.k at tcs.com) Date: Tue, 5 May 2009 15:45:14 +0530 Subject: Nagios PNP4nagios reporting Message-ID: Hi All, I am using Nagios along with pnp4nagios/rrdtool for reporting/graph. I am able to view services dashboard for individual host. is it possible to view single graph for service/resource (i.e memory utilization) graph for all hosts/hostgroups ? as of now every host has single graph for their services.but I want to view one single specific performance (i.e. Memory utilization) graph for all hosts/hostgroups. I am currently using following versions Nagios 3.0.5 pnp4nagios 0.4.13 RRDtool 1.2.19 Mohandas Kudva K ASE Tata Consultancy Services Cell:- +91 9619144048 Mailto: mohandas.k at tcs.com Website: http://www.tcs.com ____________________________________________ Experience certainty. IT Services Business Solutions Outsourcing ____________________________________________ =====-----=====-----===== Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sri.lumpa at free.fr Tue May 5 12:34:42 2009 From: sri.lumpa at free.fr (MAD) Date: Tue, 5 May 2009 12:34:42 +0200 (CEST) Subject: problem to execute some checks on remote hosts In-Reply-To: References: Message-ID: <1890412926.5602881241519682505.JavaMail.root@zimbra16-e3.priv.proxad.net> Your problem is exactly what the output says : the script you want to execute was not found on your remote hosts, so you'll have to copy/install it on your remote hosts in order to execute your checks. Marc-Andr? ----- Mail Original ----- De: "kaouther mechri" ?: Nagios-users at lists.sourceforge.net Envoy?: Mardi 5 Mai 2009 10h50:37 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne Objet: [Nagios-users] problem to execute some checks on remote hosts Hello All, In my archtecture I need to use check_by_ssh for remote checks. for some plugins like http://www.consol.com/opensource/nagios/check- logfiles and many others (not standards) when I execute these checks on remote hosts using check_by_ssh I have the following output : /usr/local/nagios/libexec/check_logfiles not found , It seems it need to have the script on the remote hosts. Do you have any idea how to solve this issue please? Many thanks Kaouther ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jerome.Meyer at baldata.ch Tue May 5 14:00:34 2009 From: Jerome.Meyer at baldata.ch (Meyer Jerome) Date: Tue, 5 May 2009 14:00:34 +0200 Subject: How to stop nagios properly? In-Reply-To: <49FFF549.9000106@eurofmc.com> References: <46EEEA5FAED9CA479556002BA9C27FD705C59DC1@iw50.iwbnet.ch> <49FFF549.9000106@eurofmc.com> Message-ID: <46EEEA5FAED9CA479556002BA9C27FD705C59EDD@iw50.iwbnet.ch> Hi Francois It's very helpful... Merci beaucoup J?r?me Von: Network Operation Center FMC Luxemburg [mailto:NOC at eurofmc.com] Gesendet: Dienstag, 5. Mai 2009 10:14 An: Meyer Jerome Cc: Nagios-users at lists.sourceforge.net Betreff: Re: [Nagios-users] How to stop nagios properly? Hi Jerome, See the script below . Is that we use in production: Fran?ois FMC Luxembourg SA Luxembourg -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- #!/bin/sh # # chkconfig: 345 99 01 # description: Nagios network monitor # # File : nagios # # Author : Jorge Sanchez Aymar (jsanchez at lanchile.cl) # # Changelog : # # 1999-07-09 Karl DeBisschop # - setup for autoconf # - add reload function # 1999-08-06 Ethan Galstad # - Added configuration info for use with RedHat's chkconfig tool # per Fran Boon's suggestion # 1999-08-13 Jim Popovitch # - added variable for nagios/var directory # - cd into nagios/var directory before creating tmp files on startup # 1999-08-16 Ethan Galstad # - Added test for rc.d directory as suggested by Karl DeBisschop # 2000-07-23 Karl DeBisschop # - Clean out redhat macros and other dependencies # 2003-01-11 Ethan Galstad # - Updated su syntax (Gary Miller) # # Description: Starts and stops the Nagios monitor # used to provide network services status. # status_nagios () { if test -x $NagiosCGI/daemonchk.cgi; then if $NagiosCGI/daemonchk.cgi -l $NagiosRunFile; then return 0 else return 1 fi else if ps -p $NagiosPID > /dev/null 2>&1; then return 0 else return 1 fi fi return 1 } printstatus_nagios() { if status_nagios $1 $2; then echo "nagios (pid $NagiosPID) is running..." else echo "nagios is not running" fi } killproc_nagios () { kill $2 $NagiosPID } pid_nagios () { if test ! -f $NagiosRunFile; then echo "No lock file found in $NagiosRunFile" exit 1 fi NagiosPID=`head -n 1 $NagiosRunFile` } # Source function library # Solaris doesn't have an rc.d directory, so do a test first if [ -f /etc/rc.d/init.d/functions ]; then . /etc/rc.d/init.d/functions elif [ -f /etc/init.d/functions ]; then . /etc/init.d/functions fi prefix=/usr/local/nagios exec_prefix=${prefix} NagiosBin=${exec_prefix}/bin/nagios NagiosCfgFile=/etc/nagios/nagios.cfg NagiosStatusFile=${prefix}/var/status.dat NagiosRetentionFile=${prefix}/var/retention.dat NagiosCommandFile=${prefix}/var/rw/nagios.cmd NagiosVarDir=${prefix}/var NagiosRunFile=${prefix}/var/nagios.lock NagiosLockDir=/var/lock/subsys NagiosLockFile=nagios NagiosCGIDir=${exec_prefix}/sbin NagiosUser=nagios NagiosGroup=nagios # Check that nagios exists. if [ ! -f $NagiosBin ]; then echo "Executable file $NagiosBin not found. Exiting." exit 1 fi # Check that nagios.cfg exists. if [ ! -f $NagiosCfgFile ]; then echo "Configuration file $NagiosCfgFile not found. Exiting." exit 1 fi # See how we were called. case "$1" in start) echo -n "Starting nagios:" $NagiosBin -v $NagiosCfgFile > /dev/null 2>&1; if [ $? -eq 0 ]; then su - $NagiosUser -c "touch $NagiosVarDir/nagios.log $NagiosRetentionFile" rm -f $NagiosCommandFile touch $NagiosRunFile chown $NagiosUser:$NagiosGroup $NagiosRunFile $NagiosBin -d $NagiosCfgFile if [ -d $NagiosLockDir ]; then touch $NagiosLockDir/$NagiosLockFile; fi echo " done." exit 0 else echo "CONFIG ERROR! Start aborted. Check your Nagios configuration." exit 1 fi ;; stop) echo -n "Stopping nagios: " pid_nagios killproc_nagios nagios # now we have to wait for nagios to exit and remove its # own NagiosRunFile, otherwise a following "start" could # happen, and then the exiting nagios will remove the # new NagiosRunFile, allowing multiple nagios daemons # to (sooner or later) run - John Sellens #echo -n 'Waiting for nagios to exit .' for i in 1 2 3 4 5 6 7 8 9 10 ; do if status_nagios > /dev/null; then echo -n '.' sleep 1 else break fi done if status_nagios > /dev/null; then echo '' echo 'Warning - nagios did not exit in a timely manner' else echo 'done.' fi rm -f $NagiosStatusFile $NagiosRunFile $NagiosLockDir/$NagiosLockFile $NagiosCommandFile ;; status) pid_nagios printstatus_nagios nagios ;; checkconfig) printf "Running configuration check..." $NagiosBin -v $NagiosCfgFile > /dev/null 2>&1; if [ $? -eq 0 ]; then echo " OK." else echo " CONFIG ERROR! Check your Nagios configuration." exit 1 fi ;; restart) printf "Running configuration check..." $NagiosBin -v $NagiosCfgFile > /dev/null 2>&1; if [ $? -eq 0 ]; then echo "done." $0 stop $0 start else echo " CONFIG ERROR! Restart aborted. Check your Nagios configuration." exit 1 fi ;; reload|force-reload) printf "Running configuration check..." $NagiosBin -v $NagiosCfgFile > /dev/null 2>&1; if [ $? -eq 0 ]; then echo "done." if test ! -f $NagiosRunFile; then $0 start else pid_nagios if status_nagios > /dev/null; then printf "Reloading nagios configuration..." killproc_nagios nagios -HUP echo "done" else $0 stop $0 start fi fi else echo " CONFIG ERROR! Reload aborted. Check your Nagios configuration." exit 1 fi ;; *) echo "Usage: nagios {start|stop|restart|reload|force-reload|status|checkconfig}" exit 1 ;; esac # End of this script -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Meyer Jerome wrote: Hi I used with RedHat "service nagios stop/start" to manage the nagios server but I'll see that the stop is not enough because one process is running : ps -ef|grep nagios root 16729 16670 0 09:21 pts/1 00:00:00 grep nagios nagios 27223 1 0 Apr24 ? 00:02:10 /usr/local/nagios/bin/nagios -d /etc/nagios/nagios.cfg Which command to use to stop nagios properly?? Thanks in advance J?r?me Meyer ________________________________ ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ________________________________ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cristoir at gmail.com Tue May 5 15:54:30 2009 From: cristoir at gmail.com (Christopher McAtackney) Date: Tue, 5 May 2009 14:54:30 +0100 Subject: NRPE Arguments Message-ID: Hi all, I was wondering if someone could give a quick run-down of the security issues surrounding argument passing to NRPE? If my systems (including the monitoring server) are all going to be on a trusted, internal network, and if I configure my NRPE agents to only accept connections from my monitoring server, what other security precautions should I take when using argument passing? Cheers, Chris ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Tue May 5 15:55:42 2009 From: marc at ena.com (Marc Powell) Date: Tue, 5 May 2009 08:55:42 -0500 Subject: Maximum length of plugin output In-Reply-To: <4A000858.2040209@tugraz.at> References: <4A000858.2040209@tugraz.at> Message-ID: On May 5, 2009, at 4:35 AM, Simon Kainz wrote: > But in the logfiles I see that nagios cuts the plugin output after > "Fan > 5B is at". This leads to NO perfdata. So, what is the maximum length > of > plugin output Nagios is able to handle ? I'm going to guess that you're using nagios-2? [nagios-2-src/include]$ grep MAX_PLUGIN * objects.h:#define MAX_PLUGINOUTPUT_LENGTH 348 /* max. length of plugin output */ I expect that you can probably increase the value above within reasonable limits (say 1024 or less) and recompile with no detriment but YMMV. According to What's New for nagios-3, this has been increased to 4K along with support for multi-line plugin output. -- Marc ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Tue May 5 16:05:09 2009 From: jim at jimavery.me.uk (Jim Avery) Date: Tue, 5 May 2009 15:05:09 +0100 Subject: Few questions (monitoring time, specific service , event log). In-Reply-To: References: Message-ID: <765d77c80905050705i85b97f0k8b0c78954ad52946@mail.gmail.com> 2009/5/5 ntt broken : > > > 1. Time @ Nagios server & time @ Client (Windows server 2003) are the same > and notify if there's difference between them. > > I don't know of any such plug-in that is capable of doing that, for example > that it records the time on a remote server and send it to Nagios, then when > Nagios receives it , than it should execute a script that would > > compare the received time value of remote server to its local time and send > you the notification if those are different. Not too sure, but suggest you have a look in http://nagiosexchange.org and search there for "ntp". > 2. Monitor specific services (for example application's service) > > a) Get notifications if a service is not in started mode. NSClient++ does this very well. > b) Get notifications if there's CPU load above level given (this is related > to a specific service and not to the general cpu load). Again, I believe NSClient++ will do this for you. If not you can find a plugin on NagiosExchange which does and run it under NSClient++ > I found out how to do this for the machine's CPU load (but not to a specific > service). > 3. Get notification if a specific message appeared in the windows server > event log (warning and error). Again, use NSClient++ for this. http://nsclient.org/nscp/ If you need a kick-start to get it all working, I can recommend Wolfgang Barth's book "Nagios" published by No Starch Press. http://nostarch.com/nagios_2e.htm hth, Jim ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Tue May 5 16:15:13 2009 From: jim at jimavery.me.uk (Jim Avery) Date: Tue, 5 May 2009 15:15:13 +0100 Subject: Nagios PNP4nagios reporting In-Reply-To: References: Message-ID: <765d77c80905050715y4b959c3enfebfb6e21405647b@mail.gmail.com> 2009/5/5 : > > Hi All, > > I am using Nagios along with pnp4nagios/rrdtool for reporting/graph. > > I am able to view services dashboard for individual host. is it possible to > view single graph for service/resource (i.e memory utilization) graph for > all hosts/hostgroups ? > > as of now every host has single graph for their services.but I want to view > one single specific performance (i.e. Memory utilization) ?graph for all > hosts/hostgroups. > > ?I am currently using following versions > > Nagios 3.0.5 > pnp4nagios 0.4.13 > RRDtool 1.2.19 You can do that sort of thing using DRRAW ( http://web.taranis.org/drraw/ ) to make graphs from your existing PNP .rrd databases. hth, Jim ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nttbroken at gmail.com Tue May 5 16:51:11 2009 From: nttbroken at gmail.com (ntt broken) Date: Tue, 5 May 2009 17:51:11 +0300 Subject: =?utf-8?b?15HXoNeV16nXkDogIEZldyBxdWVzdGlvbnMgKG1v?= =?utf-8?q?nitoring_time=2C_specific_service_=2C_event_log=29=2E?= Message-ID: Hello Jim! Thank you for the quick reply. "NSClient++ does this very well." - Well, the question is how. Sorry but I am only familiar with basic NSClient++ configurations and didn't found documentation for more advanced features. For example let assume I want to monitor if Messenger service (from services.msc) is not started and get notification via mail. NSCA is configured in the Nagios linux server ? how I do the service related configuration in the NSclient++. Where I need to configure it? In the ini file? What is the syntax? Can you give an example for the line/code/configuration I need to add in the NSclient? Pls be more detailed (remember I am a noob). One more question ? So I need to update all my NSClients in all my monitored servers if I want the services mentioned to be monitored, right? I can't configure it in the Nagios linux server , right? Thanks for helping me with it. 2009/5/5, Jim Avery : > 2009/5/5 ntt broken : >> >> >> 1. Time @ Nagios server & time @ Client (Windows server 2003) are the >> same >> and notify if there's difference between them. >> >> I don't know of any such plug-in that is capable of doing that, for >> example >> that it records the time on a remote server and send it to Nagios, then >> when >> Nagios receives it , than it should execute a script that would >> >> compare the received time value of remote server to its local time and >> send >> you the notification if those are different. > > > Not too sure, but suggest you have a look in http://nagiosexchange.org > and search there for "ntp". > > >> 2. Monitor specific services (for example application's service) >> >> a) Get notifications if a service is not in started mode. > > NSClient++ does this very well. > >> b) Get notifications if there's CPU load above level given (this is >> related >> to a specific service and not to the general cpu load). > > Again, I believe NSClient++ will do this for you. If not you can find > a plugin on NagiosExchange which does and run it under NSClient++ > >> I found out how to do this for the machine's CPU load (but not to a >> specific >> service). > >> 3. Get notification if a specific message appeared in the windows server >> event log (warning and error). > > > Again, use NSClient++ for this. > > http://nsclient.org/nscp/ > > If you need a kick-start to get it all working, I can recommend > Wolfgang Barth's book "Nagios" published by No Starch Press. > http://nostarch.com/nagios_2e.htm > > hth, > > Jim > ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From shadhin71 at gmail.com Tue May 5 17:01:06 2009 From: shadhin71 at gmail.com (shadih rahman) Date: Tue, 5 May 2009 11:01:06 -0400 Subject: cricket ndo2db Message-ID: <6db4a4200905050801i1c9a56f4r7d67d222094a1059@mail.gmail.com> All, I am looking for a good way to show trending of performance data. I am keeping all service and host check data in ndo database. Are there any software out there which possible works with cricket ndo2db and nagios. As far as I understand NPC is for cacti only, however we have only cricket in our organization. Please advise on this. Thanks -- Cordially, Shadhin Rahman -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From craig at hooters-uk.com Tue May 5 17:12:32 2009 From: craig at hooters-uk.com (craig at hooters-uk.com) Date: Tue, 5 May 2009 16:12:32 +0100 Subject: nag2ast Message-ID: Hi All I'm about to venture into Asterisk so I can use nag2ask, but before I go and install Asterisk has anybody got nag2ask working with Trixbox at all, just seems a simpler router for us to use instead of trying to teach our guys Asterisk then can you Trixbox's GUI Thanks all Craig ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Tue May 5 18:06:41 2009 From: jim at jimavery.me.uk (Jim Avery) Date: Tue, 5 May 2009 17:06:41 +0100 Subject: =?utf-8?b?15HXoNeV16nXkDogIEZldyBxdWVzdGlvbnMgKG1v?= =?utf-8?q?nitoring_time=2C_specific_service_=2C_event_log=29=2E?= In-Reply-To: References: Message-ID: <765d77c80905050906n52fc816bqf5b10850454d2a42@mail.gmail.com> 2009/5/5 ntt broken : I refer you to my earlier email: >> If you need a kick-start to get it all working, I can recommend >> Wolfgang Barth's book "Nagios" published by No Starch Press. >> http://nostarch.com/nagios_2e.htm I do not have the time or inclination to teach people who are not prepared to learn for themselves. Cheers, Jim ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jbroughton at truecos.com Tue May 5 17:59:43 2009 From: jbroughton at truecos.com (Jayson Broughton) Date: Tue, 5 May 2009 09:59:43 -0600 Subject: =?windows-1255?b?4fDl+eA6ICBGZXcgcXVlc3Rpb25zICht?= =?windows-1255?q?onitoring_time=2C_specific_service_=2C_event_log?= =?windows-1255?b?KS4=?= In-Reply-To: References: Message-ID: <007f01c9cd9a$81572740$840575c0$@com> Ntt, Here's an example from my nagios server that is checking mail services on a windows server running nsclient++ /usr/local/nagios/etc/objects/commands.cfg # Check Windows Server Services define command{ command_name check_nt_service command_line /usr/local/nagios/libexec/check_nt -H $HOSTADDRESS$ -v SERVICESTATE -p 12489 -d $ARG1$ -l $ARG2$ -t 60 } This checks the service state of a specified service with a timeout of 60 seconds (I give a 60 second timeout because some of our windows servers are clear across the country and timeout have been an issue in the past) /usr/local/nagios/etc/objects/windows.cfg (We split up our servers, routers, printers into separate config files) define service{ use local-service host_name MAILSERVER (whatever your server name is) service_description Merak Mail POP3/IMAP Service check_command check_nt_service!SHOWALL!'Merak POP3 / IMAP' } For for information run: ./check_nt --help | more in your libexec on the server (wherever you put your nagios plugins) ~Jayson -----Original Message----- From: ntt broken [mailto:nttbroken at gmail.com] Sent: Tuesday, May 05, 2009 8:51 AM To: Jim Avery Cc: nagios-users at lists.sourceforge.net Subject: [Nagios-users] ?????: Few questions (monitoring time, specific service , event log). Hello Jim! Thank you for the quick reply. "NSClient++ does this very well." - Well, the question is how. Sorry but I am only familiar with basic NSClient++ configurations and didn't found documentation for more advanced features. For example let assume I want to monitor if Messenger service (from services.msc) is not started and get notification via mail. NSCA is configured in the Nagios linux server ? how I do the service related configuration in the NSclient++. Where I need to configure it? In the ini file? What is the syntax? Can you give an example for the line/code/configuration I need to add in the NSclient? Pls be more detailed (remember I am a noob). One more question ? So I need to update all my NSClients in all my monitored servers if I want the services mentioned to be monitored, right? I can't configure it in the Nagios linux server , right? Thanks for helping me with it. 2009/5/5, Jim Avery : > 2009/5/5 ntt broken : >> >> >> 1. Time @ Nagios server & time @ Client (Windows server 2003) are the >> same >> and notify if there's difference between them. >> >> I don't know of any such plug-in that is capable of doing that, for >> example >> that it records the time on a remote server and send it to Nagios, then >> when >> Nagios receives it , than it should execute a script that would >> >> compare the received time value of remote server to its local time and >> send >> you the notification if those are different. > > > Not too sure, but suggest you have a look in http://nagiosexchange.org > and search there for "ntp". > > >> 2. Monitor specific services (for example application's service) >> >> a) Get notifications if a service is not in started mode. > > NSClient++ does this very well. > >> b) Get notifications if there's CPU load above level given (this is >> related >> to a specific service and not to the general cpu load). > > Again, I believe NSClient++ will do this for you. If not you can find > a plugin on NagiosExchange which does and run it under NSClient++ > >> I found out how to do this for the machine's CPU load (but not to a >> specific >> service). > >> 3. Get notification if a specific message appeared in the windows server >> event log (warning and error). > > > Again, use NSClient++ for this. > > http://nsclient.org/nscp/ > > If you need a kick-start to get it all working, I can recommend > Wolfgang Barth's book "Nagios" published by No Starch Press. > http://nostarch.com/nagios_2e.htm > > hth, > > Jim > ---------------------------------------------------------------------------- -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null The information in this electronic mail message and any attached files is confidential and may be legally privileged. If you are not the intended recipient, delete this message and contact the sender immediately. Access to this message by anyone other than its intended recipient is unauthorized. You must not use or disseminate this information as it is proprietary property of the True companies. Communications on or through the True companies' computer systems may be monitored or recorded to secure effective system operation and for other lawful purposes. Thank you. ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From shadhin71 at gmail.com Tue May 5 18:25:54 2009 From: shadhin71 at gmail.com (shadih rahman) Date: Tue, 5 May 2009 12:25:54 -0400 Subject: nag2ast In-Reply-To: References: Message-ID: <6db4a4200905050925j27af4d61sc007aff898d3f103@mail.gmail.com> Did you find any English documentation on nag2ast? Please advise on this. Thanks On Tue, May 5, 2009 at 11:12 AM, craig at hooters-uk.com wrote: > Hi All I'm about to venture into Asterisk so I can use nag2ask, but before > I go and install > Asterisk has anybody got nag2ask working with Trixbox at all, just seems a > simpler router for us > to use instead of trying to teach our guys Asterisk then can you Trixbox's > GUI > > Thanks all > > Craig > > > > ------------------------------------------------------------------------------ > The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your > production scanning environment may not be a perfect world - but thanks to > Kodak, there's a perfect scanner to get the job done! With the NEW KODAK > i700 > Series Scanner you'll get full speed at 300 dpi even with all image > processing features enabled. http://p.sf.net/sfu/kodak-com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Cordially, Shadhin Rahman -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From eimamagi at srce.hr Tue May 5 19:07:58 2009 From: eimamagi at srce.hr (Emir Imamagic) Date: Tue, 05 May 2009 19:07:58 +0200 Subject: Multiple filters on cgis Message-ID: <4A00726E.7090804@srce.hr> Hello to all, I apologize in advance if this is a known issue, but I wasn't able to dig out answers via archive's search engine. Currently CGIs (version 3.x) enable filtering only based on a single entity: - host - hostgroup - servicegroup For example status.cgi?host=web.server&servicegroup=web_shop will take the last entity listed and show me all services in servicegroup web_shop on all hosts. In addition, I'm aware that it is possible to filter further with host/service status type and properties. Even for that dropdown box would be nicer than guessing what individual code means. Currently I solve this by creating servicegroups like "-" or "-" which allow me to get what I want on interface. Could someone confirm that mixing of these filters is impossible? Or if there is patch available for this feature? Or if something like this will be implemented in future? Thanks in advance, emir -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3283 bytes Desc: S/MIME Cryptographic Signature URL: -------------- next part -------------- ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kentang at berkeley.edu Tue May 5 19:28:55 2009 From: kentang at berkeley.edu (Ken Tang) Date: Tue, 05 May 2009 10:28:55 -0700 Subject: Hosts with dynamic IP addresses Message-ID: <4A007757.30502@berkeley.edu> I'd like to monitor a few user laptops in our environment. They use wireless so they often get dynamic IP addresses. Is there a way that Nagios can accept any connections, or, a range of addresses for a host? I don't have control of the DHCP server so I cannot assign a fixed IP address. ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From roberto.balestra at alice.it Tue May 5 20:09:35 2009 From: roberto.balestra at alice.it (Roberto Balestra) Date: Tue, 5 May 2009 20:09:35 +0200 Subject: Nagios Performance Message-ID: <8A3891628FB44140A55F89AD6D15E5CD@PCRoberto> Hi all, I have 10.000 check, 2300 host, 632 hostgroup 19xx host dependence, 7 contacs and 2 contactgroup (no escaltion at the moment). I sent alarm by email. Check is perl based for snmp query and ping. My server is 4 processor Xeon 2.8GHz (32bit), 3GB RAM 5 HD 36GB SCSI (2xRAID1 System+3xRAID5 /usr & /var). OS is Fedora Core 9. Nagios is 1.4.1 (it is old I know) with mysql for comment/downtime/hostext/serviceext/status. When I exec status.cgi (but is the same for any other cgi) it takes more than one minute. When I check my configuration it takes more than one minute (real time by command 'time /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg'). MySQL is ok (mysqltuner is all ok). Apache is OK (I have not more than 5 clients in a time) No error in log. More than 400MB/sec for transfer rate from disk (I have tried with ramdisk with nagios/etc but its the same). How can I improve my server's performance? Thks Roberto ************** (.)_(.) ************** Un amico ? uno che sa tutto di te e, nonostante questo, gli piaci (E. Hobbard) ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From srianirudh at gmail.com Tue May 5 21:05:49 2009 From: srianirudh at gmail.com (Anirudh Srinivasan) Date: Tue, 5 May 2009 15:05:49 -0400 Subject: plugins for clustered environment Message-ID: <699b436a0905051205h496fa398r6f13c86a0ec42c56@mail.gmail.com> Hello Friends, Is it possible to monitor a service i.e "exchange service" on the clustered environment instead of monitoring it individually on each clustered node. Currently "exchange services are being monitored individually on each clustered node. FYI : The server is a Windows clustered environment. Can i use check_cluster ?? If i am not wrong check_cluster works only for Linux cluster. Is that right?? Please advice me on what plugin to use to achieve this. Thanks -- Anirudh Srinivasan -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From roberto.balestra at alice.it Tue May 5 22:11:37 2009 From: roberto.balestra at alice.it (Roberto Balestra) Date: Tue, 5 May 2009 22:11:37 +0200 Subject: plugins for clustered environment In-Reply-To: <699b436a0905051205h496fa398r6f13c86a0ec42c56@mail.gmail.com> References: <699b436a0905051205h496fa398r6f13c86a0ec42c56@mail.gmail.com> Message-ID: ----- Original Message ----- From: Anirudh Srinivasan To: nagios-users at lists.sourceforge.net Sent: Tuesday, May 05, 2009 9:05 PM Subject: [Nagios-users] plugins for clustered environment Hello Friends, Is it possible to monitor a service i.e "exchange service" on the clustered environment instead of monitoring it individually on each clustered node. [CUT] Why don't you use check_tcp on tcp port for network service offered by exchange (smtp25/pop110)? Bye Roberto -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Tue May 5 22:27:26 2009 From: marc at ena.com (Marc Powell) Date: Tue, 5 May 2009 15:27:26 -0500 Subject: Nagios Performance In-Reply-To: <8A3891628FB44140A55F89AD6D15E5CD@PCRoberto> References: <8A3891628FB44140A55F89AD6D15E5CD@PCRoberto> Message-ID: On May 5, 2009, at 1:09 PM, Roberto Balestra wrote: > Hi all, > I have 10.000 check, 2300 host, 632 hostgroup 19xx host dependence, 7 > contacs and 2 contactgroup (no escaltion at the moment). > I sent alarm by email. Check is perl based for snmp query and ping. > My server is 4 processor Xeon 2.8GHz (32bit), 3GB RAM 5 HD 36GB SCSI > (2xRAID1 System+3xRAID5 /usr & /var). > OS is Fedora Core 9. Nagios is 1.4.1 (it is old I know) with mysql for > comment/downtime/hostext/serviceext/status. Similar configuration here (nagios instance kept around for historical reasons) -- -bash-2.05b$ time bin/nagios -v etc/nagios.cfg Nagios 1.3 Copyright (c) 1999-2004 Ethan Galstad (nagios at nagios.org) Last Modified: 11-17-2005 License: GPL Reading configuration data... Running pre-flight check on configuration data... Checking services... Checked 8538 services. Checking hosts... Checked 2784 hosts. Checking host groups... Checked 469 host groups. Checking contacts... Checked 16 contacts. Checking contact groups... Checked 13 contact groups. Checking service escalations... Checked 0 service escalations. Checking host group escalations... Checked 0 host group escalations. Checking service dependencies... Checked 0 service dependencies. Checking host escalations... Checked 0 host escalations. Checking host dependencies... Checked 0 host dependencies. Checking commands... Checked 154 commands. Checking time periods... Checked 5 time periods. Checking for circular paths between hosts... Checking for circular service execution dependencies... Checking global event handlers... Checking obsessive compulsive service processor command... Checking misc settings... Total Warnings: 0 Total Errors: 0 Things look okay - No serious problems were detected during the pre- flight check real 0m28.007s user 0m27.910s sys 0m0.040s > > > When I exec status.cgi (but is the same for any other cgi) it takes > more > than one minute. Well known issue with 1.x and large installations (at least it was well known when 1.x was widely used) > When I check my configuration it takes more than one minute > (real time by command 'time /usr/local/nagios/bin/nagios -v > /usr/local/nagios/etc/nagios.cfg') Probably the structures referenced below and parsing of the host dependencies would be my guess. > How can I improve my server's performance? Upgrade. It's the single best thing you can do. You're also unlikely to find significant resources for 1.x support here any more. I don't believe there are many left that used it, let alone remember it's specific idiosyncrasies. Some of the structures used in nagios-1.x were not optimized for large installations such as ours. nagios-2 included object lookup enhancing changes that would help with the status.cgi times (search for 'nagios chained hash patch'). That patch was originally written for 1.2 so you could probably apply it to 1.4 if you can find it and you can't upgrade. I saw significant improvements with the patch and again by moving to nagios-2. I may have still have the patch but I can't say for certain if I modified it from it's original form (it's dated 2003 ;) ). If you can't find it I can send it to you, unsupported and YMMV. nagios-3 offers further improvements for large installations. I can't vouch for it as I haven't moved to it yet but the enhancements look very positive. -- Marc ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From roberto.balestra at alice.it Tue May 5 23:04:45 2009 From: roberto.balestra at alice.it (Roberto Balestra) Date: Tue, 5 May 2009 23:04:45 +0200 Subject: Nagios Performance In-Reply-To: References: <8A3891628FB44140A55F89AD6D15E5CD@PCRoberto> Message-ID: <61757678558744919AC18D60FB280648@PCRoberto> ----- Original Message ----- From: "Marc Powell" To: "nagios-user Mailinglist" Sent: Tuesday, May 05, 2009 10:27 PM Subject: Re: [Nagios-users] Nagios Performance > Upgrade. It's the single best thing you can do. You're also unlikely > to find significant resources for 1.x support here any more. I don't > believe there are many left that used it, let alone remember it's > specific idiosyncrasies. I know. I'm testing nagios3 and I think it's good, but I have done many change to original source and I need these in the new version, so it takes a lot. > for 'nagios chained hash patch'). That patch was originally written > for 1.2 so you could probably apply it to 1.4 if you can find it and > you can't upgrade. I saw significant improvements with the patch and I'm looking for it. Thks Roberto ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From glowe at sbcglobal.net Wed May 6 01:19:27 2009 From: glowe at sbcglobal.net (Grant Lowe) Date: Tue, 5 May 2009 16:19:27 -0700 (PDT) Subject: Windows 64-bit In-Reply-To: <61757678558744919AC18D60FB280648@PCRoberto> References: <8A3891628FB44140A55F89AD6D15E5CD@PCRoberto> <61757678558744919AC18D60FB280648@PCRoberto> Message-ID: <780910.27879.qm@web81806.mail.mud.yahoo.com> Hi All, I've been trying to find out if there is a 64-bit version of Nagios for Windows 64. I've been looking at the internet and there isn't a lot of info about it. I'm asking because our local Windows admins say it won't run on the Windows 64-bit, running on AMD (HP if that matters). Any and all info is appreciated. ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From amontibello at gmail.com Wed May 6 02:29:03 2009 From: amontibello at gmail.com (Anthony Montibello) Date: Tue, 5 May 2009 20:29:03 -0400 Subject: =?utf-8?b?15HXoNeV16nXkDogRmV3IHF1ZXN0aW9ucyAobW9u?= =?utf-8?q?itoring_time=2C_specific_service_=2C_event_log=29=2E?= In-Reply-To: References: Message-ID: You can always try NC_Net. IT offers remote configuration via Check_nc_net (compatible replacement for check_nt) it also offers NSCA. However if you do not need Passive checks, Check_nt should be able to test services for the major Windows plugins. (NC_net, NSClient++,pNSClient, Opsys??) The Nagios v3 manual lays out the basics on configuring Nagios for use with check_nt. IF using Passive checks typically all involved Hosts need to be configured as well as the Nagios Server. When using check_nt you have access to several things without any aditional configuraiton on the Windows Host. NC_Net offers several more commands through check_nc_Net without any aditional configuration of the Windows Host. Tony (Autor of NC_net) On Tue, May 5, 2009 at 10:51 AM, ntt broken wrote: > Hello Jim! > Thank you for the quick reply. > > "NSClient++ does this very well." - Well, the question is how. > Sorry but I am only familiar with basic NSClient++ configurations and > didn't found documentation for more advanced features. > > For example let assume I want to monitor if Messenger service (from > services.msc) is not started and get notification via mail. > NSCA is configured in the Nagios linux server ? how I do the service > related configuration in the NSclient++. > Where I need to configure it? In the ini file? What is the syntax? Can > you give an example for the line/code/configuration I need to add in > the NSclient? Pls be more detailed (remember I am a noob). > > One more question ? > So I need to update all my NSClients in all my monitored servers if I > want the services mentioned to be monitored, right? > I can't configure it in the Nagios linux server , right? > > Thanks for helping me with it. > > > 2009/5/5, Jim Avery : > > 2009/5/5 ntt broken : > >> > >> > >> 1. Time @ Nagios server & time @ Client (Windows server 2003) are the > >> same > >> and notify if there's difference between them. > >> > >> I don't know of any such plug-in that is capable of doing that, for > >> example > >> that it records the time on a remote server and send it to Nagios, then > >> when > >> Nagios receives it , than it should execute a script that would > >> > >> compare the received time value of remote server to its local time and > >> send > >> you the notification if those are different. > > > > > > Not too sure, but suggest you have a look in http://nagiosexchange.org > > and search there for "ntp". > > > > > >> 2. Monitor specific services (for example application's service) > >> > >> a) Get notifications if a service is not in started mode. > > > > NSClient++ does this very well. > > > >> b) Get notifications if there's CPU load above level given (this is > >> related > >> to a specific service and not to the general cpu load). > > > > Again, I believe NSClient++ will do this for you. If not you can find > > a plugin on NagiosExchange which does and run it under NSClient++ > > > >> I found out how to do this for the machine's CPU load (but not to a > >> specific > >> service). > > > >> 3. Get notification if a specific message appeared in the windows server > >> event log (warning and error). > > > > > > Again, use NSClient++ for this. > > > > http://nsclient.org/nscp/ > > > > If you need a kick-start to get it all working, I can recommend > > Wolfgang Barth's book "Nagios" published by No Starch Press. > > http://nostarch.com/nagios_2e.htm > > > > hth, > > > > Jim > > > > > ------------------------------------------------------------------------------ > The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your > production scanning environment may not be a perfect world - but thanks to > Kodak, there's a perfect scanner to get the job done! With the NEW KODAK > i700 > Series Scanner you'll get full speed at 300 dpi even with all image > processing features enabled. http://p.sf.net/sfu/kodak-com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jon at netdork.net Wed May 6 02:24:08 2009 From: jon at netdork.net (Jon Angliss) Date: Tue, 05 May 2009 19:24:08 -0500 Subject: Windows 64-bit References: <8A3891628FB44140A55F89AD6D15E5CD@PCRoberto> <61757678558744919AC18D60FB280648@PCRoberto> <780910.27879.qm@web81806.mail.mud.yahoo.com> Message-ID: <30m10599kolm4b3boc6j2k6370a8m2hkb4@4ax.com> On Tue, 5 May 2009 16:19:27 -0700 (PDT), Grant Lowe wrote: > >Hi All, > >I've been trying to find out if there is a 64-bit version of Nagios for Windows 64. I've been looking at the internet and there isn't a lot of info about it. I'm asking because our local Windows admins say it won't run on the Windows 64-bit, running on AMD (HP if that matters). Any and all info is appreciated. I'm assuming you really mean something like nsclient++ to run on windows, and not nagios itself, which won't run on windows (unless you fancy running inside cygwin, and all that fun stuff). At least last time I checked anyway, I'm more than happy to be wrong. http://nsclient.org/nscp/ has a 64bit versions for monitoring your windows hosts. -- Jonathan Angliss ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jon at netdork.net Wed May 6 02:47:56 2009 From: jon at netdork.net (Jon Angliss) Date: Tue, 05 May 2009 19:47:56 -0500 Subject: plugins for clustered environment References: <699b436a0905051205h496fa398r6f13c86a0ec42c56@mail.gmail.com> Message-ID: On Tue, 5 May 2009 15:05:49 -0400, Anirudh Srinivasan wrote: >Hello Friends, > >Is it possible to monitor a service i.e "exchange service" on the clustered >environment instead of monitoring it individually on each clustered node. Sounds like you need to monitor the clustered IP instead of the individual IP addresses, and check for various services and their states there. The server will react, and respond accordingly because the cluster services will handle the requests. That being said, you'd probably still want something to monitor the cluster services themselves to see if there was a failure. >Currently "exchange services are being monitored individually on each >clustered node. >FYI : The server is a Windows clustered environment. > >Can i use check_cluster ?? > If i am not wrong check_cluster works only for Linux cluster. Is that >right?? Check cluster will take the results of several hosts/services and respond based on the thresholds defined. For example, if you have several web servers that form a web farm, each server is checked independantly. The check_cluster plugin takes the output of the service checks, and gives you back an OK, WARNING, CRITICAL based on your threshold. See: http://nagios.sourceforge.net/docs/2_0/clusters.html A similar example is provided there. >Please advice me on what plugin to use to achieve this. >Thanks -- Jonathan Angliss ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Wed May 6 08:50:43 2009 From: jim at jimavery.me.uk (Jim Avery) Date: Wed, 6 May 2009 07:50:43 +0100 Subject: Im confused about scheduled downtime and notifications In-Reply-To: <872CB0AEB377C240A112DD7C10B2592904B215B0@wtps0171.amers.ibechtel.com> References: <872CB0AEB377C240A112DD7C10B2592904B215B0@wtps0171.amers.ibechtel.com> Message-ID: <765d77c80905052350s52ddf805m700a33ae2bc1cb4e@mail.gmail.com> 2009/5/5 Frater, Greg J : > Hi All, > > We've just migrated from Nagios 1 to 3.0.6.? I have a host that was in > scheduled downtime and turned off.? I turned it back on, while still in > scheduled downtime, and got a HOST UP alert for it.? Is this expected > behavior?? Could I have a misconfiguration somewhere, where should I look? > Has anyone else seen this? I've occasionally seen notifications for hosts in scheduled downtime, but only in the few seconds after restarting the Nagios daemon. I don't think it's expected behaviour, no. I've not bothered to find a fix for it, as it happens only rarely and so long as I don't restart the daemon at three in the morning, it won't bother anyone. Cheers, Jim ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Wed May 6 09:00:22 2009 From: jim at jimavery.me.uk (Jim Avery) Date: Wed, 6 May 2009 08:00:22 +0100 Subject: Hosts with dynamic IP addresses In-Reply-To: <4A007757.30502@berkeley.edu> References: <4A007757.30502@berkeley.edu> Message-ID: <765d77c80905060000v61ce582btabdc38c9351304a8@mail.gmail.com> 2009/5/5 Ken Tang : > I'd like to monitor a few user laptops in our environment. ?They use > wireless so they often get dynamic IP addresses. ?Is there a way that > Nagios can accept any connections, or, a range of addresses for a host? > I don't have control of the DHCP server so I cannot assign a fixed IP > address. I would have the laptops send passive checks back to Nagios. You can use nsca if you have your own plugins or use NSClient++ which is also capable of sending results to Nagios via nsca. hth, Jim ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed May 6 09:12:09 2009 From: ae at op5.se (Andreas Ericsson) Date: Wed, 06 May 2009 09:12:09 +0200 Subject: Hosts with dynamic IP addresses In-Reply-To: <4A007757.30502@berkeley.edu> References: <4A007757.30502@berkeley.edu> Message-ID: <4A013849.2080805@op5.se> Ken Tang wrote: > I'd like to monitor a few user laptops in our environment. They use > wireless so they often get dynamic IP addresses. Is there a way that > Nagios can accept any connections, or, a range of addresses for a host? > I don't have control of the DHCP server so I cannot assign a fixed IP > address. > There is no way nagios can accept a range of ip-addresses for a host, since it wouldn't know which of the presumably multiple hosts in the range is responding to what. Since you don't have control over the DHCP server, following Jim Avery's advice and letting the laptops send passive check-results to your nagios server is definitely the best solution. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Register now for Nordic Meet on Nagios, June 3-4 in Stockholm http://nordicmeetonnagios.op5.org/ Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should give some serious thought to declaring war on peace. ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed May 6 09:24:31 2009 From: ae at op5.se (Andreas Ericsson) Date: Wed, 06 May 2009 09:24:31 +0200 Subject: Windows 64-bit In-Reply-To: <780910.27879.qm@web81806.mail.mud.yahoo.com> References: <8A3891628FB44140A55F89AD6D15E5CD@PCRoberto> <61757678558744919AC18D60FB280648@PCRoberto> <780910.27879.qm@web81806.mail.mud.yahoo.com> Message-ID: <4A013B2F.6060806@op5.se> Grant Lowe wrote: > Hi All, > > I've been trying to find out if there is a 64-bit version of Nagios > for Windows 64. I've been looking at the internet and there isn't a > lot of info about it. I'm asking because our local Windows admins > say it won't run on the Windows 64-bit, running on AMD (HP if that > matters). Any and all info is appreciated. > Nagios itself doesn't run on Windows at all. For an agent that runs just fine on 64-bit Windows, try downloading the NSClient++ installer from http://www.op5.com/support/downloads/agents/op5-nsclientpp HTH -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Register now for Nordic Meet on Nagios, June 3-4 in Stockholm http://nordicmeetonnagios.op5.org/ Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should give some serious thought to declaring war on peace. ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From divan.santana at gmail.com Wed May 6 09:30:27 2009 From: divan.santana at gmail.com (Divan Santana) Date: Wed, 6 May 2009 09:30:27 +0200 Subject: Only hard status on tactical display? In-Reply-To: <200905032101.57134.divan.santana@gmail.com> References: <200905032101.57134.divan.santana@gmail.com> Message-ID: <200905060930.34869.divan.santana@gmail.com> Hi again... Sorry to bother all but surely someone has wanted to get the tactical display to only show hard status' and not soft errors. Has anyone managed to get this to work? Thanks very much -- Divan Santana On Sunday 03 May 2009 21:01:53 Divan Santana wrote: > Hi All, > > Has anyone managed to figure out how to only show "hard" status' on the > tactical display screen? > > I hope so... otherwise I'd like to request this as a feature/wish list... To read FirstRand Bank's Disclaimer for this email click on the following address or copy into your Internet browser: https://www.fnb.co.za/disclaimer.html If you are unable to access the Disclaimer, send a blank e-mail to firstrandbankdisclaimer at fnb.co.za and we will send you a copy of the Disclaimer. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 197 bytes Desc: This is a digitally signed message part. URL: -------------- next part -------------- ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From craig at hooters-uk.com Wed May 6 10:25:27 2009 From: craig at hooters-uk.com (craig at hooters-uk.com) Date: Wed, 6 May 2009 09:25:27 +0100 Subject: nag2ast Message-ID: <38f40604ef63488db22f2db9637ae641.craig@hooters-uk.com> No I did not find any English documentation, further to that one of the links in the instructions no longer works. http://tcts.fpms.ac.be/synthesis/mbrola.html Does anybody else have any suggestions on how I can achieve Voice notification. Thanks Craig ------- Original Message ------- From : shadih rahman[mailto:shadhin71 at gmail.com] Sent : 05/05/2009 17:25:54 To : craig at hooters-uk.com Cc : nagios-users at lists.sourceforge.net Subject : RE: Re: [Nagios-users] nag2ast Did you find any English documentation on nag2ast?? Please advise on this.?? Thanks On Tue, May 5, 2009 at 11:12 AM, craig at hooters-uk.com wrote: Hi All I'm about to venture into Asterisk so I can use nag2ask, but before I go and install Asterisk has anybody got nag2ask working with Trixbox at all, just seems a simpler router for us to use instead of trying to teach our guys Asterisk then can you Trixbox's GUI Thanks all Craig ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Cordially, Shadhin Rahman ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alfonso.baldaserra at gmail.com Wed May 6 11:15:21 2009 From: alfonso.baldaserra at gmail.com (alfonso baldaserra) Date: Wed, 6 May 2009 14:45:21 +0530 Subject: monitoring critical servers - best practices In-Reply-To: <58B14DF1-4B35-42AC-99A3-10F1ED214E89@ena.com> References: <726d258e0904160502n4e1af2a2t4b4e58aafb58f0f9@mail.gmail.com> <58B14DF1-4B35-42AC-99A3-10F1ED214E89@ena.com> Message-ID: <726d258e0905060215l56ed0e28x65301827d1194ee9@mail.gmail.com> > max_check_attempts 2, notification_interval 10. Looks like you just > need to change check_interval. I use -- > > check_interval 5 > retry_interval 3 > max_check_attempts 3 > > > I have checked nagios archives for check_interval, retry_interval > > and max_check_attempts and as a result I got totally confused. > > > > Any help is much appreciated. > > > > P.S. I request nagios developers to either change these options to > > something more meaningful or provide some real life examples. > > Apparently there are many users which have been confused by these > > options as seen in archives. > > What would you suggest? The names seem obvious to me but I may be > jaded. The documentation is pretty clear on what they mean/do as well, > at least to me. > > Real life examples are provided in the sample config files (or used to > be). The documentation links that may help you are (some redundancy > between them) -- > > http://nagios.sourceforge.net/docs/3_0/statetypes.html > http://nagios.sourceforge.net/docs/3_0/activechecks.html > http://nagios.sourceforge.net/docs/3_0/servicechecks.html > http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#service > > And this one from the -2.0 docs that nicely explains much of the > scheduling... It's a little dated wrt host checks but for the most > part is a good read-- > > http://nagios.sourceforge.net/docs/2_0/checkscheduling.html > i had been waiting for people to share their experience monitoring mission critical systems but it seems there are not many people who do that. thank you marc for sharing the information. p.s. now i am counting on nagios developers to expand on this topic possibly by giving some real life examples. thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From subscription at kkeane.com Wed May 6 11:32:24 2009 From: subscription at kkeane.com (Kevin Keane) Date: Wed, 6 May 2009 02:32:24 -0700 Subject: Hosts with dynamic IP addresses In-Reply-To: <4A007757.30502@berkeley.edu> References: <4A007757.30502@berkeley.edu> Message-ID: <4A015928.3090408@kkeane.com> Does your network use dynamic DNS by any chance? If you do, you could use the laptop's DNS name rather than its IP address. You may also be able to use a script that enumerates all the machines in the network. On Windows, look into the commands "net view /Domain:xxxx" and nbtstat -c as some starting points (Samba also has similar commands) Ken Tang wrote: > I'd like to monitor a few user laptops in our environment. They use > wireless so they often get dynamic IP addresses. Is there a way that > Nagios can accept any connections, or, a range of addresses for a host? > I don't have control of the DHCP server so I cannot assign a fixed IP > address. > -- Kevin Keane Owner The NetTech Find the Uncommon: Expert Solutions for a Network You Never Have to Think About Office: 866-642-7116 http://www.4nettech.com This e-mail and attachments, if any, may contain confidential and/or proprietary information. Please be advised that the unauthorized use or disclosure of the information is strictly prohibited. The information herein is intended only for use by the intended recipient(s) named above. If you have received this transmission in error, please notify the sender immediately and permanently delete the e-mail and any copies, printouts or attachments thereof. ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Gabriel at impactteachers.com Wed May 6 11:35:48 2009 From: Gabriel at impactteachers.com (Gabriel - IP Guys) Date: Wed, 6 May 2009 10:35:48 +0100 Subject: Identical weird data returned by NRPE on eight different hosts? Message-ID: Dear All, I have the following configuration for my hosts, but for some reason, my hosts are all reporting the same data, even though I'm using NRPE. For example, swap data, is exactly the same for each host. I have included a link to a CFG file that I am using, can someone have a look, and make sure that I've not screwed anything up? :) Thank you http://pastebin.com/m7745ff63 --- Kind Regards, Mr Gabriel ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fferreira at osiatis.es Wed May 6 12:30:38 2009 From: fferreira at osiatis.es (Felipe Ferreira) Date: Wed, 06 May 2009 12:30:38 +0200 Subject: checking host alive or service ping check In-Reply-To: References: Message-ID: <4A0166CE.8050507@osiatis.es> Hello all, What is the difference between checking a host is alive with a check in the host template (check_command check-host-alive), witch I have defined as a PING. And creating a ping service applied to the host ? I did a test with both configurations, and didn't see a different behavior. The only big advantage I have with the Ping is the graphics witch I really need, so I am wondering if I could disable host-alive check, and make it depend on the ping service check? BTW I use centreon. cheers, www.felipeferreira.net ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Wed May 6 13:08:46 2009 From: jim at jimavery.me.uk (Jim Avery) Date: Wed, 6 May 2009 12:08:46 +0100 Subject: Only hard status on tactical display? In-Reply-To: <200905060930.34869.divan.santana@gmail.com> References: <200905032101.57134.divan.santana@gmail.com> <200905060930.34869.divan.santana@gmail.com> Message-ID: <765d77c80905060408mbbc9821p8d6b40eaae4de4fa@mail.gmail.com> 2009/5/6 Divan Santana : > Hi again... > > Sorry to bother all but surely someone has wanted to get the tactical display > to only show hard status' and not soft errors. Yes indeed! > Has anyone managed to get this to work? I haven't. Although the Nagios Checker plugin for Firefox can do this. http://code.google.com/p/nagioschecker/ Cheers, Jim ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bipinkdas at gmail.com Wed May 6 13:19:12 2009 From: bipinkdas at gmail.com (BipinDas-Gmail) Date: Wed, 6 May 2009 14:19:12 +0300 Subject: NDO Utils Error Support for the specified database server is either not yet supported Message-ID: <001701c9ce3c$7ec13280$7c439780$@com> Hello Everybody I have setup nagios for the Datacentre. Now I need to setup NDO for database logging. Setup everything according to the DOC. I got an error when I tried to start the daemon using ? /usr/local/nagios/bin/ndo2db-3x -c /usr/local/nagios/etc/ndo2db.cfg. ?Support for the specified database server is either not yet supported, or was not found on your system.? What went wrong ? I have followed the official NDO documentation. Thanks in advance Greetings .... BipinDas +966543680643 www.samadhanam.co.nr -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Wed May 6 13:25:32 2009 From: jim at jimavery.me.uk (Jim Avery) Date: Wed, 6 May 2009 12:25:32 +0100 Subject: checking host alive or service ping check In-Reply-To: <4A0166CE.8050507@osiatis.es> References: <4A0166CE.8050507@osiatis.es> Message-ID: <765d77c80905060425k4c1d2a78if8385c71325b9bc9@mail.gmail.com> 2009/5/6 Felipe Ferreira : > Hello all, > What is the difference between checking a host is alive with a check in > the host template (check_command check-host-alive), witch I have defined > as a PING. > And creating a ping service applied to the host ? I did a test with both > configurations, and didn't see a different behavior. > The only big advantage I have with the Ping is the graphics witch I > really need, so I am wondering if I could disable host-alive check, and > make it depend on the ping service check? BTW I use centreon. > > cheers, > www.felipeferreira.net Host checks (especially for routers, switches, and other network nodes) are important in determining reachability. See http://nagios.sourceforge.net/docs/3_0/networkreachability.html If you have no other active checks for that node, then I would normally recommend configuring ping as both host and service check, as it just makes it easier to see what's going on in the Nagios cgis. If you are already actively monitoring other services (for example FTP) on the host, then personally I wouldn't bother having ping as a service check too (I'd just use ping for the host check). You might want to use different parameters for the host check ping, for example if you want the host check to send more pings with a longer timeout than the service checks to make absolutely sure the host is really 'down'. On the other hand, you might want to make your host checks really simple and quick so that Nagios doesn't get bogged down doing host checks if you have a major network outage affecting a lot of hosts. hth, Jim ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Tom.Wouters at caz.be Wed May 6 14:13:56 2009 From: Tom.Wouters at caz.be (Tom Wouters) Date: Wed, 6 May 2009 14:13:56 +0200 Subject: escaping arguments - check_snmp_int.pl Message-ID: Hi everyone, I've hit a bit of a snag while trying to monitor the status of some switch ports. I'm using the check_snmp_int script from Patrick Proy, when i run /usr/lib/nagios/plugins/check_snmp_int.pl -H 10.2.0.111 -C public -n "5.(?:6|7)" -2 -k -M -w500,500 -c700,700 -B from the commandline (non-root user) it returns an OK status. yet when i configure the command, and pass the regexp as an argument it says it can't find the interface: Status Information:ERROR : Unknown interface 5.(?:6 Performance Data:7) Do i need to escape certain chars in the regexp, or does nagios run the command differently? some more info: command definition: check_snmp_int_v2 : $USER1$/check_snmp_int.pl -H $HOSTADDRESS$ -C $ARG3$ -2 -n $ARG1$ -B$ARG4$ $ARG2$ service definition: check_snmp_int_v2!"5.(?:6|7)"!-k -M -w500,500 -c700,700!public! the only difference i see is just the order in which the parameters are passed. Thanks, Tom -- Tom Wouters ICT AZ Salvator - St.Ursula Hasselt 0032 (0)11 289609 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed May 6 14:52:07 2009 From: marc at ena.com (Marc Powell) Date: Wed, 6 May 2009 07:52:07 -0500 Subject: checking host alive or service ping check In-Reply-To: <4A0166CE.8050507@osiatis.es> References: <4A0166CE.8050507@osiatis.es> Message-ID: <5F5D579C-5940-46A0-9239-7D8CDB3751BB@ena.com> On May 6, 2009, at 5:30 AM, Felipe Ferreira wrote: > Hello all, > What is the difference between checking a host is alive with a check > in > the host template (check_command check-host-alive), witch I have > defined > as a PING. > And creating a ping service applied to the host ? Host checks are necessary for determining status and reachability of network hosts (through parenting) as well as suppression of all SERVICE notifications on hosts that are down; a single HOST notification would go out instead. -- Marc ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed May 6 14:49:43 2009 From: marc at ena.com (Marc Powell) Date: Wed, 6 May 2009 07:49:43 -0500 Subject: Identical weird data returned by NRPE on eight different hosts? In-Reply-To: References: Message-ID: <85EA65F0-0DF2-428F-9761-5480A37D72ED@ena.com> On May 6, 2009, at 4:35 AM, Gabriel - IP Guys wrote: > Dear All, > > I have the following configuration for my hosts, but for some > reason, my > hosts are all reporting the same data, even though I'm using NRPE. For > example, swap data, is exactly the same for each host. I have > included a > link to a CFG file that I am using, can someone have a look, and make > sure that I've not screwed anything up? :) Thank you > > http://pastebin.com/m7745ff63 Do you mean the tests that aren't using NRPE like check_local_swap, check_local_load, check_local_procs and the like? Those aren't network aware tests. You need to copy them the remote machine and use NRPE to run them. -- Marc ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From srianirudh at gmail.com Wed May 6 15:04:11 2009 From: srianirudh at gmail.com (Anirudh Srinivasan) Date: Wed, 6 May 2009 09:04:11 -0400 Subject: plugins for clustered environment Message-ID: <699b436a0905060604s2eb32d29q2eb6a0add91f9ffc@mail.gmail.com> Why don't you use check_tcp on tcp port for network service offered by exchange (smtp25/pop110)? yes , i am using this right now. Currently the below service check is done on the clustered node individually . My question is , is it possible to put it on the clustered environment instead of individually ?? *check_service!"Microsoft Exchange Active Directory Topology Service, Microsoft Exchange Anti-spam Update, Microsoft Exchange EdgeSync, Microsoft Exchange File Distribution, Microsoft Exchange Information Store, Microsoft Exchange Mail Submission, Microsoft Exchange Mailbox Assistants, Microsoft Exchange Replication Service, Microsoft Exchange Search Indexer, Microsoft Exchange Service Host, Microsoft Exchange System Attendant, Microsoft Exchange Transport, Microsoft Exchange Transport Log Search" * -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jerome.Meyer at baldata.ch Wed May 6 15:23:27 2009 From: Jerome.Meyer at baldata.ch (Meyer Jerome) Date: Wed, 6 May 2009 15:23:27 +0200 Subject: check_icmp and check_host Message-ID: <46EEEA5FAED9CA479556002BA9C27FD705C5A242@iw50.iwbnet.ch> Hi I still have many questions about nagios J. Yeah, there're many documentations on the Web, but that is not always obvious to find what I seeks... 1) So, I've create a link for my check_host to check_icmp! But I want to known what do you think about that, is ok? Or is there a special plugins for check_host? 2) Some cgi files doesn't exist under /usr/local/nagios/sbin/ like: statusmap.cgi, trends.cgi and histogram.cgi! why and where could I find this files? 3) I want to have some graphs for by example the ! Has someone ideas where I can find documentation about that? It's easy to implement??? Thanks Regards jerome -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sri.lumpa at free.fr Wed May 6 15:47:54 2009 From: sri.lumpa at free.fr (MAD) Date: Wed, 6 May 2009 15:47:54 +0200 (CEST) Subject: check_icmp and check_host In-Reply-To: <1841198688.5878331241617503165.JavaMail.root@zimbra16-e3.priv.proxad.net> References: <1841198688.5878331241617503165.JavaMail.root@zimbra16-e3.priv.proxad.net> Message-ID: <1994044629.5879031241617674248.JavaMail.root@zimbra16-e3.priv.proxad.net> Hi Jerome Concerning your check_host, this can be anything you want. check_ping is generally used but for some hosts which run only apache server I'm using check_http. Linking check_icmp to check_host should be fine (I assume). If statusmap.cgi, trends.cgi and histogram.cgi don't exist, that means part of your installation failed. Try to compile again and make install and look for some error messages. if this doesn't change anything, try make install-cgis but this means you have an error somewhere during your configuration and/or compilation... You'll have a link to an availability graph for each service or host you will be supervising through the extended information page. Clic on the name of a service or host and then clic on the "availability report" link. Marc-Andr? ----- Mail Original ----- De: "Meyer Jerome" ?: Nagios-users at lists.sourceforge.net Envoy?: Mercredi 6 Mai 2009 15h23:27 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne Objet: [Nagios-users] check_icmp and check_host Hi I still have many questions about nagios J . Yeah, there?re many documentations on the Web, but that is not always obvious to find what I seeks? 1) So, I?ve create a link for my check_host to check_icmp! But I want to known what do you think about that, is ok? Or is there a special plugins for check_host? 2) Some cgi files doesn?t exist under /usr/local/nagios/sbin/ like: statusmap.cgi, trends.cgi and histogram.cgi! why and where could I find this files? 3) I want to have some graphs for by example the ! Has someone ideas where I can find documentation about that? It?s easy to implement??? Thanks Regards jerome ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From smcafee at collaborativefusion.com Wed May 6 15:58:11 2009 From: smcafee at collaborativefusion.com (Sean McAfee) Date: Wed, 06 May 2009 09:58:11 -0400 Subject: monitoring critical servers - best practices In-Reply-To: <726d258e0905060215l56ed0e28x65301827d1194ee9@mail.gmail.com> References: <726d258e0904160502n4e1af2a2t4b4e58aafb58f0f9@mail.gmail.com> <58B14DF1-4B35-42AC-99A3-10F1ED214E89@ena.com> <726d258e0905060215l56ed0e28x65301827d1194ee9@mail.gmail.com> Message-ID: <4A019773.7060903@collaborativefusion.com> alfonso baldaserra wrote: > i had been waiting for people to share their experience monitoring > mission critical systems but it seems there are not many people who do > that. I sure am, and I'd be willing to bet that a lot of people here are. You've got everything "right" in your configs. You likely missed alerts because of a queue backup, which is usually caused by trying to run too many checks. Every time a service check times out, the host is immediately checked. With a default value of 20 for max_concurrent_checks and typical timeout of 10 seconds for plugins, it could take 20 seconds for the first non-OK state during a server reboot. If there are multiple servers being rebooted, Nagios may never run enough checks while the servers are down. See http://nagios.sourceforge.net/docs/2_0/checkscheduling.html#problem_scheduling for more info. > p.s. now i am counting on nagios developers to expand on this topic > possibly by giving some real life examples. What do you mean by real-life examples? Generically, here's what I've done to make sure I'm promptly alerted when things go wrong: - three facilities with a custom master + slave setup that has each slave checking their own facility's private LAN as well as all publically accessible corporate resources (public SMTP, DNS, etc...) - customized self-promotion/self-demotion for the slaves if they lose contact with the master - direct SMS and fallback email-to-SMS and email-to-email alerting for critical hosts and services - sane configuration settings The last one makes the most difference. Because of the possibility for queue delays, you can't check everything all of the time. Individual services are what's critical, not the hosts or everything they run. If you have a "critical" machine that serves up a webapp, run check_http every minute, but there's no need to do the same check_ssh or check_ntp. -- Sean McAfee System Engineer ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed May 6 16:07:34 2009 From: marc at ena.com (Marc Powell) Date: Wed, 6 May 2009 09:07:34 -0500 Subject: check_icmp and check_host In-Reply-To: <46EEEA5FAED9CA479556002BA9C27FD705C5A242@iw50.iwbnet.ch> References: <46EEEA5FAED9CA479556002BA9C27FD705C5A242@iw50.iwbnet.ch> Message-ID: <8EC99D79-E852-4B41-8C17-EAC4CF8E8628@ena.com> On May 6, 2009, at 8:23 AM, Meyer Jerome wrote: > > Hi > > I still have many questions about nagios J. > Yeah, there?re many documentations on the Web, but that is not > always obvious to find what I seeks? > > 1) So, I?ve create a link for my check_host to check_icmp! But I > want to known what do you think about that, is ok? Or is there a > special plugins for check_host? You don't need a special plugin. Anything that will return a non-OK state when the host is down is fine. A ping/icmp check is most common for this purpose and check_icmp will work fine. > 2) Some cgi files doesn?t exist under /usr/local/nagios/sbin/ like: > statusmap.cgi, trends.cgi and histogram.cgi! why and where could I > find this files? This is in the FAQ. The GD libs are not installed or were not found at compile time. The output of ./configure will likely contain references to this as well. > 3) I want to have some graphs for by example the ! > Has someone ideas where I can find documentation about that? It?s > easy to implement??? Nagios has integrated availability reporting via the Availability menu option(s) though I wouldn't necessarily call it a graph. I think what you're looking for is the histogram mentioned above... -- Marc ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sri.lumpa at free.fr Wed May 6 16:13:40 2009 From: sri.lumpa at free.fr (MAD) Date: Wed, 6 May 2009 16:13:40 +0200 (CEST) Subject: check_icmp and check_host In-Reply-To: <46EEEA5FAED9CA479556002BA9C27FD705C5A242@iw50.iwbnet.ch> References: <46EEEA5FAED9CA479556002BA9C27FD705C5A242@iw50.iwbnet.ch> Message-ID: <1102716073.5885421241619220828.JavaMail.root@zimbra16-e3.priv.proxad.net> Sorry, just realizing.... The reason you don't have statusmap.cgi, trends.cgi and histogram.cgi is may be becaus you don't have one of the graphic library installed on your server. Check if you have libjpeg-devel, libgd-devel and libpng-devel installed on your server (if your running under Debian, it should be libjpeg62-dev, libpng12-dev and libgd2-xpm-dev or libgd2-noxpm-dev). Marc-Andr? ----- Mail Original ----- De: "Meyer Jerome" ?: Nagios-users at lists.sourceforge.net Envoy?: Mercredi 6 Mai 2009 15h23:27 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne Objet: [Nagios-users] check_icmp and check_host Hi I still have many questions about nagios J . Yeah, there?re many documentations on the Web, but that is not always obvious to find what I seeks? 1) So, I?ve create a link for my check_host to check_icmp! But I want to known what do you think about that, is ok? Or is there a special plugins for check_host? 2) Some cgi files doesn?t exist under /usr/local/nagios/sbin/ like: statusmap.cgi, trends.cgi and histogram.cgi! why and where could I find this files? 3) I want to have some graphs for by example the ! Has someone ideas where I can find documentation about that? It?s easy to implement??? Thanks Regards jerome ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jerome.Meyer at baldata.ch Wed May 6 16:26:43 2009 From: Jerome.Meyer at baldata.ch (Meyer Jerome) Date: Wed, 6 May 2009 16:26:43 +0200 Subject: check_icmp and check_host In-Reply-To: <1102716073.5885421241619220828.JavaMail.root@zimbra16-e3.priv.proxad.net> References: <46EEEA5FAED9CA479556002BA9C27FD705C5A242@iw50.iwbnet.ch> <1102716073.5885421241619220828.JavaMail.root@zimbra16-e3.priv.proxad.net> Message-ID: <46EEEA5FAED9CA479556002BA9C27FD705C5A2A3@iw50.iwbnet.ch> Hi Marc-Andr? Thanks for your answers! Here are the installed librairies on my RedHat Server : # rpm -qa|grep libjpeg libjpeg-6b-37 libjpeg-6b-37 # rpm -qa|grep libpng libpng-1.2.10-7.1.el5_3.2 libpng-1.2.10-7.1.el5_3.2 # rpm -qa|grep gd gd-2.0.33-9.4.el5_1.1 Is Ok?? And here're the procedure : ==================================================== ./configure --with-gd-lib=/usr/lib --with-gd-inc=/usr/include --enable-embedded-perl --with-perlcache --prefix=/usr/local/nagios --sysconfdir=/etc/nagios --localstatedir=/var/nagios --with-nagios-user=nagios --with-nagios-group=/nagios --with-command-group=/nagcmd make install-init make install-commandmode make install-config ==================================================== Ok, On the left side, there is a column with reporting and availability. Then I must to selected Hosts,services, etc... then "create availability report" the results appears in a table with all the value in % but without graphs???? jerome > -----Urspr?ngliche Nachricht----- > Von: MAD [mailto:sri.lumpa at free.fr] > Gesendet: Mittwoch, 6. Mai 2009 16:14 > An: Meyer Jerome > Cc: Nagios-users at lists.sourceforge.net > Betreff: Re: [Nagios-users] check_icmp and check_host > > Sorry, just realizing.... The reason you don't have statusmap.cgi, trends.cgi > and histogram.cgi is may be becaus you don't have one of the graphic library > installed on your server. Check if you have libjpeg-devel, libgd-devel and > libpng-devel installed on your server (if your running under Debian, it > should be libjpeg62-dev, libpng12-dev and libgd2-xpm-dev or libgd2-noxpm- > dev). > > Marc-Andr? > > ----- Mail Original ----- > De: "Meyer Jerome" > ?: Nagios-users at lists.sourceforge.net > Envoy?: Mercredi 6 Mai 2009 15h23:27 GMT +01:00 Amsterdam / Berlin / Berne / > Rome / Stockholm / Vienne > Objet: [Nagios-users] check_icmp and check_host > > > > > > > > Hi > > > > I still have many questions about nagios J . > > Yeah, there?re many documentations on the Web, but that is not always obvious > to find what I seeks? > > > > 1) So, I?ve create a link for my check_host to check_icmp! But I want to > known what do you think about that, is ok? Or is there a special plugins for > check_host? > > 2) Some cgi files doesn?t exist under /usr/local/nagios/sbin/ like: > statusmap.cgi, trends.cgi and histogram.cgi! why and where could I find this > files? > > 3) I want to have some graphs for by example the ! Has someone > ideas where I can find documentation about that? It?s easy to implement??? > > > > Thanks > > > > Regards > > jerome > ----------------------------------------------------------------------------- > - > The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your > production scanning environment may not be a perfect world - but thanks to > Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 > Series Scanner you'll get full speed at 300 dpi even with all image > processing features enabled. http://p.sf.net/sfu/kodak-com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed May 6 16:29:44 2009 From: ae at op5.se (Andreas Ericsson) Date: Wed, 06 May 2009 16:29:44 +0200 Subject: check_icmp and check_host In-Reply-To: <46EEEA5FAED9CA479556002BA9C27FD705C5A242@iw50.iwbnet.ch> References: <46EEEA5FAED9CA479556002BA9C27FD705C5A242@iw50.iwbnet.ch> Message-ID: <4A019ED8.3030608@op5.se> Meyer Jerome wrote: > > > Hi > > > > I still have many questions about nagios J. > > Yeah, there're many documentations on the Web, but that is not always > obvious to find what I seeks... > > > > 1) So, I've create a link for my check_host to check_icmp! But I want > to known what do you think about that, is ok? Or is there a special > plugins for check_host? > Linking check_icmp to check_host is, generally, a Good Thing(tm). I assume we're talking filesystem links here btw. This is so because check_icmp does some special magic if it's called by the name check_host which can tremendously speed things up when services go haywire but the host is still up and running just fine. > 2) Some cgi files doesn't exist under /usr/local/nagios/sbin/ like: > statusmap.cgi, trends.cgi and histogram.cgi! why and where could I find > this files? > make install-cgis should build and install the cgi's for you. > 3) I want to have some graphs for by example the ! Has > someone ideas where I can find documentation about that? It's easy to > implement??? > It's far from easy to implement, and especially so if you want to get all the corner-cases right. Fortunately though, there are solutions ready-made for this, although I don't know how most of them work. There's one at http://www.op5.org (check under code library, I think) that's a bit of a challenge to set up unless you're using RPM-based system, but it's just pure awesome when it's actually up and running. HTH -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Register now for Nordic Meet on Nagios, June 3-4 in Stockholm http://nordicmeetonnagios.op5.org/ Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should give some serious thought to declaring war on peace. ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jerome.Meyer at baldata.ch Wed May 6 16:30:46 2009 From: Jerome.Meyer at baldata.ch (Meyer Jerome) Date: Wed, 6 May 2009 16:30:46 +0200 Subject: check_icmp and check_host In-Reply-To: <8EC99D79-E852-4B41-8C17-EAC4CF8E8628@ena.com> References: <46EEEA5FAED9CA479556002BA9C27FD705C5A242@iw50.iwbnet.ch> <8EC99D79-E852-4B41-8C17-EAC4CF8E8628@ena.com> Message-ID: <46EEEA5FAED9CA479556002BA9C27FD705C5A2A9@iw50.iwbnet.ch> Thanks for your help! > > > > Hi > > > > I still have many questions about nagios J. > > Yeah, there're many documentations on the Web, but that is not > > always obvious to find what I seeks... > > > > 1) So, I've create a link for my check_host to check_icmp! But I > > want to known what do you think about that, is ok? Or is there a > > special plugins for check_host? > > You don't need a special plugin. Anything that will return a non-OK > state when the host is down is fine. A ping/icmp check is most common > for this purpose and check_icmp will work fine. > > > 2) Some cgi files doesn't exist under /usr/local/nagios/sbin/ like: > > statusmap.cgi, trends.cgi and histogram.cgi! why and where could I > > find this files? > > This is in the FAQ. The GD libs are not installed or were not found at > compile time. The output of ./configure will likely contain references > to this as well. I've installed somes packages : # rpm -qa|grep libjpeg libjpeg-6b-37 libjpeg-6b-37 # rpm -qa|grep libpng libpng-1.2.10-7.1.el5_3.2 libpng-1.2.10-7.1.el5_3.2 # rpm -qa|grep gd gd-2.0.33-9.4.el5_1.1 > > > 3) I want to have some graphs for by example the ! > > Has someone ideas where I can find documentation about that? It's > > easy to implement??? > > Nagios has integrated availability reporting via the Availability menu > option(s) though I wouldn't necessarily call it a graph. I think what > you're looking for is the histogram mentioned above... Do you means that the graphs will be on the "Alert Histogram" reports?? Jerome > > -- > Marc > > > ------------------------------------------------------------------------ ----- > - > The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your > production scanning environment may not be a perfect world - but thanks to > Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 > Series Scanner you'll get full speed at 300 dpi even with all image > processing features enabled. http://p.sf.net/sfu/kodak-com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jmoseley at corp.xanadoo.com Wed May 6 16:44:57 2009 From: jmoseley at corp.xanadoo.com (jmoseley at corp.xanadoo.com) Date: Wed, 6 May 2009 09:44:57 -0500 Subject: check_icmp and check_host In-Reply-To: <46EEEA5FAED9CA479556002BA9C27FD705C5A2A3@iw50.iwbnet.ch> References: <46EEEA5FAED9CA479556002BA9C27FD705C5A2A3@iw50.iwbnet.ch> Message-ID: As per Marc, you need the 'devel' packages installed as well. Did you install Nagios via RPM or compile from source? If the latter, I would suggest you install Nagios from RH's yum repository, thay way, all the library dependencies will be installed as well. James Moseley "Meyer Jerome" wrote: Hi Marc-Andr? Thanks for your answers! Here are the installed librairies on my RedHat Server : # rpm -qa|grep libjpeg libjpeg-6b-37 libjpeg-6b-37 # rpm -qa|grep libpng libpng-1.2.10-7.1.el5_3.2 libpng-1.2.10-7.1.el5_3.2 # rpm -qa|grep gd gd-2.0.33-9.4.el5_1.1 ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jerome.Meyer at baldata.ch Wed May 6 16:50:15 2009 From: Jerome.Meyer at baldata.ch (Meyer Jerome) Date: Wed, 6 May 2009 16:50:15 +0200 Subject: check_icmp and check_host In-Reply-To: <4A019ED8.3030608@op5.se> References: <46EEEA5FAED9CA479556002BA9C27FD705C5A242@iw50.iwbnet.ch> <4A019ED8.3030608@op5.se> Message-ID: <46EEEA5FAED9CA479556002BA9C27FD705C5A2BA@iw50.iwbnet.ch> Hi > > Meyer Jerome wrote: > > > > > > Hi > > > > > > > > I still have many questions about nagios J. > > > > Yeah, there're many documentations on the Web, but that is not always > > obvious to find what I seeks... > > > > > > > > 1) So, I've create a link for my check_host to check_icmp! But I want > > to known what do you think about that, is ok? Or is there a special > > plugins for check_host? > > > > Linking check_icmp to check_host is, generally, a Good Thing(tm). I > assume we're talking filesystem links here btw. This is so because > check_icmp does some special magic if it's called by the name > check_host which can tremendously speed things up when services go > haywire but the host is still up and running just fine. Yes, it's a filesystem links! > > > 2) Some cgi files doesn't exist under /usr/local/nagios/sbin/ like: > > statusmap.cgi, trends.cgi and histogram.cgi! why and where could I find > > this files? > > > > make install-cgis So, that's was my way : ./configure --with-gd-lib=/usr/lib --with-gd-inc=/usr/include --enable-embedded-perl --with-perlcache --prefix=/usr/local/nagios --sysconfdir=/etc/nagios --localstatedir=/var/nagios --with-nagios-user=nagios --with-nagios-group=/nagios --with-command-group=/nagcmd make install-init make install-commandmode make install-config Could I just make install-cgi now, it's not to late???? > > should build and install the cgi's for you. > > > 3) I want to have some graphs for by example the ! Has > > someone ideas where I can find documentation about that? It's easy to > > implement??? > > > > It's far from easy to implement, and especially so if you want to get > all the corner-cases right. Fortunately though, there are solutions > ready-made for this, although I don't know how most of them work. > > There's one at http://www.op5.org (check under code library, I think) > that's a bit of a challenge to set up unless you're using RPM-based > system, but it's just pure awesome when it's actually up and running. Do you means that the aren't graphs by default? Thanks jerome > HTH > > -- > Andreas Ericsson andreas.ericsson at op5.se > OP5 AB www.op5.se > Tel: +46 8-230225 Fax: +46 8-230231 > > Register now for Nordic Meet on Nagios, June 3-4 in Stockholm > http://nordicmeetonnagios.op5.org/ > > Considering the successes of the wars on alcohol, poverty, drugs and > terror, I think we should give some serious thought to declaring war > on peace. ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Ayotunde.Itayemi at zain.com Wed May 6 17:09:43 2009 From: Ayotunde.Itayemi at zain.com (Ayotunde Itayemi) Date: Wed, 6 May 2009 16:09:43 +0100 Subject: PNP swap template HOWTO In-Reply-To: <66f2b5ed0904300912v6e7d6573y8c7e1b30d8371604@mail.gmail.com> References: <66f2b5ed0904300912v6e7d6573y8c7e1b30d8371604@mail.gmail.com> Message-ID: <99487797D76C7841AEEDE4A1DCA86C700561A9B9@VNL-LA01EX04S.vmobile-nigeria.com> Hi All, By default I have nothing in the templates directory of my PNP installation so all my graphs use the "Default Template." I noticed that this inverts the SWAP utilization graph i.e., the red and yellow lines (warning/critical) are very close to the bottom of the graph while the utilization shows as almost 100% (close to the top) instead of very low is it actually is. I have copied the check_swap.php from the templates.dist directory into the templates directory, deleted all the existing swap.xml and swap.rrd files, and restarted the npcd daemon. I have also tried renaming check_swap.php to swap.php. I noticed also that all my graphs use the Default Template and the XML files for all of them have . As these files are generated automatically, how do I get the SWAP graph to use the SWAP template? What else do I need to do? I am using PNP version 0.4.13 Thanks. "This mail is from a Gimper" -----Original Message----- From: Ed Donahue [mailto:liberaled at gmail.com] Sent: Thursday, April 30, 2009 5:13 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] [nagios] Trigger alert via email Is it possible to trigger an alert by sending an email to nagios (passive check)? I'm guessing it isn't a straight forward as that, just wonder if it is doable, and any links to examples would be cool too. Thanks in advance Ed ------------------------------------------------------------------------ ------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jerome.Meyer at baldata.ch Wed May 6 17:30:14 2009 From: Jerome.Meyer at baldata.ch (Meyer Jerome) Date: Wed, 6 May 2009 17:30:14 +0200 Subject: check_icmp and check_host In-Reply-To: References: <46EEEA5FAED9CA479556002BA9C27FD705C5A2A3@iw50.iwbnet.ch> Message-ID: <46EEEA5FAED9CA479556002BA9C27FD705C5A2D3@iw50.iwbnet.ch> Hi James I've install Nagios through source-code : nagios-3.0.6.tar.gz! Thanks Jerome > -----Urspr?ngliche Nachricht----- > Von: jmoseley at corp.xanadoo.com [mailto:jmoseley at corp.xanadoo.com] > Gesendet: Mittwoch, 6. Mai 2009 16:45 > An: Meyer Jerome > Cc: Nagios-users at lists.sourceforge.net > Betreff: Re: [Nagios-users] check_icmp and check_host > > As per Marc, you need the 'devel' packages installed as well. Did you > install Nagios via RPM or compile from source? If the latter, I would > suggest you install Nagios from RH's yum repository, thay way, all the > library dependencies will be installed as well. > > > James Moseley > > > > > "Meyer Jerome" wrote: > > Hi Marc-Andr? > > Thanks for your answers! > Here are the installed librairies on my RedHat Server : > > # rpm -qa|grep libjpeg > libjpeg-6b-37 > libjpeg-6b-37 > # rpm -qa|grep libpng > libpng-1.2.10-7.1.el5_3.2 > libpng-1.2.10-7.1.el5_3.2 > # rpm -qa|grep gd > gd-2.0.33-9.4.el5_1.1 > ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jmoseley at corp.xanadoo.com Wed May 6 17:54:21 2009 From: jmoseley at corp.xanadoo.com (jmoseley at corp.xanadoo.com) Date: Wed, 6 May 2009 10:54:21 -0500 Subject: check_icmp and check_host In-Reply-To: <46EEEA5FAED9CA479556002BA9C27FD705C5A2D3@iw50.iwbnet.ch> References: <46EEEA5FAED9CA479556002BA9C27FD705C5A2D3@iw50.iwbnet.ch> Message-ID: Since this is the first time you've installed Nagios (I assume) and you probably haven't used it much, I wouldn't expect there is too much benefit for you by installing Nagios from source. I would suggest that you take advantage of RH's rpm management and install Nagios from rpm. Doing that will automatically satisfy all your dependencies, install everything, and generate an Apache config and startup script. Plus, upgrades will be much simpler. Plugins will also be a breeze: yum install nagios-plugins Config files are stored in: /etc/nagios Plugins: /usr/lib/nagios/plugins CGI: /usr/lib/nagios/cgi html: /usr/share/nagios James Moseley "Meyer Jerome" wrote: Hi James I've install Nagios through source-code : nagios-3.0.6.tar.gz! Thanks Jerome ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From matias at valastro.com.ar Wed May 6 17:49:29 2009 From: matias at valastro.com.ar (Matias Blanco) Date: Wed, 6 May 2009 12:49:29 -0300 Subject: check_snmp - warning numbers Message-ID: <996B98AD51EF4ED8975C5F5923498A13@giorno.valastro> Hi, I am using the check_snmp nagios`s plugin. And when we check the ports status of a 3com Baseline 2250 Plus, we recibe many ports results: SNMP OK ? 0 SNMP WARNING - *1* SNMP WARNING - *84* SNMP WARNING - *2* SNMP WARNING - *2* SNMP WARNING - *4* The question is, what?s the meaning of the warning numbers? Other information: ------------------ # 'check_snmp' command definition define command{ command_name check_snmp command_line $USER1$/check_snmp -H $HOSTADDRESS$ $ARG1$ } Example of service ------------------- define service { use service-15x3x5-switchs host_name 3COM2250P service_description Port 03 [In Errors] check_command check_snmp!-C public -o ifInErrors.3 -w 0 -m RFC1213-MIB notifications_enabled 0 } THANKS... Mat?as Blanco. ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jerome.Meyer at baldata.ch Wed May 6 18:03:05 2009 From: Jerome.Meyer at baldata.ch (Meyer Jerome) Date: Wed, 6 May 2009 18:03:05 +0200 Subject: check_icmp and check_host In-Reply-To: References: <46EEEA5FAED9CA479556002BA9C27FD705C5A2D3@iw50.iwbnet.ch> Message-ID: <46EEEA5FAED9CA479556002BA9C27FD705C5A2E8@iw50.iwbnet.ch> I'll check that and install it in this way... Thanks a lot, Jerome P.S.- Anyway! As someone still install Nagios from scratch????? > -----Urspr?ngliche Nachricht----- > Von: jmoseley at corp.xanadoo.com [mailto:jmoseley at corp.xanadoo.com] > Gesendet: Mittwoch, 6. Mai 2009 17:54 > An: Meyer Jerome > Cc: Nagios-users at lists.sourceforge.net > Betreff: Re: AW: [Nagios-users] check_icmp and check_host > > Since this is the first time you've installed Nagios (I assume) and you > probably haven't used it much, I wouldn't expect there is too much benefit > for you by installing Nagios from source. > > I would suggest that you take advantage of RH's rpm management and install > Nagios from rpm. Doing that will automatically satisfy all your > dependencies, install everything, and generate an Apache config and startup > script. Plus, upgrades will be much simpler. Plugins will also be a > breeze: > > yum install nagios-plugins > > Config files are stored in: /etc/nagios > Plugins: /usr/lib/nagios/plugins > CGI: /usr/lib/nagios/cgi > html: /usr/share/nagios > > > James Moseley > > > > "Meyer Jerome" wrote: > > Hi James > > I've install Nagios through source-code : nagios-3.0.6.tar.gz! > > Thanks > Jerome > > > > > > ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed May 6 18:24:14 2009 From: marc at ena.com (Marc Powell) Date: Wed, 6 May 2009 11:24:14 -0500 Subject: check_snmp - warning numbers In-Reply-To: <996B98AD51EF4ED8975C5F5923498A13@giorno.valastro> References: <996B98AD51EF4ED8975C5F5923498A13@giorno.valastro> Message-ID: Comments below -- On May 6, 2009, at 10:49 AM, Matias Blanco wrote: > Hi, I am using the check_snmp nagios`s plugin. And when we check the > ports status of a 3com Baseline 2250 Plus, we recibe many ports > results: > > SNMP OK ? 0 > SNMP WARNING - *1* > SNMP WARNING - *84* > SNMP WARNING - *2* > SNMP WARNING - *2* > SNMP WARNING - *4* > > The question is, what?s the meaning of the warning numbers? Depends on what you're checking... [snip] > Example of service > ------------------- > > define service { > use service-15x3x5-switchs > host_name 3COM2250P > service_description Port 03 [In Errors] > check_command check_snmp!-C public -o ifInErrors.3 -w > 0 -m RFC1213-MIB > notifications_enabled 0 > } Assuming the numbers above are related to this service -- From the RFC1213-MIB -- ifInErrors OBJECT-TYPE SYNTAX Counter ACCESS read-only STATUS mandatory DESCRIPTION "The number of inbound packets that contained errors preventing them from being deliverable to a higher-layer protocol." ::= { ifEntry 14 } For this example service, the number being returned is the number of input errors since last counter reset, roll or device restart for the interface with SNMP index 3. Note that this does not necessarily correspond to Port 3 thanks to the joys of various SNMP implementations and device types. You can identify the specific interface that currently has an index of 3 using 'snmpwalk -C public - v1 ifDescr'. You may need to substitute '-v2c' for '- v1' if you're using SNMP version 2. -- Marc ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed May 6 18:28:27 2009 From: marc at ena.com (Marc Powell) Date: Wed, 6 May 2009 11:28:27 -0500 Subject: check_icmp and check_host In-Reply-To: <46EEEA5FAED9CA479556002BA9C27FD705C5A2E8@iw50.iwbnet.ch> References: <46EEEA5FAED9CA479556002BA9C27FD705C5A2D3@iw50.iwbnet.ch> <46EEEA5FAED9CA479556002BA9C27FD705C5A2E8@iw50.iwbnet.ch> Message-ID: <2413FC68-E178-4AA0-8808-51D1ECA2C55B@ena.com> On May 6, 2009, at 11:03 AM, Meyer Jerome wrote: > P.S.- Anyway! As someone still install Nagios from scratch???? Yes, absolutely, even on Redhat/clone systems. I happen to believe it's the best way to learn it and things are put in the 'right' places as far as the documentation, addons and our general expectations... Using packages created and modified by someone else else can lead to confusion and other issues. -- Marc ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alejandro.sanchez at ite.es Wed May 6 18:34:33 2009 From: alejandro.sanchez at ite.es (=?iso-8859-1?Q?Alejandro_S=E1nchez_Mero=F1o?=) Date: Wed, 6 May 2009 18:34:33 +0200 Subject: check_snmp - warning numbers References: <996B98AD51EF4ED8975C5F5923498A13@giorno.valastro> Message-ID: Hola Mat?as... :-) and hola everyone... There exists a magical website where to identify every OID you can check with SNMP, the link is: http://support.ipmonitor.com/mibs_byoidtree.aspx For your particular issue, if you type "RFC1213-MIB" at the "Search for:" form, click the result given ("RFC1213-MIB"), and then "View: Oid-tree", you'll be able to locate "ifInErrors(14)" at the tree shown, and clicking it you'll find its Description, which reads literally: "The number of inbound packets that contained errors preventing them from being deliverable to a higher-layer protocol." That's the answer to your question!! Now some other questions appear... Wouldn't it be nicer to know what exactly are you monitoring before you monitor it, so you could properly interpret the results? Is that parameter (number of inbound packets that contained errors and blah blah blah...) significant enough to determine if a port is working properly or not? Hope this helps... Best regards, Alejandro == Alejandro Sanchez Merono Area de Informatica y Comunicaciones Instituto de Tecnologia Electrica - http://www.ite.es Valencia - Spain -----Mensaje original----- De: Matias Blanco [mailto:matias at valastro.com.ar] Enviado el: mi?rcoles, 06 de mayo de 2009 17:49 Para: Nagios-users at lists.sourceforge.net Asunto: [Nagios-users] check_snmp - warning numbers Hi, I am using the check_snmp nagios`s plugin. And when we check the ports status of a 3com Baseline 2250 Plus, we recibe many ports results: SNMP OK - 0 SNMP WARNING - *1* SNMP WARNING - *84* SNMP WARNING - *2* SNMP WARNING - *2* SNMP WARNING - *4* The question is, what?s the meaning of the warning numbers? Other information: ------------------ # 'check_snmp' command definition define command{ command_name check_snmp command_line $USER1$/check_snmp -H $HOSTADDRESS$ $ARG1$ } Example of service ------------------- define service { use service-15x3x5-switchs host_name 3COM2250P service_description Port 03 [In Errors] check_command check_snmp!-C public -o ifInErrors.3 -w 0 -m RFC1213-MIB notifications_enabled 0 } THANKS... Mat?as Blanco. ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sri.lumpa at free.fr Wed May 6 18:55:07 2009 From: sri.lumpa at free.fr (MAD) Date: Wed, 6 May 2009 18:55:07 +0200 Subject: PNP swap template HOWTO In-Reply-To: <99487797D76C7841AEEDE4A1DCA86C700561A9B9@VNL-LA01EX04S.vmobile-nigeria.com> References: <66f2b5ed0904300912v6e7d6573y8c7e1b30d8371604@mail.gmail.com> <99487797D76C7841AEEDE4A1DCA86C700561A9B9@VNL-LA01EX04S.vmobile-nigeria.com> Message-ID: <7D821ADB51B34888B3977BC4B846B908@MADness> You could use a template I developped some weeks ago. It works pretty well. Just copy it into the "templates" directory Marc-Andr? ----- Original Message ----- From: "Ayotunde Itayemi" To: Sent: Wednesday, May 06, 2009 5:09 PM Subject: [Nagios-users] PNP swap template HOWTO > Hi All, > By default I have nothing in the templates directory of my PNP > installation so all my graphs use the "Default Template." > I noticed that this inverts the SWAP utilization graph i.e., the red and > yellow lines (warning/critical) are very close to the bottom of the > graph while the utilization shows as almost 100% (close to the top) > instead of very low is it actually is. > I have copied the check_swap.php from the templates.dist directory into > the templates directory, deleted all the existing swap.xml and swap.rrd > files, and restarted the npcd daemon. > I have also tried renaming check_swap.php to swap.php. > I noticed also that all my graphs use the Default Template and the XML > files for all of them have . As these > files are generated automatically, how do I get the SWAP graph to use > the SWAP template? > What else do I need to do? > I am using PNP version 0.4.13 > Thanks. > > "This mail is from a Gimper" > > > -----Original Message----- > From: Ed Donahue [mailto:liberaled at gmail.com] > Sent: Thursday, April 30, 2009 5:13 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] [nagios] Trigger alert via email > > Is it possible to trigger an alert by sending an email to nagios > (passive check)? > I'm guessing it isn't a straight forward as that, just wonder if it is > doable, > and any links to examples would be cool too. > > Thanks in advance > Ed > > ------------------------------------------------------------------------ > ------ > Register Now & Save for Velocity, the Web Performance & Operations > Conference from O'Reilly Media. Velocity features a full day of > expert-led, hands-on workshops and two days of sessions from industry > leaders in dedicated Performance & Operations tracks. Use code vel09scf > and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------------ > The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your > production scanning environment may not be a perfect world - but thanks to > Kodak, there's a perfect scanner to get the job done! With the NEW KODAK > i700 > Series Scanner you'll get full speed at 300 dpi even with all image > processing features enabled. http://p.sf.net/sfu/kodak-com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- A non-text attachment was scrubbed... Name: check_swap.php Type: application/octet-stream Size: 2068 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sri.lumpa at free.fr Wed May 6 18:59:45 2009 From: sri.lumpa at free.fr (MAD) Date: Wed, 6 May 2009 18:59:45 +0200 Subject: check_icmp and check_host In-Reply-To: <46EEEA5FAED9CA479556002BA9C27FD705C5A2E8@iw50.iwbnet.ch> References: <46EEEA5FAED9CA479556002BA9C27FD705C5A2D3@iw50.iwbnet.ch> <46EEEA5FAED9CA479556002BA9C27FD705C5A2E8@iw50.iwbnet.ch> Message-ID: <5FD26B9AFD2D424F91E44F19CFCB8CC3@MADness> I installed from scratch. That's why I told you to install the "devel" package (with 'yum install libjpeg-devel' for example). Once you will have installed every devel package I told you to, just compile again Nagios and install with 'make all && make install' and every thing should be working fine. Concerning the availability graph, this was the correct link but since you had'nt install libpng-devel nor libgd-devel, this couldn't work. Marc-Andr? ----- Original Message ----- From: "Meyer Jerome" To: Cc: Sent: Wednesday, May 06, 2009 6:03 PM Subject: Re: [Nagios-users] check_icmp and check_host I'll check that and install it in this way... Thanks a lot, Jerome P.S.- Anyway! As someone still install Nagios from scratch????? > -----Urspr?ngliche Nachricht----- > Von: jmoseley at corp.xanadoo.com [mailto:jmoseley at corp.xanadoo.com] > Gesendet: Mittwoch, 6. Mai 2009 17:54 > An: Meyer Jerome > Cc: Nagios-users at lists.sourceforge.net > Betreff: Re: AW: [Nagios-users] check_icmp and check_host > > Since this is the first time you've installed Nagios (I assume) and you > probably haven't used it much, I wouldn't expect there is too much benefit > for you by installing Nagios from source. > > I would suggest that you take advantage of RH's rpm management and install > Nagios from rpm. Doing that will automatically satisfy all your > dependencies, install everything, and generate an Apache config and > startup > script. Plus, upgrades will be much simpler. Plugins will also be a > breeze: > > yum install nagios-plugins > > Config files are stored in: /etc/nagios > Plugins: /usr/lib/nagios/plugins > CGI: /usr/lib/nagios/cgi > html: /usr/share/nagios > > > James Moseley > > > > "Meyer Jerome" wrote: > > Hi James > > I've install Nagios through source-code : nagios-3.0.6.tar.gz! > > Thanks > Jerome > > > > > > ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From breed at dvdplay.com Wed May 6 18:59:27 2009 From: breed at dvdplay.com (Bruce Reed) Date: Wed, 6 May 2009 12:59:27 -0400 Subject: Centreon In-Reply-To: References: Message-ID: Interesting thread on Centreon. I evaluated it when it was Oreon 4 years ago and it was horrid then, difficult to install, unpredictable and had very little English information available. Looks like it has come a long way. Is the English conversant community as large as the French now? Has anyone compared Centreon to Groundwork Open Source? We are currently using the Groundwork community edition and have considered going to the Professional edition to gain log processing based alerts and dashboards. I know Centreon has a dashboard, but I don't know if it's static or customizable and I don't see any indication Centreon has the ability to monitor and process log information. Groundwork is quite pricey for what they offer, has its share of bugs, and frankly doesn't present information as well as Centreon from what I can see in its screenshots. The Groundwork status/action screens are NOT an improvement over base Nagios. Bruce On 4/9/09 6:22 AM, "Christopher McAtackney" wrote: > 2009/4/9 James Pratt : >> >> >>> -----Original Message----- >>> From: Christopher McAtackney [mailto:cristoir at gmail.com] >>> Sent: Thursday, April 09, 2009 8:59 AM >>> To: Nagios Users >>> Subject: [Nagios-users] Centreon >>> >>> Hi all, >>> >>> Does anyone have any experience using Centreon? >> http://www.centreon.com/ >>> >>> It seems like a really nice front-end to Nagios, but I'd like to hear >>> of other people's experiences using it before installing and setting >>> it up. >>> >>> Cheers, >>> Chris >>> >> >> Hi, if you search the archives, this was actually discussed fairly >> recently: >> >> >> http://www.mail-archive.com/nagios-users at lists.sourceforge.net/msg24257. >> html >> >> >> regards, >> jamie >> > > Hm, doesn't sound too promising. That's a shame, because it looks > great from the description and screen shots. > > Chris > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by: > High Quality Requirements in a Collaborative Environment. > Download a free trial of Rational Requirements Composer Now! > http://p.sf.net/sfu/www-ibm-com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From matias at valastro.com.ar Wed May 6 19:26:31 2009 From: matias at valastro.com.ar (Matias Blanco) Date: Wed, 6 May 2009 14:26:31 -0300 Subject: check_snmp - warning numbers In-Reply-To: References: Message-ID: Hola Alejandro, Ahora otra cosa: De que manera crees que pueda chequear los puertos de mi switch con nagios para tener una idea m?s clara de lo que est? sucediendo? Porque esos paquetes entrantes con errores no se si son por causa de la PC o de los puerto del switch... Muchas Gracias... Cristian ************************************ Hola Mat?as... :-) and hola everyone... There exists a magical website where to identify every OID you can check with SNMP, the link is: http://support.ipmonitor.com/mibs_byoidtree.aspx For your particular issue, if you type "RFC1213-MIB" at the "Search for:" form, click the result given ("RFC1213-MIB"), and then "View: Oid-tree", you'll be able to locate "ifInErrors(14)" at the tree shown, and clicking it you'll find its Description, which reads literally: "The number of inbound packets that contained errors preventing them from being deliverable to a higher-layer protocol." That's the answer to your question!! Now some other questions appear... Wouldn't it be nicer to know what exactly are you monitoring before you monitor it, so you could properly interpret the results? Is that parameter (number of inbound packets that contained errors and blah blah blah...) significant enough to determine if a port is working properly or not? Hope this helps... Best regards, Alejandro == Alejandro Sanchez Merono Area de Informatica y Comunicaciones Instituto de Tecnologia Electrica - http://www.ite.es Valencia - Spain -----Mensaje original----- De: Matias Blanco [mailto:matias at valastro.com.ar] Enviado el: mi?rcoles, 06 de mayo de 2009 17:49 Para: Nagios-users at lists.sourceforge.net Asunto: [Nagios-users] check_snmp - warning numbers Hi, I am using the check_snmp nagios`s plugin. And when we check the ports status of a 3com Baseline 2250 Plus, we recibe many ports results: SNMP OK - 0 SNMP WARNING - *1* SNMP WARNING - *84* SNMP WARNING - *2* SNMP WARNING - *2* SNMP WARNING - *4* The question is, what?s the meaning of the warning numbers? Other information: ------------------ # 'check_snmp' command definition define command{ command_name check_snmp command_line $USER1$/check_snmp -H $HOSTADDRESS$ $ARG1$ } Example of service ------------------- define service { use service-15x3x5-switchs host_name 3COM2250P service_description Port 03 [In Errors] check_command check_snmp!-C public -o ifInErrors.3 -w 0 -m RFC1213-MIB notifications_enabled 0 } THANKS... Mat?as Blanco. ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Wed May 6 19:37:18 2009 From: jim at jimavery.me.uk (Jim Avery) Date: Wed, 6 May 2009 18:37:18 +0100 Subject: PNP swap template HOWTO In-Reply-To: <99487797D76C7841AEEDE4A1DCA86C700561A9B9@VNL-LA01EX04S.vmobile-nigeria.com> References: <66f2b5ed0904300912v6e7d6573y8c7e1b30d8371604@mail.gmail.com> <99487797D76C7841AEEDE4A1DCA86C700561A9B9@VNL-LA01EX04S.vmobile-nigeria.com> Message-ID: <765d77c80905061037s1f307641ha1b9d290646e0367@mail.gmail.com> 2009/5/6 Ayotunde Itayemi : > I noticed also that all my graphs use the Default Template and the XML > files for all of them have . As these > files are generated automatically, how do I get the SWAP graph to use > the SWAP template? You'll notice that the graph produced by the default template tells you what check command is being run (in the bottom right hand corner of the graphic). This is the name you need to use for your template, so in your case you will need to name your new template file "check_nrpe.php". It's not quite as simple as that though, because if you set up a check_nrpe.php template which makes your swap graphs look lovely, it might make all the other checks you run using check_nrpe look awful! You might need to consider setting up a separate command definition in Nagios just for your swap checks. Make it the same as check_nrpe but call it something a little different, for example "check_nrpe-swap". Of course you'll need also to change your swap service definition to use this command. You can then rename your check_nrpe.pnp template to check_nrpe-swap.pnp and it won't mess up all your other nrpe checks. It's not necessary to remove .rrd or .xml files when you tinker with the templates - just hit refresh in your browser when viewing the graphs in PNP to see if the template is working. hth, Jim ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mgius at createspace.com Wed May 6 19:34:54 2009 From: mgius at createspace.com (Mark Gius) Date: Wed, 06 May 2009 10:34:54 -0700 Subject: service escalations on hostgroup/servicegroup combos Message-ID: <4A01CA3E.2030000@createspace.com> I am attempting to create service escalations that act upon a hostgroup/servicegroup combination. I'd like to see escalations on services on certain hosts that are part of a particular servicegroup. I'm having trouble doing this. I've tried a number of different ways to do this. I have tried using "hostgroup_name" in a service escalation, but left "servicegroup_name" and "service_description" undefined. Doing this results in _no_ service escalations being created by nagios (generating no error messages or warnings, which is annoying in it's own right). I have tried using "hostgroup_name" in combination with "servicegroup_name," which creates service escalations for every service in "servicegroup_name" with hostgroup_name having no noticeable effect upon anything. I have tried using "hostgroup_name" (and "host_name") in combination with "service_description" wild-cards. This results in an error from nagios. Based on the "Object tricks" page, I _should_ be able to declare the following in a service definition host_name simpson service_description * When I do this, I get an error about not being able to expand services on simpson, even though that host is currently being monitored in nagios with several services on it. Has anyone configured their nagios in such a way (hostgroup/servicegroup overlap escalations), or knows of some way I might be able to achieve this setup? Mark Gius ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mirde at oppy.com Wed May 6 19:32:11 2009 From: mirde at oppy.com (Mirza Dedic) Date: Wed, 6 May 2009 10:32:11 -0700 Subject: NSclient++ Performance Counters Help ?? Message-ID: Hello, I am trying to use NSClient++ to monitor performance counters; previously I only used it to check disk space etc, but I am trying to make sure of the "-v COUNTER -l" switch more now as it is very powerful. In my config I have: define command{ command_name check_nt_exchange_messages_delivered_per_min command_line $USER1$/check_nt -H $HOSTADDRESS$ -s password -p 12489 -v COUNTER -l "MSExchangeIS Mailbox(_Total)\\Messages Delivered/min" -w 25 -c 120 } However, when I try to test this from my box with: ./check_nt -H van-mail01 -s xr1p71c -p 12779 -v COUNTER -l "MSExchangeIS Mailbox(_Total)\\Messages Delivered/min" -w 25 -c 120 I get: bash: syntax error near unexpected token `(' Also, on Nagios it reports as "null"; which I would assume is because of the above syntax issue. How can I fix this? The source I got my counter from is: http://www.hackmyidea.com/wordpress/2007/11/14/misc-windows-checks-for-nagios/ Also, I noticed in my NSClient++ installation in the windows box (Exchange 2005/Win2003) there is a counters.defs file, should I be making use of that and entering the counters in there as opposed to calling them from commands.cfg ? If so, how could I use the ./check_nt to call a performance counter defined in counters.defs ? (assuming this is what its for?). Thanks. ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mirde at oppy.com Wed May 6 20:11:07 2009 From: mirde at oppy.com (Mirza Dedic) Date: Wed, 6 May 2009 11:11:07 -0700 Subject: NSclient++ Performance Counters Help ?? In-Reply-To: References: Message-ID: After some more trial and error, I got the command check fixed but there is still an issue. The command I am sending is: root at van-nagios:/usr/local/nagios/libexec# ./check_nt -H van-mail01 -s xr1p71c -p 12779 -v COUNTER -l "MSExchangeIS Mailbox(_Total)\\Messages Delivered/min" -w 25 -c 120 The output is: 0 When I check nsclient.log; here is what I have: 2009-05-06 11:09:18: debug:.\NSClientListener.cpp:146: Data: xr1p71c&8&???MSExchangeISConnection 2009-05-06 11:09:18: debug:.\NSClientListener.cpp:171: Data: ???MSExchangeISConnection 2009-05-06 11:09:18: debug:.\NSClient++.cpp:910: Injecting: checkCounter: Counter=???MSExchangeISConnection, nsclient 2009-05-06 11:09:18: error:.\CheckSystem.cpp:1019: ERROR: Counter not found: ???MSExchangeISConnection: The counter path string could not be parsed. 2009-05-06 11:09:18: error:.\CheckSystem.cpp:1021: ERROR: Counter not found: ???MSExchangeISConnection: The counter path string could not be parsed. 2009-05-06 11:09:18: error:.\CheckSystem.cpp:1050: ERROR: ???MSExchangeISConnection: PdhAddCounter failed: -1073738816: Unable to parse the counter path. Check the format and syntax of the specified path. (???MSExchangeISConnection|???MSExchangeISConnection) Where is "???" coming from?? -----Original Message----- From: Mirza Dedic [mailto:mirde at oppy.com] Sent: May/06/2009 10:32 AM To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] NSclient++ Performance Counters Help ?? Hello, I am trying to use NSClient++ to monitor performance counters; previously I only used it to check disk space etc, but I am trying to make sure of the "-v COUNTER -l" switch more now as it is very powerful. In my config I have: define command{ command_name check_nt_exchange_messages_delivered_per_min command_line $USER1$/check_nt -H $HOSTADDRESS$ -s password -p 12489 -v COUNTER -l "MSExchangeIS Mailbox(_Total)\\Messages Delivered/min" -w 25 -c 120 } However, when I try to test this from my box with: ./check_nt -H van-mail01 -s xr1p71c -p 12779 -v COUNTER -l "MSExchangeIS Mailbox(_Total)\\Messages Delivered/min" -w 25 -c 120 I get: bash: syntax error near unexpected token `(' Also, on Nagios it reports as "null"; which I would assume is because of the above syntax issue. How can I fix this? The source I got my counter from is: http://www.hackmyidea.com/wordpress/2007/11/14/misc-windows-checks-for-nagios/ Also, I noticed in my NSClient++ installation in the windows box (Exchange 2005/Win2003) there is a counters.defs file, should I be making use of that and entering the counters in there as opposed to calling them from commands.cfg ? If so, how could I use the ./check_nt to call a performance counter defined in counters.defs ? (assuming this is what its for?). Thanks. ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nccomp at gmail.com Wed May 6 20:11:09 2009 From: nccomp at gmail.com (Andrew Davis) Date: Wed, 06 May 2009 14:11:09 -0400 Subject: check_disk and CD/DVD in Solaris Message-ID: <4A01D2BD.8090507@gmail.com> I have check_disk setup to do monitor all local disks so that I don't have to make edits everytime I add a new filesystem or mount point. Unfortunately, on Solaris, mounted CD's and DVD's show as local volumes and as 100% full. Unfortunately, check_disk (the stock one) is not a simple shell script that I can edit to throw in a "grep -v cdrom" line. I'm curious how you guys are handling this? Do you define all your filesystems manually for Solaris hosts? Are you using an alternate test? Any suggestions would be much appreciated... -- A. Davis Email: nccomp at gmail.com "There is no limit to what a man can accomplish if he doesn't care who gets the credit." - Ronald Reagan -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Ayotunde.Itayemi at zain.com Wed May 6 20:21:43 2009 From: Ayotunde.Itayemi at zain.com (Ayotunde Itayemi) Date: Wed, 6 May 2009 19:21:43 +0100 Subject: PNP swap template HOWTO In-Reply-To: <7D821ADB51B34888B3977BC4B846B908@MADness> References: <66f2b5ed0904300912v6e7d6573y8c7e1b30d8371604@mail.gmail.com><99487797D76C7841AEEDE4A1DCA86C700561A9B9@VNL-LA01EX04S.vmobile-nigeria.com> <7D821ADB51B34888B3977BC4B846B908@MADness> Message-ID: <99487797D76C7841AEEDE4A1DCA86C700561AA9C@VNL-LA01EX04S.vmobile-nigeria.com> Hi All/Jim/Marc-Andre, Thanks for the response. I was actually able to figure it out while waiting - I didn't RTFM - not all at first :-) Here is what I did in case someone else finds it useful (and if possible correct me if I am wrong): # cd /usr/local/nagios/etc/pnp/check_commands # cp -a check_nwstat.cfg-sample check_nrpe.cfg # grep CUSTOM_TEMPLATE check_nrpe.cfg CUSTOM_TEMPLATE = 0,1 # cd /usr/local/nagios/share/pnp # cp -a templates.dist/check_swap.php templates/check_nrpe_check_dsk_swap.php # /etc/init.d/npcd restart Jim: The SWAP graph looks OK and I haven't noticed any changes in the other graphs (CPU, RAM, filesystems, PING, etc) - possibly because the check_nrpe defaults are the same as in the nwstat.cfg-sample file I created the check_nrpe.cfg from, and the check_nrpe_check_dsk_swap.php is only used for the SWAP graph while the default check_nrpe settings continues to be used for the other graphs? Marc-Andre: I assume apart from just placing your SWAP template in the templates directory, I still need to create the check_nrpe.cfg and check_nrpe_check_dsk_swap.php files as I did above? Will try your template in a minute ... Ach! I lost all my SWAP history by deleting the RRDs! Thanks again. Regards. "This mail is from a Gimper" -----Original Message----- From: MAD [mailto:sri.lumpa at free.fr] Sent: Wednesday, May 06, 2009 5:55 PM To: Ayotunde Itayemi; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] PNP swap template HOWTO You could use a template I developped some weeks ago. It works pretty well. Just copy it into the "templates" directory Marc-Andr? ----- Original Message ----- From: "Ayotunde Itayemi" To: Sent: Wednesday, May 06, 2009 5:09 PM Subject: [Nagios-users] PNP swap template HOWTO > Hi All, > By default I have nothing in the templates directory of my PNP > installation so all my graphs use the "Default Template." > I noticed that this inverts the SWAP utilization graph i.e., the red and > yellow lines (warning/critical) are very close to the bottom of the > graph while the utilization shows as almost 100% (close to the top) > instead of very low is it actually is. > I have copied the check_swap.php from the templates.dist directory into > the templates directory, deleted all the existing swap.xml and swap.rrd > files, and restarted the npcd daemon. > I have also tried renaming check_swap.php to swap.php. > I noticed also that all my graphs use the Default Template and the XML > files for all of them have . As these > files are generated automatically, how do I get the SWAP graph to use > the SWAP template? > What else do I need to do? > I am using PNP version 0.4.13 > Thanks. > > "This mail is from a Gimper" > > > -----Original Message----- > From: Ed Donahue [mailto:liberaled at gmail.com] > Sent: Thursday, April 30, 2009 5:13 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] [nagios] Trigger alert via email > > Is it possible to trigger an alert by sending an email to nagios > (passive check)? > I'm guessing it isn't a straight forward as that, just wonder if it is > doable, > and any links to examples would be cool too. > > Thanks in advance > Ed > > ------------------------------------------------------------------------ > ------ > Register Now & Save for Velocity, the Web Performance & Operations > Conference from O'Reilly Media. Velocity features a full day of > expert-led, hands-on workshops and two days of sessions from industry > leaders in dedicated Performance & Operations tracks. Use code vel09scf > and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------------ > The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your > production scanning environment may not be a perfect world - but thanks to > Kodak, there's a perfect scanner to get the job done! With the NEW KODAK > i700 > Series Scanner you'll get full speed at 300 dpi even with all image > processing features enabled. http://p.sf.net/sfu/kodak-com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Wed May 6 20:31:51 2009 From: jim at jimavery.me.uk (Jim Avery) Date: Wed, 6 May 2009 19:31:51 +0100 Subject: NSclient++ Performance Counters Help ?? In-Reply-To: References: Message-ID: <765d77c80905061131n12a8fc47yc48eb780a7dd79cd@mail.gmail.com> 2009/5/6 Mirza Dedic : > After some more trial and error, I got the command check fixed but there is still an issue. > > The command I am sending is: > > root at van-nagios:/usr/local/nagios/libexec# ./check_nt -H van-mail01 -s xr1p71c -p 12779 -v COUNTER -l ?"MSExchangeIS Mailbox(_Total)\\Messages Delivered/min" -w 25 -c 120 > > The output is: 0 > > When I check nsclient.log; here is what I have: > > 2009-05-06 11:09:18: debug:.\NSClientListener.cpp:146: Data: xr1p71c&8&???MSExchangeISConnection > 2009-05-06 11:09:18: debug:.\NSClientListener.cpp:171: Data: ???MSExchangeISConnection > 2009-05-06 11:09:18: debug:.\NSClient++.cpp:910: Injecting: checkCounter: Counter=???MSExchangeISConnection, nsclient > 2009-05-06 11:09:18: error:.\CheckSystem.cpp:1019: ERROR: Counter not found: ???MSExchangeISConnection: The counter path string could not be parsed. > 2009-05-06 11:09:18: error:.\CheckSystem.cpp:1021: ERROR: Counter not found: ???MSExchangeISConnection: The counter path string could not be parsed. > 2009-05-06 11:09:18: error:.\CheckSystem.cpp:1050: ERROR: ???MSExchangeISConnection: PdhAddCounter failed: -1073738816: Unable to parse the counter path. Check the format and syntax of the > specified path. > ?(???MSExchangeISConnection|???MSExchangeISConnection) > > Where is "???" coming from?? I think for some reason you think you have an ordinary double-quote there but it's been replaced with some strange character which looks like one but isn't. I'd delete that section in you configuration file and re-type it, maybe using a different editor. If you're using a word-processor of some sort to edit your config files, it might be trying to insert left and right double-quotes rather than the bog-standard ordinary straight-up ones. Other than that, I can't see a problem with what you've put there (although you might need another "\" or two to escape the backslash - I don't have my Nagios system to hand so can't check for sure. Cheers, Jim ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Wed May 6 20:42:24 2009 From: jim at jimavery.me.uk (Jim Avery) Date: Wed, 6 May 2009 19:42:24 +0100 Subject: check_disk and CD/DVD in Solaris In-Reply-To: <4A01D2BD.8090507@gmail.com> References: <4A01D2BD.8090507@gmail.com> Message-ID: <765d77c80905061142t3fa3d762ve837752477b928aa@mail.gmail.com> 2009/5/6 Andrew Davis : > I have check_disk setup to do monitor all local disks so that I don't have > to make edits everytime I add a new filesystem or mount point. > Unfortunately, on Solaris, mounted CD's and DVD's show as local volumes and > as 100% full. Unfortunately, check_disk (the stock one) is not a simple > shell script that I can edit to throw in a "grep -v cdrom" line. I'm curious > how you guys are handling this? Do you define all your filesystems manually > for Solaris hosts? Are you using an alternate test? Any suggestions would be > much appreciated... I use check_snmp_storage.pl from http://nagios.manubulon.com/ to monitor Solaris (and various other) filesystems. I usually monitor each filesystem individually but sometimes use the regular expression matching to bundle similar filesystems together. I would love to be able automatically to pick up new filesystems as you say (and it's possible using this plugin), but firstly it would break the pnp4nagios graphing and secondly our Unix admins frequently mount filesystems for test restores and suchlike and I really don't want to be bothered with those. That's my 2p worth. There are lots of ways to skin this metaphorical cat. Cheers, Jim ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Wed May 6 20:48:40 2009 From: jim at jimavery.me.uk (Jim Avery) Date: Wed, 6 May 2009 19:48:40 +0100 Subject: PNP swap template HOWTO In-Reply-To: <99487797D76C7841AEEDE4A1DCA86C700561AA9C@VNL-LA01EX04S.vmobile-nigeria.com> References: <66f2b5ed0904300912v6e7d6573y8c7e1b30d8371604@mail.gmail.com> <99487797D76C7841AEEDE4A1DCA86C700561A9B9@VNL-LA01EX04S.vmobile-nigeria.com> <7D821ADB51B34888B3977BC4B846B908@MADness> <99487797D76C7841AEEDE4A1DCA86C700561AA9C@VNL-LA01EX04S.vmobile-nigeria.com> Message-ID: <765d77c80905061148s5e921588o9b5b3421f7192f23@mail.gmail.com> 2009/5/6 Ayotunde Itayemi : > Jim: The SWAP graph looks OK and I haven't noticed any changes in the other graphs (CPU, RAM, filesystems, PING, etc) - possibly because the check_nrpe defaults are the same as in the nwstat.cfg-sample file I created the check_nrpe.cfg from, and the check_nrpe_check_dsk_swap.php is only used for the SWAP graph while the default check_nrpe settings continues to be used for the other graphs? I believe so. Yes. > Ach! I lost all my SWAP history by deleting the RRDs! Bad luck! Cheers, Jim ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bthayre at physics.ucsd.edu Wed May 6 20:21:13 2009 From: bthayre at physics.ucsd.edu (Bruce Thayre) Date: Wed, 06 May 2009 11:21:13 -0700 Subject: service escalation problems Message-ID: <4A01D519.5090706@physics.ucsd.edu> Hello, I'm not new to nagios, however his is the first nagios installation i have done with nagios 3.x. I've set up several service escalations in my services.cfg, they are being recognized and registered with nagios, however they are not actually doing anything. Despite the escalations being there, i see each of my services spamming notifications every 30 minutes. Is there any additional options i need to enable in Nagios 3.0.4 to get make the escalations effective. Or is there any reason that when i run "nagios -v nagios.cfg" and i get this as output: Nagios 3.0.4 Copyright (c) 1999-2008 Ethan Galstad (http://www.nagios.org) Last Modified: 10-15-2008 License: GPL Reading configuration data... Running pre-flight check on configuration data... Checking services... Checked 338 services. Checking hosts... Checked 112 hosts. Checking host groups... Checked 5 host groups. Checking service groups... Checked 0 service groups. Checking contacts... Checked 1 contacts. Checking contact groups... Checked 1 contact groups. Checking service escalations... Checked 973 service escalations. Checking service dependencies... Checked 0 service dependencies. Checking host escalations... Checked 0 host escalations. Checking host dependencies... Checked 0 host dependencies. Checking commands... Checked 25 commands. Checking time periods... Checked 5 time periods. Checking for circular paths between hosts... Checking for circular host and service dependencies... Checking global event handlers... Checking obsessive compulsive processor commands... Checking misc settings... Total Warnings: 0 So nagios clearly can see the 973 service escalations, they just don't seem to be working. So it would seem my syntax is correct, so an example of one of my service escalations (they're all more or less identical for different services): define serviceescalation{ host_name *,!Rambo, !localhost, !nagios, !t2gw04, !uaf-3 service_description condor_master_alive first_notification 1 last_notification 2 notification_interval 180 contact_groups admins } define serviceescalation{ host_name *,!Rambo, !localhost, !nagios, !t2gw04, !uaf-3 service_description condor_master_alive first_notification 3 last_notification 4 notification_interval 1440 contact_groups admins } define serviceescalation{ host_name *,!Rambo, !localhost, !nagios, !t2gw04, !uaf-3 service_description condor_master_alive first_notification 5 last_notification 6 notification_interval 0 contact_groups admins } Any help/input/ridicule would be greatly appreciated. Thanks! ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From klausman at schwarzvogel.de Wed May 6 20:41:08 2009 From: klausman at schwarzvogel.de (Tobias Klausmann) Date: Wed, 6 May 2009 20:41:08 +0200 Subject: PNP swap template HOWTO In-Reply-To: <765d77c80905061037s1f307641ha1b9d290646e0367@mail.gmail.com> References: <66f2b5ed0904300912v6e7d6573y8c7e1b30d8371604@mail.gmail.com> <99487797D76C7841AEEDE4A1DCA86C700561A9B9@VNL-LA01EX04S.vmobile-nigeria.com> <765d77c80905061037s1f307641ha1b9d290646e0367@mail.gmail.com> Message-ID: <20090506184108.GA16655@eric.schwarzvogel.de> Hi! On Wed, 06 May 2009, Jim Avery wrote: > It's not quite as simple as that though, because if you set up > a check_nrpe.php template which makes your swap graphs look > lovely, it might make all the other checks you run using > check_nrpe look awful! You might need to consider setting up a > separate command definition in Nagios just for your swap > checks. Make it the same as check_nrpe but call it something a > little different, for example "check_nrpe-swap". Of course > you'll need also to change your swap service definition to use > this command. You can then rename your check_nrpe.pnp template > to check_nrpe-swap.pnp and it won't mess up all your other nrpe > checks. I did something else: I patched PNP so that it removes the check_nrpe! prefix if it's there, then does processing as usual. I've sent this (trival, four-line) patch to the PNP maintainer but never got an answer :/ Regards, Tobias -- The only problem with troubleshooting is that sometimes, trouble shoots back. ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Wed May 6 21:52:52 2009 From: jim at jimavery.me.uk (Jim Avery) Date: Wed, 6 May 2009 20:52:52 +0100 Subject: PNP swap template HOWTO In-Reply-To: <20090506184108.GA16655@eric.schwarzvogel.de> References: <66f2b5ed0904300912v6e7d6573y8c7e1b30d8371604@mail.gmail.com> <99487797D76C7841AEEDE4A1DCA86C700561A9B9@VNL-LA01EX04S.vmobile-nigeria.com> <765d77c80905061037s1f307641ha1b9d290646e0367@mail.gmail.com> <20090506184108.GA16655@eric.schwarzvogel.de> Message-ID: <765d77c80905061252m49f390a3vf833171fe34a84a@mail.gmail.com> 2009/5/6 Tobias Klausmann : > I did something else: I patched PNP so that it removes the > check_nrpe! prefix if it's there, then does processing as usual. > I've sent this (trival, four-line) patch to the PNP maintainer > but never got an answer :/ Where would you stop though? Would you also remove check_nt and check_snmp prefixes? I appreciate you may find the patch useful and forgive me if I've misunderstood, but I'm not convinced it's necessary. Cheers, Jim ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Wed May 6 22:10:16 2009 From: jim at jimavery.me.uk (Jim Avery) Date: Wed, 6 May 2009 21:10:16 +0100 Subject: service escalation problems In-Reply-To: <4A01D519.5090706@physics.ucsd.edu> References: <4A01D519.5090706@physics.ucsd.edu> Message-ID: <765d77c80905061310u2bb84b75q6fa3180ed5023b7c@mail.gmail.com> 2009/5/6 Bruce Thayre : > define serviceescalation{ > ? ?host_name ? ? ? ?*,!Rambo, !localhost, !nagios, !t2gw04, !uaf-3 > ? ?service_description ? ?condor_master_alive > ? ?first_notification ? ?1 > ? ?last_notification ? ?2 > ? ?notification_interval ? ?180 > ? ?contact_groups ? ? ? ?admins > ? ?} Hmmm. I don't know if it's the cause of your problem, and I could be completely wrong (sorry can't test because I'm at home) but the purpose of an escalation is surely to notify an alternative recipient if the first (ordinary) notification fails? I would think if this were so then having first_notification = 1 wouldn't make sense. I'd configure the service itself to send the first notification and only use escalations for the 2nd or subsequent notifications. Other than that I can't see any particular problem with your syntax. I would however try setting the escalation_options directive explicitly "just in case". I don't know if, in the absence of an escalation_option directive the notification options would be inherited from the service definition. A common problem with those is accidentally to include the "n" option which means send no notifications. hth, Jim ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From klausman at schwarzvogel.de Wed May 6 23:28:25 2009 From: klausman at schwarzvogel.de (Tobias Klausmann) Date: Wed, 6 May 2009 23:28:25 +0200 Subject: PNP swap template HOWTO In-Reply-To: <765d77c80905061252m49f390a3vf833171fe34a84a@mail.gmail.com> References: <66f2b5ed0904300912v6e7d6573y8c7e1b30d8371604@mail.gmail.com> <99487797D76C7841AEEDE4A1DCA86C700561A9B9@VNL-LA01EX04S.vmobile-nigeria.com> <765d77c80905061037s1f307641ha1b9d290646e0367@mail.gmail.com> <20090506184108.GA16655@eric.schwarzvogel.de> <765d77c80905061252m49f390a3vf833171fe34a84a@mail.gmail.com> Message-ID: <20090506212825.GA7067@eric.schwarzvogel.de> Hi! On Wed, 06 May 2009, Jim Avery wrote: > 2009/5/6 Tobias Klausmann : > > I did something else: I patched PNP so that it removes the > > check_nrpe! prefix if it's there, then does processing as usual. > > I've sent this (trival, four-line) patch to the PNP maintainer > > but never got an answer :/ > > Where would you stop though? Would you also remove check_nt and > check_snmp prefixes? I appreciate you may find the patch useful and > forgive me if I've misunderstood, but I'm not convinced it's > necessary. It is most useful to me, no doubt. Still I would have expected that the original author noticed this issue. I suspect 90% of Nagios users have *way* more usefully graphable NRPE/NSCP/SNMP checks than "plain" ones. Regards, Tobias -- The only problem with troubleshooting is that sometimes, trouble shoots back. ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Aaron.Segura at cabelas.com Wed May 6 23:48:14 2009 From: Aaron.Segura at cabelas.com (Aaron Segura) Date: Wed, 6 May 2009 15:48:14 -0600 Subject: nag2ast In-Reply-To: <38f40604ef63488db22f2db9637ae641.craig@hooters-uk.com> References: <38f40604ef63488db22f2db9637ae641.craig@hooters-uk.com> Message-ID: There's a discussion on the groundwork forums about it... http://www.groundworkopensource.com/community/forums/viewtopic.php?f=23&t=1152 YMMV -----Original Message----- From: craig at hooters-uk.com [mailto:craig at hooters-uk.com] Sent: Wednesday, May 06, 2009 2:25 AM To: shadhin71 at gmail.com Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] nag2ast No I did not find any English documentation, further to that one of the links in the instructions no longer works. http://tcts.fpms.ac.be/synthesis/mbrola.html Does anybody else have any suggestions on how I can achieve Voice notification. Thanks Craig ------- Original Message ------- >From : shadih rahman[mailto:shadhin71 at gmail.com] Sent : 05/05/2009 17:25:54 To : craig at hooters-uk.com Cc : nagios-users at lists.sourceforge.net Subject : RE: Re: [Nagios-users] nag2ast Did you find any English documentation on nag2ast?? Please advise on this.?? Thanks On Tue, May 5, 2009 at 11:12 AM, craig at hooters-uk.com wrote: Hi All I'm about to venture into Asterisk so I can use nag2ask, but before I go and install Asterisk has anybody got nag2ask working with Trixbox at all, just seems a simpler router for us to use instead of trying to teach our guys Asterisk then can you Trixbox's GUI Thanks all Craig ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Cordially, Shadhin Rahman ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From martyn at chetnet.co.uk Thu May 7 00:14:23 2009 From: martyn at chetnet.co.uk (Martyn) Date: Wed, 6 May 2009 23:14:23 +0100 Subject: nag2ast In-Reply-To: References: Message-ID: Yep that is me and I'm willing to pay for any help on getting this function working. -----Original Message----- From: Aaron Segura [mailto:Aaron.Segura at cabelas.com] Sent: 06 May 2009 22:48 To: craig at hooters-uk.com Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] nag2ast There's a discussion on the groundwork forums about it... http://www.groundworkopensource.com/community/forums/viewtopic.php?f=23&t=11 52 YMMV -----Original Message----- From: craig at hooters-uk.com [mailto:craig at hooters-uk.com] Sent: Wednesday, May 06, 2009 2:25 AM To: shadhin71 at gmail.com Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] nag2ast No I did not find any English documentation, further to that one of the links in the instructions no longer works. http://tcts.fpms.ac.be/synthesis/mbrola.html Does anybody else have any suggestions on how I can achieve Voice notification. Thanks Craig ------- Original Message ------- >From : shadih rahman[mailto:shadhin71 at gmail.com] Sent : 05/05/2009 17:25:54 To : craig at hooters-uk.com Cc : nagios-users at lists.sourceforge.net Subject : RE: Re: [Nagios-users] nag2ast Did you find any English documentation on nag2ast?? Please advise on this.?? Thanks On Tue, May 5, 2009 at 11:12 AM, craig at hooters-uk.com wrote: Hi All I'm about to venture into Asterisk so I can use nag2ask, but before I go and install Asterisk has anybody got nag2ask working with Trixbox at all, just seems a simpler router for us to use instead of trying to teach our guys Asterisk then can you Trixbox's GUI Thanks all Craig ---------------------------------------------------------------------------- -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Cordially, Shadhin Rahman ---------------------------------------------------------------------------- -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bthayre at physics.ucsd.edu Thu May 7 01:39:34 2009 From: bthayre at physics.ucsd.edu (Bruce Thayre) Date: Wed, 06 May 2009 16:39:34 -0700 Subject: service escalation problems In-Reply-To: <765d77c80905061310u2bb84b75q6fa3180ed5023b7c@mail.gmail.com> References: <4A01D519.5090706@physics.ucsd.edu> <765d77c80905061310u2bb84b75q6fa3180ed5023b7c@mail.gmail.com> Message-ID: <4A021FB6.8090703@physics.ucsd.edu> Hi, Thanks for the idea, i gave it a shot and it does not seem to be of any help. I was under the impresion that service escalations were for taking the nag out of nagios by curbing its tendency to spam admins with notifications for large networks, or for specific services. More specifically, if say i don't address a critical state because it's not important to me, i don't want to get hourly notifications. I want a reminder after say three hours, maybe another after another three hours, and then i want all subsequent reminders to take longer and longer. Now i set this up last time with nagios 2, and had zero issues. I'm wondering if something has changed in nagios 3, or if there is some essential step i'm forgetting/missing. If this continues not working, i'll just have to try host escalations, and see if i can do anything with those. Thanks, Bruce Jim Avery wrote: > 2009/5/6 Bruce Thayre : > > >> define serviceescalation{ >> host_name *,!Rambo, !localhost, !nagios, !t2gw04, !uaf-3 >> service_description condor_master_alive >> first_notification 1 >> last_notification 2 >> notification_interval 180 >> contact_groups admins >> } >> > > Hmmm. I don't know if it's the cause of your problem, and I could be > completely wrong (sorry can't test because I'm at home) but the > purpose of an escalation is surely to notify an alternative recipient > if the first (ordinary) notification fails? I would think if this > were so then having first_notification = 1 wouldn't make sense. I'd > configure the service itself to send the first notification and only > use escalations for the 2nd or subsequent notifications. > > Other than that I can't see any particular problem with your syntax. > I would however try setting the escalation_options directive > explicitly "just in case". > > I don't know if, in the absence of an escalation_option directive the > notification options would be inherited from the service definition. > A common problem with those is accidentally to include the "n" option > which means send no notifications. > > hth, > > Jim > > ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From deibertine at yahoo.com Thu May 7 01:51:23 2009 From: deibertine at yahoo.com (Dei Bertine) Date: Wed, 6 May 2009 16:51:23 -0700 (PDT) Subject: Nagios Service Dependencies In-Reply-To: References: Message-ID: <289071.54106.qm@web111213.mail.gq1.yahoo.com> Basic question guys: Which file do you normally place your service dependencies in? It stated here: http://nagios.sourceforge.net/docs/2_0/dependencies.html to place in objects cfg file which I thought placing it in my nagios.cfg???? But when I did, it complained about this error after running -v: Error in configuration file 'nagios.cfg' - Line 2859 (NULL value) Here's a sample of my definition: define servicedependency{ host_name ciscoasa-router service_description PING dependent_host_name ciscosw-router dependent_service_description PING execution_failure_criteria o notification_failure_criteria w,u } Please advise. Thank you! DB -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From finchs at stgeorge.com.au Thu May 7 05:10:26 2009 From: finchs at stgeorge.com.au (Simon Finch) Date: Thu, 7 May 2009 13:10:26 +1000 Subject: Centreon In-Reply-To: References: <49DF5D04020000480008D21D@stgeorge.com.au> Message-ID: <4A02DDC2.B47D.0048.0@stgeorge.com.au> Hi Chris, First does the file /etc/centreon/conf.pm exist ? It should have the database hostname, dbname, dbuser and dbpassword in it. Who owns the /var/lib/centreon directory structure ? The apache user that centreon runs as needs full rights to this directory and the directories below it. These dirs should have been created by the centreon install, what version on centreon did you install and did the install run smoothly ? Thanks, Simon Simon Finch | ESM Specialist Ground Floor, 4-16 Montgomery St, Kogarah NSW 2217 (+61 2 9952 2574 7 +61 412 256 814 Email: finchs at stgeorge.com.au www.stgeorge.com.au ______________________________________ St.George Bank IT - Good with people. Good with monitoring. ********************************************************************** ***** IMPORTANT INFORMATION ***** This document should be read only by those persons to whom it is addressed and its content is not intended for use by any other persons. If you have received this message in error, please notify us immediately. Please also destroy and delete the message from your computer. Any unauthorised form of reproduction of this message is strictly prohibited. St George Bank Limited AFSL 240997, Advance Asset Management Limited AFSL 240902, St George Life Limited AFSL 240900, ASGARD Capital Management Limited AFSL 240695 and Securitor Financial Group Limited AFSL 240687 is not liable for the proper and complete transmission of the information contained in this communication, nor for any delay in its receipt. ********************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/xxx Size: 1753 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: applicaton/octect-stream Size: 5940 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Thu May 7 08:47:01 2009 From: jim at jimavery.me.uk (Jim Avery) Date: Thu, 7 May 2009 07:47:01 +0100 Subject: Nagios Service Dependencies In-Reply-To: <289071.54106.qm@web111213.mail.gq1.yahoo.com> References: <289071.54106.qm@web111213.mail.gq1.yahoo.com> Message-ID: <765d77c80905062347x757fe69dj86656cdc3cd8b4c0@mail.gmail.com> 2009/5/7 Dei Bertine : > Basic question guys: > > Which file do you normally place your service dependencies in? > > It stated here: http://nagios.sourceforge.net/docs/2_0/dependencies.html > to place in objects cfg file which I thought placing it in my nagios.cfg???? > > But when I did, it complained about this error after running -v: > Error in configuration file 'nagios.cfg' - Line 2859 (NULL value) > > > Here's a sample of my definition: > define servicedependency{ > ?????? host_name?????????????????????? ciscoasa-router > ?????? service_description???????????? PING > ?????? dependent_host_name???????????? ciscosw-router > ?????? dependent_service_description?? PING > ?????? execution_failure_criteria????? o > ?????? notification_failure_criteria?? w,u > ?????? } > > Please advise. > > Thank you! > DB I would put service dependencies in a file called something like 'servicedependencies.cfg'. in nagios.cfg, you need a pointer to this new file, for example: cfg_file=/usr/local/nagios/etc/objects/servicedependencies.cfg The nagios.cfg file should only contain the main configuration file options which you'll find documented in http://nagios.sourceforge.net/docs/3_0/configmain.html But ... I'm not convinced you should need service dependencies for 'ping' from one host to another. Nagios handles this sort of thing automatically if you configure the host parent relationships. See: http://nagios.sourceforge.net/docs/3_0/networkreachability.html hth, Jim ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Surajit.Mukherjee at ness.com Thu May 7 09:06:37 2009 From: Surajit.Mukherjee at ness.com (Surajit Mukherjee) Date: Thu, 7 May 2009 12:36:37 +0530 Subject: Host Status Information Not Found Message-ID: Hi, Anyone know what these messages mean? I've begun to add additional hosts to my setup, when I restart Nagios, all hosts are displayed, tactical states total of 4 hosts, I hit refresh a few times and tactical says there's only 3 hosts...When I view host or service detail the number of objects changes, and when viewing the individual hosts/services I get the errors below, but if I hit refresh again the service/host information is display.... Host Status Information Not Found! Please help me on this. Regards, Surajit The information contained in this communication is intended solely for the use of the individual or entity to whom it is addressed and others authorized to receive it. It may contain confidential or legally privileged information. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this information is strictly prohibited and may be unlawful. If you have received this communication in error, please notify us immediately by forwarding this email to MailAdmin at ness.com and then delete it from your system. Ness technologies is neither liable for the proper and complete transmission of the information contained in this communication nor for any delay in its receipt. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From simon.kainz at tugraz.at Thu May 7 09:27:59 2009 From: simon.kainz at tugraz.at (Simon Kainz) Date: Thu, 07 May 2009 09:27:59 +0200 Subject: Host Status Information Not Found In-Reply-To: References: Message-ID: <4A028D7F.9060201@tugraz.at> Surajit Mukherjee wrote: > > > Hi, > > > > Anyone know what these messages mean? I've begun to add additional hosts > to my setup, when I restart Nagios, all hosts are displayed, tactical > states total of 4 hosts, I hit refresh a few times and tactical says > there's only 3 hosts...When I view host or service detail the number of > objects changes, and when viewing the individual hosts/services I get > the errors below, but if I hit refresh again the service/host > information is display.... > > > > Host Status Information Not Found! > > > > Please help me on this. > > > > Regards, > > Surajit > > > > > [...] Hi! Please check if there is only 1 intance of nagios running. I had the same behaviour when accidentially starting at least 2 instances of Nagios. This screws things up.. Regards, -- DI Simon Kainz Graz, University of Technology Department Computing Phone: ++43 (0) 316 / 873 6885 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 260 bytes Desc: OpenPGP digital signature URL: -------------- next part -------------- ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From f.thakura at tcs.com Thu May 7 09:50:12 2009 From: f.thakura at tcs.com (F Thakura) Date: Thu, 7 May 2009 13:20:12 +0530 Subject: PNP swap template HOWTO In-Reply-To: <99487797D76C7841AEEDE4A1DCA86C700561A9B9@VNL-LA01EX04S.vmobile-nigeria.com> References: <66f2b5ed0904300912v6e7d6573y8c7e1b30d8371604@mail.gmail.com> <99487797D76C7841AEEDE4A1DCA86C700561A9B9@VNL-LA01EX04S.vmobile-nigeria.com> Message-ID: Hi Ayotunde, You need to create template file with name of "".php (i.e. check_mem.php whatever command name you use) , if this file doesn't exist in template dir, PNP will use default template. default template for check_swap (in template.dist) shows swap free rather than swap utilized, you need to modify template to show swap utilization. ____________________________________________ Ayotunde Itayemi To PM cc Subject [Nagios-users] PNP swap template HOWTO Hi All, By default I have nothing in the templates directory of my PNP installation so all my graphs use the "Default Template." I noticed that this inverts the SWAP utilization graph i.e., the red and yellow lines (warning/critical) are very close to the bottom of the graph while the utilization shows as almost 100% (close to the top) instead of very low is it actually is. I have copied the check_swap.php from the templates.dist directory into the templates directory, deleted all the existing swap.xml and swap.rrd files, and restarted the npcd daemon. I have also tried renaming check_swap.php to swap.php. I noticed also that all my graphs use the Default Template and the XML files for all of them have . As these files are generated automatically, how do I get the SWAP graph to use the SWAP template? What else do I need to do? I am using PNP version 0.4.13 Thanks. "This mail is from a Gimper" -----Original Message----- From: Ed Donahue [mailto:liberaled at gmail.com] Sent: Thursday, April 30, 2009 5:13 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] [nagios] Trigger alert via email Is it possible to trigger an alert by sending an email to nagios (passive check)? I'm guessing it isn't a straight forward as that, just wonder if it is doable, and any links to examples would be cool too. Thanks in advance Ed ------------------------------------------------------------------------ ------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ForwardSourceID:NT000064DE =====-----=====-----===== Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alejandro.sanchez at ite.es Thu May 7 10:43:45 2009 From: alejandro.sanchez at ite.es (=?iso-8859-1?Q?Alejandro_S=E1nchez_Mero=F1o?=) Date: Thu, 7 May 2009 10:43:45 +0200 Subject: check_snmp - warning numbers References: Message-ID: Hola de nuevo... I'll answer you in English so that anybody in the list can understand and participate in this subject. I think that if you don't know exactly which parameter to monitor you should browse the whole OID list that you receive when you do a snmpwalk on your switch, and identify the ones that fit your needs, with the help of the website I said yesterday, or any other OIDs reference. My case: The only thing I want to detect is if there is any damaged port in any of my switches. So what I did was to snmpwalk on a switch which I positively knew that had its port #2 damaged, and discover which OID was significantly different for this port. And the one I found is: iso.3.6.1.2.1.10.7.2.1.7 (maybe you can find it as its equivalent: SNMPv2-SMI::mib-2.10.7.2.1.7) defined as: "a count of frames for which the first transmission attempt on a particular interface is delayed because the medium is busy". The thing is that it's the only OID I found that gave a very high value for port #2 (about 65,000 or so) and 0 for the rest of ports that work properly. The command I defined for this was like this: define command { command_name check_port command_line $USER1$/check_snmp -H $HOSTADDRESS$ -C password -O iso.3.6.1.2.1.10.7.2.1.7.$ARG1$ -w 1 -c 10 -u retries } For sure there must be somebody else in the list who can give to you a more detailed or a more formally correct answer... Hasta la proxima, Alejandro == Alejandro Sanchez Merono Area de Informatica y Comunicaciones Instituto de Tecnologia Electrica - http://www.ite.es Valencia - Spain -----Mensaje original----- De: Matias Blanco [mailto:matias at valastro.com.ar] Enviado el: mi?rcoles, 06 de mayo de 2009 19:27 Para: Alejandro S?nchez Mero?o; Nagios-users at lists.sourceforge.net Asunto: RE: [Nagios-users] check_snmp - warning numbers Hola Alejandro, Ahora otra cosa: De que manera crees que pueda chequear los puertos de mi switch con nagios para tener una idea m?s clara de lo que est? sucediendo? Porque esos paquetes entrantes con errores no se si son por causa de la PC o de los puerto del switch... Muchas Gracias... Cristian ************************************ Hola Mat?as... :-) and hola everyone... There exists a magical website where to identify every OID you can check with SNMP, the link is: http://support.ipmonitor.com/mibs_byoidtree.aspx For your particular issue, if you type "RFC1213-MIB" at the "Search for:" form, click the result given ("RFC1213-MIB"), and then "View: Oid-tree", you'll be able to locate "ifInErrors(14)" at the tree shown, and clicking it you'll find its Description, which reads literally: "The number of inbound packets that contained errors preventing them from being deliverable to a higher-layer protocol." That's the answer to your question!! Now some other questions appear... Wouldn't it be nicer to know what exactly are you monitoring before you monitor it, so you could properly interpret the results? Is that parameter (number of inbound packets that contained errors and blah blah blah...) significant enough to determine if a port is working properly or not? Hope this helps... Best regards, Alejandro == Alejandro Sanchez Merono Area de Informatica y Comunicaciones Instituto de Tecnologia Electrica - http://www.ite.es Valencia - Spain -----Mensaje original----- De: Matias Blanco [mailto:matias at valastro.com.ar] Enviado el: mi?rcoles, 06 de mayo de 2009 17:49 Para: Nagios-users at lists.sourceforge.net Asunto: [Nagios-users] check_snmp - warning numbers Hi, I am using the check_snmp nagios`s plugin. And when we check the ports status of a 3com Baseline 2250 Plus, we recibe many ports results: SNMP OK - 0 SNMP WARNING - *1* SNMP WARNING - *84* SNMP WARNING - *2* SNMP WARNING - *2* SNMP WARNING - *4* The question is, what?s the meaning of the warning numbers? Other information: ------------------ # 'check_snmp' command definition define command{ command_name check_snmp command_line $USER1$/check_snmp -H $HOSTADDRESS$ $ARG1$ } Example of service ------------------- define service { use service-15x3x5-switchs host_name 3COM2250P service_description Port 03 [In Errors] check_command check_snmp!-C public -o ifInErrors.3 -w 0 -m RFC1213-MIB notifications_enabled 0 } THANKS... Mat?as Blanco. ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jerome.Meyer at baldata.ch Thu May 7 11:42:20 2009 From: Jerome.Meyer at baldata.ch (Meyer Jerome) Date: Thu, 7 May 2009 11:42:20 +0200 Subject: check_icmp and check_host In-Reply-To: <5FD26B9AFD2D424F91E44F19CFCB8CC3@MADness> References: <46EEEA5FAED9CA479556002BA9C27FD705C5A2D3@iw50.iwbnet.ch> <46EEEA5FAED9CA479556002BA9C27FD705C5A2E8@iw50.iwbnet.ch> <5FD26B9AFD2D424F91E44F19CFCB8CC3@MADness> Message-ID: <46EEEA5FAED9CA479556002BA9C27FD705C5A485@iw50.iwbnet.ch> Thanks a lot... Now I'm installing the lib*-devel with this yum install command (I did not know that it was possible to use yum install)! So, and now all Menus an graphs are available... just great!! jerome > -----Urspr?ngliche Nachricht----- > Von: MAD [mailto:sri.lumpa at free.fr] > Gesendet: Mittwoch, 6. Mai 2009 19:00 > An: Meyer Jerome; jmoseley at corp.xanadoo.com > Cc: Nagios-users at lists.sourceforge.net > Betreff: Re: [Nagios-users] check_icmp and check_host > > I installed from scratch. That's why I told you to install the "devel" > package (with 'yum install libjpeg-devel' for example). Once you will have > installed every devel package I told you to, just compile again Nagios and > install with 'make all && make install' and every thing should be working > fine. > > Concerning the availability graph, this was the correct link but since you > had'nt install libpng-devel nor libgd-devel, this couldn't work. > > Marc-Andr? > > ----- Original Message ----- > From: "Meyer Jerome" > To: > Cc: > Sent: Wednesday, May 06, 2009 6:03 PM > Subject: Re: [Nagios-users] check_icmp and check_host > > > I'll check that and install it in this way... > > Thanks a lot, > Jerome > > P.S.- Anyway! As someone still install Nagios from scratch????? > > > > > -----Urspr?ngliche Nachricht----- > > Von: jmoseley at corp.xanadoo.com [mailto:jmoseley at corp.xanadoo.com] > > Gesendet: Mittwoch, 6. Mai 2009 17:54 > > An: Meyer Jerome > > Cc: Nagios-users at lists.sourceforge.net > > Betreff: Re: AW: [Nagios-users] check_icmp and check_host > > > > Since this is the first time you've installed Nagios (I assume) and you > > probably haven't used it much, I wouldn't expect there is too much benefit > > for you by installing Nagios from source. > > > > I would suggest that you take advantage of RH's rpm management and install > > Nagios from rpm. Doing that will automatically satisfy all your > > dependencies, install everything, and generate an Apache config and > > startup > > script. Plus, upgrades will be much simpler. Plugins will also be a > > breeze: > > > > yum install nagios-plugins > > > > Config files are stored in: /etc/nagios > > Plugins: /usr/lib/nagios/plugins > > CGI: /usr/lib/nagios/cgi > > html: /usr/share/nagios > > > > > > James Moseley > > > > > > > > "Meyer Jerome" wrote: > > > > Hi James > > > > I've install Nagios through source-code : nagios-3.0.6.tar.gz! > > > > Thanks > > Jerome > > > > > > > > > > > > > > > ----------------------------------------------------------------------------- > - > The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your > production scanning environment may not be a perfect world - but thanks to > Kodak, there's a perfect scanner to get the job done! With the NEW KODAK > i700 > Series Scanner you'll get full speed at 300 dpi even with all image > processing features enabled. http://p.sf.net/sfu/kodak-com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mohandas.k at tcs.com Thu May 7 11:45:09 2009 From: mohandas.k at tcs.com (mohandas.k at tcs.com) Date: Thu, 7 May 2009 16:15:09 +0630 Subject: Nagios PNP4nagios reporting In-Reply-To: <765d77c80905050715y4b959c3enfebfb6e21405647b@mail.gmail.com> References: <765d77c80905050715y4b959c3enfebfb6e21405647b@mail.gmail.com> Message-ID: Hi Jim, As per your suggestion i tried to configure it using DRRAW, but I am not able to implement it. So could you please send me some document or relevant URL so that I can implement the same. Regards, Mohandas Kudva K Mailto: mohandas.k at tcs.com ____________________________________________ Experience certainty. IT Services Business Solutions Outsourcing ____________________________________________ Jim Avery Sent by: averyjim at gmail.com 05/05/2009 07:45 PM To mohandas.k at tcs.com cc nagios-users at lists.sourceforge.net Subject Re: [Nagios-users] Nagios PNP4nagios reporting 2009/5/5 : > > Hi All, > > I am using Nagios along with pnp4nagios/rrdtool for reporting/graph. > > I am able to view services dashboard for individual host. is it possible to > view single graph for service/resource (i.e memory utilization) graph for > all hosts/hostgroups ? > > as of now every host has single graph for their services.but I want to view > one single specific performance (i.e. Memory utilization) graph for all > hosts/hostgroups. > > I am currently using following versions > > Nagios 3.0.5 > pnp4nagios 0.4.13 > RRDtool 1.2.19 You can do that sort of thing using DRRAW ( http://web.taranis.org/drraw/ ) to make graphs from your existing PNP .rrd databases. hth, Jim ForwardSourceID:NT00002956 =====-----=====-----===== Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scarolan at gmail.com Thu May 7 16:50:55 2009 From: scarolan at gmail.com (Sean Carolan) Date: Thu, 7 May 2009 09:50:55 -0500 Subject: Disable Acknowledgement Alerts? Message-ID: <277020fc0905070750t6aba4a50wcd7ebcce2bcad665@mail.gmail.com> Some of our admins do not want to receive SMS alerts for service acknowledgments. I have searched high and low throughout the documentation and have not been able to find out how to do this. I see that there are some options like "d u r f s" for down, unreachable, recovery, flapping and send notifications for downtime. Where is the option to enable or disable ack alerts? Thanks Sean ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ssimmons at cymfony.com Thu May 7 17:40:41 2009 From: ssimmons at cymfony.com (Seth Simmons) Date: Thu, 7 May 2009 11:40:41 -0400 Subject: Disable Acknowledgement Alerts? In-Reply-To: <277020fc0905070750t6aba4a50wcd7ebcce2bcad665@mail.gmail.com> References: <277020fc0905070750t6aba4a50wcd7ebcce2bcad665@mail.gmail.com> Message-ID: <4881ECF1AB752843908A20CEE07A8EB1128387@buf-ex01.cymfony.com> When you acknowledge a problem, there is a checkbox to send notification. Uncheck that box and it won't send an ack alert. -----Original Message----- From: Sean Carolan [mailto:scarolan at gmail.com] Sent: Thursday, May 7, 2009 10:51 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Disable Acknowledgement Alerts? Some of our admins do not want to receive SMS alerts for service acknowledgments. I have searched high and low throughout the documentation and have not been able to find out how to do this. I see that there are some options like "d u r f s" for down, unreachable, recovery, flapping and send notifications for downtime. Where is the option to enable or disable ack alerts? Thanks Sean ------------------------------------------------------------------------ ------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From deibertine at yahoo.com Thu May 7 18:00:48 2009 From: deibertine at yahoo.com (Dei Bertine) Date: Thu, 7 May 2009 09:00:48 -0700 (PDT) Subject: Nagios Service Dependencies In-Reply-To: <765d77c80905062347x757fe69dj86656cdc3cd8b4c0@mail.gmail.com> References: <289071.54106.qm@web111213.mail.gq1.yahoo.com> <765d77c80905062347x757fe69dj86656cdc3cd8b4c0@mail.gmail.com> Message-ID: <502131.69920.qm@web111212.mail.gq1.yahoo.com> Hi Jim, Thanks for clarifying to me et al, I will definitely give this a shot. I'm sure this will benefit the others who thought of building this config in their Nagios, especially for a newbie like I... :-) Cheers, DB ________________________________ From: Jim Avery To: Dei Bertine Cc: nagios-users at lists.sourceforge.net Sent: Wednesday, May 6, 2009 11:47:01 PM Subject: Re: [Nagios-users] Nagios Service Dependencies 2009/5/7 Dei Bertine : > Basic question guys: > > Which file do you normally place your service dependencies in? > > It stated here: http://nagios.sourceforge.net/docs/2_0/dependencies.html > to place in objects cfg file which I thought placing it in my nagios.cfg???? > > But when I did, it complained about this error after running -v: > Error in configuration file 'nagios.cfg' - Line 2859 (NULL value) > > > Here's a sample of my definition: > define servicedependency{ > host_name ciscoasa-router > service_description PING > dependent_host_name ciscosw-router > dependent_service_description PING > execution_failure_criteria o > notification_failure_criteria w,u > } > > Please advise. > > Thank you! > DB I would put service dependencies in a file called something like 'servicedependencies.cfg'. in nagios.cfg, you need a pointer to this new file, for example: cfg_file=/usr/local/nagios/etc/objects/servicedependencies.cfg The nagios.cfg file should only contain the main configuration file options which you'll find documented in http://nagios.sourceforge.net/docs/3_0/configmain.html But ... I'm not convinced you should need service dependencies for 'ping' from one host to another. Nagios handles this sort of thing automatically if you configure the host parent relationships. See: http://nagios.sourceforge.net/docs/3_0/networkreachability.html hth, Jim -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From GJFRATER at bechtel.com Thu May 7 18:36:11 2009 From: GJFRATER at bechtel.com (Frater, Greg J) Date: Thu, 7 May 2009 09:36:11 -0700 Subject: Im confused about scheduled downtime and notifications In-Reply-To: <765d77c80905052350s52ddf805m700a33ae2bc1cb4e@mail.gmail.com> References: <872CB0AEB377C240A112DD7C10B2592904B215B0@wtps0171.amers.ibechtel.com> <765d77c80905052350s52ddf805m700a33ae2bc1cb4e@mail.gmail.com> Message-ID: <872CB0AEB377C240A112DD7C10B2592904B215CB@wtps0171.amers.ibechtel.com> >> Hi All, >> >> We've just migrated from Nagios 1 to 3.0.6.? I have a host that was in >> scheduled downtime and turned off.? I turned it back on, while still >> in scheduled downtime, and got a HOST UP alert for it.? Is this >> expected behavior?? Could I have a misconfiguration somewhere, where should I look? >> Has anyone else seen this? >I've occasionally seen notifications for hosts in scheduled downtime, but only in the few seconds after restarting the Nagios daemon. I don't think it's >expected behaviour, no. In this case the daemon had been running for 3 days. >I've not bothered to find a fix for it, as it happens only rarely and so long as I don't restart the daemon at three in the morning, it won't bother anyone. This was on a host that had just been retired, I turned it back on to get a file off of it and that's when the alert was sent, it had been offline for a while. The interesting thing was that Nagios only sent a UP alert when I shut it down again (a few minutes later) the alerts for down were not sent (as would be expected). It does not appear to be a major problem (no one else responded), I'm not going to worry about it too much. Thanks for your feedback. -greg ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From craig at hooters-uk.com Thu May 7 19:52:23 2009 From: craig at hooters-uk.com (craig at hooters-uk.com) Date: Thu, 7 May 2009 18:52:23 +0100 Subject: Escalations Info Message-ID: Hi all, I'm trying to understand the escalation process in Nagios but think I'm missing a trick somewhere, this is what I want to do. If I have a service that is down I would like 3 email sent out and then after the 3 mails I would like this to escalate this to send out SMS sent and then stop. So in my escalations I have the following but unsure if it?s the correct format. First escalation: 3 because as I understand it this will occur after 3 mails have been sent. Last Escalation: 3 because I want 3 SMS sent after my 3 mails. Is this the way to do it or have I not got the correct understanding of it Thanks all Craig ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu May 7 20:13:13 2009 From: marc at ena.com (Marc Powell) Date: Thu, 7 May 2009 13:13:13 -0500 Subject: Escalations Info In-Reply-To: References: Message-ID: <5EB6D201-2EE0-4696-96E9-1E95D5E616D1@ena.com> On May 7, 2009, at 12:52 PM, craig at hooters-uk.com wrote: > First escalation: 3 because as I understand it this will occur after > 3 mails have been sent. > Last Escalation: 3 because I want 3 SMS sent after my 3 mails. > > Is this the way to do it or have I not got the correct understanding > of it I don't use escalations but my understanding is the numbering is sequential -- Notification number 1 - email 2 - email 3 - email 4 - First Escalation - sms 5 - sms 6 - Last Escalation - sms -- Marc ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From matias at valastro.com.ar Thu May 7 22:02:09 2009 From: matias at valastro.com.ar (Matias Blanco) Date: Thu, 7 May 2009 17:02:09 -0300 Subject: check_snmp - warning numbers In-Reply-To: References: Message-ID: <0AD5DC417EEA47AC9DF8DD09FA4B3C9D@giorno.valastro> Hello, How can i do an snmpwalk on my switch? Thanks, Cristian... -----Mensaje original----- De: Alejandro S?nchez Mero?o [mailto:alejandro.sanchez at ite.es] Enviado el: Jueves, 07 de Mayo de 2009 05:44 Para: Matias Blanco; Nagios-users at lists.sourceforge.net Asunto: RE: [Nagios-users] check_snmp - warning numbers Hola de nuevo... I'll answer you in English so that anybody in the list can understand and participate in this subject. I think that if you don't know exactly which parameter to monitor you should browse the whole OID list that you receive when you do a snmpwalk on your switch, and identify the ones that fit your needs, with the help of the website I said yesterday, or any other OIDs reference. My case: The only thing I want to detect is if there is any damaged port in any of my switches. So what I did was to snmpwalk on a switch which I positively knew that had its port #2 damaged, and discover which OID was significantly different for this port. And the one I found is: iso.3.6.1.2.1.10.7.2.1.7 (maybe you can find it as its equivalent: SNMPv2-SMI::mib-2.10.7.2.1.7) defined as: "a count of frames for which the first transmission attempt on a particular interface is delayed because the medium is busy". The thing is that it's the only OID I found that gave a very high value for port #2 (about 65,000 or so) and 0 for the rest of ports that work properly. The command I defined for this was like this: define command { command_name check_port command_line $USER1$/check_snmp -H $HOSTADDRESS$ -C password -O iso.3.6.1.2.1.10.7.2.1.7.$ARG1$ -w 1 -c 10 -u retries } For sure there must be somebody else in the list who can give to you a more detailed or a more formally correct answer... Hasta la proxima, Alejandro == Alejandro Sanchez Merono Area de Informatica y Comunicaciones Instituto de Tecnologia Electrica - http://www.ite.es Valencia - Spain -----Mensaje original----- De: Matias Blanco [mailto:matias at valastro.com.ar] Enviado el: mi?rcoles, 06 de mayo de 2009 19:27 Para: Alejandro S?nchez Mero?o; Nagios-users at lists.sourceforge.net Asunto: RE: [Nagios-users] check_snmp - warning numbers Hola Alejandro, Ahora otra cosa: De que manera crees que pueda chequear los puertos de mi switch con nagios para tener una idea m?s clara de lo que est? sucediendo? Porque esos paquetes entrantes con errores no se si son por causa de la PC o de los puerto del switch... Muchas Gracias... Cristian ************************************ Hola Mat?as... :-) and hola everyone... There exists a magical website where to identify every OID you can check with SNMP, the link is: http://support.ipmonitor.com/mibs_byoidtree.aspx For your particular issue, if you type "RFC1213-MIB" at the "Search for:" form, click the result given ("RFC1213-MIB"), and then "View: Oid-tree", you'll be able to locate "ifInErrors(14)" at the tree shown, and clicking it you'll find its Description, which reads literally: "The number of inbound packets that contained errors preventing them from being deliverable to a higher-layer protocol." That's the answer to your question!! Now some other questions appear... Wouldn't it be nicer to know what exactly are you monitoring before you monitor it, so you could properly interpret the results? Is that parameter (number of inbound packets that contained errors and blah blah blah...) significant enough to determine if a port is working properly or not? Hope this helps... Best regards, Alejandro == Alejandro Sanchez Merono Area de Informatica y Comunicaciones Instituto de Tecnologia Electrica - http://www.ite.es Valencia - Spain -----Mensaje original----- De: Matias Blanco [mailto:matias at valastro.com.ar] Enviado el: mi?rcoles, 06 de mayo de 2009 17:49 Para: Nagios-users at lists.sourceforge.net Asunto: [Nagios-users] check_snmp - warning numbers Hi, I am using the check_snmp nagios`s plugin. And when we check the ports status of a 3com Baseline 2250 Plus, we recibe many ports results: SNMP OK - 0 SNMP WARNING - *1* SNMP WARNING - *84* SNMP WARNING - *2* SNMP WARNING - *2* SNMP WARNING - *4* The question is, what?s the meaning of the warning numbers? Other information: ------------------ # 'check_snmp' command definition define command{ command_name check_snmp command_line $USER1$/check_snmp -H $HOSTADDRESS$ $ARG1$ } Example of service ------------------- define service { use service-15x3x5-switchs host_name 3COM2250P service_description Port 03 [In Errors] check_command check_snmp!-C public -o ifInErrors.3 -w 0 -m RFC1213-MIB notifications_enabled 0 } THANKS... Mat?as Blanco. ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Thu May 7 23:18:51 2009 From: jim at jimavery.me.uk (Jim Avery) Date: Thu, 7 May 2009 22:18:51 +0100 Subject: The icinga on the cake ... Message-ID: <765d77c80905071418u2910683v5f2124f5016dc319@mail.gmail.com> I'm surprised nobody's mentioned this yet... http://www.icinga.org/ I only noticed it myself when I visited Nagios Exchange today. Not being a developer myself, I'm not quite sure what to say or think, except that I'm continuously deeply grateful to everyone who bring us Nagios itself, and the plugins and tools which make it greater than the sum of its parts. Cheers, Jim ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mgagne at iweb.com Thu May 7 23:47:25 2009 From: mgagne at iweb.com (=?ISO-8859-1?Q?Mathieu_Gagn=E9?=) Date: Thu, 07 May 2009 17:47:25 -0400 Subject: The icinga on the cake ... In-Reply-To: <765d77c80905071418u2910683v5f2124f5016dc319@mail.gmail.com> References: <765d77c80905071418u2910683v5f2124f5016dc319@mail.gmail.com> Message-ID: <4A0356ED.3020106@iweb.com> Hi, On 5/7/09 5:18 PM, Jim Avery wrote: > I'm surprised nobody's mentioned this yet... > > http://www.icinga.org/ > > I only noticed it myself when I visited Nagios Exchange today. > > Not being a developer myself, I'm not quite sure what to say or think, > except that I'm continuously deeply grateful to everyone who bring us > Nagios itself, and the plugins and tools which make it greater than > the sum of its parts. You should subscribe to nagios-devel. There's some discussions going there. :) -- Mathieu ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From co.casado at gmail.com Fri May 8 05:27:51 2009 From: co.casado at gmail.com (Cristiano Casado) Date: Fri, 8 May 2009 00:27:51 -0300 Subject: Ndoutils bad performance Message-ID: Hello everyone. I am using Nagios 3.0.6 with ndoutils 1.4b7 and MySQL 5.0 on a Linux machine CentOS 5.2 (2.6.18) with 2GB ram and x64 Intel Xeon 2.50GHz processor in the laboratory environment. I chose to use the ndoutils to maintain historical information aboutchecks on the database (tables nagios_servicechecks and nagios_hostcheks) and Nagvis to use the graphical representation of my network. The functional tests were good, but the project got to the point where I had to do a benchmark with a number of 7,000 services, simulating my production environment. Loading broker ndomod but without running the ndo2db daemon I have a good performance of service checks with almost 95% of services being out in the window of 5 min and a check with low latency. Important emphasize that all services are active (not passive) with check_interval of 5 minutes. When I run the ndo2db daemon, where it initialize a unix socket and starts operations in the database, I get a considerable loss of check performance of the service with only 9% of services being handled in window of 5 min, high latency of checks and CPU iowait counter between 90% and 100%. Services to be processed by the Nagios daemon in 5 min are processed with delay of up to 1 hour. How MySQL is on the same machine, it did the tuning (buffer, threads, etc.) and applied additionals table indexes. As test I changed the nagios database schema for the "blackhole". Thus the bank accepts connections and operations (select, insert, delete, ...) but not recording the data on disk. The iowait continued high with bad performance. I do not suspect most of the database. I noticed that the daemon ndo2db uses only 1 connection to the database to various operations per second, each operation is awaiting the end of the previous run. What I find particularly bad. Question: someone uses the facilities of ndoutils with the database in large nagios installations (> 1500 hosts> 7000 services) without performance problems to give me help ? Nagios settings are below. I followed some recommendations for the tuning of the document nagios http://nagios.sourceforge.net/docs/3_0/tuning.html ### Nagios Config ### log_file=/var/log/nagios/nagios.log object_cache_file=/var/nagios/objects.cache precached_object_file=/var/nagios/objects.precache resource_file=/etc/nagios/resource.cfg status_file=/var/nagios/status/status.dat status_update_interval=10 nagios_user=nagios nagios_group=nagios check_external_commands=1 command_check_interval=15s command_file=/var/nagios/rw/nagios.cmd external_command_buffer_slots=4096 lock_file=/var/run/nagios.pid temp_file=/var/nagios/nagios.tmp temp_path=/tmp event_broker_options=-1 broker_module=/usr/libexec/ndomod-3x.o config_file=/etc/nagios/ndomod.cfg log_rotation_method=d log_archive_path=/var/log/nagios/archives use_syslog=1 log_notifications=1 log_service_retries=1 log_host_retries=1 log_event_handlers=1 log_initial_states=0 log_external_commands=1 log_passive_checks=1 service_inter_check_delay_method=s max_service_check_spread=30 service_interleave_factor=s host_inter_check_delay_method=s max_host_check_spread=30 max_concurrent_checks=0 check_result_reaper_frequency=5 max_check_result_reaper_time=5 check_result_path=/var/nagios/spool/checkresults max_check_result_file_age=3600 cached_host_check_horizon=30 cached_service_check_horizon=60 enable_predictive_host_dependency_checks=1 enable_predictive_service_dependency_checks=1 soft_state_dependencies=0 auto_reschedule_checks=0 auto_rescheduling_interval=30 auto_rescheduling_window=180 sleep_time=0.25 service_check_timeout=60 host_check_timeout=30 event_handler_timeout=30 notification_timeout=30 ocsp_timeout=5 perfdata_timeout=5 retain_state_information=1 state_retention_file=/var/nagios/retention.dat retention_update_interval=60 use_retained_program_state=1 use_retained_scheduling_info=1 retained_host_attribute_mask=0 retained_service_attribute_mask=0 retained_process_host_attribute_mask=0 retained_process_service_attribute_mask=0 retained_contact_host_attribute_mask=0 retained_contact_service_attribute_mask=0 interval_length=60 use_aggressive_host_checking=0 execute_service_checks=1 accept_passive_service_checks=1 execute_host_checks=1 accept_passive_host_checks=1 enable_notifications=1 enable_event_handlers=1 process_performance_data=0 obsess_over_services=0 obsess_over_hosts=0 translate_passive_host_checks=0 passive_host_checks_are_soft=0 check_for_orphaned_services=1 check_for_orphaned_hosts=1 check_service_freshness=1 service_freshness_check_interval=60 check_host_freshness=0 host_freshness_check_interval=60 additional_freshness_latency=15 enable_flap_detection=1 low_service_flap_threshold=5.0 high_service_flap_threshold=20.0 low_host_flap_threshold=5.0 high_host_flap_threshold=20.0 date_format=us p1_file=/usr/bin/p1.pl enable_embedded_perl=1 use_embedded_perl_implicitly=1 illegal_object_name_chars=`~!$%^&*|'"<>?,()= illegal_macro_output_chars=`~$&|'"<> use_regexp_matching=0 use_true_regexp_matching=0 admin_email=nagios at localhost admin_pager=pagenagios at localhost daemon_dumps_core=0 use_large_installation_tweaks=1 enable_environment_macros=0 debug_level=0 debug_verbosity=1 debug_file=/var/log/nagios/nagios.debug max_debug_file_size=1000000 cfg_file=/etc/nagiosql/commands.cfg cfg_file=/etc/nagiosql/contactgroups.cfg cfg_file=/etc/nagiosql/contacts.cfg cfg_file=/etc/nagiosql/contacttemplates.cfg cfg_file=/etc/nagiosql/hostdependencies.cfg cfg_file=/etc/nagiosql/hostescalations.cfg cfg_file=/etc/nagiosql/hostextinfo.cfg cfg_file=/etc/nagiosql/hostgroups.cfg cfg_dir=/etc/nagiosql/hosts cfg_file=/etc/nagiosql/hosttemplates.cfg cfg_file=/etc/nagiosql/servicedependencies.cfg cfg_file=/etc/nagiosql/serviceescalations.cfg cfg_file=/etc/nagiosql/serviceextinfo.cfg cfg_file=/etc/nagiosql/servicegroups.cfg cfg_dir=/etc/nagiosql/services cfg_file=/etc/nagiosql/servicetemplates.cfg cfg_file=/etc/nagiosql/timeperiods.cfg -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Surajit.Mukherjee at ness.com Fri May 8 06:02:12 2009 From: Surajit.Mukherjee at ness.com (Surajit Mukherjee) Date: Fri, 8 May 2009 09:32:12 +0530 Subject: Connection refused Message-ID: I am getting "Connection refused" status information on a Windows 2003 Server that is using NSClient++. Out of the 7 Windows server I have in Nagios 3.0.6, this is the only server giving me that error Cheers, Surajit The information contained in this communication is intended solely for the use of the individual or entity to whom it is addressed and others authorized to receive it. It may contain confidential or legally privileged information. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this information is strictly prohibited and may be unlawful. If you have received this communication in error, please notify us immediately by forwarding this email to MailAdmin at ness.com and then delete it from your system. Ness technologies is neither liable for the proper and complete transmission of the information contained in this communication nor for any delay in its receipt. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From maikel.delcastilho at googlemail.com Fri May 8 06:32:16 2009 From: maikel.delcastilho at googlemail.com (M. del Castilho) Date: Fri, 8 May 2009 06:32:16 +0200 Subject: Multiple alerts from one script (Windows Eventlog monitoring) Message-ID: <83EAEFA90AFC46168F94E14E01C18464@privead6996662> Hello everyone. Started testing Nagios since last February, and am very much please with the functionality. I currently have a pilot Nagios implementation, monitoring about 100 Windows 2003 servers. I have one WinXP client, installed with a NSClient++ agent. All checks are executed remotely from the WinXP workstation, which acts as a proxy. My servers are agentless. Now I have created a vbs script to collect entries from the Windows eventlog, alerting on filtered errors, warning, eventsource, eventide, etc. For each defined filter I create one Service in Nagios (eg. I have one service checking for Antivirus events, another service checking for Printserver events, one service checking for DNS events, etc.) Each run of the script could report on multiple events. At the moment the script creates one single alert, showing multiple events. However, I would like to A. have one alert generated for each unique event (in order to use the notification mechanism). If possible I would like to implement an event-database, where I would be able to handle each unique alert. Something similar to MOM, where a count of each unique event is displayed, and as long as the event is not yet closed no new notifications are being sent out. B. In the end, I would like to implement some module, that will create a ticket in our Ultimo helpdesk system, for each new alert generated. Is this feasible with a combination of NSCA and Nagios Eventdb ? I have not yet been able to get the Eventdb running properly yet, so at the moment I am unable to assess the value of this tool. Also with NSCA I have just started playing. However, after some time I started getting NTVDM errors, which would only resolve with a reboot from my proxy.Th built-in NSCA functionality in the NSClient++ will only allow me (or so it seems) to run one instance of every defined script at a regular interval. Has anyone implemented something similar yet, and how did you get everything up and running ? Thanks in advance for feedback, Mike -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chethan.mnc at wipro.com Fri May 8 07:05:29 2009 From: chethan.mnc at wipro.com (chethan.mnc at wipro.com) Date: Fri, 8 May 2009 10:35:29 +0530 Subject: Need To migrate Nagios Setup to a New Hardware Message-ID: <654234233CA505458519F3D4BC36DABF01254788@blr-cst-msg.wipro.com> Hi All, I m need to migrate the existing Nagios setup to a new Hardware (server)... (i.e. from one server to another server) Since I am doing such kind of migration for the first time, I need some standard documents for reference. Please share some related documents that specifices the safe procedure for doing the migration keeping all the configurations, look and feel of the existing nagios same. Thanks & Regards, Chethan M N, P Save a Tree - Please consider the environment before printing this email -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gaurav at subisu.net.np Fri May 8 07:10:24 2009 From: gaurav at subisu.net.np (Gaurav Ghimire) Date: Fri, 08 May 2009 10:55:24 +0545 Subject: Could NRPE be in some ways related to nss_ldap Message-ID: <4A03BEC0.6090200@subisu.net.np> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Dear all, I have a remote server monitored using NRPE. Recently what I found was when my LDAP server went off, I was given a "CHECK_NRPE: Socket timeout after 10 seconds." . This could have been the cause had nsswitch.conf in the box with NRPE installed has hosts queried via LDAP as well. But that isn't the case. Can there be any other reason? Any one ever came across this situation. Regards - -- Gaurav Ghimire System Administrator Subisu Cablenet (P.) Ltd. 148 Thirbum Sadak Baluwatar, Kathmandu Nepal http://www.subisu.net.np First and Only True Cable Internet Service Provider in Nepal (An ISO 9001:2000 Certified Company) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkoDvsAACgkQnfv7imVnL2vf7gCfan5jhTMaVkGlPI6EdNShcEyJ dgEAnimtz7rinIqX2VKe8cZiUPk9T02s =Ijgj -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gaurav at subisu.net.np Fri May 8 07:57:27 2009 From: gaurav at subisu.net.np (Gaurav Ghimire) Date: Fri, 08 May 2009 11:42:27 +0545 Subject: Need To migrate Nagios Setup to a New Hardware In-Reply-To: <654234233CA505458519F3D4BC36DABF01254788@blr-cst-msg.wipro.com> References: <654234233CA505458519F3D4BC36DABF01254788@blr-cst-msg.wipro.com> Message-ID: <4A03C9C7.702@subisu.net.np> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 chethan.mnc at wipro.com wrote: > Hi All, > > > I m need to migrate the existing Nagios setup to a new Hardware > (server)? (i.e. from one server to another server) > > > > Since I am doing such kind of migration for the first time, I need some > standard documents for reference. > > Please share some related documents that specifices the safe procedure > for doing the migration keeping all the configurations, look and feel of > the existing nagios same. > > *Thanks & Regards,* > > > > *Chethan M N,* > P Save a Tree - Please consider the environment before printing this email Dear Chethan, You actually don't need a particular document for the migration. Just a few steps to be followed. ~ Keep intact the /usr/local/nagios/share , /usr/local/nagios/etc/ and /usr/local/nagios/var folders. They all need to be the same. ~ Check with all the plugins that you have installed in the older nagios server. ~ Some plugins that are installed in the older server might not be installed in the newer one, because of some version differences and dependencies. Search options for those. ~ Check if the version difference and the features implemented/deprecated in nagios effects your setup. ~ Install the nagios in the newer server and replace the above listed folders and plugins. You are good to go. Regards - -- Gaurav Ghimire System Administrator Subisu Cablenet (P.) Ltd. 148 Thirbum Sadak Baluwatar, Kathmandu Nepal http://www.subisu.net.np First and Only True Cable Internet Service Provider in Nepal (An ISO 9001:2000 Certified Company) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkoDyccACgkQnfv7imVnL2u6QACdFEmGU8xOQEigxhDshmWYbWBv 090AoJjskhC9FxVtquXf2P6xiZwy5jkH =OaLE -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy-lists at networkmail.eu Fri May 8 08:32:46 2009 From: andy-lists at networkmail.eu (Andy Shellam) Date: Fri, 08 May 2009 07:32:46 +0100 Subject: Connection refused In-Reply-To: References: Message-ID: <4A03D20E.20902@networkmail.eu> Surajit, Is the service actually running on that server? Can you telnet to the NSClient++ port manually? Regards, Andy Surajit Mukherjee wrote: > I am getting "Connection refused" status information on a Windows 2003 > Server that is using NSClient++. Out of the 7 Windows server I have in > > Nagios 3.0.6, this is the only server giving me that error > > ** ** > > **Cheers,** > > **Surajit** > > > > > > > > > > The information contained in this communication is intended solely for > the use of the individual or entity to whom it is addressed and others > authorized to receive it. It may contain confidential or legally > privileged information. If you are not the intended recipient you are > hereby notified that any disclosure, copying, distribution or taking any > action in reliance on the contents of this information is strictly prohibited > and may be unlawful. If you have received this communication in error, > please notify us immediately by forwarding this email to > MailAdmin at ness.com and then delete it from your system. > > Ness technologies is neither liable for the proper and complete > transmission of the information contained in this communication nor for > any delay in its receipt. > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your > production scanning environment may not be a perfect world - but thanks to > Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 > Series Scanner you'll get full speed at 300 dpi even with all image > processing features enabled. http://p.sf.net/sfu/kodak-com > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mohandas.k at tcs.com Fri May 8 09:22:58 2009 From: mohandas.k at tcs.com (mohandas.k at tcs.com) Date: Fri, 8 May 2009 12:52:58 +0530 Subject: Confusing Virtual memory utlilization on Windows Message-ID: Hi All, I have started windows resource monitoring using Windows NRPE, I don't want to use snmp and NSclients also. I want to check swap utilization rather than swap free, however I have got everywhere check_swap.exe which gives free swap. I have got one exe which gives memory utilization/Virtual memory/page memory utilization, but not sure what should be consider as swap utilization ? I have downloaded this from below URL: http://www.stic-online.de/stic/download/18/check_hugemem.zip please refer above exe syntax ------------------------------------------------------------------------------------------------- >check_hugemem.exe -h check_hugemem - version 0.1 - csnp20070100.00/rie Developed by STIC GmbH - nagios(at)stic-online.de - www.stic-online.de see license.txt for license details. -h help -a about this plugin -w= warn -c= crit (e.g. -c=10) -t= path (e.g. -t=physical, -t=virtual, -t=page) check_hugemem -t=virtual -warn=80 -crit=90 ---------------------------------------------------------------------------------------------------- Can you please let me know which should consider ( -t=virtual, -t=page) as swap utilization in above exe. Mohandas Kudva K ASE Tata Consultancy Services Cell:- +91 9619144048 Mailto: mohandas.k at tcs.com Website: http://www.tcs.com ____________________________________________ Experience certainty. IT Services Business Solutions Outsourcing ____________________________________________ =====-----=====-----===== Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From m.borsani at it.net Fri May 8 09:39:02 2009 From: m.borsani at it.net (Marco Borsani) Date: Fri, 8 May 2009 09:39:02 +0200 Subject: Do you use IPMI with nagios? Message-ID: <10132.2559443817$1241769752@news.gmane.org> Hi all ! I am looking for a method to control many internal server entities like: - Temperature - Disks (how can we check them when are configured in Raid 1 or Raid 5 ??? ) - Fan - Power supply - Etc. I am performing some test with IPMI (on dell servers) and related applications like ipmitool and ipmiutil (very similar), but I am not able to check everything I'd like (for example.disk health) Do you use these tools/features ? How do you control disk health? Regards Marco -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Surajit.Mukherjee at ness.com Fri May 8 10:00:24 2009 From: Surajit.Mukherjee at ness.com (Surajit Mukherjee) Date: Fri, 8 May 2009 13:30:24 +0530 Subject: Connection refused In-Reply-To: <4A03D20E.20902@networkmail.eu> References: <4A03D20E.20902@networkmail.eu> Message-ID: Andy, I am unable to telnet to the port from the Nagios server. I checked netstat -an and the connection is established. I am able to telnet from windows server to the Linux server. Surajit -----Original Message----- From: Andy Shellam [mailto:andy-lists at networkmail.eu] Sent: Friday, May 08, 2009 12:03 PM To: Surajit Mukherjee Cc: Nagios User list Subject: Re: [Nagios-users] Connection refused Surajit, Is the service actually running on that server? Can you telnet to the NSClient++ port manually? Regards, Andy Surajit Mukherjee wrote: > I am getting "Connection refused" status information on a Windows 2003 > Server that is using NSClient++. Out of the 7 Windows server I have in > > Nagios 3.0.6, this is the only server giving me that error > > ** ** > > **Cheers,** > > **Surajit** > > > > > > > > > > The information contained in this communication is intended solely for > the use of the individual or entity to whom it is addressed and others > authorized to receive it. It may contain confidential or legally > privileged information. If you are not the intended recipient you are > hereby notified that any disclosure, copying, distribution or taking any > action in reliance on the contents of this information is strictly prohibited > and may be unlawful. If you have received this communication in error, > please notify us immediately by forwarding this email to > MailAdmin at ness.com and then delete it from your system. > > Ness technologies is neither liable for the proper and complete > transmission of the information contained in this communication nor for > any delay in its receipt. > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------ ------ > The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your > production scanning environment may not be a perfect world - but thanks to > Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 > Series Scanner you'll get full speed at 300 dpi even with all image > processing features enabled. http://p.sf.net/sfu/kodak-com > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null The information contained in this communication is intended solely for the use of the individual or entity to whom it is addressed and others authorized to receive it. It may contain confidential or legally privileged information. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this information is strictly prohibited and may be unlawful. If you have received this communication in error, please notify us immediately by forwarding this email to MailAdmin at ness.com and then delete it from your system. Ness technologies is neither liable for the proper and complete transmission of the information contained in this communication nor for any delay in its receipt. ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jtugores at dome-consulting.com Fri May 8 10:00:18 2009 From: jtugores at dome-consulting.com (Joan Tugores) Date: Fri, 08 May 2009 10:00:18 +0200 Subject: NSCA - Network server bind failure Message-ID: <4A03E692.7030705@dome-consulting.com> An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Firma.JPG Type: image/jpeg Size: 47522 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From subscription at kkeane.com Fri May 8 10:26:05 2009 From: subscription at kkeane.com (Kevin Keane) Date: Fri, 8 May 2009 01:26:05 -0700 Subject: Connection refused In-Reply-To: References: Message-ID: <4A03EC9D.1020206@kkeane.com> What connection, exactly, do you show as "established" with netstat -an? It can't really be the one you are talking about, because that never connected. In any case, you would want to look for LISTENING rather than ESTABLISHED in the output for netstat -an. The local address on the left should say something like 0.0.0.0:xxxx (where xxxx is the port number). If it says 127.0.0.1 then NSClient++ is not listening on the Ethernet port. If you don't see an entry that listens on the correct port, then double-check that NSClient++ is running. If you do see an entry to listen on the correct port, try running nestat -anb . This will tell you which program is actually doing the listening. If it isn't NSClient++, you found your culprit. That's not likely, though. If netstat -anb shows NSClient++ as listening correctly, you almost certainly have a firewall issue. Surajit Mukherjee wrote: > Andy, > > I am unable to telnet to the port from the Nagios server. > > I checked netstat -an and the connection is established. I am able to > telnet from windows server to the Linux server. > > Surajit > > -----Original Message----- > From: Andy Shellam [mailto:andy-lists at networkmail.eu] > Sent: Friday, May 08, 2009 12:03 PM > To: Surajit Mukherjee > Cc: Nagios User list > Subject: Re: [Nagios-users] Connection refused > > Surajit, > > Is the service actually running on that server? Can you telnet to the > NSClient++ port manually? > > Regards, > Andy > > Surajit Mukherjee wrote: > >> I am getting "Connection refused" status information on a Windows 2003 >> Server that is using NSClient++. Out of the 7 Windows server I have >> > in > >> Nagios 3.0.6, this is the only server giving me that error >> >> ** ** >> >> **Cheers,** >> >> **Surajit** >> -- Kevin Keane Owner The NetTech Find the Uncommon: Expert Solutions for a Network You Never Have to Think About Office: 866-642-7116 http://www.4nettech.com This e-mail and attachments, if any, may contain confidential and/or proprietary information. Please be advised that the unauthorized use or disclosure of the information is strictly prohibited. The information herein is intended only for use by the intended recipient(s) named above. If you have received this transmission in error, please notify the sender immediately and permanently delete the e-mail and any copies, printouts or attachments thereof. ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From subscription at kkeane.com Fri May 8 10:27:47 2009 From: subscription at kkeane.com (Kevin Keane) Date: Fri, 8 May 2009 01:27:47 -0700 Subject: NSCA - Network server bind failure In-Reply-To: <4A03E692.7030705@dome-consulting.com> References: <4A03E692.7030705@dome-consulting.com> Message-ID: <4A03ED03.7030401@kkeane.com> This means exactly what the error message says: that there is already another program using port 5667. Odds are that nsca is already running on your computer; maybe it got started as a daemon on system startup. Joan Tugores wrote: > Hi all, > > When I try to put up the daemon nsca with the command > "/usr/local/nagios/bin/nsca -c /usr/local/nagios/etc/nsca.cfg" in > "/var/log/messages" appears "Network server bind failure (98: Address > already in use)" the port 5667 is configured and netstat -na show > "tcp 0 0 0.0.0.0:5667 0.0.0.0:* LISTEN". > > Please Help. > > Thanks. > > -- > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your > production scanning environment may not be a perfect world - but thanks to > Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 > Series Scanner you'll get full speed at 300 dpi even with all image > processing features enabled. http://p.sf.net/sfu/kodak-com > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Kevin Keane Owner The NetTech Find the Uncommon: Expert Solutions for a Network You Never Have to Think About Office: 866-642-7116 http://www.4nettech.com This e-mail and attachments, if any, may contain confidential and/or proprietary information. Please be advised that the unauthorized use or disclosure of the information is strictly prohibited. The information herein is intended only for use by the intended recipient(s) named above. If you have received this transmission in error, please notify the sender immediately and permanently delete the e-mail and any copies, printouts or attachments thereof. ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jtugores at dome-consulting.com Fri May 8 10:55:44 2009 From: jtugores at dome-consulting.com (Joan Tugores) Date: Fri, 08 May 2009 10:55:44 +0200 Subject: NSCA - Network server bind failure Message-ID: <4A03F390.8020307@dome-consulting.com> An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Surajit.Mukherjee at ness.com Fri May 8 11:03:01 2009 From: Surajit.Mukherjee at ness.com (Surajit Mukherjee) Date: Fri, 8 May 2009 14:33:01 +0530 Subject: Connection refused In-Reply-To: <4A03EC9D.1020206@kkeane.com> References: <4A03EC9D.1020206@kkeane.com> Message-ID: Hi Kevin, The output netstat -anb looks like this. TCP 0.0.0.0:**** 0.0.0.0:** ESTABLISHED **** [putty.exe] Where in left 0.0.0.0:**** is my windows server along with port and the right is the Linux server along with port. Is it not correct? Surajit -----Original Message----- From: Kevin Keane [mailto:subscription at kkeane.com] Sent: Friday, May 08, 2009 1:56 PM Cc: Nagios User list Subject: Re: [Nagios-users] Connection refused What connection, exactly, do you show as "established" with netstat -an? It can't really be the one you are talking about, because that never connected. In any case, you would want to look for LISTENING rather than ESTABLISHED in the output for netstat -an. The local address on the left should say something like 0.0.0.0:xxxx (where xxxx is the port number). If it says 127.0.0.1 then NSClient++ is not listening on the Ethernet port. If you don't see an entry that listens on the correct port, then double-check that NSClient++ is running. If you do see an entry to listen on the correct port, try running nestat -anb . This will tell you which program is actually doing the listening. If it isn't NSClient++, you found your culprit. That's not likely, though. If netstat -anb shows NSClient++ as listening correctly, you almost certainly have a firewall issue. Surajit Mukherjee wrote: > Andy, > > I am unable to telnet to the port from the Nagios server. > > I checked netstat -an and the connection is established. I am able to > telnet from windows server to the Linux server. > > Surajit > > -----Original Message----- > From: Andy Shellam [mailto:andy-lists at networkmail.eu] > Sent: Friday, May 08, 2009 12:03 PM > To: Surajit Mukherjee > Cc: Nagios User list > Subject: Re: [Nagios-users] Connection refused > > Surajit, > > Is the service actually running on that server? Can you telnet to the > NSClient++ port manually? > > Regards, > Andy > > Surajit Mukherjee wrote: > >> I am getting "Connection refused" status information on a Windows 2003 >> Server that is using NSClient++. Out of the 7 Windows server I have >> > in > >> Nagios 3.0.6, this is the only server giving me that error >> >> ** ** >> >> **Cheers,** >> >> **Surajit** >> -- Kevin Keane Owner The NetTech Find the Uncommon: Expert Solutions for a Network You Never Have to Think About Office: 866-642-7116 http://www.4nettech.com This e-mail and attachments, if any, may contain confidential and/or proprietary information. Please be advised that the unauthorized use or disclosure of the information is strictly prohibited. The information herein is intended only for use by the intended recipient(s) named above. If you have received this transmission in error, please notify the sender immediately and permanently delete the e-mail and any copies, printouts or attachments thereof. ------------------------------------------------------------------------ ------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null The information contained in this communication is intended solely for the use of the individual or entity to whom it is addressed and others authorized to receive it. It may contain confidential or legally privileged information. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this information is strictly prohibited and may be unlawful. If you have received this communication in error, please notify us immediately by forwarding this email to MailAdmin at ness.com and then delete it from your system. Ness technologies is neither liable for the proper and complete transmission of the information contained in this communication nor for any delay in its receipt. ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From subscription at kkeane.com Fri May 8 11:06:19 2009 From: subscription at kkeane.com (Kevin Keane) Date: Fri, 8 May 2009 02:06:19 -0700 Subject: NSCA - Network server bind failure In-Reply-To: <4A03F345.4040202@dome-consulting.com> References: <4A03E692.7030705@dome-consulting.com> Message-ID: <4A03F60B.3040509@kkeane.com> Try netstat -ltunp | grep 5667 And respond to the group, please. Joan Tugores wrote: > Nsca not running "ps -ef | grep nsca" not show process nsca. > > Kevin Keane escribi?: >> This means exactly what the error message says: that there is already >> another program using port 5667. Odds are that nsca is already running >> on your computer; maybe it got started as a daemon on system startup. >> >> Joan Tugores wrote: >> >>> Hi all, >>> >>> When I try to put up the daemon nsca with the command >>> "/usr/local/nagios/bin/nsca -c /usr/local/nagios/etc/nsca.cfg" in >>> "/var/log/messages" appears "Network server bind failure (98: Address >>> already in use)" the port 5667 is configured and netstat -na show >>> "tcp 0 0 0.0.0.0:5667 0.0.0.0:* LISTEN". >>> >>> Please Help. >>> >>> Thanks. >>> >>> -- >>> ------------------------------------------------------------------------ >>> >>> ------------------------------------------------------------------------------ >>> The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your >>> production scanning environment may not be a perfect world - but thanks to >>> Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 >>> Series Scanner you'll get full speed at 300 dpi even with all image >>> processing features enabled. http://p.sf.net/sfu/kodak-com >>> ------------------------------------------------------------------------ >>> >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >>> ::: Messages without supporting info will risk being sent to /dev/null >>> >> >> >> -- Kevin Keane Owner The NetTech Find the Uncommon: Expert Solutions for a Network You Never Have to Think About Office: 866-642-7116 http://www.4nettech.com This e-mail and attachments, if any, may contain confidential and/or proprietary information. Please be advised that the unauthorized use or disclosure of the information is strictly prohibited. The information herein is intended only for use by the intended recipient(s) named above. If you have received this transmission in error, please notify the sender immediately and permanently delete the e-mail and any copies, printouts or attachments thereof. ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From subscription at kkeane.com Fri May 8 11:14:24 2009 From: subscription at kkeane.com (Kevin Keane) Date: Fri, 8 May 2009 02:14:24 -0700 Subject: Connection refused In-Reply-To: References: Message-ID: <4A03F7F0.10103@kkeane.com> It may well be correct, but is a completely different setup! You have an SSH tunnel; that's a rather critical piece of information. You have an SSH tunnel from the Windows machine to somewhere else, instead of having an NSClient++. Maybe you meant to do a remote port forwarding and instead set up local port forwarding. Surajit Mukherjee wrote: > Hi Kevin, > > The output netstat -anb looks like this. > > TCP 0.0.0.0:**** 0.0.0.0:** ESTABLISHED **** > [putty.exe] > > > Where in left 0.0.0.0:**** is my windows server along with port and the > right is the Linux server along with port. Is it not correct? > > Surajit > > > -----Original Message----- > From: Kevin Keane [mailto:subscription at kkeane.com] > Sent: Friday, May 08, 2009 1:56 PM > Cc: Nagios User list > Subject: Re: [Nagios-users] Connection refused > > What connection, exactly, do you show as "established" with netstat -an? > > It can't really be the one you are talking about, because that never > connected. > > In any case, you would want to look for LISTENING rather than > ESTABLISHED in the output for netstat -an. The local address on the left > > should say something like 0.0.0.0:xxxx (where xxxx is the port number). > If it says 127.0.0.1 then NSClient++ is not listening on the Ethernet > port. > > If you don't see an entry that listens on the correct port, then > double-check that NSClient++ is running. > > If you do see an entry to listen on the correct port, try running nestat > > -anb . This will tell you which program is actually doing the listening. > > If it isn't NSClient++, you found your culprit. That's not likely, > though. > > If netstat -anb shows NSClient++ as listening correctly, you almost > certainly have a firewall issue. > > Surajit Mukherjee wrote: > >> Andy, >> >> I am unable to telnet to the port from the Nagios server. >> >> I checked netstat -an and the connection is established. I am able to >> telnet from windows server to the Linux server. >> >> Surajit >> >> -----Original Message----- >> From: Andy Shellam [mailto:andy-lists at networkmail.eu] >> Sent: Friday, May 08, 2009 12:03 PM >> To: Surajit Mukherjee >> Cc: Nagios User list >> Subject: Re: [Nagios-users] Connection refused >> >> Surajit, >> >> Is the service actually running on that server? Can you telnet to the >> > > >> NSClient++ port manually? >> >> Regards, >> Andy >> >> Surajit Mukherjee wrote: >> >> >>> I am getting "Connection refused" status information on a Windows >>> > 2003 > >>> Server that is using NSClient++. Out of the 7 Windows server I have >>> >>> >> in >> >> >>> Nagios 3.0.6, this is the only server giving me that error >>> >>> ** ** >>> >>> **Cheers,** >>> >>> **Surajit** >>> >>> -- Kevin Keane Owner The NetTech Find the Uncommon: Expert Solutions for a Network You Never Have to Think About Office: 866-642-7116 http://www.4nettech.com This e-mail and attachments, if any, may contain confidential and/or proprietary information. Please be advised that the unauthorized use or disclosure of the information is strictly prohibited. The information herein is intended only for use by the intended recipient(s) named above. If you have received this transmission in error, please notify the sender immediately and permanently delete the e-mail and any copies, printouts or attachments thereof. ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Gabriel at impactteachers.com Fri May 8 11:26:57 2009 From: Gabriel at impactteachers.com (Gabriel - IP Guys) Date: Fri, 8 May 2009 10:26:57 +0100 Subject: Nagios Monitor Server, and NRPE clients, giving funny results Message-ID: Dear All, I'm trying to get my Nagios instance to behave properly! It seems to be monitoring my servers just fine, but for some reason, all my servers, which are different from each other show the same swap space, and the same free disk space to within 10 megs. Now the above tells me that there is a config error somewhere. In order to test this, I log into my monitor server, and issue the following command; ./Check_nrpe -H client_ip -c check_disk 50 80 My understanding tells me that the following happens * The check_nrpe plugin on the nagios monitor server runs, and accesses the client at client_ip * It initiates its local check_disk plugin with the parameters of 50 and 80. * This causes the check_disk plugin on the client to run, as if typed locally in this manner check_disk -w 50 -c 80 Running check_disk 50 80 on client_ip returns data on the disk state Running ./Check_nrpe -H client_ip -c check_disk 50 80 on Nagios monitor server returns unknown argument I cannot figure out what is causing this discrepancy - check_nrpe -H client_ip returns Nagios version so I know the communication works. Any help will be appreciated --- Kind Regards, Mr Gabriel ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jtugores at dome-consulting.com Fri May 8 11:25:17 2009 From: jtugores at dome-consulting.com (Joan Tugores) Date: Fri, 08 May 2009 11:25:17 +0200 Subject: NSCA - Network server bind failure In-Reply-To: <4A03F60B.3040509@kkeane.com> References: <4A03E692.7030705@dome-consulting.com> <4A03F60B.3040509@kkeane.com> Message-ID: <4A03FA7D.3010504@dome-consulting.com> An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Firma.JPG Type: image/jpeg Size: 47522 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Fri May 8 11:33:19 2009 From: jim at jimavery.me.uk (Jim Avery) Date: Fri, 8 May 2009 10:33:19 +0100 Subject: Do you use IPMI with nagios? In-Reply-To: <8990484002503789465@unknownmsgid> References: <8990484002503789465@unknownmsgid> Message-ID: <765d77c80905080233n6443006m3d86d505503e1cef@mail.gmail.com> 2009/5/8 Marco Borsani : > Hi all ! > > > > I am looking for a method to control many internal server entities like: > > -????????? Temperature > > -????????? Disks (how can we check them when are configured in Raid 1 or > Raid 5 ??? ) > > -????????? Fan > > -????????? Power supply > > -????????? Etc. > > > > I am performing some test with IPMI (on dell servers) and related > applications like ipmitool and ipmiutil (very similar), but I am not able to > check everything I?d like (for example?disk health) > > > > Do you use these tools/features ? > > > > How do you control disk health? I configure the Dell OpenManage agent to send SNMP traps to the Nagios server, then use NagTrap to process them. I'm not 100% sure if this will give you everything you are asking for though. Cheers, Jim ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From assaf.flatto at ssp-intl.com Fri May 8 11:37:47 2009 From: assaf.flatto at ssp-intl.com (Assaf Flatto) Date: Fri, 8 May 2009 10:37:47 +0100 Subject: Nagios Monitor Server, and NRPE clients, giving funny results In-Reply-To: References: Message-ID: <200905081737.47828.assaf.flatto@ssp-intl.com> What is the configuration command of check_disk of the nrpe in the clinet machine ? Did you setup the nrpe with the support-args when you complied it ? if not , the you will not be able to pass arguments to the nrpe executor , but will have to define the exect execution of each command in the nrpe client side. Assaf On Friday 08 May 2009 17:26:57 Gabriel - IP Guys wrote: > Dear All, > > I'm trying to get my Nagios instance to behave properly! It seems to be > monitoring my servers just fine, but for some reason, all my servers, > which are different from each other show the same swap space, and the > same free disk space to within 10 megs. > > Now the above tells me that there is a config error somewhere. In order > to test this, I log into my monitor server, and issue the following > command; > > ./Check_nrpe -H client_ip -c check_disk 50 80 > > My understanding tells me that the following happens > > * The check_nrpe plugin on the nagios monitor server runs, and > accesses the client at client_ip > * It initiates its local check_disk plugin with the parameters of > 50 and 80. > * This causes the check_disk plugin on the client to run, as if > typed locally in this manner check_disk -w 50 -c 80 > > Running check_disk 50 80 on client_ip returns data on the disk state > Running ./Check_nrpe -H client_ip -c check_disk 50 80 on Nagios monitor > server returns unknown argument > > I cannot figure out what is causing this discrepancy - check_nrpe -H > client_ip returns Nagios version so I know the communication works. > > Any help will be appreciated > > > --- > Kind Regards, > Mr Gabriel > > > --------------------------------------------------------------------------- >--- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your > production scanning environment may not be a perfect world - but thanks to > Kodak, there's a perfect scanner to get the job done! With the NEW KODAK > i700 Series Scanner you'll get full speed at 300 dpi even with all image > processing features enabled. http://p.sf.net/sfu/kodak-com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > ::: reporting any issue. Messages without supporting info will risk being > ::: sent to /dev/null -- Assaf Flatto SSP Ops Team Linux System Administrator 169 Euston Road, London, NW1 2AE Along with a few colleagues I am doing The Three Peaks Challenge again this year to raise money for The Railway Children. Please sponsor me by making a donation online, simply click on the link below and give via your switch/credit card. Thank you. http://www.justgiving.com/londonnorththreepeaks IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation. Select Service Partner UK Limited is a company registered in England and Wales (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jtugores at dome-consulting.com Fri May 8 11:37:55 2009 From: jtugores at dome-consulting.com (Joan Tugores) Date: Fri, 08 May 2009 11:37:55 +0200 Subject: NSCA - Network server bind failure In-Reply-To: <4A03FA7D.3010504@dome-consulting.com> References: <4A03E692.7030705@dome-consulting.com> <4A03F60B.3040509@kkeane.com> <4A03FA7D.3010504@dome-consulting.com> Message-ID: <4A03FD73.3040403@dome-consulting.com> An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/jpeg Size: 47522 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Firma.JPG Type: image/jpeg Size: 47522 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Fri May 8 11:43:45 2009 From: ae at op5.se (Andreas Ericsson) Date: Fri, 08 May 2009 11:43:45 +0200 Subject: The icinga on the cake ... In-Reply-To: <765d77c80905071418u2910683v5f2124f5016dc319@mail.gmail.com> References: <765d77c80905071418u2910683v5f2124f5016dc319@mail.gmail.com> Message-ID: <4A03FED1.60608@op5.se> Hi all. First of all, let me say I'm not writing this post for Ethan's sake, but because I'm a member of the Nagios Community Advisory board and I feel this is information the community should take part of. Secondly, Ethan's under quite a bit of stress right now. If anybody wants to cheer him up, send him a postcard or a picture of a screen showing Nagios. He told me once it would be quite cool to get such postcards but he never found an opportunity to ask for it. I can't think of a better time than now ;-) The address to Nagios Enterprises is Nagios Enterprises, LLC P.O. Box 8154 Saint Paul, MN 55108 Now read on and, in the words of The Hitchhikers Guide to the Galaxy: Don't panic. Jim Avery wrote: > I'm surprised nobody's mentioned this yet... > > http://www.icinga.org/ > > I only noticed it myself when I visited Nagios Exchange today. > > Not being a developer myself, I'm not quite sure what to say or think, It's really the input from the community that matters the most. I *am* a developer, and as a developer I applaud the effort to create a better product, but as a human being I really don't like the way it's being done. It's been discussed quite a lot on the nagios-devel mailing list. The facts so far seems to be thus: * Netways registered "Nagios" as a trademark in Germany last year. * The Icinga team is managed by Bernd Erk, who is also the chief programmer of Netways (to me, this makes it seem as if Netways instigated the fork). * Ethan has been absent from the community for too long, stating legal issues against Netways for trademark violation as the reason for this. * The primary reason stated for the fork is that the Icinga team feel that development isn't being done openly enough. * Some german nagios-tribute sites claim to have received email from Nagios Enterprises requesting that they add a paragraph on their page stating that they're not affiliated with Nagios Enterprises in any way, and this has caused bad blood in the community (I have no details about this, and can therefore not give any). * The icinga team has released no sources (ie, making a *worse* mistake than they feel Ethan is doing, who at least keeps his source repo publically available). * The roadmap for Icinga focuses mainly on 3rd party addons that could easily have been created *without* forking. * Some prominent developers and community members (no, I won't give names, but I'm one of them) think this is primarily an attempt from Netways to usurp the Nagios community. * The german community developers that have responded on the nagios-devel list seem honest about their desire to create a better product. * The development method of the Nagios core *will* change in some way. More on that later in this mail. Later, it appears, is now. So far, we ("we" being originally me and Ethan, and two emails later the community advisory board, which presently consists of Ethan, myself, Ton Voon, Alex Burger and Thomas Guyot-Sionnest) have discussed (nothing is decided) increasing the number of people with commit access to the nagios core repository. I have been asked to join this team, and I've suggested two others whom I feel can add value to the development process. I won't name any names since neither have accepted or declined yet. Me and Ton Voon argued that it would be a good idea to have all tecnical and socio-technical (ie, patch-submission alternatives) on nagios-devel instead of on a hidden list where a large part of the community have no insight into the development process. Ethan hasn't responded to this yet, but that's not so surprising as it was 2AM in Minnesota when me and Ton wrote our emails, and it's currently 5AM (I think). >From what I've gathered from the discussions, it seems we agree on incorporating Icinga patches into Nagios if they hold good quality and add value to Nagios. Since many of the developers on the Icinga team are quite good programmers, this should benefit Nagios rather quickly. To make it easier to incorporate patches from the Icinga team, we have also discussed moving the core Nagios repository to git from CVS. Read- only users won't necessarily see any changes at all, as there already exists a cvs-server capable of serving git repositories. For tarball users and software distributions, it has zero impact. Anything apart from the above that's been going on is either loose speculation, bad research or misunderstanding on my behalf or relates to information I haven't seen. I may also have missed something, in which case I'm sure someone will point out my mistakes. > except that I'm continuously deeply grateful to everyone who bring us > Nagios itself, and the plugins and tools which make it greater than > the sum of its parts. > Don't be. Well, be, but reserve some gratitude for yourself for using it. Without a userbase, a project is just an academic exercise with as much real value as a bucket of sand in a desert. Oh, and send a postcard :) -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Register now for Nordic Meet on Nagios, June 3-4 in Stockholm http://nordicmeetonnagios.op5.org/ Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should give some serious thought to declaring war on peace. ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gaurav at subisu.net.np Fri May 8 11:42:44 2009 From: gaurav at subisu.net.np (Gaurav Ghimire) Date: Fri, 08 May 2009 15:27:44 +0545 Subject: Need To migrate Nagios Setup to a New Hardware In-Reply-To: <654234233CA505458519F3D4BC36DABF0125478D@blr-cst-msg.wipro.com> References: <654234233CA505458519F3D4BC36DABF01254788@blr-cst-msg.wipro.com> <4A03C9C7.702@subisu.net.np> <654234233CA505458519F3D4BC36DABF0125478D@blr-cst-msg.wipro.com> Message-ID: <4A03FE94.6000709@subisu.net.np> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 chethan.mnc at wipro.com wrote: > HI Gaurav, > > Thanks for the reply. > > I need to understand whether replacing the configuration files will work...?? > > And also how to check which all plugins are installed, because the nagios was installed before i came in to this project. > > Are there any documents which specifies all these conditions ?? > > Please help.. > Dear Chethan, Yes, replacing the files will work without doubts. I myself have had 3 migrations in the past :) . To check with the plugins just migrate the configuration files and the /usr/local/nagios/share directory to the new server and run it. If there are some plugins missing you will get a CRITICAL error stating "plugins out of bounds" you can then digg into that particular service check, the command and then the plugin to which it is associated. Well by farth its the mailing list that gives you all set of helps. Regards, - -- Gaurav Ghimire System Administrator Subisu Cablenet (P.) Ltd. 148 Thirbum Sadak Baluwatar, Kathmandu Nepal http://www.subisu.net.np First and Only True Cable Internet Service Provider in Nepal (An ISO 9001:2000 Certified Company) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkoD/pQACgkQnfv7imVnL2tXNQCePKOlZqSKwo7ejWf29cKYYrrf VUQAn2vs2d1P8WTmq2bocAvAXfVxl5tN =oM2d -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jtugores at dome-consulting.com Fri May 8 11:46:12 2009 From: jtugores at dome-consulting.com (Joan Tugores) Date: Fri, 08 May 2009 11:46:12 +0200 Subject: NSCA - Command file does not exist Message-ID: <4A03FF64.5060506@dome-consulting.com> Hi all, When I send a packet to ncsa server this not processed. In /var/log/messages: Command file '/usr/local/nagios/var/rw/nagios.cmd' does not exist,attempting to use alternate dump file '/usr/local/nagios/var/rw/nsca.dump' for output But nagios.cmd exists and the permissions are good. prw-rw---- 1 nagios nagiosgrb 0 may 5 09:59 nagios.cmd Regards, Joan ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From assaf.flatto at ssp-intl.com Fri May 8 12:00:28 2009 From: assaf.flatto at ssp-intl.com (Assaf Flatto) Date: Fri, 8 May 2009 11:00:28 +0100 Subject: Nagios Monitor Server, and NRPE clients, giving funny results In-Reply-To: References: Message-ID: <200905081800.28214.assaf.flatto@ssp-intl.com> Gabriel I believe you may be confusing the two components . Nagios is the core system submitting requests and gathering the answers from the clients and network. NRPE is a client agent installed on the individual server being monitored from the nagios - and AFAIK there is no rpm for it , you can download it from the nagios site -> addons http://www.nagios.org/download/addons/ Please read the documentation about the NRPE and see how to set it up to your needs . Assaf On Friday 08 May 2009 17:45:24 Gabriel - IP Guys wrote: > I installed nagios from RPMs is there a way to check NRPE precompiled > binary to check for support of arguments? > > > -----Original Message----- > > From: Assaf Flatto [mailto:assaf.flatto at ssp-intl.com] > > Sent: 08 May 2009 10:38 > > To: nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] Nagios Monitor Server, and NRPE > > clients,giving funny results > > > > What is the configuration command of check_disk of the nrpe in the > > clinet machine ? > > > > Did you setup the nrpe with the support-args when you complied it ? > > > > if not , the you will not be able to pass arguments to the nrpe > > executor , but will have to define > > the exect execution of each command in the nrpe client side. > > > > Assaf > > > > On Friday 08 May 2009 17:26:57 Gabriel - IP Guys wrote: > > > Dear All, > > > > > > I'm trying to get my Nagios instance to behave properly! It seems to > > > > be > > > > > monitoring my servers just fine, but for some reason, all my > > servers, > > > > which are different from each other show the same swap space, and > > the > > > > same free disk space to within 10 megs. > > > > > > Now the above tells me that there is a config error somewhere. In > > > > order > > > > > to test this, I log into my monitor server, and issue the following > > > command; > > > > > > ./Check_nrpe -H client_ip -c check_disk 50 80 > > > > > > My understanding tells me that the following happens > > > > > > * The check_nrpe plugin on the nagios monitor server runs, and > > > accesses the client at client_ip > > > * It initiates its local check_disk plugin with the parameters of > > > 50 and 80. > > > * This causes the check_disk plugin on the client to run, as if > > > typed locally in this manner check_disk -w 50 -c 80 > > > > > > Running check_disk 50 80 on client_ip returns data on the disk state > > > Running ./Check_nrpe -H client_ip -c check_disk 50 80 on Nagios > > > > monitor > > > > > server returns unknown argument > > > > > > I cannot figure out what is causing this discrepancy - check_nrpe -H > > > client_ip returns Nagios version so I know the communication works. > > > > > > Any help will be appreciated > > > > > > > > > --- > > > Kind Regards, > > > Mr Gabriel > > --------------------------------------------------------------------- > > > ------ > > > > >--- The NEW KODAK i700 Series Scanners deliver under ANY > > > > circumstances! Your > > > > > production scanning environment may not be a perfect world - but > > > > thanks to > > > > > Kodak, there's a perfect scanner to get the job done! With the NEW > > > > KODAK > > > > > i700 Series Scanner you'll get full speed at 300 dpi even with all > > > > image > > > > > processing features enabled. http://p.sf.net/sfu/kodak-com > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > ::: Please include Nagios version, plugin version (-v) and OS when > > > ::: reporting any issue. Messages without supporting info will risk > > > > being > > > > > ::: sent to /dev/null > > > > -- > > Assaf Flatto > > SSP Ops Team > > Linux System Administrator > > 169 Euston Road, London, NW1 2AE > > > > Along with a few colleagues I am doing The Three Peaks Challenge again > > this year to raise money for The Railway Children. > > Please sponsor me by making a donation online, simply click on the > > link > > > below and give via your switch/credit card. Thank you. > > http://www.justgiving.com/londonnorththreepeaks > > > > > > > > > > IMPORTANT . this email and the information in it may be confidential, > > legally > > privileged and/or protected by law. It is intended solely for the use > > of the > > person to whom it is addressed. If you are not the intended recipient, > > please > > notify the sender immediately and do not disclose the contents to any > > other > > person, use it for any purpose, or store or copy the information in > > any > > > medium. > > Please also delete all copies of this email and any attachments from > > your > > system. > > > > We cannot guarantee the security or confidentiality of email > > communications. We > > do not accept any liability for losses or damages that you may suffer > > as a > > result of your receipt of this email including but not limited to > > computer > > service or system failure, access delays or interruption, data non- > > delivery or > > mis-delivery, computer viruses or other harmful components. > > > > Copyright in this email and any attachments belong to Select Service > > Partner UK > > Limited. Should you communicate with anyone at Select Service Partner > > UK Limited by > > email, you consent to us monitoring and reading any such > > correspondence. > > > > Nothing in this email shall be taken or read as suggesting, proposing > > or > > relating to any agreement concerted practice or other practice that > > could > > infringe UK or EC competition legislation. > > > > Select Service Partner UK Limited is a company registered in England > > and Wales > > (company number 05687183) whose registered office is at 1 The Heights, > > Brooklands, Weybridge. Surrey. KT13 0NY > > ----------------------------------------------------------------------- > > > ------- > > The NEW KODAK i700 Series Scanners deliver under ANY circumstances! > > Your > > production scanning environment may not be a perfect world - but > > thanks > > > to > > Kodak, there's a perfect scanner to get the job done! With the NEW > > KODAK i700 > > Series Scanner you'll get full speed at 300 dpi even with all image > > processing features enabled. http://p.sf.net/sfu/kodak-com > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ::: Please include Nagios version, plugin version (-v) and OS when > > > > reporting any issue. > > > > ::: Messages without supporting info will risk being sent to /dev/null -- Assaf Flatto SSP Ops Team Linux System Administrator 169 Euston Road, London, NW1 2AE Along with a few colleagues I am doing The Three Peaks Challenge again this year to raise money for The Railway Children. Please sponsor me by making a donation online, simply click on the link below and give via your switch/credit card. Thank you. http://www.justgiving.com/londonnorththreepeaks IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation. Select Service Partner UK Limited is a company registered in England and Wales (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sven.wiedeck at wunderloop.com Fri May 8 11:27:49 2009 From: sven.wiedeck at wunderloop.com (Sven Wiedeck) Date: Fri, 8 May 2009 11:27:49 +0200 Subject: Nagios 3 ACK author Message-ID: <3B540667-800B-4ADB-ABCE-3994FA3E1919@wunderloop.com> Hi everybody, a few words before: -> we're running a Nagios 3 installation -> logins are disabled - everybody is nagiosadmin per default (only internally reachable) Now I'm searching for a possibility to force the users to enter their name when they acknowledge a problem. Currenty the author name is set to the default login per default (nagiosadmin). Some people leave this name in there and we can't see who has ack'ed. Is there any way to leave the author name empty that Nagios rejects the ack without entering a name? Thanks a lot, Sven -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From subscription at kkeane.com Fri May 8 12:03:42 2009 From: subscription at kkeane.com (Kevin Keane) Date: Fri, 8 May 2009 03:03:42 -0700 Subject: NSCA - Command file does not exist In-Reply-To: <4A03FF64.5060506@dome-consulting.com> References: <4A03FF64.5060506@dome-consulting.com> Message-ID: <4A04037E.1090507@kkeane.com> Does nsca run in a chroot jail? I'm not sure if it can do that. If that's the case, nsca may think that /usr/local/nagios is really the root of the file system, and anything above that directory is essentially hidden. In that case, you'd have to change the nsca.cfg configuration to use /var/rw/nagios.cmd (or strip out whatever the root of the chroot jail is). Joan Tugores wrote: > Hi all, > > When I send a packet to ncsa server this not processed. > > In /var/log/messages: > > Command file '/usr/local/nagios/var/rw/nagios.cmd' does not exist,attempting to use alternate dump file '/usr/local/nagios/var/rw/nsca.dump' for output > > But nagios.cmd exists and the permissions are good. > prw-rw---- 1 nagios nagiosgrb 0 may 5 09:59 nagios.cmd > > Regards, > Joan > > > ------------------------------------------------------------------------------ > The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your > production scanning environment may not be a perfect world - but thanks to > Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 > Series Scanner you'll get full speed at 300 dpi even with all image > processing features enabled. http://p.sf.net/sfu/kodak-com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Kevin Keane Owner The NetTech Find the Uncommon: Expert Solutions for a Network You Never Have to Think About Office: 866-642-7116 http://www.4nettech.com This e-mail and attachments, if any, may contain confidential and/or proprietary information. Please be advised that the unauthorized use or disclosure of the information is strictly prohibited. The information herein is intended only for use by the intended recipient(s) named above. If you have received this transmission in error, please notify the sender immediately and permanently delete the e-mail and any copies, printouts or attachments thereof. ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jtugores at dome-consulting.com Fri May 8 12:06:22 2009 From: jtugores at dome-consulting.com (Joan Tugores) Date: Fri, 08 May 2009 12:06:22 +0200 Subject: NSCA - Command file does not exist In-Reply-To: <4A03FF64.5060506@dome-consulting.com> References: <4A03FF64.5060506@dome-consulting.com> Message-ID: <4A04041E.4000604@dome-consulting.com> An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Firma.JPG Type: image/jpeg Size: 47522 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Gerald.Ortner at gespag.at Fri May 8 12:08:56 2009 From: Gerald.Ortner at gespag.at (Ortner, Gerald) Date: Fri, 8 May 2009 12:08:56 +0200 Subject: Do you use IPMI with nagios? In-Reply-To: <765d77c80905080233n6443006m3d86d505503e1cef@mail.gmail.com> References: <8990484002503789465@unknownmsgid> <765d77c80905080233n6443006m3d86d505503e1cef@mail.gmail.com> Message-ID: You can use check_openmanage to perform active checks http://folk.uio.no/trondham/software/check_openmanage.html#performance-data http://www.monitoringexchange.org/cgi-bin/search.cgi?d=1&query=openmanage -----Urspr?ngliche Nachricht----- Von: Jim Avery [mailto:jim at jimavery.me.uk] Gesendet: Freitag, 08. Mai 2009 11:33 An: Marco Borsani Cc: nagios-users at lists.sourceforge.net Betreff: Re: [Nagios-users] Do you use IPMI with nagios? 2009/5/8 Marco Borsani : > Hi all ! > > > > I am looking for a method to control many internal server entities like: > > -????????? Temperature > > -????????? Disks (how can we check them when are configured in Raid 1 or > Raid 5 ??? ) > > -????????? Fan > > -????????? Power supply > > -????????? Etc. > > > > I am performing some test with IPMI (on dell servers) and related > applications like ipmitool and ipmiutil (very similar), but I am not able to > check everything I'd like (for example...disk health) > > > > Do you use these tools/features ? > > > > How do you control disk health? I configure the Dell OpenManage agent to send SNMP traps to the Nagios server, then use NagTrap to process them. I'm not 100% sure if this will give you everything you are asking for though. Cheers, Jim ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null OOe. Gesundheits- und Spitals-AG Techcenter, Hafenstrasse 47-51, 4020 Linz DVR 2107870, ATU 51928204, Firmenbuchgericht: Landesgericht Linz, FN 210146 p ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Gabriel at impactteachers.com Fri May 8 12:13:06 2009 From: Gabriel at impactteachers.com (Gabriel - IP Guys) Date: Fri, 8 May 2009 11:13:06 +0100 Subject: Nagios Monitor Server, and NRPE clients, giving funny results In-Reply-To: <200905081800.28214.assaf.flatto@ssp-intl.com> References: <200905081800.28214.assaf.flatto@ssp-intl.com> Message-ID: I get the concept, NRPE is installed on my client servers, and nagios itself is installed on ate server designated the monitor server. This server itself also has NRPE installed as it's monitored by a separate nagios install, but that's above and beyond this issue. I've been told that I cannot pass arguments to NRPE from the monitor server. For example, check_nrpe -H client_IP check_disk - is the most that I can issue on the monitor server. I guess this then means that in the *.cfg files on nagios, everywhere it says check_nrpe!check_disk - there should be no arguments after it? If this is the case, then I think I found where the guy I replaced made a mistake! > -----Original Message----- > From: Assaf Flatto [mailto:assaf.flatto at ssp-intl.com] > Sent: 08 May 2009 11:00 > To: Nagios User list > Subject: Re: [Nagios-users] Nagios Monitor Server, and NRPE > clients,giving funny results > > Gabriel > > I believe you may be confusing the two components . > Nagios is the core system submitting requests and gathering the answers > from the clients and > network. > NRPE is a client agent installed on the individual server being > monitored from the nagios - and > AFAIK there is no rpm for it , you can download it from the nagios site > -> addons > http://www.nagios.org/download/addons/ > > Please read the documentation about the NRPE and see how to set it up > to your needs . > > Assaf > > > > On Friday 08 May 2009 17:45:24 Gabriel - IP Guys wrote: > > I installed nagios from RPMs is there a way to check NRPE precompiled > > binary to check for support of arguments? > > > > > -----Original Message----- > > > From: Assaf Flatto [mailto:assaf.flatto at ssp-intl.com] > > > Sent: 08 May 2009 10:38 > > > To: nagios-users at lists.sourceforge.net > > > Subject: Re: [Nagios-users] Nagios Monitor Server, and NRPE > > > clients,giving funny results > > > > > > What is the configuration command of check_disk of the nrpe in the > > > clinet machine ? > > > > > > Did you setup the nrpe with the support-args when you complied it ? > > > > > > if not , the you will not be able to pass arguments to the nrpe > > > executor , but will have to define > > > the exect execution of each command in the nrpe client side. > > > > > > Assaf > > > > > > On Friday 08 May 2009 17:26:57 Gabriel - IP Guys wrote: > > > > Dear All, > > > > > > > > I'm trying to get my Nagios instance to behave properly! It seems > to > > > > > > be > > > > > > > monitoring my servers just fine, but for some reason, all my > > > > servers, > > > > > > which are different from each other show the same swap space, and > > > > the > > > > > > same free disk space to within 10 megs. > > > > > > > > Now the above tells me that there is a config error somewhere. In > > > > > > order > > > > > > > to test this, I log into my monitor server, and issue the > following > > > > command; > > > > > > > > ./Check_nrpe -H client_ip -c check_disk 50 80 > > > > > > > > My understanding tells me that the following happens > > > > > > > > * The check_nrpe plugin on the nagios monitor server runs, > and > > > > accesses the client at client_ip > > > > * It initiates its local check_disk plugin with the > parameters of > > > > 50 and 80. > > > > * This causes the check_disk plugin on the client to run, as > if > > > > typed locally in this manner check_disk -w 50 -c 80 > > > > > > > > Running check_disk 50 80 on client_ip returns data on the disk > state > > > > Running ./Check_nrpe -H client_ip -c check_disk 50 80 on Nagios > > > > > > monitor > > > > > > > server returns unknown argument > > > > > > > > I cannot figure out what is causing this discrepancy - check_nrpe > -H > > > > client_ip returns Nagios version so I know the communication > works. > > > > > > > > Any help will be appreciated > > > > > > > > > > > > --- > > > > Kind Regards, > > > > Mr Gabriel > > > > --------------------------------------------------------------------- > > > > > ------ > > > > > > >--- The NEW KODAK i700 Series Scanners deliver under ANY > > > > > > circumstances! Your > > > > > > > production scanning environment may not be a perfect world - but > > > > > > thanks to > > > > > > > Kodak, there's a perfect scanner to get the job done! With the > NEW > > > > > > KODAK > > > > > > > i700 Series Scanner you'll get full speed at 300 dpi even with > all > > > > > > image > > > > > > > processing features enabled. http://p.sf.net/sfu/kodak-com > > > > _______________________________________________ > > > > Nagios-users mailing list > > > > Nagios-users at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > > > ::: Please include Nagios version, plugin version (-v) and OS > when > > > > ::: reporting any issue. Messages without supporting info will > risk > > > > > > being > > > > > > > ::: sent to /dev/null > > > > > > -- > > > Assaf Flatto > > > SSP Ops Team > > > Linux System Administrator > > > 169 Euston Road, London, NW1 2AE > > > > > > Along with a few colleagues I am doing The Three Peaks Challenge > again > > > this year to raise money for The Railway Children. > > > Please sponsor me by making a donation online, simply click on the > > > > link > > > > > below and give via your switch/credit card. Thank you. > > > http://www.justgiving.com/londonnorththreepeaks > > > > > > > > > > > > > > > IMPORTANT . this email and the information in it may be > confidential, > > > legally > > > privileged and/or protected by law. It is intended solely for the > use > > > of the > > > person to whom it is addressed. If you are not the intended > recipient, > > > please > > > notify the sender immediately and do not disclose the contents to > any > > > other > > > person, use it for any purpose, or store or copy the information in > > > > any > > > > > medium. > > > Please also delete all copies of this email and any attachments > from > > > your > > > system. > > > > > > We cannot guarantee the security or confidentiality of email > > > communications. We > > > do not accept any liability for losses or damages that you may > suffer > > > as a > > > result of your receipt of this email including but not limited to > > > computer > > > service or system failure, access delays or interruption, data non- > > > delivery or > > > mis-delivery, computer viruses or other harmful components. > > > > > > Copyright in this email and any attachments belong to Select > Service > > > Partner UK > > > Limited. Should you communicate with anyone at Select Service > Partner > > > UK Limited by > > > email, you consent to us monitoring and reading any such > > > correspondence. > > > > > > Nothing in this email shall be taken or read as suggesting, > proposing > > > or > > > relating to any agreement concerted practice or other practice that > > > could > > > infringe UK or EC competition legislation. > > > > > > Select Service Partner UK Limited is a company registered in > England > > > and Wales > > > (company number 05687183) whose registered office is at 1 The > Heights, > > > Brooklands, Weybridge. Surrey. KT13 0NY > > > > --------------------------------------------------------------------- > -- > > > > > ------- > > > The NEW KODAK i700 Series Scanners deliver under ANY circumstances! > > > Your > > > production scanning environment may not be a perfect world - but > > > > thanks > > > > > to > > > Kodak, there's a perfect scanner to get the job done! With the NEW > > > KODAK i700 > > > Series Scanner you'll get full speed at 300 dpi even with all image > > > processing features enabled. http://p.sf.net/sfu/kodak-com > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > ::: Please include Nagios version, plugin version (-v) and OS when > > > > > > reporting any issue. > > > > > > ::: Messages without supporting info will risk being sent to > /dev/null > > > > -- > Assaf Flatto > SSP Ops Team > Linux System Administrator > 169 Euston Road, London, NW1 2AE > > Along with a few colleagues I am doing The Three Peaks Challenge again > this year to raise money for The Railway Children. > Please sponsor me by making a donation online, simply click on the link > below and give via your switch/credit card. Thank you. > http://www.justgiving.com/londonnorththreepeaks > > > > > IMPORTANT . this email and the information in it may be confidential, > legally > privileged and/or protected by law. It is intended solely for the use > of the > person to whom it is addressed. If you are not the intended recipient, > please > notify the sender immediately and do not disclose the contents to any > other > person, use it for any purpose, or store or copy the information in any > medium. > Please also delete all copies of this email and any attachments from > your > system. > > We cannot guarantee the security or confidentiality of email > communications. We > do not accept any liability for losses or damages that you may suffer > as a > result of your receipt of this email including but not limited to > computer > service or system failure, access delays or interruption, data non- > delivery or > mis-delivery, computer viruses or other harmful components. > > Copyright in this email and any attachments belong to Select Service > Partner UK > Limited. Should you communicate with anyone at Select Service Partner > UK Limited by > email, you consent to us monitoring and reading any such > correspondence. > > Nothing in this email shall be taken or read as suggesting, proposing > or > relating to any agreement concerted practice or other practice that > could > infringe UK or EC competition legislation. > > Select Service Partner UK Limited is a company registered in England > and Wales > (company number 05687183) whose registered office is at 1 The Heights, > Brooklands, Weybridge. Surrey. KT13 0NY > > > > ----------------------------------------------------------------------- > ------- > The NEW KODAK i700 Series Scanners deliver under ANY circumstances! > Your > production scanning environment may not be a perfect world - but thanks > to > Kodak, there's a perfect scanner to get the job done! With the NEW > KODAK i700 > Series Scanner you'll get full speed at 300 dpi even with all image > processing features enabled. http://p.sf.net/sfu/kodak-com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jtugores at dome-consulting.com Fri May 8 12:27:02 2009 From: jtugores at dome-consulting.com (Joan Tugores) Date: Fri, 08 May 2009 12:27:02 +0200 Subject: NSCA - Command file does not exist In-Reply-To: <4A04037E.1090507@kkeane.com> References: <4A03FF64.5060506@dome-consulting.com> <4A04037E.1090507@kkeane.com> Message-ID: <4A0408F6.3000101@dome-consulting.com> An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Firma.JPG Type: image/jpeg Size: 47522 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Fri May 8 12:57:51 2009 From: ae at op5.se (Andreas Ericsson) Date: Fri, 08 May 2009 12:57:51 +0200 Subject: Nagios 3 ACK author In-Reply-To: <3B540667-800B-4ADB-ABCE-3994FA3E1919@wunderloop.com> References: <3B540667-800B-4ADB-ABCE-3994FA3E1919@wunderloop.com> Message-ID: <4A04102F.9070506@op5.se> Sven Wiedeck wrote: > Hi everybody, > > a few words before: > -> we're running a Nagios 3 installation > -> logins are disabled - everybody is nagiosadmin per default (only > internally reachable) > > Now I'm searching for a possibility to force the users to enter their > name when they acknowledge a problem. > > Currenty the author name is set to the default login per default > (nagiosadmin). > Some people leave this name in there and we can't see who has ack'ed. > > Is there any way to leave the author name empty that Nagios rejects the > ack without entering a name? > The simple way is to create per-user accounts with admin rights and then create contacts with the same names as the usernames you set. The difficult way is to hack the CGI's and recompile. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Register now for Nordic Meet on Nagios, June 3-4 in Stockholm http://nordicmeetonnagios.op5.org/ Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should give some serious thought to declaring war on peace. ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Gerald.Ortner at gespag.at Fri May 8 13:03:38 2009 From: Gerald.Ortner at gespag.at (Ortner, Gerald) Date: Fri, 8 May 2009 13:03:38 +0200 Subject: NSCA - Command file does not exist In-Reply-To: <4A03FF64.5060506@dome-consulting.com> References: <4A03FF64.5060506@dome-consulting.com> Message-ID: Hi does the command_file parameter in your nagios.cfg point to /usr/local/nagios/var/rw/nagios.cmd? -----Urspr?ngliche Nachricht----- Von: Joan Tugores [mailto:jtugores at dome-consulting.com] Gesendet: Freitag, 08. Mai 2009 11:46 An: nagios-users at lists.sourceforge.net Betreff: [Nagios-users] NSCA - Command file does not exist Hi all, When I send a packet to ncsa server this not processed. In /var/log/messages: Command file '/usr/local/nagios/var/rw/nagios.cmd' does not exist,attempting to use alternate dump file '/usr/local/nagios/var/rw/nsca.dump' for output But nagios.cmd exists and the permissions are good. prw-rw---- 1 nagios nagiosgrb 0 may 5 09:59 nagios.cmd Regards, Joan ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null OOe. Gesundheits- und Spitals-AG Techcenter, Hafenstrasse 47-51, 4020 Linz DVR 2107870, ATU 51928204, Firmenbuchgericht: Landesgericht Linz, FN 210146 p ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Fri May 8 13:11:03 2009 From: jim at jimavery.me.uk (Jim Avery) Date: Fri, 8 May 2009 12:11:03 +0100 Subject: Nagios 3 ACK author In-Reply-To: <3B540667-800B-4ADB-ABCE-3994FA3E1919@wunderloop.com> References: <3B540667-800B-4ADB-ABCE-3994FA3E1919@wunderloop.com> Message-ID: <765d77c80905080411o3d4d10c2m1ad16f6ed603d3e8@mail.gmail.com> 2009/5/8 Sven Wiedeck : > Hi everybody, > a few words before: > -> we're running a Nagios 3 installation > -> logins are disabled - everybody is nagiosadmin per default (only > internally reachable) > Now I'm searching for a possibility to force the users to enter their name > when they acknowledge a problem. > Currenty the author name is set to the default login per default > (nagiosadmin). > Some people leave this name in there and we can't see who has ack'ed. > Is there any way to leave the author name empty that Nagios rejects the ack > without entering a name? > Thanks a lot, > Sven I guess you need to look in /usr/local/nagios/etc/cgi.cfg: # LOCK AUTHOR NAMES OPTION # This option determines whether users can change the author name # when submitting comments, scheduling downtime. If disabled, the # author names will be locked into their contact name, as defined in Nagios. # Values: 0 = allow editing author names # 1 = lock author names (disallow editing) lock_author_names=1 And configure Nagios so that people will login using their own username. hth, Jim ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jtugores at dome-consulting.com Fri May 8 13:10:05 2009 From: jtugores at dome-consulting.com (Joan Tugores) Date: Fri, 08 May 2009 13:10:05 +0200 Subject: NSCA - Command file does not exist In-Reply-To: References: <4A03FF64.5060506@dome-consulting.com> Message-ID: <4A04130D.7010602@dome-consulting.com> An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Firma.JPG Type: image/jpeg Size: 47522 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From martyn at chetnet.co.uk Fri May 8 13:41:51 2009 From: martyn at chetnet.co.uk (Martyn) Date: Fri, 8 May 2009 12:41:51 +0100 Subject: Escalations Info In-Reply-To: <5EB6D201-2EE0-4696-96E9-1E95D5E616D1@ena.com> References: <5EB6D201-2EE0-4696-96E9-1E95D5E616D1@ena.com> Message-ID: That is how I have mine set up Craig and it is working as follows: Alerts 1, 2 and 3 are emails, then 4, 5 and six are SMS and no emails are sent. However after that it reverts back to sending mails again. -----Original Message----- From: Marc Powell [mailto:marc at ena.com] Sent: 07 May 2009 19:13 To: nagios-user Mailinglist Subject: Re: [Nagios-users] Escalations Info On May 7, 2009, at 12:52 PM, craig at hooters-uk.com wrote: > First escalation: 3 because as I understand it this will occur after > 3 mails have been sent. > Last Escalation: 3 because I want 3 SMS sent after my 3 mails. > > Is this the way to do it or have I not got the correct understanding > of it I don't use escalations but my understanding is the numbering is sequential -- Notification number 1 - email 2 - email 3 - email 4 - First Escalation - sms 5 - sms 6 - Last Escalation - sms -- Marc ---------------------------------------------------------------------------- -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From craig at hooters-uk.com Fri May 8 13:58:32 2009 From: craig at hooters-uk.com (craig at hooters-uk.com) Date: Fri, 8 May 2009 12:58:32 +0100 Subject: Escalations Info Message-ID: <52080bee8a3a4f29b5b78dc9388426a7.craig@hooters-uk.com> Thanks I guess I will have to look into acks then, I will make a fresh post about this. Thanks again all Craig ------- Original Message ------- >From : Martyn[mailto:martyn at chetnet.co.uk] Sent : 08/05/2009 12:41:51 To : marc at ena.com; nagios-users at lists.sourceforge.net Cc : Subject : RE: Re: [Nagios-users] Escalations Info That is how I have mine set up Craig and it is working as follows: Alerts 1, 2 and 3 are emails, then 4, 5 and six are SMS and no emails are sent. However after that it reverts back to sending mails again. -----Original Message----- On May 7, 2009, at 12:52 PM, craig at hooters-uk.com wrote: > First escalation: 3 because as I understand it this will occur after > 3 mails have been sent. > Last Escalation: 3 because I want 3 SMS sent after my 3 mails. > > Is this the way to do it or have I not got the correct understanding > of it I don't use escalations but my understanding is the numbering is sequential -- Notification number 1 - email 2 - email 3 - email 4 - First Escalation - sms 5 - sms 6 - Last Escalation - sms -- Marc ---------------------------------------------------------------------------- -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From smcafee at collaborativefusion.com Fri May 8 14:30:06 2009 From: smcafee at collaborativefusion.com (Sean McAfee) Date: Fri, 08 May 2009 08:30:06 -0400 Subject: Nagios Monitor Server, and NRPE clients, giving funny results In-Reply-To: References: <200905081800.28214.assaf.flatto@ssp-intl.com> Message-ID: <4A0425CE.2070803@collaborativefusion.com> Gabriel - IP Guys wrote: > I get the concept, NRPE is installed on my client servers, and nagios > itself is installed on ate server designated the monitor server. This > server itself also has NRPE installed as it's monitored by a separate > nagios install, but that's above and beyond this issue. I've been told > that I cannot pass arguments to NRPE from the monitor server. For > example, check_nrpe -H client_IP check_disk - is the most that I can > issue on the monitor server. I guess this then means that in the *.cfg > files on nagios, everywhere it says check_nrpe!check_disk - there should > be no arguments after it? > > If this is the case, then I think I found where the guy I replaced made > a mistake! I think you may not fully understand how NRPE works - check_nrpe just tells a client to run a predefined check. In your scenario, with a typical NRPE setup, there would be a check on the Nagios server : define command { command_name check_remote_disk command_line $USER1$/check_nrpe2 -H $HOSTADDRESS$ -c check_disk -a $ARG1$ $ARG2$ } And a corresponding entry in the client nrpe.cfg: command[check_disk]= /usr/local/libexec/nagios/check_disk -w $ARG1$ -c $ARG2$ Now to actually make it check: define service{ host_name server.example.com service_description Disk Space Check use generic-service check_command check_remote_disk!50!80 } On the Nagios host, this check is expanded to `check_nrpe2 -H server.example.com -c check_disk -a 50 80`, which is seen by the NRPE daemon, and exanded to `/usr/local/libexec/nagios/check_disk -w 50 -c 80`. Even if you can't pass arguments to the client NRPE because of policy or security reasons, you can still pass arguments on to the client-local check scripts with a few minor changes. On Nagios: define command { command_name check_remote_disk command_line $USER1$/check_nrpe2 -H $HOSTADDRESS$ -c check_disk_default } define service{ host_name server.example.com service_description foo.txt file age use generic-service check_command check_remote_disk } And finally on the client nrpe.cfg: command[check_disk_default]= /usr/local/libexec/nagios/check_disk -w 50 -c 80 The only real tradeoffs to doing it this way are relating to templating and configuration centralization, so the hit is restricted to management overhead. -- Sean McAfee System Engineer ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From craig at hooters-uk.com Fri May 8 14:35:42 2009 From: craig at hooters-uk.com (craig at hooters-uk.com) Date: Fri, 8 May 2009 13:35:42 +0100 Subject: Remote Acknowledge Message-ID: Hi Group I'm trying to find a way of letting our users acknowledge their own servers faults without the need to log in to Nagios, I have seen that there are remote commands you can issue which allow this to happen, but this is where I need a little instruction on how to use them. http://www.nagios.org/developerinfo/externalcommands/commandinfo.php?command_id=39 In the Nagios book I have been reading it mention's the use of Ticket Systems and making sure that Nagios can integrate with them and when I goggled the question the one of the results I got was OTRS. I guess that means I can raise a ticket by injecting Nagios info into it, but would I be able to use ACK's from within too, if not do you know of a solution that could do this. Thanks Craig ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nccomp at gmail.com Fri May 8 14:45:42 2009 From: nccomp at gmail.com (Andrew Davis) Date: Fri, 08 May 2009 08:45:42 -0400 Subject: Monitoring switches via SNMP -- In-Reply-To: <61ab46280905071615x6ae653dara4adfecdf0476977@mail.gmail.com> References: <61ab46280905071615x6ae653dara4adfecdf0476977@mail.gmail.com> Message-ID: <4A042976.2070604@gmail.com> You're more likely to get a good response by emailing the entire list than you are by emailing me directly... A. Davis Mike Saldivar wrote: > Hi there, > > I have a new installation of Nagios, Version 3.0.6, running on Ubuntu > 8.10. I followed the Quick Start guide for Ubuntu, and everything > went swimmingly, installing Nagios, the Plug-ins, Apache, et al. > Nagios started up and monitored itself, and following the quick-starts > for Linux and Windows, I've been able to get it to monitor all my hosts. > > So I'm now trying to get it to monitor a Cisco ASA 5510 VPN. On the > ASA, I enabled SNMP, and pointed it to the Nagios machine for reporting. > > On the Nagios box, I copied up the switch.cfg, changed the IP address > and hostname, etc, following the instructions: > http://nagios.sourceforge.net/docs/3_0/monitoring-routers.html > > Restarting, I see these errors such as this. Posting the error, then > the corresponding portion of the switch.cfg: > > Inside Interface CRITICAL 05-07-2009 16:54:07 0d 2h 53m 31s > 3/3 (Return code of 127 is out of bounds - plugin may be missing) > > --- > define service{ > use generic-service ; Inherit values from > a template > host_name CCLogan-ASA5510-1 > service_description Inside Interface > check_command check_snmp!-C public -o > ifOperStatus.INSIDE -r 1 -m RFC1213-MIB > } > --- > > I changed ifOperStatus.INSIDE from ifOperStatus.1 because an snmpwalk > on the device said that's what this port name was, but I can change it > back. But googling the error (Return code of 127 ...) seems to > indicate I'm missing net-snmp or net-snmp-util, but I'm not sure how > to install them -- can't do a rpm -qa on Ubuntu, and I don't know what > the corresponding command is with apt-get. But searching the Ubuntu > repositories, I can' find an equivalent to net-snmp-util, so I think > that's the problem. Snmpwalk works though, so I figure I have > something half-working... > > > The other error I see is: > > --- > Port 1 Bandwidth UNKNOWN 05-07-2009 17:02:24 0d 2h 38m 14s > 3/3 check_mrtgtraf: Unable to open MRTG log file > > --- > define service{ > use generic-service ; Inherit values from > a template > host_name CCLogan-ASA5510-1 > service_description Port 1 Bandwidth > check_command > check_local_mrtgtraf!/var/lib/mrtg/10.5.1.2_1.log!AVG!1000000,1000000!5000000,5000000!10 > } > --- > > I looked, and /var/lib/mrtg/ didn't exist. Googling, I saw a tip to > change it to /var/www/mrtg/, but that directory didn't exist either. > I created /var/lib/mrtg/ and chown'd it to nagios:nagios and restarted > Nagios, but still nothing. Is there a mrtg config file I need to edit? > > Should I check into check_cisco.pl, or does that work better for the > huge switches than the itty-bitty 4-porters? > > Thanks a heap, > -Mike -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From m.borsani at it.net Fri May 8 14:59:00 2009 From: m.borsani at it.net (Marco Borsani) Date: Fri, 8 May 2009 14:59:00 +0200 Subject: R: Do you use IPMI with nagios? In-Reply-To: <765d77c80905080233n6443006m3d86d505503e1cef@mail.gmail.com> References: <8990484002503789465@unknownmsgid> <765d77c80905080233n6443006m3d86d505503e1cef@mail.gmail.com> Message-ID: <42208.5253791467$1241787976@news.gmane.org> ---------------------------------------------------------------------- I configure the Dell OpenManage agent to send SNMP traps to the Nagios server, then use NagTrap to process them. I'm not 100% sure if this will give you everything you are asking for though. Cheers, Jim ---------------------------------------------------------------------- Ok , but IPMI is a standard while OpenManage is just for Dell Servers .... ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Fri May 8 15:15:08 2009 From: jim at jimavery.me.uk (Jim Avery) Date: Fri, 8 May 2009 14:15:08 +0100 Subject: R: Do you use IPMI with nagios? In-Reply-To: <7764589954010929744@unknownmsgid> References: <8990484002503789465@unknownmsgid> <765d77c80905080233n6443006m3d86d505503e1cef@mail.gmail.com> <7764589954010929744@unknownmsgid> Message-ID: <765d77c80905080615jc0a928fvb1923fc489a75063@mail.gmail.com> 2009/5/8 Marco Borsani : > ---------------------------------------------------------------------- > I configure the Dell OpenManage agent to send SNMP traps to the Nagios > server, then use NagTrap to process them. ?I'm not 100% sure if this > will give you everything you are asking for though. > > Cheers, > > Jim > ---------------------------------------------------------------------- > > > Ok , but IPMI is a standard while OpenManage is just for Dell Servers .... That's true and in an ideal world I agree, but often you will find that the tool provided specifically by the manufacturer to monitor the hardware which they designed will give you more detail than the open more general-purpose one. That's not alway the case though of course, sometimes the manufacturer's tools are a pile of junk! Me, I use whatever will get the job done. I inherited some servers which already had OpenManage installed so I used it. Cheers, Jim ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From shadhin71 at gmail.com Fri May 8 15:55:54 2009 From: shadhin71 at gmail.com (shadih rahman) Date: Fri, 8 May 2009 09:55:54 -0400 Subject: openser log monitoring Message-ID: <6db4a4200905080655o2d0c7345r5d73fae2ac8c0c2d@mail.gmail.com> All, I am trying to monitor openser log and see if there is any ALARM or ALERT. Can someone know of any plugins or know how to aproach this issue? Please advise on this. Thanks -- Cordially, Shadhin Rahman -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scarolan at gmail.com Fri May 8 16:10:15 2009 From: scarolan at gmail.com (Sean Carolan) Date: Fri, 8 May 2009 09:10:15 -0500 Subject: What does the flag failure_prediction_enabled In-Reply-To: <497144FF.5050004@aei.ca> References: <497144FF.5050004@aei.ca> Message-ID: <277020fc0905080710u5dea9863rb7edd28c367096c0@mail.gmail.com> >> I can't find any informations on the flag "failure_prediction_enabled" >> in service definition. What is the effect of this flag ? > > First result for 'nagios failure prediction' on Google: > > http://www.google.com/search?btnI=&q=nagios+failure+prediction And it appears that first result has not been updated since 2002. Is the failure detection feature just a vestigial organ that never finished developing? ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From proskurin-kv at fxclub.org Fri May 8 16:44:31 2009 From: proskurin-kv at fxclub.org (Proskurin Kirill) Date: Fri, 08 May 2009 18:44:31 +0400 Subject: check_http -s Message-ID: <4A04454F.9000401@fxclub.org> Hello all. I try to add a check_http with expecting some word in a body. But: ./check_http -v -H example.com -u /some.jsp -P -s=ERROR POST /some.jsp HTTP/1.0 User-Agent: check_http/v2053 (nagios-plugins 1.4.13) Connection: close Host: example.com Content-Type: application/x-www-form-urlencoded Content-Length: 8 -s=ERROR http://example.com:80/some.jsp is 386 characters STATUS: HTTP/1.1 200 OK **** HEADER **** Server: Apache-Coyote/1.1 Set-Cookie: JSESSIONID=72439B901515114D613218FF9FD8084D; Path=/ Content-Type: text/html;charset=ISO-8859-1 Content-Length: 154 Date: Fri, 08 May 2009 14:07:29 GMT Connection: close **** CONTENT **** SomeTitle OKAY HTTP OK HTTP/1.1 200 OK - 386 bytes in 0.450 seconds |time=0.449973s;;;0.000000 size=386B;;;0 BUT it must be ERROR - not ok. What I do wrong? -- Best regards, Proskurin Kirill ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From smcafee at collaborativefusion.com Fri May 8 17:15:15 2009 From: smcafee at collaborativefusion.com (Sean McAfee) Date: Fri, 08 May 2009 11:15:15 -0400 Subject: check_http -s In-Reply-To: <4A04454F.9000401@fxclub.org> References: <4A04454F.9000401@fxclub.org> Message-ID: <4A044C83.4070502@collaborativefusion.com> Proskurin Kirill wrote: > Hello all. > > I try to add a check_http with expecting some word in a body. > But: > > > ./check_http -v -H example.com -u /some.jsp -P -s=ERROR > > BUT it must be ERROR - not ok. > What I do wrong? The "-s=ERROR" is being POSTed because you're missing an argument for -P, making Nagios interpret the rest as the required string for -P. -- Sean McAfee System Engineer Collaborative Fusion, Inc. smcafee at collaborativefusion.com 412-422-3463 x 4025 5849 Forbes Avenue Pittsburgh, PA 15217 **************************************************************** IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. **************************************************************** ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From assaf.flatto at ssp-intl.com Fri May 8 17:20:36 2009 From: assaf.flatto at ssp-intl.com (Assaf Flatto) Date: Fri, 8 May 2009 16:20:36 +0100 Subject: check_http -s In-Reply-To: <4A04454F.9000401@fxclub.org> References: <4A04454F.9000401@fxclub.org> Message-ID: <200905082320.36777.assaf.flatto@ssp-intl.com> HTTP reply 200 means that the webserver found the page you requested . if you want to get an ERROR you should either point to a non existing page , which will give you the 404 error , in the example you provide it seem you are trying to submit some string to the jsp and expecting it to return an error , but you are not submitting any string . Assaf On Friday 08 May 2009 22:44:31 Proskurin Kirill wrote: > Hello all. > > I try to add a check_http with expecting some word in a body. > But: > > > ./check_http -v -H example.com -u /some.jsp -P -s=ERROR > > POST /some.jsp HTTP/1.0 > User-Agent: check_http/v2053 (nagios-plugins 1.4.13) > Connection: close > Host: example.com > Content-Type: application/x-www-form-urlencoded > Content-Length: 8 > > -s=ERROR > > http://example.com:80/some.jsp is 386 characters > STATUS: HTTP/1.1 200 OK > **** HEADER **** > Server: Apache-Coyote/1.1 > Set-Cookie: JSESSIONID=72439B901515114D613218FF9FD8084D; Path=/ > Content-Type: text/html;charset=ISO-8859-1 > Content-Length: 154 > Date: Fri, 08 May 2009 14:07:29 GMT > Connection: close > **** CONTENT **** > > > > SomeTitle > > > > OKAY > > > > > HTTP OK HTTP/1.1 200 OK - 386 bytes in 0.450 seconds > > |time=0.449973s;;;0.000000 size=386B;;;0 > > BUT it must be ERROR - not ok. > What I do wrong? -- Assaf Flatto SSP Ops Team Linux System Administrator 169 Euston Road, London, NW1 2AE Along with a few colleagues I am doing The Three Peaks Challenge again this year to raise money for The Railway Children. Please sponsor me by making a donation online, simply click on the link below and give via your switch/credit card. Thank you. http://www.justgiving.com/londonnorththreepeaks IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation. Select Service Partner UK Limited is a company registered in England and Wales (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From holger at CIS.FU-Berlin.DE Fri May 8 17:25:42 2009 From: holger at CIS.FU-Berlin.DE (Holger Weiss) Date: Fri, 8 May 2009 17:25:42 +0200 Subject: check_http -s In-Reply-To: <4A04454F.9000401@fxclub.org> References: <4A04454F.9000401@fxclub.org> Message-ID: <20090508152542.GH41927050@CIS.FU-Berlin.DE> * Proskurin Kirill [2009-05-08 18:44]: > I try to add a check_http with expecting some word in a body. > But: > > ./check_http -v -H example.com -u /some.jsp -P -s=ERROR In this command line, "-s=ERROR" will be interpreted as an argument to the "-P" option, see the "--help" output: $ check_http -h | grep -A 1 -- ' -P' -P, --post=STRING URL encoded http POST data Without the "-P" option (or with an appropriate argument to the "-P" option), things should work as expected: $ check_http -H www.nagiosplugins.org -P -s=ERROR HTTP OK HTTP/1.1 200 OK - 19113 bytes in 1.578 seconds |time=1.578360s;;;0.000000 size=19113B;;;0 $ check_http -H www.nagiosplugins.org -s=ERROR HTTP CRITICAL - string not found|time=0.861949s;;;0.000000 size=19048B;;;0 Holger ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sven.wiedeck at wunderloop.com Fri May 8 17:35:55 2009 From: sven.wiedeck at wunderloop.com (Sven Wiedeck) Date: Fri, 8 May 2009 17:35:55 +0200 Subject: Nagios 3 ACK author In-Reply-To: <765d77c80905080411o3d4d10c2m1ad16f6ed603d3e8@mail.gmail.com> References: <3B540667-800B-4ADB-ABCE-3994FA3E1919@wunderloop.com> <765d77c80905080411o3d4d10c2m1ad16f6ed603d3e8@mail.gmail.com> Message-ID: Hi, thanks for the replies but we don't want to create user accounts for > 30 people if it's not absolutely neccesary. So the auto-login is the only way so far... Sven Am 08.05.2009 um 13:11 schrieb Jim Avery: > 2009/5/8 Sven Wiedeck : >> Hi everybody, >> a few words before: >> -> we're running a Nagios 3 installation >> -> logins are disabled - everybody is nagiosadmin per default (only >> internally reachable) >> Now I'm searching for a possibility to force the users to enter >> their name >> when they acknowledge a problem. >> Currenty the author name is set to the default login per default >> (nagiosadmin). >> Some people leave this name in there and we can't see who has ack'ed. >> Is there any way to leave the author name empty that Nagios rejects >> the ack >> without entering a name? >> Thanks a lot, >> Sven > > > I guess you need to look in /usr/local/nagios/etc/cgi.cfg: > > # LOCK AUTHOR NAMES OPTION > # This option determines whether users can change the author name > # when submitting comments, scheduling downtime. If disabled, the > # author names will be locked into their contact name, as defined > in Nagios. > # Values: 0 = allow editing author names > # 1 = lock author names (disallow editing) > > lock_author_names=1 > > And configure Nagios so that people will login using their own > username. > > hth, > > Jim Sven IT/Administrator ____________________________ wunderloop media services GmbH Holzdamm 18 20099 Hamburg T +49 (0)40 - 432 07 826 F +49 (0)40 - 432 07 799 E sven.wiedeck at wunderloop.com www.wunderloop.de Sitz und Handelsregister: AG Hamburg, HRB 80 530 Gesch?ftsf?hrung: Torsten Ahlers, Sven Bagemihl, Frank Conrad, Dr. Christoph Bauer ------------------------------------------------------------------------ This e-mail is confidential and is intended for the addressee(s) only. If you are not the named addressee you may not use it, copy it or disclose it to any other person. If you received this message in error please notify the sender immediately. P please consider the environment - do you really need to print this email? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From proskurin-kv at fxclub.org Fri May 8 17:41:09 2009 From: proskurin-kv at fxclub.org (Proskurin Kirill) Date: Fri, 08 May 2009 19:41:09 +0400 Subject: check_http -s In-Reply-To: <4A044C83.4070502@collaborativefusion.com> References: <4A04454F.9000401@fxclub.org> <4A044C83.4070502@collaborativefusion.com> Message-ID: <4A045295.9090200@fxclub.org> Sean McAfee wrote: > Proskurin Kirill wrote: >> Hello all. >> >> I try to add a check_http with expecting some word in a body. >> But: >> >> >> ./check_http -v -H example.com -u /some.jsp -P -s=ERROR >> >> BUT it must be ERROR - not ok. >> What I do wrong? > > The "-s=ERROR" is being POSTed because you're missing an argument for > -P, making Nagios interpret the rest as the required string for -P. I do not understand you right... I try to explain more detail. On some site works some jsp what check inner logic of site and return in body OKEY or ERROR. I what to make a check_http and IF i got in page body word "ERROR" - then make check critical IF in page body i got "OKEY" - return OK. As I understand -s= - it is what I expect in page body. Or I not understand it right? :-) -- Best regards, Proskurin Kirill ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pepper at cbio.mskcc.org Fri May 8 17:42:26 2009 From: pepper at cbio.mskcc.org (Chris Pepper) Date: Fri, 08 May 2009 11:42:26 -0400 Subject: check_by_ssh error: Remote command execution failed: You don't exist, go away! Message-ID: <4A0452E2.6020101@cbio.mskcc.org> I'm not finding much current documentation on check_by_ssh -- does it work? I have set up the nagios account with /bin/sh as its shell on 2 Linux Nagios servers and several clients (RHEL/SuSE/Sol10). I installed nagios-plugins-1.4.13 on the clients, and set up public key trust for ssh. Unfortunately, Nagios remote checks via check_by_ssh fail from both servers to all clients. Here's the debug transcript trying to check_disks on jean (Solaris 10): > [1241794800.756298] [128.1] [pid=20907] External Command Type: 7 > [1241794800.756316] [128.1] [pid=20907] Command Entry Time: 1241794800 > [1241794800.756325] [128.1] [pid=20907] Command Arguments: jean.cbio.mskcc.org;remote-disk-space;1241794797 > [1241794800.756343] [016.0] [pid=20907] Scheduling a non-forced, active check of service 'remote-disk-space' on host 'jean.cbio.mskcc.org' @ Fri May 8 10:59:57 2009 > [1241794801.012178] [016.0] [pid=20907] Attempting to run scheduled check of service 'remote-disk-space' on host 'jean.cbio.mskcc.org': check options=0, latency=4.012000 > [1241794801.012227] [016.0] [pid=20907] Checking service 'remote-disk-space' on host 'jean.cbio.mskcc.org'... > [1241794801.012255] [2048.1] [pid=20907] **** BEGIN MACRO PROCESSING *********** > [1241794801.012265] [2048.1] [pid=20907] Processing: '$USER1$/check_by_ssh -H $HOSTADDRESS$ -C '/usr/local/nagios/libexec/check_disk -l -uGB'' > [1241794801.012291] [2048.1] [pid=20907] Done. Final output: '/usr/local/nagios/libexec/check_by_ssh -H jean.cbio.mskcc.org -C '/usr/local/nagios/libexec/check_disk -l -uGB'' > [1241794801.012300] [2048.1] [pid=20907] **** END MACRO PROCESSING ************* > [1241794801.012367] [016.1] [pid=20907] Check result output will be written to '/usr/local/nagios/var/spool/checkresults/checkXfUAxl' (fd=7) > [1241794806.141453] [016.1] [pid=20907] Handling check result for service 'remote-disk-space' on host 'jean.cbio.mskcc.org'... > [1241794806.141465] [016.0] [pid=20907] ** Handling check result for service 'remote-disk-space' on host 'jean.cbio.mskcc.org'... > [1241794806.141474] [016.1] [pid=20907] HOST: jean.cbio.mskcc.org, SERVICE: remote-disk-space, CHECK TYPE: Active, OPTIONS: 0, SCHEDULED: Yes, RESCHEDULE: Yes, EXITED OK: Yes, RETURN CODE: 3, OUTPUT: Re\nte command execution failed: You don't exist, go away! > [1241794806.141496] [016.1] [pid=20907] Service is in a non-OK state! > [1241794806.141506] [016.1] [pid=20907] Host is currently UP, so we'll recheck its state to make sure... > [1241794806.141515] [016.1] [pid=20907] * Using last known host state: 0 > [1241794806.141525] [016.1] [pid=20907] Current/Max Attempt(s): 3/3 > [1241794806.141534] [016.1] [pid=20907] Service has reached max number of rechecks, so we'll handle the error... > [1241794806.141543] [016.1] [pid=20907] Checking service 'remote-disk-space' on host 'jean.cbio.mskcc.org' for flapping... > [1241794806.141553] [016.1] [pid=20907] Service is not flapping (0.00% state change). > [1241794806.141567] [016.1] [pid=20907] Checking host 'jean.cbio.mskcc.org' for flapping... > [1241794806.141577] [016.1] [pid=20907] Host is not flapping (0.00% state change). > [1241794806.141593] [032.0] [pid=20907] ** Service Notification Attempt ** Host: 'jean.cbio.mskcc.org', Service: 'remote-disk-space', Type: 0, Options: 0, Current State: 3, Last Notification: Fri May 8 10:02:42 2009 But I can run the plugin manually -- nagios at jean trusts nagios at maguro: > nagios at maguro:~> /usr/local/nagios/libexec/check_by_ssh -H jean.cbio.mskcc.org -C '/usr/local/nagios/libexec/check_disk -l -uGB' > DISK OK - free space: / 4 GB (55% inode=82%); /etc/svc/volatile 9 GB (99% inode=99%); /lib/libc.so.1 4 GB (55% inode=82%); /var 2 GB (71% inode=95%); /tmp 9 GB (99% inode=99%); /var/run 9 GB (99% inode=99%); /export/home 887 GB (99% inode=99%); /jean 30542 GB (86% inode=99%);| /=3GB;;;0;7 /etc/svc/volatile=0GB;;;0;9 /lib/libc.so.1=3GB;;;0;7 /var=1GB;;;0;3 /tmp=0GB;;;0;9 /var/run=0GB;;;0;9 /export/home=0GB;;;0;897 /jean=4921GB;;;0;35464 > nagios at maguro:~> /usr/local/nagios/libexec/check_by_ssh -H jean.cbio.mskcc.org -C 'id -a' > uid=108(nagios) gid=108 groups=108 Any suggestions? Thanks, Chris -- Chris Pepper: ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From proskurin-kv at fxclub.org Fri May 8 17:52:46 2009 From: proskurin-kv at fxclub.org (Proskurin Kirill) Date: Fri, 08 May 2009 19:52:46 +0400 Subject: check_http -s In-Reply-To: <20090508152542.GH41927050@CIS.FU-Berlin.DE> References: <4A04454F.9000401@fxclub.org> <20090508152542.GH41927050@CIS.FU-Berlin.DE> Message-ID: <4A04554E.9040503@fxclub.org> Holger Weiss wrote: > * Proskurin Kirill [2009-05-08 18:44]: >> I try to add a check_http with expecting some word in a body. >> But: >> >> ./check_http -v -H example.com -u /some.jsp -P -s=ERROR > > In this command line, "-s=ERROR" will be interpreted as an argument to > the "-P" option, see the "--help" output: Ops! I missed what I post wrong command to list. Sorry. I fix it but: ./check_http -v -H example.com -u /some.jsp -s=OKAY GET /some.jsp HTTP/1.0 User-Agent: check_http/v2053 (nagios-plugins 1.4.13) Connection: close Host: example.com http://example.com:80/some.jsp is 386 characters STATUS: HTTP/1.1 200 OK **** HEADER **** Server: Apache-Coyote/1.1 Set-Cookie: JSESSIONID=C75D8239CF3F0C0D4FEF29DCD9316EBD; Path=/ Content-Type: text/html;charset=ISO-8859-1 Content-Length: 154 Date: Fri, 08 May 2009 15:51:01 GMT Connection: close **** CONTENT **** Check OKAY HTTP CRITICAL - string not found|time=0.447721s;;;0.000000 size=386B;;;0 -- Best regards, Proskurin Kirill ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From th.granier at free.fr Fri May 8 18:04:54 2009 From: th.granier at free.fr (Thierry Granier) Date: Fri, 8 May 2009 18:04:54 +0200 Subject: NDOutils and NDO2DB daemon Message-ID: <3637DE4BBB334EE190A753485438A6CF@thierrylaptop> Hi, i am trying to install NDOutils to stock all events in a mysql database. the event broker module ndomod-3x.o is starting correctly but i next get the message : "ndomod:unable to connect data sink" What can i do? Many thanks T Granier -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From smcafee at collaborativefusion.com Fri May 8 18:00:14 2009 From: smcafee at collaborativefusion.com (Sean McAfee) Date: Fri, 08 May 2009 12:00:14 -0400 Subject: check_http -s In-Reply-To: <4A045295.9090200@fxclub.org> References: <4A04454F.9000401@fxclub.org> <4A044C83.4070502@collaborativefusion.com> <4A045295.9090200@fxclub.org> Message-ID: <4A04570E.1060402@collaborativefusion.com> Proskurin Kirill wrote: > Sean McAfee wrote: >> Proskurin Kirill wrote: >>> Hello all. >>> >>> I try to add a check_http with expecting some word in a body. >>> But: >>> >>> >>> ./check_http -v -H example.com -u /some.jsp -P -s=ERROR >>> >>> BUT it must be ERROR - not ok. >>> What I do wrong? >> The "-s=ERROR" is being POSTed because you're missing an argument for >> -P, making Nagios interpret the rest as the required string for -P. > > I do not understand you right... > I try to explain more detail. > > On some site works some jsp what check inner logic of site and return in > body OKEY or ERROR. > > I what to make a check_http and IF i got in page body word "ERROR" - > then make check critical IF in page body i got "OKEY" - return OK. > > As I understand -s= - it is what I expect in page body. > > Or I not understand it right? :-) No, you're right about -s, but you command is being parsed as: ./check_http -v -H example.com -u /some.jsp -P "-s=ERROR" because you're missing an argument for the -P flag. Change it to: ./check_http -v -H example.com -u /some.jsp -s=ERROR and it will work as you expect. -- Sean McAfee System Engineer ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From matias at valastro.com.ar Fri May 8 18:02:28 2009 From: matias at valastro.com.ar (Matias Blanco) Date: Fri, 8 May 2009 13:02:28 -0300 Subject: check_snmp - warning numbers In-Reply-To: <0AD5DC417EEA47AC9DF8DD09FA4B3C9D@giorno.valastro> References: <0AD5DC417EEA47AC9DF8DD09FA4B3C9D@giorno.valastro> Message-ID: Hello, When i made an snmpwalk to a ip computer there is no response. The snmpwalk to a switch,router or printer works ok. Does any body know the reason? Cristian... -----Mensaje original----- De: Matias Blanco [mailto:matias at valastro.com.ar] Enviado el: Jueves, 07 de Mayo de 2009 17:02 Para: 'Alejandro S?nchez Mero?o'; Nagios-users at lists.sourceforge.net Asunto: Re: [Nagios-users] check_snmp - warning numbers Hello, How can i do an snmpwalk on my switch? Thanks, Cristian... -----Mensaje original----- De: Alejandro S?nchez Mero?o [mailto:alejandro.sanchez at ite.es] Enviado el: Jueves, 07 de Mayo de 2009 05:44 Para: Matias Blanco; Nagios-users at lists.sourceforge.net Asunto: RE: [Nagios-users] check_snmp - warning numbers Hola de nuevo... I'll answer you in English so that anybody in the list can understand and participate in this subject. I think that if you don't know exactly which parameter to monitor you should browse the whole OID list that you receive when you do a snmpwalk on your switch, and identify the ones that fit your needs, with the help of the website I said yesterday, or any other OIDs reference. My case: The only thing I want to detect is if there is any damaged port in any of my switches. So what I did was to snmpwalk on a switch which I positively knew that had its port #2 damaged, and discover which OID was significantly different for this port. And the one I found is: iso.3.6.1.2.1.10.7.2.1.7 (maybe you can find it as its equivalent: SNMPv2-SMI::mib-2.10.7.2.1.7) defined as: "a count of frames for which the first transmission attempt on a particular interface is delayed because the medium is busy". The thing is that it's the only OID I found that gave a very high value for port #2 (about 65,000 or so) and 0 for the rest of ports that work properly. The command I defined for this was like this: define command { command_name check_port command_line $USER1$/check_snmp -H $HOSTADDRESS$ -C password -O iso.3.6.1.2.1.10.7.2.1.7.$ARG1$ -w 1 -c 10 -u retries } For sure there must be somebody else in the list who can give to you a more detailed or a more formally correct answer... Hasta la proxima, Alejandro == Alejandro Sanchez Merono Area de Informatica y Comunicaciones Instituto de Tecnologia Electrica - http://www.ite.es Valencia - Spain -----Mensaje original----- De: Matias Blanco [mailto:matias at valastro.com.ar] Enviado el: mi?rcoles, 06 de mayo de 2009 19:27 Para: Alejandro S?nchez Mero?o; Nagios-users at lists.sourceforge.net Asunto: RE: [Nagios-users] check_snmp - warning numbers Hola Alejandro, Ahora otra cosa: De que manera crees que pueda chequear los puertos de mi switch con nagios para tener una idea m?s clara de lo que est? sucediendo? Porque esos paquetes entrantes con errores no se si son por causa de la PC o de los puerto del switch... Muchas Gracias... Cristian ************************************ Hola Mat?as... :-) and hola everyone... There exists a magical website where to identify every OID you can check with SNMP, the link is: http://support.ipmonitor.com/mibs_byoidtree.aspx For your particular issue, if you type "RFC1213-MIB" at the "Search for:" form, click the result given ("RFC1213-MIB"), and then "View: Oid-tree", you'll be able to locate "ifInErrors(14)" at the tree shown, and clicking it you'll find its Description, which reads literally: "The number of inbound packets that contained errors preventing them from being deliverable to a higher-layer protocol." That's the answer to your question!! Now some other questions appear... Wouldn't it be nicer to know what exactly are you monitoring before you monitor it, so you could properly interpret the results? Is that parameter (number of inbound packets that contained errors and blah blah blah...) significant enough to determine if a port is working properly or not? Hope this helps... Best regards, Alejandro == Alejandro Sanchez Merono Area de Informatica y Comunicaciones Instituto de Tecnologia Electrica - http://www.ite.es Valencia - Spain -----Mensaje original----- De: Matias Blanco [mailto:matias at valastro.com.ar] Enviado el: mi?rcoles, 06 de mayo de 2009 17:49 Para: Nagios-users at lists.sourceforge.net Asunto: [Nagios-users] check_snmp - warning numbers Hi, I am using the check_snmp nagios`s plugin. And when we check the ports status of a 3com Baseline 2250 Plus, we recibe many ports results: SNMP OK - 0 SNMP WARNING - *1* SNMP WARNING - *84* SNMP WARNING - *2* SNMP WARNING - *2* SNMP WARNING - *4* The question is, what?s the meaning of the warning numbers? Other information: ------------------ # 'check_snmp' command definition define command{ command_name check_snmp command_line $USER1$/check_snmp -H $HOSTADDRESS$ $ARG1$ } Example of service ------------------- define service { use service-15x3x5-switchs host_name 3COM2250P service_description Port 03 [In Errors] check_command check_snmp!-C public -o ifInErrors.3 -w 0 -m RFC1213-MIB notifications_enabled 0 } THANKS... Mat?as Blanco. ------------------------------------------------------------------------ ------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From michael.hocke at nyu.edu Fri May 8 17:58:10 2009 From: michael.hocke at nyu.edu (Michael Hocke) Date: Fri, 8 May 2009 11:58:10 -0400 Subject: Centreon In-Reply-To: References: Message-ID: <2AE25D0A-E493-4DA9-804E-C7146EE54212@nyu.edu> On May 4, 2009, at 2:55 PM, Eduardo Barreto wrote: > I'm looking for a solution to monitor Nagios with some resources > just like Cacti, and I found Centreon, does anyone know about it, > working with Nagios? I've been running Centreon for quite a while now under Solaris 10. It was a beast to setup correctly at first but once that hurdle was taken it's been smooth riding. I am still running 1.4 and Nagios 2 but I am planning to go to Centreon 2 and Nagios 3 in the near future. - Michael -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 487 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From holger at CIS.FU-Berlin.DE Fri May 8 18:20:08 2009 From: holger at CIS.FU-Berlin.DE (Holger Weiss) Date: Fri, 8 May 2009 18:20:08 +0200 Subject: check_http -s In-Reply-To: <4A04554E.9040503@fxclub.org> References: <4A04454F.9000401@fxclub.org> <20090508152542.GH41927050@CIS.FU-Berlin.DE> <4A04554E.9040503@fxclub.org> Message-ID: <20090508162008.GI41927050@CIS.FU-Berlin.DE> * Proskurin Kirill [2009-05-08 19:52]: > ./check_http -v -H example.com -u /some.jsp -s=OKAY Try "-s OKAY" or "--string=OKAY". Holger ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From th.granier at free.fr Fri May 8 18:38:32 2009 From: th.granier at free.fr (Thierry Granier) Date: Fri, 08 May 2009 18:38:32 +0200 Subject: problem starting ndo2db-3-x Message-ID: <1241800712.24255.5.camel@Thierry-Desktop.WORKGROUP> Hello i am trying to install NDOutils but when i launch : /usr/local/nagios/bin/ndo2db-3x -c /usr/local/nagios/etc/ndo2db.cfg I get the message : Support for the specified database server is either not yet supported, or was not found on your system. my database is "nagios" with user "nagios" and is correctly installed i have also modified the /usr/local/nagios/etc/nagios.cfg file and the ndo2db.cfg file Waht can i do now? Many thanks and regards T Granier ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From proskurin-kv at fxclub.org Fri May 8 19:41:26 2009 From: proskurin-kv at fxclub.org (Proskurin Kirill) Date: Fri, 08 May 2009 21:41:26 +0400 Subject: check_http -s In-Reply-To: <20090508162008.GI41927050@CIS.FU-Berlin.DE> References: <4A04454F.9000401@fxclub.org> <20090508152542.GH41927050@CIS.FU-Berlin.DE> <4A04554E.9040503@fxclub.org> <20090508162008.GI41927050@CIS.FU-Berlin.DE> Message-ID: <4A046EC6.1000808@fxclub.org> Holger Weiss ?????: > * Proskurin Kirill [2009-05-08 19:52]: >> ./check_http -v -H example.com -u /some.jsp -s=OKAY > > Try "-s OKAY" or "--string=OKAY". Thank you - it is works. But last strange thing - check returns OK if I expect ANY letter of "OKAY" word. ./check_http -v -H example.com -u /some.jsp -s K -- returns OK and so on. Bug? -- Best regards, Proskurin Kirill ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From srianirudh at gmail.com Fri May 8 20:13:05 2009 From: srianirudh at gmail.com (Anirudh Srinivasan) Date: Fri, 8 May 2009 14:13:05 -0400 Subject: check_by_ssh problem Message-ID: <699b436a0905081113p79e3c9b3h269413ea75d84a48@mail.gmail.com> In order to monitor the remote linux server we are using check_by_ssh as root. I know it is not advisable to use it as root , but we are in a transition to NRPE slowly which uses nagios. Here's what i did : 1) As root copied the id_rsa.pub to the remote server's root user's .ssh directory and pasted it to the authorized_keys . 2) Then did ssh and was able to login without password. 3) Then excecuted the check command remotely: check_by_ssh -t 30 -l root -H -C "/usr/lib/nagios/plugins/check_load -w10,15,20 -c15,20,25" OK - load average: 0.00, 0.00, 0.00|load1=0.000000;10.000000;15.000000;0.000000 load5=0.000000;15.000000;20.000000;0.000000 load15=0.000000;20.000000;25.000000;0.000000 check_by_ssh -t 30 -l root -H -C "/usr/lib/nagios/plugins/check_uptime" UPTIME OK - System up for 6 HOUR(s) and 38 Minute(s) Looks perfectly fine!!! But from the Web interface i see this : Remote command execution failed: buffer_get_ret: trying to get more bytes 129 than in buffer 97 I am clue less . Please advice me on this . -- Anirudh Srinivasan -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Fri May 8 22:01:29 2009 From: marc at ena.com (Marc Powell) Date: Fri, 8 May 2009 15:01:29 -0500 Subject: Nagios Monitor Server, and NRPE clients, giving funny results In-Reply-To: References: Message-ID: <0D5D4F79-5AC7-4D5B-A190-AB758B9C7F56@ena.com> On May 8, 2009, at 4:26 AM, Gabriel - IP Guys wrote: > Dear All, > > I'm trying to get my Nagios instance to behave properly! It seems to > be > monitoring my servers just fine, but for some reason, all my servers, > which are different from each other show the same swap space, and the > same free disk space to within 10 megs. This tells me that you're most likely not monitoring those through NRPE on the remote machines. I suspect that this is the value for your nagios machine. Config examples would help clarify. > ./Check_nrpe -H client_ip -c check_disk 50 80 > > My understanding tells me that the following happens > > * The check_nrpe plugin on the nagios monitor server runs, and > accesses the client at client_ip Correct. > * It initiates its local check_disk plugin with the parameters of > 50 and 80. Incorrect. check_nrpe does not pass arguments to the remote NRPE daemon unless -- - it was compiled with the --enable-command-args flag - dont_blame_nrpe is set in nrpe.cfg - you pass them with the -a switch to check_nrpe - See the SECURITY document for NRPE for documentation and examples. > * This causes the check_disk plugin on the client to run, as if > typed locally in this manner check_disk -w 50 -c 80 No, but you may specify those arguments in the command definition in nrpe.cfg instead of trying to pass them via check_nrpe. > Running check_disk 50 80 on client_ip returns data on the disk state > Running ./Check_nrpe -H client_ip -c check_disk 50 80 on Nagios > monitor > server returns unknown argument > > > I cannot figure out what is causing this discrepancy - check_nrpe -H > client_ip returns Nagios version so I know the communication works. I expect you see now that the '50 80' is being interpreted as an argument to check_nrpe itself, not check_disk, hence the 'unknown argument' error. If they're static numbers, you're probably fine just specifying them in each host's nrpe.cfg file. -- Marc ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Fri May 8 22:13:54 2009 From: marc at ena.com (Marc Powell) Date: Fri, 8 May 2009 15:13:54 -0500 Subject: Escalations Info In-Reply-To: References: Message-ID: On May 8, 2009, at 6:41 AM, Martyn wrote: > That is how I have mine set up Craig and it is working as follows: > > Alerts 1, 2 and 3 are emails, then 4, 5 and six are SMS and no > emails are > sent. > > However after that it reverts back to sending mails again. If that's not desired, wouldn't something like this work? -- define serviceescalation{ host_name foo service_description bar first_notification 7 last_notification 999 contact_groups none } -- Marc ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ratty at they.org Fri May 8 21:55:15 2009 From: ratty at they.org (frank) Date: Fri, 8 May 2009 12:55:15 -0700 (PDT) Subject: check_snmp - warning numbers In-Reply-To: References: Message-ID: 1. Make sure snmpd is running on the host. (classic mistake) 2. Make sure your community string and/or credentials are the same on the host and client. 3. Make sure you're using the same snmp version on client and server (v1, v2c, or v3) 4. Try running a tcpdump on the host while you're attempting the snmpwalk to verify that the snmp requests are reaching the host. At the same time verify that the host is trying to send out responses. # tcpdump udp port 161 I'm sure there are more tests you can do but this is a start. -f On Fri, 8 May 2009, Matias Blanco wrote: > Date: Fri, 8 May 2009 13:02:28 -0300 > From: Matias Blanco > To: 'Alejandro S?nchez Mero?o' , > Nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] check_snmp - warning numbers > > Hello, > > When i made an snmpwalk to a ip computer there is no response. > The snmpwalk to a switch,router or printer works ok. > > Does any body know the reason? > > > Cristian... > > > > > -----Mensaje original----- > De: Matias Blanco [mailto:matias at valastro.com.ar] > Enviado el: Jueves, 07 de Mayo de 2009 17:02 > Para: 'Alejandro S?nchez Mero?o'; Nagios-users at lists.sourceforge.net > Asunto: Re: [Nagios-users] check_snmp - warning numbers > > Hello, > How can i do an snmpwalk on my switch? > > Thanks, > > Cristian... > > > > > -----Mensaje original----- > De: Alejandro S?nchez Mero?o [mailto:alejandro.sanchez at ite.es] > Enviado el: Jueves, 07 de Mayo de 2009 05:44 > Para: Matias Blanco; Nagios-users at lists.sourceforge.net > Asunto: RE: [Nagios-users] check_snmp - warning numbers > > Hola de nuevo... > > I'll answer you in English so that anybody in the list can understand > and participate in this subject. > > I think that if you don't know exactly which parameter to monitor you > should browse the whole OID list that you receive when you do a snmpwalk > on your switch, and identify the ones that fit your needs, with the help > of the website I said yesterday, or any other OIDs reference. > > My case: The only thing I want to detect is if there is any damaged port > in any of my switches. So what I did was to snmpwalk on a switch which I > positively knew that had its port #2 damaged, and discover which OID was > significantly different for this port. And the one I found is: > > iso.3.6.1.2.1.10.7.2.1.7 > > (maybe you can find it as its equivalent: SNMPv2-SMI::mib-2.10.7.2.1.7) > > defined as: "a count of frames for which the first transmission attempt > on a particular interface is delayed because the medium is busy". > > The thing is that it's the only OID I found that gave a very high value > for port #2 (about 65,000 or so) and 0 for the rest of ports that work > properly. > > The command I defined for this was like this: > > define command { > command_name check_port > command_line $USER1$/check_snmp -H $HOSTADDRESS$ -C password -O > iso.3.6.1.2.1.10.7.2.1.7.$ARG1$ -w 1 -c 10 -u retries > } > > For sure there must be somebody else in the list who can give to you a > more detailed or a more formally correct answer... > > Hasta la proxima, > > Alejandro > > == > Alejandro Sanchez Merono > Area de Informatica y Comunicaciones > Instituto de Tecnologia Electrica - http://www.ite.es > Valencia - Spain > > > > -----Mensaje original----- > De: Matias Blanco [mailto:matias at valastro.com.ar] > Enviado el: mi?rcoles, 06 de mayo de 2009 19:27 > Para: Alejandro S?nchez Mero?o; Nagios-users at lists.sourceforge.net > Asunto: RE: [Nagios-users] check_snmp - warning numbers > > Hola Alejandro, > > Ahora otra cosa: > > De que manera crees que pueda chequear los puertos de mi switch con > nagios para tener una idea m?s clara de lo que est? sucediendo? > Porque esos paquetes entrantes con errores no se si son por causa de la > PC o de los puerto del switch... > > Muchas Gracias... > > Cristian > > > > > ************************************ > > Hola Mat?as... :-) and hola everyone... > > There exists a magical website where to identify every OID you can check > with SNMP, the link is: > > http://support.ipmonitor.com/mibs_byoidtree.aspx > > For your particular issue, if you type "RFC1213-MIB" at the "Search > for:" form, click the result given ("RFC1213-MIB"), and then "View: > Oid-tree", you'll be able to locate "ifInErrors(14)" at the tree shown, > and clicking it you'll find its Description, which reads literally: > > "The number of inbound packets that contained errors preventing them > from being deliverable to a higher-layer protocol." > > That's the answer to your question!! > > Now some other questions appear... > > Wouldn't it be nicer to know what exactly are you monitoring before you > monitor it, so you could properly interpret the results? > > Is that parameter (number of inbound packets that contained errors and > blah blah blah...) significant enough to determine if a port is working > properly or not? > > Hope this helps... > > Best regards, > > Alejandro > > == > Alejandro Sanchez Merono > Area de Informatica y Comunicaciones > Instituto de Tecnologia Electrica - http://www.ite.es Valencia - Spain > > > > > -----Mensaje original----- > De: Matias Blanco [mailto:matias at valastro.com.ar] Enviado el: mi?rcoles, > 06 de mayo de 2009 17:49 > Para: Nagios-users at lists.sourceforge.net > Asunto: [Nagios-users] check_snmp - warning numbers > > Hi, I am using the check_snmp nagios`s plugin. And when we check the > ports status of a 3com Baseline 2250 Plus, we recibe many ports results: > > SNMP OK - 0 > SNMP WARNING - *1* > SNMP WARNING - *84* > SNMP WARNING - *2* > SNMP WARNING - *2* > SNMP WARNING - *4* > > The question is, what?s the meaning of the warning numbers? > > > Other information: > ------------------ > > # 'check_snmp' command definition > define command{ > command_name check_snmp > command_line $USER1$/check_snmp -H $HOSTADDRESS$ $ARG1$ > } > > Example of service > ------------------- > > define service { > use service-15x3x5-switchs > host_name 3COM2250P > service_description Port 03 [In Errors] > check_command check_snmp!-C public -o ifInErrors.3 -w > 0 -m RFC1213-MIB > notifications_enabled 0 > } > > > > THANKS... > Mat?as Blanco. > > > > > > ------------------------------------------------------------------------ > ------ > The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your > production scanning environment may not be a perfect world - but thanks > to > Kodak, there's a perfect scanner to get the job done! With the NEW KODAK > i700 > Series Scanner you'll get full speed at 300 dpi even with all image > processing features enabled. http://p.sf.net/sfu/kodak-com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------------------------------ > The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your > production scanning environment may not be a perfect world - but thanks to > Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 > Series Scanner you'll get full speed at 300 dpi even with all image > processing features enabled. http://p.sf.net/sfu/kodak-com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Fri May 8 22:50:20 2009 From: marc at ena.com (Marc Powell) Date: Fri, 8 May 2009 15:50:20 -0500 Subject: check_http -s In-Reply-To: <4A046EC6.1000808@fxclub.org> References: <4A04454F.9000401@fxclub.org> <20090508152542.GH41927050@CIS.FU-Berlin.DE> <4A04554E.9040503@fxclub.org> <20090508162008.GI41927050@CIS.FU-Berlin.DE> <4A046EC6.1000808@fxclub.org> Message-ID: On May 8, 2009, at 12:41 PM, Proskurin Kirill wrote: > But last strange thing - check returns OK if I expect ANY letter of > "OKAY" word. > > ./check_http -v -H example.com -u /some.jsp -s K -- returns OK and so > on. Bug? No, not a bug. You're searching for 'K' and it is present in the word 'OKAY' in the page. You're searching for simple strings, not words. Searching for the string 'OKAY' would successfully match 'thisisreallycoolOKAYthxbai'. -- Marc ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scarolan at gmail.com Fri May 8 22:52:39 2009 From: scarolan at gmail.com (Sean Carolan) Date: Fri, 8 May 2009 15:52:39 -0500 Subject: Nagios Monitor Server, and NRPE clients, giving funny results In-Reply-To: <0D5D4F79-5AC7-4D5B-A190-AB758B9C7F56@ena.com> References: <0D5D4F79-5AC7-4D5B-A190-AB758B9C7F56@ena.com> Message-ID: <277020fc0905081352s3494ec7fq35cb86331c36746@mail.gmail.com> >> Dear All, >> >> I'm trying to get my Nagios instance to behave properly! It seems to >> be >> monitoring my servers just fine, but for some reason, all my servers, >> which are different from each other show the same swap space, and the >> same free disk space to within 10 megs. You're running the same check repeatedly on one host. Look carefully at your commands.cfg and services.cfg definitions. ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Fri May 8 23:01:34 2009 From: marc at ena.com (Marc Powell) Date: Fri, 8 May 2009 16:01:34 -0500 Subject: check_by_ssh problem In-Reply-To: <699b436a0905081113p79e3c9b3h269413ea75d84a48@mail.gmail.com> References: <699b436a0905081113p79e3c9b3h269413ea75d84a48@mail.gmail.com> Message-ID: <8B0BC3EA-901D-4079-BFA9-78A917110324@ena.com> On May 8, 2009, at 1:13 PM, Anirudh Srinivasan wrote: > In order to monitor the remote linux server we are using > check_by_ssh as root. I know it is not advisable to use it as root , > but we are in a transition to NRPE slowly which uses nagios. > > Here's what i did : > > 1) As root copied the id_rsa.pub to the remote server's root > user's .ssh directory and pasted it to the authorized_keys . nagios' id_rsa.pub? > 2) Then did ssh and was able to login without > password. from the nagios user? > > 3) Then excecuted the check command remotely: > > check_by_ssh -t 30 -l root -H -C "/usr/lib/nagios/ > plugins/check_load -w10,15,20 -c15,20,25" > OK - load average: 0.00, 0.00, 0.00| > load1=0.000000;10.000000;15.000000;0.000000 > load5=0.000000;15.000000;20.000000;0.000000 > load15=0.000000;20.000000;25.000000;0.000000 from the nagios user? > Remote command execution failed: buffer_get_ret: trying to get more > bytes 129 than in buffer 97 Are you using the latest version of OpenSSH? -- Marc ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scarolan at gmail.com Fri May 8 23:03:59 2009 From: scarolan at gmail.com (Sean Carolan) Date: Fri, 8 May 2009 16:03:59 -0500 Subject: The icinga on the cake ... In-Reply-To: <765d77c80905071418u2910683v5f2124f5016dc319@mail.gmail.com> References: <765d77c80905071418u2910683v5f2124f5016dc319@mail.gmail.com> Message-ID: <277020fc0905081403j703e5906iaf2ed0ad08af3c84@mail.gmail.com> > Not being a developer myself, I'm not quite sure what to say or think, > except that I'm continuously deeply grateful to everyone who bring us > Nagios itself, and the plugins and tools which make it greater than > the sum of its parts. This is, IMHO, one of the greatest problems with open source development. Too much bickering, splintering and forking dilutes the value of the product. It's unfortunate that the main nagios devs and these icinga people could not work together to simply improve the existing code base. There are a lot of great features that could be added to nagios, yet it feels like development on some of these major features has been very sloooooooow. Ethan, if you're reading this, cheer up mate. You are sitting on a virtual gold mine. Nagios is hands-down the best network monitoring system available, you should be minting money selling support contracts for it. If you aren't then hire some good salespeople to sell your support contracts and maybe a find good web developer to give the GUI an upgrade! ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From israel at frontierflying.com Fri May 8 23:17:41 2009 From: israel at frontierflying.com (Israel Brewster) Date: Fri, 8 May 2009 13:17:41 -0800 Subject: [OT] Network help? Message-ID: <13EC7F72-DF10-4A42-B060-763605A19406@frontierflying.com> I apologize for the off-topic post, but I figure the people here tend to be involved with networking, so perhaps someone can direct me to the right place to post a question about some networking problems I am having. Any suggestions? ----------------------------------------------- Israel Brewster Computer Support Technician II Frontier Flying Service Inc. 5245 Airport Industrial Rd Fairbanks, AK 99709 (907) 450-7250 x293 ----------------------------------------------- ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From th.granier at free.fr Fri May 8 23:35:41 2009 From: th.granier at free.fr (Thierry Granier) Date: Fri, 08 May 2009 23:35:41 +0200 Subject: Nagios-users] nagios and mysql and NDOutils Message-ID: <1241818541.4035.3.camel@Thierry-Desktop.WORKGROUP> Hello i have installed NDOutils and i can run ndo2db-3x but i have this message in the log: ndomod: Error writing to data sink! Some output may get lost. 3996 queued items to flush. The database nagios is empty Thanks for your help Thierry ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Fri May 8 23:40:08 2009 From: jim at jimavery.me.uk (Jim Avery) Date: Fri, 8 May 2009 22:40:08 +0100 Subject: [OT] Network help? In-Reply-To: <13EC7F72-DF10-4A42-B060-763605A19406@frontierflying.com> References: <13EC7F72-DF10-4A42-B060-763605A19406@frontierflying.com> Message-ID: <765d77c80905081440t28ecba3al4723fa4b1fbfc342@mail.gmail.com> 2009/5/8 Israel Brewster : > I apologize for the off-topic post, but I figure the people here tend > to be involved with networking, so perhaps someone can direct me to > the right place to post a question about some networking problems I am > having. Any suggestions? If it's social-networking problems, I recommend maybe facebook.com! Seriously though, it depends. If it's to do with Linux you could seek out your local LUG, but why not just say what the problem is here, you never know ... someone might find a solution to your problem AND explain how Nagios can help you to check how effective their answer to it was! ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rijilv at riji.lv Fri May 8 23:47:59 2009 From: rijilv at riji.lv (RijilV) Date: Fri, 8 May 2009 14:47:59 -0700 Subject: The icinga on the cake ... In-Reply-To: <277020fc0905081403j703e5906iaf2ed0ad08af3c84@mail.gmail.com> References: <765d77c80905071418u2910683v5f2124f5016dc319@mail.gmail.com> <277020fc0905081403j703e5906iaf2ed0ad08af3c84@mail.gmail.com> Message-ID: <5068c6420905081447g69b454b6p4fcb46a74035311b@mail.gmail.com> 2009/5/8 Sean Carolan : > This is, IMHO, one of the greatest problems with open source > development. ?Too much bickering, splintering and forking dilutes the > value of the product. Yeah, because out of all of the commercial closed source development projects I've worked on, none of them have ever had bickering, splintering, forking or anything else horrible go on with them. .r' ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From israel at frontierflying.com Sat May 9 00:38:06 2009 From: israel at frontierflying.com (Israel Brewster) Date: Fri, 8 May 2009 14:38:06 -0800 Subject: [OT] Network help? In-Reply-To: <765d77c80905081440t28ecba3al4723fa4b1fbfc342@mail.gmail.com> References: <13EC7F72-DF10-4A42-B060-763605A19406@frontierflying.com> <765d77c80905081440t28ecba3al4723fa4b1fbfc342@mail.gmail.com> Message-ID: <74F60828-2BCB-4664-8757-4955E642B7F9@frontierflying.com> On May 8, 2009, at 1:40 PM, Jim Avery wrote: > 2009/5/8 Israel Brewster : >> I apologize for the off-topic post, but I figure the people here tend >> to be involved with networking, so perhaps someone can direct me to >> the right place to post a question about some networking problems I >> am >> having. Any suggestions? > > If it's social-networking problems, I recommend maybe facebook.com! > > Seriously though, it depends. If it's to do with Linux you could seek > out your local LUG, but why not just say what the problem is here, you > never know ... someone might find a solution to your problem AND > explain how Nagios can help you to check how effective their answer to > it was! Nope, not social, although if I don't get it fixed soon (or find another solution) it might become a social problem :-) I didn't post it here because I thought some might get annoyed with me cluttering the list with non-nagios problems, but here goes. Thanks to a recent company acquisition made by my company (Frontier Flying), we are now dealing with two separate networks (they will eventually be combined, but that's a ways off still). The company we bought (Era aviation) uses a piece of software called Sabre for their flight reservations, which contacts a central server to which their network has a direct connection. The Sabre server itself is on a third network, but there are a couple of routers that link the two (Sabre and Era) across a private network, so asside from a couple of routing and NAT statements they are effectively on the same network. In order to be able to run Sabre on our network, we established a VPN tunnel between our network and Era's. As far as I can tell, the VPN is functioning. I can ping computers on the Era network, including the Sabre server, and can access and control various computers on the Era network. For initial testing purposes we installed the sabre software (windows only) inside a parallels installation on one of our Mac laptops. This worked perfectly. So far so good. Until we tried installing the software on one of our Windows desktops. Then the problems started. The Sabre software would make the initial connection and log in the user, but when it tried to download the initial info it needs, it just timed out. Every time. Meanwhile, the laptop, which was connected through the same dumb switch, continued to work perfectly. Every time. We took the Windows machine off our network and put it on Era's (different location, obviously) and it started working. Put it back on ours, timeout. Since then we have tried installing Sabre on a number of different computers on our network. A second Mac laptop running parallels works fine, while a mac desktop with an identical install of parallels doesn't. We have managed get one Windows machine running the software on our network, while a stack of four windows machines that Era sent us which had been working on their network just fine don't work. On one hand it seems impossible that it could be an issue with the network, because you would expect that to affect all computers equally, not the hit-and miss (but mostly miss) scenario that we are facing. On the other hand, it can't be a problem with the individual computer, because the same computer with the exact same configuration (including network settings - DHCP) works fine on the Era network, but stops working when moved to ours. We thought maybe it was a DNS problem (since obviously DHCP on our network would give different DNS servers than DHCP on Era's network), so we tried putting the Era DNS servers in statically, but while it worked as far as DNS went (we still got name resolution) that didn't help with Sabre. We are going bald here tearing our hair out trying to figure out what could be causing this issue. Sabre technical support is no help - they just say it's our problem. Management is coming down on us pretty hard to get something working here, so any help anyone can provide would be GREATLY appreciated :-). Let me know if I left out any relevant details or testing we performed! ----------------------------------------------- Israel Brewster Computer Support Technician II Frontier Flying Service Inc. 5245 Airport Industrial Rd Fairbanks, AK 99709 (907) 450-7250 x293 ----------------------------------------------- ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Sat May 9 01:07:30 2009 From: jim at jimavery.me.uk (Jim Avery) Date: Sat, 9 May 2009 00:07:30 +0100 Subject: [OT] Network help? In-Reply-To: <74F60828-2BCB-4664-8757-4955E642B7F9@frontierflying.com> References: <13EC7F72-DF10-4A42-B060-763605A19406@frontierflying.com> <765d77c80905081440t28ecba3al4723fa4b1fbfc342@mail.gmail.com> <74F60828-2BCB-4664-8757-4955E642B7F9@frontierflying.com> Message-ID: <765d77c80905081607m47514efaq11d98d3c4fb0d59b@mail.gmail.com> 2009/5/8 Israel Brewster : > We are going bald here tearing our hair out trying to figure out what could > be causing this issue. Sabre technical support is no help - they just say > it's our problem. Management is coming down on us pretty hard to get > something working here, so any help anyone can provide would be GREATLY > appreciated :-). Let me know if I left out any relevant details or testing > we performed! You have my every sympathy. That kind of network problem can be a right pain to solve. I had a similar problem with a VPN from home to work a while ago. After lots of googling I found the home router I was using had some problem with packet reassembly (whatever that is) which was fixed by upgrading to the latest firmware. It was a bit strange because when I wasn't using the VPN to work (just using normal internet) the router seemed to work flawlessly. It was only when I was connected to the work network over SecuRemote that the problem reared its ugly head. Once I'd upgraded the firmware, it was fine ... ... then I replaced the router with a wireless one from a different manufacturer and even when I connected wired the problem was back again! Served me right for buying a cheapo one. Not sure if that will help you at all though :-( Jim ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From co.casado at gmail.com Sat May 9 01:25:30 2009 From: co.casado at gmail.com (Cristiano Casado) Date: Fri, 8 May 2009 20:25:30 -0300 Subject: Nagios-users] nagios and mysql and NDOutils In-Reply-To: <1241818541.4035.3.camel@Thierry-Desktop.WORKGROUP> References: <1241818541.4035.3.camel@Thierry-Desktop.WORKGROUP> Message-ID: ndomod (broker) can't write data on unix socket. Verify if ndo2db created a unix socket in your system. # netstat -anp |grep ndo.sock unix 2 [ ACC ] STREAM LISTENING 14049966 25009/ndo2db-3x /var/nagios/rw/ndo.sock unix 3 [ ] STREAM CONNECTED 14050152 30032/ndo2db-3x /var/nagios/rw/ndo.sock Send us your ndo2db config values. On Fri, May 8, 2009 at 6:35 PM, Thierry Granier wrote: > Hello > i have installed NDOutils and i can run ndo2db-3x but > i have this message in the log: > > ndomod: Error writing to data sink! Some output may get lost. 3996 > queued items to flush. > > The database nagios is empty > Thanks for your help > > Thierry > > > > > ------------------------------------------------------------------------------ > The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your > production scanning environment may not be a perfect world - but thanks to > Kodak, there's a perfect scanner to get the job done! With the NEW KODAK > i700 > Series Scanner you'll get full speed at 300 dpi even with all image > processing features enabled. http://p.sf.net/sfu/kodak-com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ari.constancio at gmail.com Sat May 9 01:39:25 2009 From: ari.constancio at gmail.com (Ari Constancio) Date: Sat, 9 May 2009 00:39:25 +0100 Subject: [OT] Network help? In-Reply-To: <74F60828-2BCB-4664-8757-4955E642B7F9@frontierflying.com> References: <13EC7F72-DF10-4A42-B060-763605A19406@frontierflying.com> <765d77c80905081440t28ecba3al4723fa4b1fbfc342@mail.gmail.com> <74F60828-2BCB-4664-8757-4955E642B7F9@frontierflying.com> Message-ID: <66e82c800905081639y63f71611x764bf9774e0e57a1@mail.gmail.com> On Fri, May 8, 2009 at 11:38 PM, Israel Brewster wrote: > On May 8, 2009, at 1:40 PM, Jim Avery wrote: > >> 2009/5/8 Israel Brewster : >>> I apologize for the off-topic post, but I figure the people here tend >>> to be involved with networking, so perhaps someone can direct me to >>> the right place to post a question about some networking problems I >>> am >>> having. Any suggestions? >> >> If it's social-networking problems, I recommend maybe facebook.com! >> >> Seriously though, it depends. ?If it's to do with Linux you could seek >> out your local LUG, but why not just say what the problem is here, you >> never know ... someone might find a solution to your problem AND >> explain how Nagios can help you to check how effective their answer to >> it was! > > Nope, not social, although if I don't get it fixed soon (or find > another solution) it might become a social problem :-) I didn't post > it here because I thought some might get annoyed with me cluttering > the list with non-nagios problems, but here goes. > > Thanks to a recent company acquisition made by my company (Frontier > Flying), we are now dealing with two separate networks (they will > eventually be combined, but that's a ways off still). The company we > bought (Era aviation) uses a piece of software called Sabre for their > flight reservations, which contacts a central server to which their > network has a direct connection. The Sabre server itself is on a third > network, but there are a couple of routers that link the two (Sabre > and Era) across a private network, so asside from a couple of routing > and NAT statements they are effectively on the same network. > > In order to be able to run Sabre on our network, we established a VPN > tunnel between our network and Era's. As far as I can tell, the VPN is > functioning. I can ping computers on the Era network, including the > Sabre server, and can access and control various computers on the Era > network. For initial testing purposes we installed the sabre software > (windows only) inside a parallels installation on one of our Mac > laptops. This worked perfectly. So far so good. Until we tried > installing the software on one of our Windows desktops. Then the > problems started. The Sabre software would make the initial connection > and log in the user, but when it tried to download the initial info it > needs, it just timed out. Every time. Meanwhile, the laptop, which was > connected through the same dumb switch, continued to work perfectly. > Every time. We took the Windows machine off our network and put it on > Era's (different location, obviously) and it started working. Put it > back on ours, timeout. > > Since then we have tried installing Sabre on a number of different > computers on our network. A second Mac laptop running parallels works > fine, while a mac desktop with an identical install of parallels > doesn't. We have managed get one Windows machine running the software > on our network, while a stack of four windows machines that Era sent > us which had been working on their network just fine don't work. > > On one hand it seems impossible that it could be an issue with the > network, because you would expect that to affect all computers > equally, not the hit-and miss (but mostly miss) scenario that we are > facing. On the other hand, it can't be a problem with the individual > computer, because the same computer with the exact same configuration > (including network settings - DHCP) works fine on the Era network, but > stops working when moved to ours. We thought maybe it was a DNS > problem (since obviously DHCP on our network would give different DNS > servers than DHCP on Era's network), so we tried putting the Era DNS > servers in statically, but while it worked as far as DNS went (we > still got name resolution) that didn't help with Sabre. > > We are going bald here tearing our hair out trying to figure out what > could be causing this issue. Sabre technical support is no help - they > just say it's our problem. Management is coming down on us pretty hard > to get something working here, so any help anyone can provide would be > GREATLY appreciated :-). Let me know if I left out any relevant > details or testing we performed! > > ----------------------------------------------- > Israel Brewster > Computer Support Technician II > Frontier Flying Service Inc. > 5245 Airport Industrial Rd > Fairbanks, AK 99709 > (907) 450-7250 x293 > ----------------------------------------------- Hi Israel, You do have a weird problem. It's difficult to give any hints -- it seems you should try to solve this as methodically as possible, e.g. with root cause analysis or some other troubleshooting method. At least, try to record what is working and what is not working in some kind of matrix. Maybe some trend comes out. For example, you mention that Sabre works inside a VM on Mac; how about in a VM on Windows? Maybe some network sniffing could be useful also. What TCP/UDP ports are used with the software. What kind of VPN you have? Is any of routers filtering traffic? Regards, Ari Constancio ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From robin.brown at uconn.edu Sat May 9 02:19:50 2009 From: robin.brown at uconn.edu (Brown, Robin) Date: Fri, 8 May 2009 20:19:50 -0400 Subject: [OT] Network help? In-Reply-To: <74F60828-2BCB-4664-8757-4955E642B7F9@frontierflying.com> References: <74F60828-2BCB-4664-8757-4955E642B7F9@frontierflying.com> Message-ID: Hi, sounds like classic MTU issues to me. Path MTU discovery is broken due to firewalls blocking ICMP and the VPN overhead is introduced, things break in very strange ways. Take one of the windows machines while connected to the non-working network and lower it's MTU, reload and test again: http://www.pctools.com/guides/registry/detail/280/ You can also try this theory out by varying the size of the ping packet you test with. See if your ping breaks at a certain MTU. Get some wireshark packet captures of a session too, this may point you in the right direction. -Robin On 5/8/09 6:38 PM, "Israel Brewster" wrote: On May 8, 2009, at 1:40 PM, Jim Avery wrote: > 2009/5/8 Israel Brewster : >> I apologize for the off-topic post, but I figure the people here tend >> to be involved with networking, so perhaps someone can direct me to >> the right place to post a question about some networking problems I >> am >> having. Any suggestions? > > If it's social-networking problems, I recommend maybe facebook.com! > > Seriously though, it depends. If it's to do with Linux you could seek > out your local LUG, but why not just say what the problem is here, you > never know ... someone might find a solution to your problem AND > explain how Nagios can help you to check how effective their answer to > it was! Nope, not social, although if I don't get it fixed soon (or find another solution) it might become a social problem :-) I didn't post it here because I thought some might get annoyed with me cluttering the list with non-nagios problems, but here goes. Thanks to a recent company acquisition made by my company (Frontier Flying), we are now dealing with two separate networks (they will eventually be combined, but that's a ways off still). The company we bought (Era aviation) uses a piece of software called Sabre for their flight reservations, which contacts a central server to which their network has a direct connection. The Sabre server itself is on a third network, but there are a couple of routers that link the two (Sabre and Era) across a private network, so asside from a couple of routing and NAT statements they are effectively on the same network. In order to be able to run Sabre on our network, we established a VPN tunnel between our network and Era's. As far as I can tell, the VPN is functioning. I can ping computers on the Era network, including the Sabre server, and can access and control various computers on the Era network. For initial testing purposes we installed the sabre software (windows only) inside a parallels installation on one of our Mac laptops. This worked perfectly. So far so good. Until we tried installing the software on one of our Windows desktops. Then the problems started. The Sabre software would make the initial connection and log in the user, but when it tried to download the initial info it needs, it just timed out. Every time. Meanwhile, the laptop, which was connected through the same dumb switch, continued to work perfectly. Every time. We took the Windows machine off our network and put it on Era's (different location, obviously) and it started working. Put it back on ours, timeout. Since then we have tried installing Sabre on a number of different computers on our network. A second Mac laptop running parallels works fine, while a mac desktop with an identical install of parallels doesn't. We have managed get one Windows machine running the software on our network, while a stack of four windows machines that Era sent us which had been working on their network just fine don't work. On one hand it seems impossible that it could be an issue with the network, because you would expect that to affect all computers equally, not the hit-and miss (but mostly miss) scenario that we are facing. On the other hand, it can't be a problem with the individual computer, because the same computer with the exact same configuration (including network settings - DHCP) works fine on the Era network, but stops working when moved to ours. We thought maybe it was a DNS problem (since obviously DHCP on our network would give different DNS servers than DHCP on Era's network), so we tried putting the Era DNS servers in statically, but while it worked as far as DNS went (we still got name resolution) that didn't help with Sabre. We are going bald here tearing our hair out trying to figure out what could be causing this issue. Sabre technical support is no help - they just say it's our problem. Management is coming down on us pretty hard to get something working here, so any help anyone can provide would be GREATLY appreciated :-). Let me know if I left out any relevant details or testing we performed! ----------------------------------------------- Israel Brewster Computer Support Technician II Frontier Flying Service Inc. 5245 Airport Industrial Rd Fairbanks, AK 99709 (907) 450-7250 x293 ----------------------------------------------- ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From exon at op5.com Sat May 9 02:18:12 2009 From: exon at op5.com (Andreas Ericsson) Date: Sat, 09 May 2009 02:18:12 +0200 Subject: What does the flag failure_prediction_enabled In-Reply-To: <277020fc0905080710u5dea9863rb7edd28c367096c0@mail.gmail.com> References: <497144FF.5050004@aei.ca> <277020fc0905080710u5dea9863rb7edd28c367096c0@mail.gmail.com> Message-ID: <4A04CBC4.4080307@op5.com> Sean Carolan wrote: >>> I can't find any informations on the flag "failure_prediction_enabled" >>> in service definition. What is the effect of this flag ? >> First result for 'nagios failure prediction' on Google: >> >> http://www.google.com/search?btnI=&q=nagios+failure+prediction > > And it appears that first result has not been updated since 2002. Is > the failure detection feature just a vestigial organ that never > finished developing? > As far as I can see, the failure_prediction_enabled flag does absolutely nothing right now. I can certainly imagine a reason for this. Failure prediction is *hard*. To get it right, you need to take into account 1. The current check thresholds (currently specified as arguments to Nagios plugins, so Nagios core knows nothing about them) 2. The average delta between several checks over a possibly *very* long period of time. 3. The number of times the potential problem is being taken care of before it becomes a problem, and how this affects the average delta. 4. Artificial intelligence to learn about previous problems in other areas of the network that could, potentially, lead to problems with the monitored host. /Andreas DISCLAIMER: I wrote this email very, very late on a friday evening, after having drunk several glasses of wine in very pleasant company. Such petty details as checking my facts to make sure I'm right didn't really enter my mind at the time I was writing this. It's possible I'll regret that later, but right now I'm reasonably certain the above s correct. ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From exon at op5.com Sat May 9 02:34:02 2009 From: exon at op5.com (Andreas Ericsson) Date: Sat, 09 May 2009 02:34:02 +0200 Subject: The icinga on the cake ... In-Reply-To: <277020fc0905081403j703e5906iaf2ed0ad08af3c84@mail.gmail.com> References: <765d77c80905071418u2910683v5f2124f5016dc319@mail.gmail.com> <277020fc0905081403j703e5906iaf2ed0ad08af3c84@mail.gmail.com> Message-ID: <4A04CF7A.7090504@op5.com> Sean Carolan wrote: >> Not being a developer myself, I'm not quite sure what to say or think, >> except that I'm continuously deeply grateful to everyone who bring us >> Nagios itself, and the plugins and tools which make it greater than >> the sum of its parts. > > This is, IMHO, one of the greatest problems with open source > development. Too much bickering, splintering and forking dilutes the > value of the product. Personally, I think you're wrong. GCC (one of the most portable and portability-friendly compiler collections in the world) "suffered" a big fat fork in 1997, and it ended up being extremely good for the project. The X windowing system *remains* forked into at least 4 different schisms. Right now, it looks as if X.org is winning. A few years ago, everyone used XFree86. > It's unfortunate that the main nagios devs and > these icinga people could not work together to simply improve the > existing code base. There are a lot of great features that could be > added to nagios, yet it feels like development on some of these major > features has been very sloooooooow. > True. That's a major complaint of the forkees too. The majorest (err..) is that development hasn't been open enough though. Ethan and some other prominent community members are working on fixing that. I'm guessing info regarding that will be publicly available on monday afternoon, European time. > Ethan, if you're reading this, cheer up mate. You are sitting on a > virtual gold mine. Nagios is hands-down the best network monitoring > system available, you should be minting money selling support > contracts for it. If you aren't then hire some good salespeople to > sell your support contracts and maybe a find good web developer to > give the GUI an upgrade! > I agree about the GUI. Rumor has it that discussions are under way to solve that too very shortly. Ethan will send something out very early next week (not "he may do so" or "I hope he will do so"; He *will* do so, or I'll go to minnesota and thump him on the head). The email he'll send out will contain, among other things, his future plans to make Nagios development move along faster. Possibly, there'll be something about GUI discussions in there as well. It's friday night here (2:32 AM), and I really don't know everything. This time, I feel confident that noone will be disappointed when I say: "Just wait and see. There may be pumpkins in it." /Andreas ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From exon at op5.com Sat May 9 02:37:07 2009 From: exon at op5.com (Andreas Ericsson) Date: Sat, 09 May 2009 02:37:07 +0200 Subject: Nagios 3 ACK author In-Reply-To: References: <3B540667-800B-4ADB-ABCE-3994FA3E1919@wunderloop.com> <765d77c80905080411o3d4d10c2m1ad16f6ed603d3e8@mail.gmail.com> Message-ID: <4A04D033.8080200@op5.com> Sven Wiedeck wrote: > Hi, > > thanks for the replies but we don't want to create user accounts for > > 30 people if it's not absolutely neccesary. > > So the auto-login is the only way so far... > No can do then. You can lock the author-field, but if everyone are authenticated as the same person, using the exact same credentials, there's no way of telling them apart automatically. You *could* add a check to see if the field isn't changed. That requires basic C programming skills and a rudimentary grasp of how HTML works when posting form data. If you still want help with that, you can probably contact op5 and get a consultancy price. I doubt it'll be of much use to the community, so it *will* come with a price-tag. /Andreas ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From perldork at webwizarddesign.com Sat May 9 04:16:32 2009 From: perldork at webwizarddesign.com (Max) Date: Fri, 8 May 2009 22:16:32 -0400 Subject: Nagios 3 ACK author In-Reply-To: References: <3B540667-800B-4ADB-ABCE-3994FA3E1919@wunderloop.com> <765d77c80905080411o3d4d10c2m1ad16f6ed603d3e8@mail.gmail.com> Message-ID: If your accounts are in LDAP you can do some scripting to sync between LDAP and Nagios. Since it seems you more care about individual usernames but not strong security, you can just make the password the same for each account when you create the HTTP AUTh account on the Nagios poller. Either that or you can use the same philosophy, script to sync Nagios user accounts from LDAP queries, and then use one of the Apache LDAP authentication modules to authenticate the user so they use their real password to authenticate. - Max ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From subscription at kkeane.com Sat May 9 09:25:57 2009 From: subscription at kkeane.com (Kevin Keane) Date: Sat, 9 May 2009 00:25:57 -0700 Subject: NSCA - Command file does not exist In-Reply-To: <4A0408F6.3000101@dome-consulting.com> References: <4A03FF64.5060506@dome-consulting.com> Message-ID: <4A053005.60503@kkeane.com> Does the nsca user or group have access to every single directory along the path? Easy way to try: su - nagios cd /usr/local/nagios/var/rw ls -lah * Note: the above won't work if user nagios has /bin/false as a shell. In that case, try su -s /bin/bash - nagios It should list nagios.cmd (and probably some other files) Joan Tugores wrote: > I think that not using chroot jail, this is my nsca.cfg: > > pid_file=/var/run/nsca.pid > server_port=5667 > #server_address=192.168.1.1 > nsca_user=nagios > nsca_group=nagiosgrb > #nsca_chroot=/usr/local/nagios/var/rw/ > debug=1 > command_file=/usr/local/nagios/var/rw/nagios.cmd > alternate_dump_file=/usr/local/nagios/var/rw/nsca.dump > aggregate_writes=0 > append_to_file=0 > max_packet_age=30 > #password= > decryption_method=1 > > Kevin Keane escribi?: >> Does nsca run in a chroot jail? I'm not sure if it can do that. >> >> If that's the case, nsca may think that /usr/local/nagios is really the >> root of the file system, and anything above that directory is >> essentially hidden. In that case, you'd have to change the nsca.cfg >> configuration to use /var/rw/nagios.cmd (or strip out whatever the root >> of the chroot jail is). >> >> Joan Tugores wrote: >> >>> Hi all, >>> >>> When I send a packet to ncsa server this not processed. >>> >>> In /var/log/messages: >>> >>> Command file '/usr/local/nagios/var/rw/nagios.cmd' does not exist,attempting to use alternate dump file '/usr/local/nagios/var/rw/nsca.dump' for output >>> >>> But nagios.cmd exists and the permissions are good. >>> prw-rw---- 1 nagios nagiosgrb 0 may 5 09:59 nagios.cmd >>> >>> Regards, >>> Joan >>> >>> -- Kevin Keane Owner The NetTech Find the Uncommon: Expert Solutions for a Network You Never Have to Think About Office: 866-642-7116 http://www.4nettech.com This e-mail and attachments, if any, may contain confidential and/or proprietary information. Please be advised that the unauthorized use or disclosure of the information is strictly prohibited. The information herein is intended only for use by the intended recipient(s) named above. If you have received this transmission in error, please notify the sender immediately and permanently delete the e-mail and any copies, printouts or attachments thereof. ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From th.granier at free.fr Sat May 9 23:31:41 2009 From: th.granier at free.fr (Thierry Granier) Date: Sat, 9 May 2009 23:31:41 +0200 Subject: compile with mysql Message-ID: Hi can somebody tell me how to compile Nagios with the mysql option please? Many thanks and regards Thierry -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From th.granier at free.fr Sun May 10 00:37:53 2009 From: th.granier at free.fr (Thierry Granier) Date: Sun, 10 May 2009 00:37:53 +0200 Subject: nagios and mysql Message-ID: <80B053ED26674ED5B924737C4FB1A388@thierrylaptop> Hello i have installed NDOutils and i can run ndo2db-3x but i have this message in the log: ndomod: Error writing to data sink! Some output may get lost. 3996 queued items to flush. The database nagios is empty Thanks for your help Thierry -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jon at netdork.net Sun May 10 03:57:42 2009 From: jon at netdork.net (Jon Angliss) Date: Sat, 09 May 2009 20:57:42 -0500 Subject: compile with mysql References: Message-ID: On Sat, 9 May 2009 23:31:41 +0200, "Thierry Granier" wrote: >Hi >can somebody tell me how to compile Nagios with the mysql option please? >Many thanks and regards >Thierry What are you trying to acheive? Nagios itself doesn't use MySQL, but some of the plugins can, and NDOUtils does. -- Jonathan Angliss ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Gabriel at impactteachers.com Sun May 10 10:43:23 2009 From: Gabriel at impactteachers.com (Gabriel - IP Guys) Date: Sun, 10 May 2009 09:43:23 +0100 Subject: Create a template host. Howto? Message-ID: Dear All, I've completed my nagios installation, thanks to a bit of lurking on this list, and now I have an issue of my own. I've finished configuring a host with all the checks and warnings that I need, and now I want to use all the same checks on my other hosts. I don't want to have to keep changing every host once when i install and configure new plugins. How can create a template so that all host are 'updated' with new checks when i update just the template? Thanks for any advice in advance. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From roy at karlsbakk.net Sun May 10 13:42:54 2009 From: roy at karlsbakk.net (Roy Sigurd Karlsbakk) Date: Sun, 10 May 2009 13:42:54 +0200 Subject: Create a template host. Howto? In-Reply-To: References: Message-ID: <9D92B446-D806-488A-99F5-C3A3CCEB858E@karlsbakk.net> On 10. mai. 2009, at 10.43, Gabriel - IP Guys wrote: > Dear All, > > I've completed my nagios installation, thanks to a bit of lurking on > this list, and now I have an issue of my own. > > I've finished configuring a host with all the checks and warnings > that I need, and now I want to use all the same checks on my other > hosts. I don't want to have to keep changing every host once when i > install and configure new plugins. How can create a template so that > all host are 'updated' with new checks when i update just the > template? http://nagios.org/docs/ is a good place to start If you have installed from source, the relevant config is usually under /usr/local/nagios/etc/objects/. See templates.cfg there - that can give you a clue. roy -- Roy Sigurd Karlsbakk (+47) 97542685 / 98013356 roy at karlsbakk.net -- I all pedagogikk er det essensielt at pensum presenteres intelligibelt. Det er et element?rt imperativ for alle pedagoger ? unng? eksessiv anvendelse av idiomer med fremmed opprinnelse. I de fleste tilfeller eksisterer adekvate og relevante synonymer p? norsk. ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy-lists at networkmail.eu Sun May 10 15:24:04 2009 From: andy-lists at networkmail.eu (Andy Shellam) Date: Sun, 10 May 2009 14:24:04 +0100 Subject: Create a template host. Howto? In-Reply-To: References: Message-ID: <4A06D574.6020003@networkmail.eu> Gabriel, From experience, you're better off using host groups. For example all your hosts will have certain checks (ping, disk space etc) so I have a group "all hosts" which all hosts are added to. We also have hosts that perform their own functions - e.g. database servers, DNS servers, web servers, which all have relevant checks of their own. So we have other host groups called, for example, "DNS servers", "web servers" etc which each host is added to the group depending on the function it performs. All service checks are then added to the host groups, instead of individual hosts. Then if we come up with a new service check, it gets added to the host group it needs to be in, and is automatically added to all hosts in that group. Similarly if we add a new server, it gets added to the host groups it needs to be in, and inherits all the service checks of that group without any additional configuration. See this page for the above (and plenty other) time-saving tricks: http://nagios.sourceforge.net/docs/3_0/objecttricks.html HTH, Andy Gabriel - IP Guys wrote: > Dear All, > > I've completed my nagios installation, thanks to a bit of lurking on > this list, and now I have an issue of my own. > > I've finished configuring a host with all the checks and warnings that > I need, and now I want to use all the same checks on my other hosts. I > don't want to have to keep changing every host once when i install and > configure new plugins. How can create a template so that all host are > 'updated' with new checks when i update just the template? > > Thanks for any advice in advance. > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your > production scanning environment may not be a perfect world - but thanks to > Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 > Series Scanner you'll get full speed at 300 dpi even with all image > processing features enabled. http://p.sf.net/sfu/kodak-com > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chethan.mnc at wipro.com Mon May 11 06:33:26 2009 From: chethan.mnc at wipro.com (chethan.mnc at wipro.com) Date: Mon, 11 May 2009 10:03:26 +0530 Subject: Oracle monitoring Message-ID: <654234233CA505458519F3D4BC36DABF02A8C755@blr-cst-msg.wipro.com> Dear All, I have a Nagios setup. I need to monitor Oracle DB. Need to know what n all Nagios can monitor in Oracle and hw to configure the same. Waiting for some valuable suggestions. Thanks & Regards, Chethan M N, Sr Engineer - EMS P Save a Tree - Please consider the environment before printing this email -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 2310 bytes Desc: image001.gif URL: -------------- next part -------------- ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Mon May 11 08:52:02 2009 From: jim at jimavery.me.uk (Jim Avery) Date: Mon, 11 May 2009 07:52:02 +0100 Subject: Oracle monitoring In-Reply-To: <654234233CA505458519F3D4BC36DABF02A8C755@blr-cst-msg.wipro.com> References: <654234233CA505458519F3D4BC36DABF02A8C755@blr-cst-msg.wipro.com> Message-ID: <765d77c80905102352n6f935b74s3a141834b37b73ff@mail.gmail.com> 2009/5/11 : > Dear All, > > > > I have a Nagios setup. I need to monitor Oracle DB. > > Need to know what n all Nagios can monitor in Oracle and hw to configure the > same. > > > > Waiting for some valuable suggestions. First place to look for plugins and so on is http://www.monitoringexchange.org/cgi-bin/page.cgi?d=1 I use Oracle Grid Control to do most of the monitoring for Oracle Databases. It's fairly easy to redirect alerts as SNMP traps from Grid Control to your Nagios server (for example using NagTrap) if you wish. I believe using the Oracle Lightweight Client with Nagios to monitor Oracle is covered in Wolfgang Barth's Book (certainly it was in the 1st edition). http://nostarch.com/nagios_2e.htm hth, Jim ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From james at lovedthanlost.net Mon May 11 09:17:26 2009 From: james at lovedthanlost.net (James Turnbull) Date: Mon, 11 May 2009 17:17:26 +1000 Subject: The icinga on the cake ... In-Reply-To: <277020fc0905081403j703e5906iaf2ed0ad08af3c84@mail.gmail.com> References: <765d77c80905071418u2910683v5f2124f5016dc319@mail.gmail.com> <277020fc0905081403j703e5906iaf2ed0ad08af3c84@mail.gmail.com> Message-ID: <4A07D106.2000307@lovedthanlost.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Sean Carolan wrote: >> Not being a developer myself, I'm not quite sure what to say or think, >> except that I'm continuously deeply grateful to everyone who bring us >> Nagios itself, and the plugins and tools which make it greater than >> the sum of its parts. > > This is, IMHO, one of the greatest problems with open source > development. Too much bickering, splintering and forking dilutes the > value of the product. It's unfortunate that the main nagios devs and It's also one of the biggest strengths of open source development and the FOSS community. Don't like the way a closed source product does something? Well 90% of the time you have to suck it up. Don't like the way an open source product does something? Well write some code, submit a patch, maintain your own branch, or even fork if you want. Me - I like options. Regards James Turnbull - -- Author of: * Pro Linux Systems Administration (http://www.amazon.com/gp/product/1430219122/) * Pulling Strings with Puppet (http://www.amazon.com/gp/product/1590599780/) * Pro Nagios 2.0 (http://www.amazon.com/gp/product/1590596099/) * Hardening Linux (http://www.amazon.com/gp/product/1590594444/) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkoH0QUACgkQ9hTGvAxC30B/8QCgmMN1miKZb0QG2+P1Obl2Pd7n pG8An3bwi6r3zOXkZghObYKa9MccEoKd =HiCZ -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jtugores at dome-consulting.com Mon May 11 09:35:49 2009 From: jtugores at dome-consulting.com (Joan Tugores) Date: Mon, 11 May 2009 09:35:49 +0200 Subject: NSCA - Command file does not exist In-Reply-To: <4A053005.60503@kkeane.com> References: <4A03FF64.5060506@dome-consulting.com> <4A053005.60503@kkeane.com> Message-ID: <4A07D555.2020107@dome-consulting.com> An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Firma.JPG Type: image/jpeg Size: 47522 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alejandro.sanchez at ite.es Mon May 11 09:56:11 2009 From: alejandro.sanchez at ite.es (=?iso-8859-1?Q?Alejandro_S=E1nchez_Mero=F1o?=) Date: Mon, 11 May 2009 09:56:11 +0200 Subject: Monitoring switches via SNMP -- References: <61ab46280905071615x6ae653dara4adfecdf0476977@mail.gmail.com> <4A042976.2070604@gmail.com> Message-ID: I have Nagios installed also on Ubuntu 8.10, and I installed net-snmp like this: a) Download the file net-snmp-5.4.2.1.tar.gz from Sourceforge.net. b) Untar the file: tar -xvf net-snmp-5.4.2.1.tar.gz c) cd net-snmp-5.4.2.1 d) ./configure e) make f) make install And done... Hope this helps... Best regards, Alejandro == Alejandro Sanchez Merono Area de Informatica y Comunicaciones Instituto de Tecnologia Electrica - http://www.ite.es Valencia - Spain ________________________________ De: Andrew Davis [mailto:nccomp at gmail.com] Enviado el: viernes, 08 de mayo de 2009 14:46 Para: Mike Saldivar; nagios-users at lists.sourceforge.net Asunto: Re: [Nagios-users] Monitoring switches via SNMP -- (...) I changed ifOperStatus.INSIDE from ifOperStatus.1 because an snmpwalk on the device said that's what this port name was, but I can change it back. But googling the error (Return code of 127 ...) seems to indicate I'm missing net-snmp or net-snmp-util, but I'm not sure how to install them -- can't do a rpm -qa on Ubuntu, and I don't know what the corresponding command is with apt-get. But searching the Ubuntu repositories, I can' find an equivalent to net-snmp-util, so I think that's the problem. Snmpwalk works though, so I figure I have something half-working... The other error I see is: --- Port 1 Bandwidth UNKNOWN 05-07-2009 17:02:24 0d 2h 38m 14s 3/3 check_mrtgtraf: Unable to open MRTG log file --- define service{ use generic-service ; Inherit values from a template host_name CCLogan-ASA5510-1 service_description Port 1 Bandwidth check_command check_local_mrtgtraf!/var/lib/mrtg/10.5.1.2_1.log!AVG!1000000,1000000!5000000,5000000!10 } --- I looked, and /var/lib/mrtg/ didn't exist. Googling, I saw a tip to change it to /var/www/mrtg/, but that directory didn't exist either. I created /var/lib/mrtg/ and chown'd it to nagios:nagios and restarted Nagios, but still nothing. Is there a mrtg config file I need to edit? Should I check into check_cisco.pl, or does that work better for the huge switches than the itty-bitty 4-porters? Thanks a heap, -Mike -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From subscription at kkeane.com Mon May 11 10:44:59 2009 From: subscription at kkeane.com (Kevin Keane) Date: Mon, 11 May 2009 01:44:59 -0700 Subject: NSCA - Command file does not exist In-Reply-To: <4A07D555.2020107@dome-consulting.com> References: <4A03FF64.5060506@dome-consulting.com> Message-ID: <4A07E58B.90807@kkeane.com> How about ls -lahd /usr/local/nagios/var/rw /usr/local/nagios/var /usr/local/nagios /usr/local /usr They should all at a minimum have X permission for either the nagios user or the group or for world. ? Joan Tugores wrote: > [nagios at DCSERVERBD2 rw]$ ls -lah * > prw-rw---- 1 nagios nagiosgrb 0 may 8 13:22 nagios.cmd > -rwxrwxr-x 1 nagios nagiosgrb 4,0K may 11 09:20 nsca.dump > > seems to be well. > > Kevin Keane escribi?: >> Does the nsca user or group have access to every single directory along >> the path? Easy way to try: >> >> su - nagios >> cd /usr/local/nagios/var/rw >> ls -lah * >> >> Note: the above won't work if user nagios has /bin/false as a shell. In >> that case, try >> su -s /bin/bash - nagios >> >> It should list nagios.cmd (and probably some other files) >> >> Joan Tugores wrote: >> >>> I think that not using chroot jail, this is my nsca.cfg: >>> >>> pid_file=/var/run/nsca.pid >>> server_port=5667 >>> #server_address=192.168.1.1 >>> nsca_user=nagios >>> nsca_group=nagiosgrb >>> #nsca_chroot=/usr/local/nagios/var/rw/ >>> debug=1 >>> command_file=/usr/local/nagios/var/rw/nagios.cmd >>> alternate_dump_file=/usr/local/nagios/var/rw/nsca.dump >>> aggregate_writes=0 >>> append_to_file=0 >>> max_packet_age=30 >>> #password= >>> decryption_method=1 >>> >>> Kevin Keane escribi?: >>> >>>> Does nsca run in a chroot jail? I'm not sure if it can do that. >>>> >>>> If that's the case, nsca may think that /usr/local/nagios is really the >>>> root of the file system, and anything above that directory is >>>> essentially hidden. In that case, you'd have to change the nsca.cfg >>>> configuration to use /var/rw/nagios.cmd (or strip out whatever the root >>>> of the chroot jail is). >>>> >>>> Joan Tugores wrote: >>>> >>>> >>>>> Hi all, >>>>> >>>>> When I send a packet to ncsa server this not processed. >>>>> >>>>> In /var/log/messages: >>>>> >>>>> Command file '/usr/local/nagios/var/rw/nagios.cmd' does not exist,attempting to use alternate dump file '/usr/local/nagios/var/rw/nsca.dump' for output >>>>> >>>>> But nagios.cmd exists and the permissions are good. >>>>> prw-rw---- 1 nagios nagiosgrb 0 may 5 09:59 nagios.cmd >>>>> >>>>> Regards, >>>>> Joan >>>>> >>>>> >>>>> >> >> > > -- -- Kevin Keane Owner The NetTech Find the Uncommon: Expert Solutions for a Network You Never Have to Think About Office: 866-642-7116 http://www.4nettech.com This e-mail and attachments, if any, may contain confidential and/or proprietary information. Please be advised that the unauthorized use or disclosure of the information is strictly prohibited. The information herein is intended only for use by the intended recipient(s) named above. If you have received this transmission in error, please notify the sender immediately and permanently delete the e-mail and any copies, printouts or attachments thereof. ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jtugores at dome-consulting.com Mon May 11 11:39:13 2009 From: jtugores at dome-consulting.com (Joan Tugores) Date: Mon, 11 May 2009 11:39:13 +0200 Subject: NSCA - Command file does not exist In-Reply-To: <4A07E58B.90807@kkeane.com> References: <4A03FF64.5060506@dome-consulting.com> <4A07E58B.90807@kkeane.com> Message-ID: <4A07F241.6060004@dome-consulting.com> An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Firma.JPG Type: image/jpeg Size: 47522 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From subscription at kkeane.com Mon May 11 12:07:18 2009 From: subscription at kkeane.com (Kevin Keane) Date: Mon, 11 May 2009 03:07:18 -0700 Subject: NSCA - Command file does not exist In-Reply-To: <4A07F241.6060004@dome-consulting.com> References: <4A03FF64.5060506@dome-consulting.com> Message-ID: <4A07F8D6.2070207@kkeane.com> Yes, this looks good. Besides, I only just noticed that you did the ls -lah * as user nagios, so we now have double confirmation that this works. Another question: what happens when you manually feed a command into nagios.cmd? echo "xxx" >>/usr/local/nagios/var/rw/nagios.cmd It should basically succeed without any message. If you look in your nagios log files, you'll probably see an invalid command "xxx" being logged. Finally, you could try stopping nagios, deleting the nagios.cmd file if it stayed around, and restarting nagios. It should get recreated. This just in case it is somehow "messed up". Joan Tugores wrote: > drwxr-xr-x 15 root root 4,0K abr 29 13:07 /usr > drwxr-xr-x 14 root root 4,0K abr 29 13:58 /usr/local > drwxrwxr-x 9 nagios nagiosgrb 4,0K abr 29 14:16 /usr/local/nagios > drwxrwxr-x 5 nagios nagiosgrb 4,0K may 11 11:07 /usr/local/nagios/var > drwxrwxr-x 2 nagios nagiosgrb 4,0K may 8 13:22 /usr/local/nagios/var/rw > > I think is all ok. > > Kevin Keane escribi?: >> How about >> >> ls -lahd /usr/local/nagios/var/rw /usr/local/nagios/var >> /usr/local/nagios /usr/local /usr >> >> They should all at a minimum have X permission for either the nagios >> user or the group or for world. >> >> ? >> >> Joan Tugores wrote: >> >>> [nagios at DCSERVERBD2 rw]$ ls -lah * >>> prw-rw---- 1 nagios nagiosgrb 0 may 8 13:22 nagios.cmd >>> -rwxrwxr-x 1 nagios nagiosgrb 4,0K may 11 09:20 nsca.dump >>> >>> seems to be well. >>> >>> Kevin Keane escribi?: >>> >>>> Does the nsca user or group have access to every single directory along >>>> the path? Easy way to try: >>>> >>>> su - nagios >>>> cd /usr/local/nagios/var/rw >>>> ls -lah * >>>> >>>> Note: the above won't work if user nagios has /bin/false as a shell. In >>>> that case, try >>>> su -s /bin/bash - nagios >>>> >>>> It should list nagios.cmd (and probably some other files) >>>> >>>> Joan Tugores wrote: >>>> >>>> >>>>> I think that not using chroot jail, this is my nsca.cfg: >>>>> >>>>> pid_file=/var/run/nsca.pid >>>>> server_port=5667 >>>>> #server_address=192.168.1.1 >>>>> nsca_user=nagios >>>>> nsca_group=nagiosgrb >>>>> #nsca_chroot=/usr/local/nagios/var/rw/ >>>>> debug=1 >>>>> command_file=/usr/local/nagios/var/rw/nagios.cmd >>>>> alternate_dump_file=/usr/local/nagios/var/rw/nsca.dump >>>>> aggregate_writes=0 >>>>> append_to_file=0 >>>>> max_packet_age=30 >>>>> #password= >>>>> decryption_method=1 >>>>> >>>>> Kevin Keane escribi?: >>>>> >>>>> >>>>>> Does nsca run in a chroot jail? I'm not sure if it can do that. >>>>>> >>>>>> If that's the case, nsca may think that /usr/local/nagios is really the >>>>>> root of the file system, and anything above that directory is >>>>>> essentially hidden. In that case, you'd have to change the nsca.cfg >>>>>> configuration to use /var/rw/nagios.cmd (or strip out whatever the root >>>>>> of the chroot jail is). >>>>>> >>>>>> Joan Tugores wrote: >>>>>> >>>>>> >>>>>> >>>>>>> Hi all, >>>>>>> >>>>>>> When I send a packet to ncsa server this not processed. >>>>>>> >>>>>>> In /var/log/messages: >>>>>>> >>>>>>> Command file '/usr/local/nagios/var/rw/nagios.cmd' does not exist,attempting to use alternate dump file '/usr/local/nagios/var/rw/nsca.dump' for output >>>>>>> >>>>>>> But nagios.cmd exists and the permissions are good. >>>>>>> prw-rw---- 1 nagios nagiosgrb 0 may 5 09:59 nagios.cmd >>>>>>> >>>>>>> Regards, >>>>>>> Joan >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>> >>>> >>> -- >>> >> >> >> > > -- -- Kevin Keane Owner The NetTech Find the Uncommon: Expert Solutions for a Network You Never Have to Think About Office: 866-642-7116 http://www.4nettech.com This e-mail and attachments, if any, may contain confidential and/or proprietary information. Please be advised that the unauthorized use or disclosure of the information is strictly prohibited. The information herein is intended only for use by the intended recipient(s) named above. If you have received this transmission in error, please notify the sender immediately and permanently delete the e-mail and any copies, printouts or attachments thereof. ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chethan.mnc at wipro.com Mon May 11 12:30:13 2009 From: chethan.mnc at wipro.com (chethan.mnc at wipro.com) Date: Mon, 11 May 2009 16:00:13 +0530 Subject: Oracle monitoring In-Reply-To: <765d77c80905102352n6f935b74s3a141834b37b73ff@mail.gmail.com> References: <654234233CA505458519F3D4BC36DABF02A8C755@blr-cst-msg.wipro.com> <765d77c80905102352n6f935b74s3a141834b37b73ff@mail.gmail.com> Message-ID: <654234233CA505458519F3D4BC36DABF02A8CA92@blr-cst-msg.wipro.com> Thanks Jim.... :) How do I go about next after installing the all the oracle plugins available on "http://www.monitoringexchange.org/cgi-bin/page.cgi?d=1"... Please suggest. Thanks & Regards, ? Chethan M N, Sr Engineer - EMS -------------------------------------------------------------------------------- Wipro Ltd No. 37, Samrudhi Bhavan, Castle Street, Bangalore-560025. Mob: +91-9886555387 | Dir: +91-080-41499628??? Email: chethan.mnc at wipro.com Website: http://www.wipro.com? Go Green ? Save a Tree -?Please consider the environment before printing this email -----Original Message----- From: averyjim at gmail.com [mailto:averyjim at gmail.com] On Behalf Of Jim Avery Sent: Monday, May 11, 2009 12:22 PM To: Chethan M N (WI01 - Manage IT) Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Oracle monitoring 2009/5/11 : > Dear All, > > > > I have a Nagios setup. I need to monitor Oracle DB. > > Need to know what n all Nagios can monitor in Oracle and hw to configure the > same. > > > > Waiting for some valuable suggestions. First place to look for plugins and so on is http://www.monitoringexchange.org/cgi-bin/page.cgi?d=1 I use Oracle Grid Control to do most of the monitoring for Oracle Databases. It's fairly easy to redirect alerts as SNMP traps from Grid Control to your Nagios server (for example using NagTrap) if you wish. I believe using the Oracle Lightweight Client with Nagios to monitor Oracle is covered in Wolfgang Barth's Book (certainly it was in the 1st edition). http://nostarch.com/nagios_2e.htm hth, Jim ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jtugores at dome-consulting.com Mon May 11 12:30:03 2009 From: jtugores at dome-consulting.com (Joan Tugores) Date: Mon, 11 May 2009 12:30:03 +0200 Subject: NSCA - Command file does not exist In-Reply-To: <4A07F8D6.2070207@kkeane.com> References: <4A03FF64.5060506@dome-consulting.com> <4A07F8D6.2070207@kkeane.com> Message-ID: <4A07FE2B.9030900@dome-consulting.com> An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Firma.JPG Type: image/jpeg Size: 47522 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From harishtyagi.81 at gmail.com Mon May 11 12:32:14 2009 From: harishtyagi.81 at gmail.com (harish tyagi) Date: Mon, 11 May 2009 16:02:14 +0530 Subject: Nagios mail problem Message-ID: <63ef113f0905110332s40a5b2d6r51ecbb58aed11286@mail.gmail.com> dear Sir i am use the nagios 3.0 and nagios plugin version is 1.4.7 all fuction is working but nagios not send the mail notification.please help me. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Mon May 11 13:05:15 2009 From: jim at jimavery.me.uk (Jim Avery) Date: Mon, 11 May 2009 12:05:15 +0100 Subject: Oracle monitoring In-Reply-To: <654234233CA505458519F3D4BC36DABF02A8CA92@blr-cst-msg.wipro.com> References: <654234233CA505458519F3D4BC36DABF02A8C755@blr-cst-msg.wipro.com> <765d77c80905102352n6f935b74s3a141834b37b73ff@mail.gmail.com> <654234233CA505458519F3D4BC36DABF02A8CA92@blr-cst-msg.wipro.com> Message-ID: <765d77c80905110405l20951f1er892133f97d2d49c5@mail.gmail.com> 2009/5/11 : > Thanks Jim.... :) > > How do I go about next after installing the all the oracle plugins available on "http://www.monitoringexchange.org/cgi-bin/page.cgi?d=1"... > > Please suggest. Briefly, the steps are as follows: First choose which plugins you think will be useful to you. Then, install them (usually copy the executable files to /usr/local/nagios/libexec/ and give them similar ownership and permissions to the files already there). Make sure you understand what they do and can run them from the command line. Configure service checks in Nagios to make use of these plugins. You will probably need to install the Oracle lightweight client (or ordinary Oracle client software) on your Nagios server in order to run these plugins. Alternatively you could use nrpe or check_by_ssh to run them on the remote server. You will need to read some documentation to understand how to do all this. If you find the online documentation heavy going, I recommend you purchase the book "Nagios" by Wofgang Barth which I mentioned earlier. I don't use these plugins myself, so can't offer you any sample configs (otherwise I would). Cheers, Jim ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Mon May 11 13:16:28 2009 From: jim at jimavery.me.uk (Jim Avery) Date: Mon, 11 May 2009 12:16:28 +0100 Subject: Nagios mail problem In-Reply-To: <63ef113f0905110332s40a5b2d6r51ecbb58aed11286@mail.gmail.com> References: <63ef113f0905110332s40a5b2d6r51ecbb58aed11286@mail.gmail.com> Message-ID: <765d77c80905110416y7f145846x11de823a5918b13e@mail.gmail.com> 2009/5/11 harish tyagi : > dear Sir > i am use the nagios 3.0 and nagios plugin version is 1.4.7 all fuction is > working but nagios not send the mail notification.please help me. Please read http://nagios.sourceforge.net/docs/3_0/notifications.html Check whether you can send an email from the command-line on your Nagios server, for example: /usr/bin/mail -s "A test email" harishtyagi.81 at gmail.com This is just a test. . Cc: If that doesn't work, you probably need to install an email client on your server, or configure it correctly to forward emails through your smtp server. See the FAQ at http://nagios.org/faqs/viewfaq.php?faq_id=18&expand=false&showdesc=true hth, Jim ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dhaval.thakar at networthdirect.com Mon May 11 13:20:28 2009 From: dhaval.thakar at networthdirect.com (Dhaval Thakar) Date: Mon, 11 May 2009 16:50:28 +0530 Subject: nagios web user for specific workgroup Message-ID: <4A0809FC.4080304@networthdirect.com> Hi, I am using Nagios to monitor few branch connectivity all these branches are connected through VSAT. All VSATs are under dedicated hostgroup. I need to delegate one of team member to maintain these hosts through nagios web interface. I am looking for option to grant access rights to specific authenticated user to manager hostgroup. e.g I tried configuring followings in cgi.cfg to allow branchsupport user to manage VSAT hostgroup. authorized_for_VSAT_hostgroup=branchsupport Kindly guide me with appropriate configuration. Thanks & Regards Dhaval http://www.linuxreaders.com ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Gabriel at impactteachers.com Mon May 11 14:32:56 2009 From: Gabriel at impactteachers.com (Gabriel - IP Guys) Date: Mon, 11 May 2009 13:32:56 +0100 Subject: Create a template host. Howto? In-Reply-To: <4A06D574.6020003@networkmail.eu> References: <4A06D574.6020003@networkmail.eu> Message-ID: Just to clarify, and I thank you and all who replied for taking the time. It's easier to create hostgroups, and assign checks to the host groups, then assign the hosts to those same hostgroups, in order to make sure for example, all linux based servers have their uptime, swap space, SSH, and free disk space all checked? If my understanding is correct, a host can belong to many hostgroups? In which case, a host that is running a webserver, mysql server, and FTP service, will be checked for those services not by its host definition, but by its host group definition? I half hope that I'm not right, because it means I have to reconfigure all my host defs! --- Kind Regards, Mr Gabriel > -----Original Message----- > From: Andy Shellam [mailto:andy-lists at networkmail.eu] > Sent: 10 May 2009 14:24 > To: Gabriel - IP Guys > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Create a template host. Howto? > > Gabriel, > > From experience, you're better off using host groups. For example all > your hosts will have certain checks (ping, disk space etc) so I have a > group "all hosts" which all hosts are added to. > > We also have hosts that perform their own functions - e.g. database > servers, DNS servers, web servers, which all have relevant checks of > their own. So we have other host groups called, for example, "DNS > servers", "web servers" etc which each host is added to the group > depending on the function it performs. All service checks are then > added to the host groups, instead of individual hosts. > > Then if we come up with a new service check, it gets added to the host > group it needs to be in, and is automatically added to all hosts in > that > group. Similarly if we add a new server, it gets added to the host > groups it needs to be in, and inherits all the service checks of that > group without any additional configuration. > > See this page for the above (and plenty other) time-saving tricks: > http://nagios.sourceforge.net/docs/3_0/objecttricks.html > > HTH, > > Andy > > Gabriel - IP Guys wrote: > > Dear All, > > > > I've completed my nagios installation, thanks to a bit of lurking on > > this list, and now I have an issue of my own. > > > > I've finished configuring a host with all the checks and warnings > that > > I need, and now I want to use all the same checks on my other hosts. > I > > don't want to have to keep changing every host once when i install > and > > configure new plugins. How can create a template so that all host are > > 'updated' with new checks when i update just the template? > > > > Thanks for any advice in advance. > > --------------------------------------------------------------------- > --- > > > > --------------------------------------------------------------------- > --------- > > The NEW KODAK i700 Series Scanners deliver under ANY circumstances! > Your > > production scanning environment may not be a perfect world - but > thanks to > > Kodak, there's a perfect scanner to get the job done! With the NEW > KODAK i700 > > Series Scanner you'll get full speed at 300 dpi even with all image > > processing features enabled. http://p.sf.net/sfu/kodak-com > > --------------------------------------------------------------------- > --- > > > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > > ::: Messages without supporting info will risk being sent to > /dev/null ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mohandas.k at tcs.com Mon May 11 15:44:44 2009 From: mohandas.k at tcs.com (mohandas.k at tcs.com) Date: Mon, 11 May 2009 19:14:44 +0530 Subject: PNP4nagios-Implementing drraw Message-ID: Hi, I am currently working on drraw but i have been finding it very difficult to configure the same. So can anyone please help me to implement it. Any help would be appreciated. Regards, Mohandas Kudva K Mailto: mohandas.k at tcs.com ____________________________________________ =====-----=====-----===== Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Mon May 11 17:10:32 2009 From: jim at jimavery.me.uk (Jim Avery) Date: Mon, 11 May 2009 16:10:32 +0100 Subject: PNP4nagios-Implementing drraw In-Reply-To: References: Message-ID: <765d77c80905110810j69789353sd9f603a219251cff@mail.gmail.com> 2009/5/11 : > > Hi, > > I am currently working on drraw but i have been finding it very difficult to > configure the same. So can anyone please help me to implement it. Any help > would be appreciated. > > Regards, > Mohandas Kudva K > Mailto: mohandas.k at tcs.com I doubt I've remembered everything, but hopefully these notes might help... I downloaded the tarball drraw-2.2b2.tar.gz from http://web.taranis.org/drraw/#download I extracted it under /var/www, then renamed the directory from drraw-2.2bd to drraw. I editted the file /var/www/drraw/drraw.conf to set the datadirs like so: %datadirs = ('/usr/local/nagios/share/perfdata-nagios2' => '[Nagios2] ', '/usr/local/nagios/share/perfdata' => '[Nagios3] ', ); You probably only need the one datadir - I have some old .rrds in perfdata-nagios2 I like to be able to look at too. I set variables for the working directories for drraw like so: $saved_dir = '/usr/local/drraw/saved'; $tmp_dir = '/usr/local/drraw/tmp'; These already existed on my system from a previous install - you may need to create them. Put them wherever you think is suitable and make sure they are writeable by apache (on my system permissions on these are "drwxr-xr-x 2 www-data www-data"). I create the file /etc/apache2/conf.d/drraw.conf like so: # ScriptAlias /nagios/cgi-bin "/usr/local/nagios/sbin" Alias /drraw "/var/www/drraw" DirectoryIndex drraw.cgi # SSLRequireSSL Options +ExecCGI AddHandler cgi-script .cgi AllowOverride None Order allow,deny Allow from all # Order deny,allow # Deny from all # Allow from 127.0.0.1 AuthName "Nagios Access" AuthType Basic AuthUserFile /usr/local/nagios/etc/htpasswd.users Require valid-user and restarted the apache daemon to make it take effect. I hope this helps. If you're still having trouble, please be a bit more specific about what you are having a problem with. Cheers, Jim ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From matias at valastro.com.ar Mon May 11 17:45:37 2009 From: matias at valastro.com.ar (Matias Blanco) Date: Mon, 11 May 2009 12:45:37 -0300 Subject: check_snmp - warning numbers In-Reply-To: References: Message-ID: <1039FA8200DC4F6D949097CE68150EFE@giorno.valastro> I can`t see that information. I don`t have 0.0.0.0:161 The problem is that I can`t add the port exeption in winxp, because some admin had block it by policies from active directory. I have acces to ActDir but I don`t know what is the policy blocks it Sorry for my bad English Matias... -----Mensaje original----- De: Jones, Stuart [mailto:Stuart.Jones at health.wa.gov.au] Enviado el: Domingo, 10 de Mayo de 2009 20:55 Para: Matias Blanco Asunto: RE: [Nagios-users] check_snmp - warning numbers When you do a netstat -an on the PC in question do you see something similar to: 0.0.0.0:161 i.e. the PC is listening on port 161 UDP? Rgds Stuart -----Original Message----- From: Matias Blanco [mailto:matias at valastro.com.ar] Sent: Saturday, 9 May 2009 12:02 AM To: 'Alejandro S?nchez Mero?o'; Nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] check_snmp - warning numbers Hello, When i made an snmpwalk to a ip computer there is no response. The snmpwalk to a switch,router or printer works ok. Does any body know the reason? Cristian... -----Mensaje original----- De: Matias Blanco [mailto:matias at valastro.com.ar] Enviado el: Jueves, 07 de Mayo de 2009 17:02 Para: 'Alejandro S?nchez Mero?o'; Nagios-users at lists.sourceforge.net Asunto: Re: [Nagios-users] check_snmp - warning numbers Hello, How can i do an snmpwalk on my switch? Thanks, Cristian... -----Mensaje original----- De: Alejandro S?nchez Mero?o [mailto:alejandro.sanchez at ite.es] Enviado el: Jueves, 07 de Mayo de 2009 05:44 Para: Matias Blanco; Nagios-users at lists.sourceforge.net Asunto: RE: [Nagios-users] check_snmp - warning numbers Hola de nuevo... I'll answer you in English so that anybody in the list can understand and participate in this subject. I think that if you don't know exactly which parameter to monitor you should browse the whole OID list that you receive when you do a snmpwalk on your switch, and identify the ones that fit your needs, with the help of the website I said yesterday, or any other OIDs reference. My case: The only thing I want to detect is if there is any damaged port in any of my switches. So what I did was to snmpwalk on a switch which I positively knew that had its port #2 damaged, and discover which OID was significantly different for this port. And the one I found is: iso.3.6.1.2.1.10.7.2.1.7 (maybe you can find it as its equivalent: SNMPv2-SMI::mib-2.10.7.2.1.7) defined as: "a count of frames for which the first transmission attempt on a particular interface is delayed because the medium is busy". The thing is that it's the only OID I found that gave a very high value for port #2 (about 65,000 or so) and 0 for the rest of ports that work properly. The command I defined for this was like this: define command { command_name check_port command_line $USER1$/check_snmp -H $HOSTADDRESS$ -C password -O iso.3.6.1.2.1.10.7.2.1.7.$ARG1$ -w 1 -c 10 -u retries } For sure there must be somebody else in the list who can give to you a more detailed or a more formally correct answer... Hasta la proxima, Alejandro == Alejandro Sanchez Merono Area de Informatica y Comunicaciones Instituto de Tecnologia Electrica - http://www.ite.es Valencia - Spain -----Mensaje original----- De: Matias Blanco [mailto:matias at valastro.com.ar] Enviado el: mi?rcoles, 06 de mayo de 2009 19:27 Para: Alejandro S?nchez Mero?o; Nagios-users at lists.sourceforge.net Asunto: RE: [Nagios-users] check_snmp - warning numbers Hola Alejandro, Ahora otra cosa: De que manera crees que pueda chequear los puertos de mi switch con nagios para tener una idea m?s clara de lo que est? sucediendo? Porque esos paquetes entrantes con errores no se si son por causa de la PC o de los puerto del switch... Muchas Gracias... Cristian ************************************ Hola Mat?as... :-) and hola everyone... There exists a magical website where to identify every OID you can check with SNMP, the link is: http://support.ipmonitor.com/mibs_byoidtree.aspx For your particular issue, if you type "RFC1213-MIB" at the "Search for:" form, click the result given ("RFC1213-MIB"), and then "View: Oid-tree", you'll be able to locate "ifInErrors(14)" at the tree shown, and clicking it you'll find its Description, which reads literally: "The number of inbound packets that contained errors preventing them from being deliverable to a higher-layer protocol." That's the answer to your question!! Now some other questions appear... Wouldn't it be nicer to know what exactly are you monitoring before you monitor it, so you could properly interpret the results? Is that parameter (number of inbound packets that contained errors and blah blah blah...) significant enough to determine if a port is working properly or not? Hope this helps... Best regards, Alejandro == Alejandro Sanchez Merono Area de Informatica y Comunicaciones Instituto de Tecnologia Electrica - http://www.ite.es Valencia - Spain -----Mensaje original----- De: Matias Blanco [mailto:matias at valastro.com.ar] Enviado el: mi?rcoles, 06 de mayo de 2009 17:49 Para: Nagios-users at lists.sourceforge.net Asunto: [Nagios-users] check_snmp - warning numbers Hi, I am using the check_snmp nagios`s plugin. And when we check the ports status of a 3com Baseline 2250 Plus, we recibe many ports results: SNMP OK - 0 SNMP WARNING - *1* SNMP WARNING - *84* SNMP WARNING - *2* SNMP WARNING - *2* SNMP WARNING - *4* The question is, what?s the meaning of the warning numbers? Other information: ------------------ # 'check_snmp' command definition define command{ command_name check_snmp command_line $USER1$/check_snmp -H $HOSTADDRESS$ $ARG1$ } Example of service ------------------- define service { use service-15x3x5-switchs host_name 3COM2250P service_description Port 03 [In Errors] check_command check_snmp!-C public -o ifInErrors.3 -w 0 -m RFC1213-MIB notifications_enabled 0 } THANKS... Mat?as Blanco. ------------------------------------------------------------------------ ------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------ ------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From doherty at crystal.harvard.edu Mon May 11 20:23:03 2009 From: doherty at crystal.harvard.edu (Peter Doherty) Date: Mon, 11 May 2009 14:23:03 -0400 Subject: check_disk reporting incorrectly Message-ID: <33FFDAD4-CC31-4CFA-89EB-19A8FA895953@crystal.harvard.edu> The output of check_disk doesn't seem to be making any sense. Can someone tell me what's going on here? It looks like it's got it's gigabytes and terabytes confused, but something is clearly wrong. Using the -u GB or -u MB switch doesn't help any. Oh, and this is on a PPC XServe MAC running OS X 10.5.6. The device that's reporting wrong is an NFS disk on another server. Thanks for any advice. --Peter # /usr/local/nagios/libexec/check_disk -w 10% -c 5% -p /galactica/ battlestar DISK CRITICAL - free space: /galactica/battlestar 28798 MB (4% inode=70%);| /galactica/battlestar=593385MB;559964;591073;0;622183 # df -h Filesystem Size Used Avail Capacity Mounted on 192.168.1.213:/Volumes/battlestar 8.6Ti 2.6Ti 6.0Ti 30% / galactica/battlestar # df Filesystem 512-blocks Used Available Capacity Mounted on 192.168.1.213:/Volumes/battlestar 18454101336 5510235360 12943865976 30% /galactica/battlestar ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Mon May 11 20:46:46 2009 From: marc at ena.com (Marc Powell) Date: Mon, 11 May 2009 13:46:46 -0500 Subject: check_disk reporting incorrectly In-Reply-To: <33FFDAD4-CC31-4CFA-89EB-19A8FA895953@crystal.harvard.edu> References: <33FFDAD4-CC31-4CFA-89EB-19A8FA895953@crystal.harvard.edu> Message-ID: <24806AC5-512C-4CAE-A4DE-EF0F5E9D5245@ena.com> On May 11, 2009, at 1:23 PM, Peter Doherty wrote: > The output of check_disk doesn't seem to be making any sense. Can > someone tell me what's going on here? It looks like it's got it's > gigabytes and terabytes confused, but something is clearly wrong. > Using the -u GB or -u MB switch doesn't help any. > Oh, and this is on a PPC XServe MAC running OS X 10.5.6. > The device that's reporting wrong is an NFS disk on another server. > Thanks for any advice. > --Peter There were some problems with large (i.e. 80TB) filesystems under linux and solaris reported in 2007 but I believe that changes were made to accommodate those. Up to 16TB filesystems worked regardless. You may be running into an OS specific issue. I believe the plugin is using standard system calls to obtain the utilization but there could be formatting issues or whatnot. Make sure you're using the latest plugin and if you don't get any other bites here, try posting as much information as possible to nagiosplug-devel. -- Marc ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dit.dash at gmail.com Mon May 11 21:26:10 2009 From: dit.dash at gmail.com (dave stern - e-mail.pluribus.unum) Date: Mon, 11 May 2009 15:26:10 -0400 Subject: number of acknowledgments Message-ID: <7f62d2420905111226o49be2060qcdecbbbae1500b4b@mail.gmail.com> I'm looking for a way to see if there are any unacknowledged host/service problems within nagios. I've written up my own gosh-awful ugly code that parses nagios logs to search for hosts that went down, haven't come back up, are still in the nagios config and have not been acknowledged. Although the coding appears to work, I'm wondering if there's an easier/cleaner way to do it ie some plugin that just searchs for any ACKs more directly TIA ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From smcafee at collaborativefusion.com Mon May 11 21:52:58 2009 From: smcafee at collaborativefusion.com (Sean McAfee) Date: Mon, 11 May 2009 15:52:58 -0400 Subject: number of acknowledgments In-Reply-To: <7f62d2420905111226o49be2060qcdecbbbae1500b4b@mail.gmail.com> References: <7f62d2420905111226o49be2060qcdecbbbae1500b4b@mail.gmail.com> Message-ID: <4A08821A.20009@collaborativefusion.com> dave stern - e-mail.pluribus.unum wrote: > I'm looking for a way to see if there are any unacknowledged host/service > problems within nagios. Try the "Unhandled" link under the "Service|Host Problems" links in the GUI. -- Sean McAfee System Engineer ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hytsai at stanford.edu Tue May 12 00:05:11 2009 From: hytsai at stanford.edu (Karen Tsai) Date: Mon, 11 May 2009 15:05:11 -0700 Subject: Required RPMs for Nagios 2.5 Message-ID: <6.2.5.6.2.20090511150259.02d91298@stanford.edu> Hi, We are running Nagios 2.5 on Linux x86. We would like to get a list of RPMs required for Nagios if there are any. We are trying to get this information in preparation for the Linux up2date patching, in order to evaluate if the up2date patching would possibly impact the Nagios. Does anyone know if there are any required RPMs? Thanks, Karen ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jpratt at norwich.edu Tue May 12 01:27:55 2009 From: jpratt at norwich.edu (James Pratt) Date: Mon, 11 May 2009 19:27:55 -0400 Subject: Required RPMs for Nagios 2.5 In-Reply-To: <6.2.5.6.2.20090511150259.02d91298@stanford.edu> References: <6.2.5.6.2.20090511150259.02d91298@stanford.edu> Message-ID: <8147CCE3C4A8764DA9980125EE70E823C87149@nuexchg.norwich.edu> -----Original Message----- From: Karen Tsai [mailto:hytsai at stanford.edu] Sent: Monday, May 11, 2009 6:05 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Required RPMs for Nagios 2.5 Hi, We are running Nagios 2.5 on Linux x86. We would like to get a list of RPMs required for Nagios if there are any. We are trying to get this information in preparation for the Linux up2date patching, in order to evaluate if the up2date patching would possibly impact the Nagios. Does anyone know if there are any required RPMs? Thanks, Karen --- Hi Not knowing exactly what distribution you are talking about (I assume RHEL3 or 4, since 4 is the last one to use up2date), you can likely run rpm -qa | grep nag |sort to get a sorted list of the RPMS you currently have related to nagios (not counting whatever custom stuff you do?), and go from there. As it is (to the best of my knowledge?) you must add 3rd party repos to RHEL5 to get the nagios RPMs, however it's been awhile so I may be wrong. As always, update -u of *all* packages could be problematic if it bombs in the middle, (compared to yum anyhow), so I understand your hesitation, but from my knowledge, I would think a large up2date -u would not impact your current nagios, if that is the kind of answer you are looking for... (again, any dependencies would depend on your checks/environment, as always)... Hth, Cheers jamie ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jmoseley at corp.xanadoo.com Tue May 12 03:14:21 2009 From: jmoseley at corp.xanadoo.com (jmoseley at corp.xanadoo.com) Date: Mon, 11 May 2009 20:14:21 -0500 Subject: Required RPMs for Nagios 2.5 In-Reply-To: <6.2.5.6.2.20090511150259.02d91298@stanford.edu> References: <6.2.5.6.2.20090511150259.02d91298@stanford.edu> Message-ID: If you've installed everything, including Nagios, via RPM/yum/up2date, then you should get a warning if upgrading some packages will interfere with Nagios. Assuming you've installed Nagios via RPM/up2date, then you can do: rpm -qa | grep nagios To see what Nagios-related packages you have installed. Then do a: rpm -qR to see what packages Nagios requires. That's actually going to show what libraries and binaries are needed by Nagios, not the actual package names. If you installed Nagios by source, then you'll need to find a Nagios 2.5.x RPM, download it (don't install it)t, and do a: rpm -qpR to find out what it requires. Better yet, go to the package maintainers website and find the spec file that was used to build the RPM to find out what packages are required to install the RPM. James Moseley Karen Tsai wrote: Hi, We are running Nagios 2.5 on Linux x86. We would like to get a list of RPMs required for Nagios if there are any. We are trying to get this information in preparation for the Linux up2date patching, in order to evaluate if the up2date patching would possibly impact the Nagios. Does anyone know if there are any required RPMs? ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From amontibello at gmail.com Tue May 12 04:53:08 2009 From: amontibello at gmail.com (Anthony Montibello) Date: Mon, 11 May 2009 22:53:08 -0400 Subject: Create a template host. Howto? In-Reply-To: References: <4A06D574.6020003@networkmail.eu> Message-ID: You do not HAVE to reconfigure all your sevices, But it may be easier to maintain of you examine your config and redo it to something that fits your projected growth. It may not be worth the time reorganizing the config files, if none of your coworkers are willing to maintain the new structure I personally like using A) service check templates to configure the base check times and standards B) Have some services templates assigned to standard hostgroups C) Have nested config directories managing different clients A single unique check does not need a hostgroup. but a service templet for that host makes it just a few lines to add the new check. While a common check like a port check of FTP or 8080 would be better as a Hostgroup Good luck, Tony (Author of NC_NEt) On Mon, May 11, 2009 at 8:32 AM, Gabriel - IP Guys < Gabriel at impactteachers.com> wrote: > Just to clarify, and I thank you and all who replied for taking the > time. > > It's easier to create hostgroups, and assign checks to the host groups, > then assign the hosts to those same hostgroups, in order to make sure > for example, all linux based servers have their uptime, swap space, SSH, > and free disk space all checked? If my understanding is correct, a host > can belong to many hostgroups? In which case, a host that is running a > webserver, mysql server, and FTP service, will be checked for those > services not by its host definition, but by its host group definition? > > I half hope that I'm not right, because it means I have to reconfigure > all my host defs! > --- > Kind Regards, > Mr Gabriel > > > > > -----Original Message----- > > From: Andy Shellam [mailto:andy-lists at networkmail.eu] > > Sent: 10 May 2009 14:24 > > To: Gabriel - IP Guys > > Cc: nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] Create a template host. Howto? > > > > Gabriel, > > > > From experience, you're better off using host groups. For example > all > > your hosts will have certain checks (ping, disk space etc) so I have a > > group "all hosts" which all hosts are added to. > > > > We also have hosts that perform their own functions - e.g. database > > servers, DNS servers, web servers, which all have relevant checks of > > their own. So we have other host groups called, for example, "DNS > > servers", "web servers" etc which each host is added to the group > > depending on the function it performs. All service checks are then > > added to the host groups, instead of individual hosts. > > > > Then if we come up with a new service check, it gets added to the host > > group it needs to be in, and is automatically added to all hosts in > > that > > group. Similarly if we add a new server, it gets added to the host > > groups it needs to be in, and inherits all the service checks of that > > group without any additional configuration. > > > > See this page for the above (and plenty other) time-saving tricks: > > http://nagios.sourceforge.net/docs/3_0/objecttricks.html > > > > HTH, > > > > Andy > > > > Gabriel - IP Guys wrote: > > > Dear All, > > > > > > I've completed my nagios installation, thanks to a bit of lurking on > > > this list, and now I have an issue of my own. > > > > > > I've finished configuring a host with all the checks and warnings > > that > > > I need, and now I want to use all the same checks on my other hosts. > > I > > > don't want to have to keep changing every host once when i install > > and > > > configure new plugins. How can create a template so that all host > are > > > 'updated' with new checks when i update just the template? > > > > > > Thanks for any advice in advance. > > > > --------------------------------------------------------------------- > > --- > > > > > > > --------------------------------------------------------------------- > > --------- > > > The NEW KODAK i700 Series Scanners deliver under ANY circumstances! > > Your > > > production scanning environment may not be a perfect world - but > > thanks to > > > Kodak, there's a perfect scanner to get the job done! With the NEW > > KODAK i700 > > > Series Scanner you'll get full speed at 300 dpi even with all image > > > processing features enabled. http://p.sf.net/sfu/kodak-com > > > > --------------------------------------------------------------------- > > --- > > > > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. > > > ::: Messages without supporting info will risk being sent to > > /dev/null > > > ------------------------------------------------------------------------------ > The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your > production scanning environment may not be a perfect world - but thanks to > Kodak, there's a perfect scanner to get the job done! With the NEW KODAK > i700 > Series Scanner you'll get full speed at 300 dpi even with all image > processing features enabled. http://p.sf.net/sfu/kodak-com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Ales.Rikovsky at upol.cz Tue May 12 07:45:45 2009 From: Ales.Rikovsky at upol.cz (Ales Rikovsky) Date: Tue, 12 May 2009 07:45:45 +0200 Subject: Monitoring hosts/services in seconds In-Reply-To: <726d258e0905060215l56ed0e28x65301827d1194ee9@mail.gmail.com> References: <726d258e0904160502n4e1af2a2t4b4e58aafb58f0f9@mail.gmail.com> <58B14DF1-4B35-42AC-99A3-10F1ED214E89@ena.com> <726d258e0905060215l56ed0e28x65301827d1194ee9@mail.gmail.com> Message-ID: <4A090D09.4060604@upol.cz> Is it possible to monitor hosts/services in interval specified in second? Seems that interval could be given in minutes. Am I right or not? Or is there another way to monitor/be informed/have history of suspected switch, host or printer dropouts more accurately? Thanks Ales ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From harishtyagi.81 at gmail.com Tue May 12 08:23:24 2009 From: harishtyagi.81 at gmail.com (harish tyagi) Date: Tue, 12 May 2009 11:53:24 +0530 Subject: Fwd: hi In-Reply-To: <20090512061346.GA31290@nagios1.localdomain> References: <20090512061346.GA31290@nagios1.localdomain> Message-ID: <63ef113f0905112323p5b3e8d3eid69ba8ddaf744189@mail.gmail.com> dear sir i am use the mutt command .i am receive the mail but nagios not send the mail .please send me the solution of nagios 3.0 ---------- Forwarded message ---------- From: root Date: Tue, May 12, 2009 at 11:43 AM Subject: hi To: harishtyagi.81 at gmail.com, anoop.singh at lancogroup.com this is a test mail anoopaaayy this is a test mail anoopaaayy this is a test mail anoopaaayy this is a test mail anoopaaayy thir is a test mail anoopaaayy aaaaaaaaass -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Tue May 12 09:52:45 2009 From: jim at jimavery.me.uk (Jim Avery) Date: Tue, 12 May 2009 08:52:45 +0100 Subject: Monitoring hosts/services in seconds In-Reply-To: <4A090D09.4060604@upol.cz> References: <726d258e0904160502n4e1af2a2t4b4e58aafb58f0f9@mail.gmail.com> <58B14DF1-4B35-42AC-99A3-10F1ED214E89@ena.com> <726d258e0905060215l56ed0e28x65301827d1194ee9@mail.gmail.com> <4A090D09.4060604@upol.cz> Message-ID: <765d77c80905120052j773e769m66fb34a3bdd742a6@mail.gmail.com> 2009/5/12 Ales Rikovsky : > Is it possible to monitor ?hosts/services in interval specified in > second? Seems that interval could be given in minutes. Am I right or not? > Or is there another way to monitor/be informed/have history of suspected > switch, host or printer dropouts more accurately? You can reduce the interval length in the main configuration file. See http://nagios.sourceforge.net/docs/3_0/configmain.html#interval_length You will also need to look at various other configuration directives to see how this will affect various aspects of the Nagios system. Another option is you can configure a cron job to run every few seconds (yes that is possible, you create a script running every minute which does, for example "foo ; sleep 15 ; foo ; sleep 15 ..."). The cron job can submit passive results back to nagios either by writing the command file directly or via nsca. Personally, I consider that it is unlikely that anyone will respond to an alert in only a few seconds so a minute interval length seems quite reasonable to me. In fact, I rarely use one-minute check intervals, most in my system are configured at two, five or even more minute intervals. hth, Jim ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Tue May 12 09:58:38 2009 From: jim at jimavery.me.uk (Jim Avery) Date: Tue, 12 May 2009 08:58:38 +0100 Subject: Fwd: hi In-Reply-To: <63ef113f0905112323p5b3e8d3eid69ba8ddaf744189@mail.gmail.com> References: <20090512061346.GA31290@nagios1.localdomain> <63ef113f0905112323p5b3e8d3eid69ba8ddaf744189@mail.gmail.com> Message-ID: <765d77c80905120058q63e3f74bg68435d40b2dcdaf@mail.gmail.com> 2009/5/12 harish tyagi : > dear sir i am use the mutt command .i am receive the mail but nagios not > send the mail .please send me the solution of nagios 3.0 Assuming it is possible to send an email through mutt using a script, you will need to modify your notify-host-by-email and notify-service-by-email command definitions to use mutt rather than /usr/bin/mail. See: http://nagios.sourceforge.net/docs/3_0/notifications.html ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sunnywavez at in.com Tue May 12 11:07:10 2009 From: sunnywavez at in.com (Sundar V S) Date: Tue, 12 May 2009 14:37:10 +0530 Subject: =?utf-8?q?Problem_in_configuring_NSClient_++?= Message-ID: <1242119230.80f24ef493982c552b6943f1411f7e2c@mail.in.com> Hi, I configured NSClient on Windows server, as menitoned in Nagios Documentation. Now, when i restarted the Nagios service on my Nagios Server, i gave me the following error,Stopping nagios: No lock file found in /usr/local/nagios/var/nagios.lockWhen i started the nagios service it gave,Starting nagios:CONFIG ERROR! Start aborted. Check your Nagios configuration.I tried to verify the nagios configuration it gave me the below error.Nagios 3.0.6Copyright (c) 19992008 Ethan Galstad (http://www.nagios.org)Last Modified: 12012008 License: GPLReading configuration data... Error: Template 'windowsserver' specified in host definition could not be not found (config file '/usr/local/nagios/etc/objects/windows.cfg', starting on line 25)***> One or more problems was encountered while processing the c onfig files...Check your configuration file(s) to ensure that they contain valid directives and data defintions. If you are upgrading from a previous version of Nagios, you should be aware t hat some variables/definitions may have been removed or modified in this version. Make sure to read the HTML documentation regarding the config files, as well as the 'Whats New' section to find out what has changed. Can anyone guide me whats going wrong in my configuration. I followed all the steps mentioned in NSCLient++ site. I want to montior my Windows Server (10.180.117.172) on my Nagios Server (10.180.117.171) having OS RHEL 4. Please help.Dear nagiosusers! Get Yourself a cool, short @in.com Email ID now! -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cristoir at gmail.com Tue May 12 11:24:05 2009 From: cristoir at gmail.com (Christopher McAtackney) Date: Tue, 12 May 2009 10:24:05 +0100 Subject: Problem in configuring NSClient ++ In-Reply-To: <1242119230.80f24ef493982c552b6943f1411f7e2c@mail.in.com> References: <1242119230.80f24ef493982c552b6943f1411f7e2c@mail.in.com> Message-ID: 2009/5/12 Sundar V S : > Hi, > > I configured NSClient on Windows server, as menitoned in Nagios > Documentation. Now, when i restarted the Nagios service on my Nagios Server, > i gave me the following error, > Stopping nagios: No lock file found in /usr/local/nagios/var/nagios.lock > > When i started the nagios service it gave, > Starting nagios:CONFIG ERROR! Start aborted. Check your Nagios > configuration. > > I tried to verify the nagios configuration it gave me the below error. > > Nagios 3.0.6 > Copyright (c) 1999-2008 Ethan Galstad (http://www.nagios.org) > Last Modified: 12-01-2008 > > License: GPL > Reading configuration data... > > Error: Template 'windows-server' specified in host definition could not be > not found (config file '/usr/local/nagios/etc/objects/windows.cfg', starting > on line 25) > ***> One or more problems was encountered while processing the config > files...Check your configuration file(s) to ensure that they contain valid > directives and data defintions. If you are upgrading from a previous version > of Nagios, you should be aware that some variables/definitions may have been > removed or modified in this version. Make sure to read the HTML > documentation regarding the config files, as well as the 'Whats New' section > to find out what has changed. > > Can anyone guide me whats going wrong in my configuration. I followed all > the steps mentioned in NSCLient++ site. I want to montior my Windows Server > (10.180.117.172) on my Nagios Server (10.180.117.171) having OS RHEL 4. > Please help. Hi Sundar, Check your etc/objects/templates.cfg file and make sure that the following default template is defined; define host{ name windows-server ; The name of this host template use generic-host ; Inherit default values from the generic-host template check_period 24x7 ; By default, Windows servers are monitored round the clock check_interval 5 ; Actively check the server every 5 minutes retry_interval 1 ; Schedule host check retries at 1 minute intervals max_check_attempts 10 ; Check each server 10 times (max) check_command check-host-alive ; Default command to check if servers are "alive" notification_period 24x7 ; Send notification out at any time - day or night notification_interval 30 ; Resend notifications every 30 minutes notification_options d,r ; Only send notifications for specific host states contact_groups admins ; Notifications get sent to the admins by default hostgroups windows-servers ; Host groups that Windows servers should be a member of register 0 ; DONT REGISTER THIS - ITS JUST A TEMPLATE } This should be there by default, but it sounds like your configuration is missing this definition for some reason. It may be commented out by default, I can't remember - but if so, just uncomment it. Chris ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sri.lumpa at free.fr Tue May 12 11:29:14 2009 From: sri.lumpa at free.fr (MAD) Date: Tue, 12 May 2009 11:29:14 +0200 (CEST) Subject: Problem in configuring NSClient ++ In-Reply-To: <1242119230.80f24ef493982c552b6943f1411f7e2c@mail.in.com> References: <1242119230.80f24ef493982c552b6943f1411f7e2c@mail.in.com> Message-ID: <661896805.6821011242120554386.JavaMail.root@zimbra16-e3.priv.proxad.net> It seems you used a template when you created your host definition into Nagios, but you hadn't created it. Try create the 'windows-server' template (I think you can also find it in some configuration file samples with your distribution of Nagios) or remove the template of your host definition if you don't need it. Marc-Andr? ----- Mail Original ----- De: "Sundar V S" ?: nagios-users at lists.sourceforge.net Envoy?: Mardi 12 Mai 2009 11h07:10 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne Objet: [Nagios-users] Problem in configuring NSClient ++ Hi, I configured NSClient on Windows server, as menitoned in Nagios Documentation. Now, when i restarted the Nagios service on my Nagios Server, i gave me the following error, Stopping nagios: No lock file found in /usr/local/nagios/var/nagios.lock When i started the nagios service it gave, Starting nagios:CONFIG ERROR! Start aborted. Check your Nagios configuration . I tried to verify the nagios configuration it gave me the below error. Nagios 3.0.6 Copyright (c) 1999-2008 Ethan Galstad ( http://www.nagios.org ) Last Modified: 12-01-2008 License: GPL Reading configuration data... Error: Template 'windows-server' specified in host definition could not be not found (config file '/usr/local/nagios/etc/objects/windows.cfg', starting on line 25) ***> One or more problems was encountered while processing the config files...Check your configuration file(s) to ensure that they contain valid directives and data defintions. If you are upgrading from a previous version of Nagios, you should be aware that some variables/definitions may have been removed or modified in this version. Make sure to read the HTML documentation regarding the config files, as well as the 'Whats New' section to find out what has changed. Can anyone guide me whats going wrong in my configuration. I followed all the steps mentioned in NSCLient++ site. I want to montior my Windows Server (10.180.117.172) on my Nagios Server (10.180.117.171) having OS RHEL 4. Please help. Dear nagios-users! Get Yourself a cool, short @in.com Email ID now! ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jerome.Meyer at baldata.ch Tue May 12 12:26:40 2009 From: Jerome.Meyer at baldata.ch (Meyer Jerome) Date: Tue, 12 May 2009 12:26:40 +0200 Subject: report : Insufficient Data Message-ID: <46EEEA5FAED9CA479556002BA9C27FD705CC9D22@iw50.iwbnet.ch> Hi Last week on Thursday I've stopped NAGIOS, deleted files under /var/nagios and restart it (NAGIOS)! Yesterday Nagios gives me Infos like these (when I choose report period : Last Week) : UP Total:3d 10h 17m 9s Total_Time:48.98% Known_Time:100% Undetermined Insufficient Data:3d 13h 42m Total_Time:51s 51.02% All Total:7d 0h 0m 0s What means this "insufficient data"? How Nagios calculate this "availability report"? Give any some Lectures about < how interpreted Nagios graphs > ? How do we must considered these messages? Any Ideas? jerome -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chethan.mnc at wipro.com Tue May 12 12:37:17 2009 From: chethan.mnc at wipro.com (chethan.mnc at wipro.com) Date: Tue, 12 May 2009 16:07:17 +0530 Subject: Understanding Nagios Setup Message-ID: <654234233CA505458519F3D4BC36DABF01254794@blr-cst-msg.wipro.com> Dear All, I need some help on Understanding the Existing Nagios setup in one of our client system. a. How to check what all plugins installed? b. To check versions of all plugins, integrated patches, or any other packages like NDutils,PNP etc... c. Need some document or questionnaire for checking the above points and investigating the Nagios setup. Please help... Looking for some useful suggestions. Thanks & Regards, Chethan M N, Sr Engineer - EMS -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sri.lumpa at free.fr Tue May 12 12:44:23 2009 From: sri.lumpa at free.fr (MAD) Date: Tue, 12 May 2009 12:44:23 +0200 (CEST) Subject: report : Insufficient Data In-Reply-To: <46EEEA5FAED9CA479556002BA9C27FD705CC9D22@iw50.iwbnet.ch> References: <46EEEA5FAED9CA479556002BA9C27FD705CC9D22@iw50.iwbnet.ch> Message-ID: <1142712004.6871621242125063088.JavaMail.root@zimbra16-e3.priv.proxad.net> To create its graphs, Nagios parses its log files. So if you delete them (or they are lost), it will be like Nagios wouldn't have been running for the period missing from the log file. For example, if the log files from May the 2nd to May the 4th are missing, you won't have any data on the status, the check results, etc... Nagios would have ran, and so no graphs either. Marc-Andr? ----- Mail Original ----- De: "Meyer Jerome" ?: Nagios-users at lists.sourceforge.net Envoy?: Mardi 12 Mai 2009 12h26:40 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne Objet: [Nagios-users] report : Insufficient Data Hi Last week on Thursday I've stopped NAGIOS, deleted files under /var/nagios and restart it (NAGIOS)! Yesterday Nagios gives me Infos like these (when I choose report period : Last Week) : UP Total:3d 10h 17m 9s Total_Time:48.98% Known_Time:100% Undetermined Insufficient Data:3d 13h 42m Total_Time:51s 51.02% All Total:7d 0h 0m 0s What means this "insufficient data"? How Nagios calculate this "availability report"? Give any some Lectures about ? how interpreted Nagios graphs ? ? How do we must considered these messages? Any Ideas? jerome ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sunnywavez at in.com Tue May 12 12:44:25 2009 From: sunnywavez at in.com (Sundar V S) Date: Tue, 12 May 2009 16:14:25 +0530 Subject: =?utf-8?q?Problem_in_configuring_NSClient_++?= Message-ID: <1242125065.42d02bd0c73cb27e4ffc7862910ea1f4@mail.in.com> Hi chris, Thanks for the update, as mentioned byyou, my default template.cfg is in the path, "/usr/local/nagios/etc/objects/template.cfg." The default host definition is intact and uncommented. No " # " in any part of the file. Is there any alternate way to cross check the configuration, am i specifying anything wrong in the configuration. Do tell me if you require any .cfg file from me to verify. Regards,Sundar Original message From:Christopher McAtackney< cristoir at gmail.com >Date: 12 May 09 14:54:05Subject: Re: [Nagiosusers] Problem in configuring NSClient ++To: Sundar V S 2009/5/12 Sundar V S :> Hi,>> I configured NSClient on Windows server, as menitoned in Nagios> Documentation. Now, when i restarted the Nagios service on my Nagios Server,> i gave me the following error,> Stopping nag ios: No lock file found in /usr/local/nagios/var/nagios.lock>> When i started the nagios service it gave,> Starting nagios:CONFIG ERROR! Start aborted. Check your Nagios> configuration.>> I tried to verify the nagios configuration it gave me the below error.>> Nagios 3.0.6> Copyright (c) 19992008 Ethan Galstad (http://www.nagios.org)> Last Modified: 12012008>> License: GPL> Reading configuration data...>> Error: Template 'windowsserver' specified in host definition could not be> not found (config file '/usr/local/nagios/etc/objects/windows.cfg', starting> on line 25)> ***> One or more problems was encountered while processing the config> files...Check your configuration file(s) to ensure that they contain valid> directives and data defintions. If you are upgrading from a previous version> of Nagios, you should be aware that some variables/definitions may have been> removed or modified in this version. Make sure to read the HTML> documentation regarding the config files, as w ell as the 'Whats New' section> to find out what has changed.>> Can anyone guide me whats going wrong in my configuration. I followed all> the steps mentioned in NSCLient++ site. I want to m ontior my Windows Server> (10.180.117.172) on my Nagios Server (10.180.117.171) having OS RHEL 4.> Please help.Hi Sundar,Check your etc/objects/templates.cfg file and make sure that thefollowing default template is defined;define host{name windowsserver ; The name of this host templateuse generichost ; Inherit default values from the generichost templatecheckperiod 24x7 ; By default, Windows servers are monitored round the clockcheckinterval 5 ; Actively check the server every 5 minutesretryinterval 1 ; Schedule host check retries at 1 minute intervalsmaxcheckattempts 10 ; Check each server 10 times (max)checkcommand checkhostalive ; Default command to check if serversare "alive"notificationperiod 24x7 ; Send notification out at any time day or nightnotificationinterval 30 ; Resend notif ications every 30 minutesnotificationoptions d,r ; Only send notifications for specific host statescontactgroups admins ; Notifications get sent to the admins by defaulthostgroups windowsser vers ; Host groups that Windows servers shouldbe a member ofregister 0 ; DONT REGISTER THIS ITS JUST A TEMPLATE}This should be there by default, but it sounds like your configurationis missing this definition for some reason. It may be commented out bydefault, I can't remember but if so, just uncomment it.ChrisGet Yourself a cool, short @in.com Email ID now! -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From craig at hooters-uk.com Tue May 12 12:56:46 2009 From: craig at hooters-uk.com (craig at hooters-uk.com) Date: Tue, 12 May 2009 11:56:46 +0100 Subject: Quick Question Time Message-ID: Is there a site around that lists out all of Nagios's Host/Service problem types, I need to quick glance sheet for our monitoring people. Thanks Craig ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Tue May 12 13:10:00 2009 From: ae at op5.se (Andreas Ericsson) Date: Tue, 12 May 2009 13:10:00 +0200 Subject: Quick Question Time In-Reply-To: References: Message-ID: <4A095908.7050100@op5.se> craig at hooters-uk.com wrote: > Is there a site around that lists out all of Nagios's Host/Service problem types, I need to quick > glance sheet for our monitoring people. > For hosts: UP, DOWN, UNREACHABLE Services : OK, WARNING, CRITICAL, UNKNOWN Both can also have PENDING, for when they haven't been checked yet. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Register now for Nordic Meet on Nagios, June 3-4 in Stockholm http://nordicmeetonnagios.op5.org/ Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should give some serious thought to declaring war on peace. ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Tue May 12 13:24:58 2009 From: jim at jimavery.me.uk (Jim Avery) Date: Tue, 12 May 2009 12:24:58 +0100 Subject: bzipping Nagios archives (was: Monitoring hosts/services in seconds) Message-ID: <765d77c80905120424i55de1dek366e3149845285da@mail.gmail.com> 2009/5/12 Ales Rikovsky : > I have to agree, but the reason is not to react so quickly, but to have > host/service "performance" written in history. > I have suspicion that same host has blackouts .... > Anyway it maybe the goal for specialized switch monitoring software... You might be better off looking at a tool dedicated to recording performance information, for example Cacti or mrtg. I would however recommend that you configure your switches to send snmp traps to your Nagios server - these will often point to where the problem lies if a connection is dropping intermittently. There are various ways you can receive traps in Nagios, the easiest, but probably not the most efficient is to use snmptt with NagTrap. > But I'd like to ask you one more question. Please do, but remember it's always best to post to the nagios-users email list so everyone can benefit from the answer (or can disagree with it if it's wrong). I don't provide personal support! > Can I get rid of bzipping > archives so I can have an access to all stats? Or is is safe to unzip it > manualy, but next week Nagios will zip it again? .... Nagios itself does not bzip the archives under /usr/local/nagios/var/archives/ (assuming those are the ones you mean). I expect you have a cron job running somewhere to do that. Have a look in the files under /etc/cron.* and under /var/spool/cron/crontabs . I wouldn't normally zip any of the archives unless you absolutely have to, as Nagios uses them for reporting. Cheers, Jim ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From martyn at chetnet.co.uk Tue May 12 13:31:37 2009 From: martyn at chetnet.co.uk (Martyn) Date: Tue, 12 May 2009 12:31:37 +0100 Subject: Remote Acknowledge In-Reply-To: References: Message-ID: > Hi Group > > I'm trying to find a way of letting our users acknowledge > their own servers faults without the need to log in to > Nagios, I have seen that there are remote commands you can > issue which allow this to happen, but this is where I need a > little instruction on how to use them. > > http://www.nagios.org/developerinfo/externalcommands/commandin > fo.php?command_id=39 > > In the Nagios book I have been reading it mention's the use > of Ticket Systems and making sure that Nagios can integrate > with them and when I goggled the question the one of the > results I got was OTRS. > > I guess that means I can raise a ticket by injecting Nagios > info into it, but would I be able to use ACK's from within > too, if not do you know of a solution that could do this. > > Thanks > > Craig > Did you find any information on this subject Craig? ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Tue May 12 13:36:19 2009 From: jim at jimavery.me.uk (Jim Avery) Date: Tue, 12 May 2009 12:36:19 +0100 Subject: Understanding Nagios Setup In-Reply-To: <654234233CA505458519F3D4BC36DABF01254794@blr-cst-msg.wipro.com> References: <654234233CA505458519F3D4BC36DABF01254794@blr-cst-msg.wipro.com> Message-ID: <765d77c80905120436x50645280s484b14f1fcf50de4@mail.gmail.com> 2009/5/12 : > Dear All, > I need some help on Understanding the Existing Nagios setup in one of our > client system. > a.??? How to check what all plugins installed? Usually, plugins are found under /usr/local/nagios/libexec/ . If the Nagios system uses passive checks, you might also find plugins installed (almost anywhere) on the monitored servers too. If the Nagios system was installed using the distro's repositories, you might find some packages if you query aptittude, yum or whatever package manager you use. > b.??? To check versions of all plugins, integrated patches, or any other > packages like NDutils,PNP etc? Plugins will often allow you to use the "--version" argument to show the version. For example, from the command line, you can enter: /usr/local/nagios/libexec/check_snmp --version Alternatively, if the plugin is written in perl,bash,ksh or whatever you can examine the script itself to see if there are any version numbers. You can check the version of Nagios similarly: /usr/local/nagios/bin/nagios --version > c.???? Need some document or questionnaire for checking the above points and > investigating the Nagios setup. Most of the Nagios config can be investigated by starting with /usr/local/nagios/etc/nagios.cfg and /usr/local/nagios/etc/cgi.cfg and working from there. You'll find references to ndo and PNP in there if they're installed. I recommend the book "Nagios" by Wolfgang Barth to give you a good start in understanding Nagios and most of the commonly implemented add-ons. Cheers, Jim ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mohandas.k at tcs.com Tue May 12 14:02:17 2009 From: mohandas.k at tcs.com (mohandas.k at tcs.com) Date: Tue, 12 May 2009 17:32:17 +0530 Subject: PNP4nagios-Implementing drraw In-Reply-To: <765d77c80905110810j69789353sd9f603a219251cff@mail.gmail.com> References: <765d77c80905110810j69789353sd9f603a219251cff@mail.gmail.com> Message-ID: Hi Jim, I am getting following error while accessing URL http:///drraw after following your suggested steps. ___________________________________________________________________________________________________________ Software error: Can't locate loadable object for module RRDs in @INC (@INC contains: /usr/local/rrdtool-1.2.19/lib/perl/5.8.7/sun4-solaris /usr/perl5/5.8.4/lib/sun4-solaris-64int /usr/perl5/5.8.4/lib /usr/perl5/site_perl/5.8.4/sun4-solaris-64int /usr/perl5/site_perl/5.8.4 /usr/perl5/site_perl /usr/perl5/vendor_perl/5.8.4/sun4-solaris-64int /usr/perl5/vendor_perl/5.8.4 /usr/perl5/vendor_perl) at /var/www/drraw/drraw.cgi line 48 Compilation failed in require at /var/www/drraw/drraw.cgi line 48. BEGIN failed--compilation aborted at /var/www/drraw/drraw.cgi line 48. For help, please send mail to the webmaster (you at example.com), giving this error message and the time and date of the error. ___________________________________________________________________________________________________________ However I have made below changes in drraw.cgi to use RRDs : use lib '/usr/local/rrdtool-1.2.19/lib/perl/5.8.7/sun4-solaris'; use RRDs; RRDs.pm is also available in mentioned location # cd /usr/local/rrdtool-1.2.19/lib/perl/5.8.7/sun4-solaris/ #ls RRDs.pm auto ntmake.pl perllocal.pod following packages are installed on sun box: Perl 5.8.4 Apache/2.2.11 RRDtool 1.2.19 Please help me. Mohandas Kudva K Jim Avery Sent by: averyjim at gmail.com 05/11/2009 08:40 PM To mohandas.k at tcs.com cc nagios-users at lists.sourceforge.net Subject Re: [Nagios-users] PNP4nagios-Implementing drraw 2009/5/11 : > > Hi, > > I am currently working on drraw but i have been finding it very difficult to > configure the same. So can anyone please help me to implement it. Any help > would be appreciated. > > Regards, > Mohandas Kudva K > Mailto: mohandas.k at tcs.com I doubt I've remembered everything, but hopefully these notes might help... I downloaded the tarball drraw-2.2b2.tar.gz from http://web.taranis.org/drraw/#download I extracted it under /var/www, then renamed the directory from drraw-2.2bd to drraw. I editted the file /var/www/drraw/drraw.conf to set the datadirs like so: %datadirs = ('/usr/local/nagios/share/perfdata-nagios2' => '[Nagios2] ', '/usr/local/nagios/share/perfdata' => '[Nagios3] ', ); You probably only need the one datadir - I have some old .rrds in perfdata-nagios2 I like to be able to look at too. I set variables for the working directories for drraw like so: $saved_dir = '/usr/local/drraw/saved'; $tmp_dir = '/usr/local/drraw/tmp'; These already existed on my system from a previous install - you may need to create them. Put them wherever you think is suitable and make sure they are writeable by apache (on my system permissions on these are "drwxr-xr-x 2 www-data www-data"). I create the file /etc/apache2/conf.d/drraw.conf like so: # ScriptAlias /nagios/cgi-bin "/usr/local/nagios/sbin" Alias /drraw "/var/www/drraw" DirectoryIndex drraw.cgi # SSLRequireSSL Options +ExecCGI AddHandler cgi-script .cgi AllowOverride None Order allow,deny Allow from all # Order deny,allow # Deny from all # Allow from 127.0.0.1 AuthName "Nagios Access" AuthType Basic AuthUserFile /usr/local/nagios/etc/htpasswd.users Require valid-user and restarted the apache daemon to make it take effect. I hope this helps. If you're still having trouble, please be a bit more specific about what you are having a problem with. Cheers, Jim ForwardSourceID:NT00002F1A =====-----=====-----===== Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From shadhin71 at gmail.com Tue May 12 15:17:23 2009 From: shadhin71 at gmail.com (shadih rahman) Date: Tue, 12 May 2009 09:17:23 -0400 Subject: nagios and mysql In-Reply-To: <80B053ED26674ED5B924737C4FB1A388@thierrylaptop> References: <80B053ED26674ED5B924737C4FB1A388@thierrylaptop> Message-ID: <6db4a4200905120617u42b3b8a8w97b74f8dec3f9fe9@mail.gmail.com> Thiery, how does your ndomod.cfg and ndo2db.cfg looks like? Thanks On Sat, May 9, 2009 at 6:37 PM, Thierry Granier wrote: > Hello > i have installed NDOutils and i can run ndo2db-3x but > i have this message in the log: > > ndomod: Error writing to data sink! Some output may get lost. 3996 > queued items to flush. > > The database nagios is empty > Thanks for your help > > Thierry > > > > ------------------------------------------------------------------------------ > The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your > production scanning environment may not be a perfect world - but thanks to > Kodak, there's a perfect scanner to get the job done! With the NEW KODAK > i700 > Series Scanner you'll get full speed at 300 dpi even with all image > processing features enabled. http://p.sf.net/sfu/kodak-com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Cordially, Shadhin Rahman -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From shadhin71 at gmail.com Tue May 12 15:26:13 2009 From: shadhin71 at gmail.com (shadih rahman) Date: Tue, 12 May 2009 09:26:13 -0400 Subject: Required RPMs for Nagios 2.5 In-Reply-To: References: <6.2.5.6.2.20090511150259.02d91298@stanford.edu> Message-ID: <6db4a4200905120626i5f5ebea7x9974222235f51028@mail.gmail.com> If you are using RHEL machine. The followings are probably basic pre-recs 1) perl-Net-SNMP 2) perl-Socket6 3) perl-Crypt-DES 4) fping On Mon, May 11, 2009 at 9:14 PM, wrote: > If you've installed everything, including Nagios, via RPM/yum/up2date, then > you should get a warning if upgrading some packages will interfere with > Nagios. > > Assuming you've installed Nagios via RPM/up2date, then you can do: > > rpm -qa | grep nagios > > To see what Nagios-related packages you have installed. Then do a: > > rpm -qR > > to see what packages Nagios requires. That's actually going to show what > libraries and binaries are needed by Nagios, not the actual package names. > > If you installed Nagios by source, then you'll need to find a Nagios 2.5.x > RPM, download it (don't install it)t, and do a: > > rpm -qpR > > to find out what it requires. Better yet, go to the package maintainers > website and find the spec file that was used to build the RPM to find out > what packages are required to install the RPM. > > > > James Moseley > > > > Karen Tsai wrote: > > Hi, > > We are running Nagios 2.5 on Linux x86. We would like to get a list > of RPMs required for Nagios if there are any. We are trying to get > this information in preparation for the Linux up2date patching, in > order to evaluate if the up2date patching would possibly impact the > Nagios. Does anyone know if there are any required RPMs? > > > > > > ------------------------------------------------------------------------------ > The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your > production scanning environment may not be a perfect world - but thanks to > Kodak, there's a perfect scanner to get the job done! With the NEW KODAK > i700 > Series Scanner you'll get full speed at 300 dpi even with all image > processing features enabled. http://p.sf.net/sfu/kodak-com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Cordially, Shadhin Rahman -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jerome.Meyer at baldata.ch Tue May 12 15:55:35 2009 From: Jerome.Meyer at baldata.ch (Meyer Jerome) Date: Tue, 12 May 2009 15:55:35 +0200 Subject: report : Insufficient Data In-Reply-To: <1142712004.6871621242125063088.JavaMail.root@zimbra16-e3.priv.proxad.net> References: <46EEEA5FAED9CA479556002BA9C27FD705CC9D22@iw50.iwbnet.ch> <1142712004.6871621242125063088.JavaMail.root@zimbra16-e3.priv.proxad.net> Message-ID: <46EEEA5FAED9CA479556002BA9C27FD705CC9E0F@iw50.iwbnet.ch> Thanks you Marc-Andr? for your email! Ok but does that means that it will be impossible to eliminate all undetermined data ? Now, I'm still in a test phase and when I'll starting Nagios in production phase, I don't like to have any zombies or unknown datas! It isn't any solutions? j?r?me > -----Urspr?ngliche Nachricht----- > Von: MAD [mailto:sri.lumpa at free.fr] > Gesendet: Dienstag, 12. Mai 2009 12:44 > An: Meyer Jerome > Cc: Nagios-users at lists.sourceforge.net > Betreff: Re: [Nagios-users] report : Insufficient Data > > To create its graphs, Nagios parses its log files. So if you delete them (or > they are lost), it will be like Nagios wouldn't have been running for the > period missing from the log file. For example, if the log files from May the > 2nd to May the 4th are missing, you won't have any data on the status, the > check results, etc... Nagios would have ran, and so no graphs either. > > Marc-Andr? > > > ----- Mail Original ----- > De: "Meyer Jerome" > ?: Nagios-users at lists.sourceforge.net > Envoy?: Mardi 12 Mai 2009 12h26:40 GMT +01:00 Amsterdam / Berlin / Berne / > Rome / Stockholm / Vienne > Objet: [Nagios-users] report : Insufficient Data > > > > > > Hi > > > > Last week on Thursday I've stopped NAGIOS, deleted files under /var/nagios > and restart it (NAGIOS)! > > Yesterday Nagios gives me Infos like these (when I choose report period : > Last Week) : > > > > > > UP Total:3d 10h 17m 9s Total_Time:48.98% Known_Time:100% > > Undetermined Insufficient Data:3d 13h 42m Total_Time:51s 51.02% > > All Total:7d 0h 0m 0s > > > > What means this "insufficient data"? > How Nagios calculate this "availability report"? Give any some Lectures about > ? how interpreted Nagios graphs ? ? > How do we must considered these messages? > > Any Ideas? > jerome > ----------------------------------------------------------------------------- > - > The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your > production scanning environment may not be a perfect world - but thanks to > Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 > Series Scanner you'll get full speed at 300 dpi even with all image > processing features enabled. http://p.sf.net/sfu/kodak-com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scabrera at portachtzig.de Tue May 12 15:43:32 2009 From: scabrera at portachtzig.de (Sebastian Cabrera) Date: Tue, 12 May 2009 15:43:32 +0200 Subject: hostescalation and default contact_groups Message-ID: <4A097D04.9030803@portachtzig.de> Hi everybody, I just wanted to know if the following is expected behaviour: I created a hostescalation definition telling that a special contact group should be notified with the first notification and now the default contact_groups do not get notified anymore. notification_interval is set to 0, so i cannot use first_notification set to anything above 1. I now added the default contact_groups (which should EVER be notified) to the hostescalation too to get it working. Is there any better way doing this? thanks, best regards, Sebastian -- A: Yes. >Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting frowned upon? ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cristoir at gmail.com Tue May 12 16:01:18 2009 From: cristoir at gmail.com (Christopher McAtackney) Date: Tue, 12 May 2009 15:01:18 +0100 Subject: Centreon In-Reply-To: <4A02DDC2.B47D.0048.0@stgeorge.com.au> References: <49DF5D04020000480008D21D@stgeorge.com.au> <4A02DDC2.B47D.0048.0@stgeorge.com.au> Message-ID: Hi Simon, Sorry, just realised that I had forgotten to reply to you. I got Centreon working perfectly in the end. My centstorage service wasn't running for some reason, but once it started, the graphs started becoming populated with data as expected. I've had it running for about 10 days now and haven't encountered any problems with it at all. One thing I was wondering about though, is if anyone has experience with redundancy strategies for Centreon. With Nagios alone, it seemed simple enough (consolidate the log files), but Centreon's database usage makes things somewhat more complicated. Have you got a strategy in place for synchronising your primary server from a secondary server's database if the primary should go down for any reason? I'll admit I haven't looked too deeply into Centreon's schema, so I'm not sure how feasible this task is. Cheers, Chris 2009/5/7 Simon Finch : > Hi Chris, > > First does the file /etc/centreon/conf.pm exist ? > It should have the database hostname, dbname, dbuser and dbpassword in it. > > Who owns the /var/lib/centreon directory structure ? > The apache user that centreon runs as needs full rights to this directory > and the directories below it. > > These dirs should have been created by the centreon install, what version on > centreon did you install and did the install run smoothly ? > > Thanks, > Simon > > > Simon Finch?|?ESM?Specialist > Ground Floor, 4-16 Montgomery St, Kogarah NSW 2217 > (+61 2?9952 2574?7?+61?412 256?814 > Email: finchs at stgeorge.com.au > www.stgeorge.com.au > ______________________________________ > St.George Bank IT - Good with people. Good with monitoring. > ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sri.lumpa at free.fr Tue May 12 16:17:56 2009 From: sri.lumpa at free.fr (MAD) Date: Tue, 12 May 2009 16:17:56 +0200 (CEST) Subject: report : Insufficient Data In-Reply-To: <818588007.6922981242137428063.JavaMail.root@zimbra16-e3.priv.proxad.net> References: <818588007.6922981242137428063.JavaMail.root@zimbra16-e3.priv.proxad.net> Message-ID: <17608426.6925291242137876229.JavaMail.root@zimbra16-e3.priv.proxad.net> Unfortunately, I don't know a solution to this problem. Perhaps, you may generate some "fake" log files to replace the ones you erased but this is just some awkward "hack". An other way to hide this is to set the initial state of your nagios items to be OK (or UP). There is a value to put in your definition files that can force Nagios to assume the state is OK (for example) when it has no data about the object. I don't remember right now the name of the option. Anyway, once your system will be in production, the percentage of unknown data will eventually decrease. Besides you will always have some unknown data from time to time (reboot of your serveur, etc...). Marc-Andr? ----- Mail Original ----- De: "Meyer Jerome" ?: "MAD" Cc: Nagios-users at lists.sourceforge.net Envoy?: Mardi 12 Mai 2009 15h55:35 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne Objet: AW: [Nagios-users] report : Insufficient Data Thanks you Marc-Andr? for your email! Ok but does that means that it will be impossible to eliminate all undetermined data ? Now, I'm still in a test phase and when I'll starting Nagios in production phase, I don't like to have any zombies or unknown datas! It isn't any solutions? j?r?me > -----Urspr?ngliche Nachricht----- > Von: MAD [mailto:sri.lumpa at free.fr] > Gesendet: Dienstag, 12. Mai 2009 12:44 > An: Meyer Jerome > Cc: Nagios-users at lists.sourceforge.net > Betreff: Re: [Nagios-users] report : Insufficient Data > > To create its graphs, Nagios parses its log files. So if you delete them (or > they are lost), it will be like Nagios wouldn't have been running for the > period missing from the log file. For example, if the log files from May the > 2nd to May the 4th are missing, you won't have any data on the status, the > check results, etc... Nagios would have ran, and so no graphs either. > > Marc-Andr? > > > ----- Mail Original ----- > De: "Meyer Jerome" > ?: Nagios-users at lists.sourceforge.net > Envoy?: Mardi 12 Mai 2009 12h26:40 GMT +01:00 Amsterdam / Berlin / Berne / > Rome / Stockholm / Vienne > Objet: [Nagios-users] report : Insufficient Data > > > > > > Hi > > > > Last week on Thursday I've stopped NAGIOS, deleted files under /var/nagios > and restart it (NAGIOS)! > > Yesterday Nagios gives me Infos like these (when I choose report period : > Last Week) : > > > > > > UP Total:3d 10h 17m 9s Total_Time:48.98% Known_Time:100% > > Undetermined Insufficient Data:3d 13h 42m Total_Time:51s 51.02% > > All Total:7d 0h 0m 0s > > > > What means this "insufficient data"? > How Nagios calculate this "availability report"? Give any some Lectures about > ? how interpreted Nagios graphs ? ? > How do we must considered these messages? > > Any Ideas? > jerome > ----------------------------------------------------------------------------- > - > The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your > production scanning environment may not be a perfect world - but thanks to > Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 > Series Scanner you'll get full speed at 300 dpi even with all image > processing features enabled. http://p.sf.net/sfu/kodak-com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From paul.weaver at bbc.co.uk Tue May 12 16:31:26 2009 From: paul.weaver at bbc.co.uk (Paul Weaver) Date: Tue, 12 May 2009 15:31:26 +0100 Subject: report : Insufficient Data In-Reply-To: <46EEEA5FAED9CA479556002BA9C27FD705CC9E0F@iw50.iwbnet.ch> References: <46EEEA5FAED9CA479556002BA9C27FD705CC9D22@iw50.iwbnet.ch><1142712004.6871621242125063088.JavaMail.root@zimbra16-e3.priv.proxad.net> <46EEEA5FAED9CA479556002BA9C27FD705CC9E0F@iw50.iwbnet.ch> Message-ID: You need to keep all the of the .log files in (nagios)/var, the only historical data nagios stores stays in those files. I use rsync every day to back up these files offsite, as we've got 18 months of data. -- Paul Weaver Systems Development Engineer News Production Facilities, BBC News > -----Original Message----- > From: Meyer Jerome [mailto:Jerome.Meyer at baldata.ch] > Sent: 12 May 2009 14:56 > To: MAD > Cc: Nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] report : Insufficient Data > > Thanks you Marc-Andr? for your email! > > Ok but does that means that it will be impossible to > eliminate all undetermined data ? > Now, I'm still in a test phase and when I'll starting Nagios > in production phase, I don't like to have any zombies or > unknown datas! > It isn't any solutions? > > j?r?me > > > -----Urspr?ngliche Nachricht----- > > Von: MAD [mailto:sri.lumpa at free.fr] > > Gesendet: Dienstag, 12. Mai 2009 12:44 > > An: Meyer Jerome > > Cc: Nagios-users at lists.sourceforge.net > > Betreff: Re: [Nagios-users] report : Insufficient Data > > > > To create its graphs, Nagios parses its log files. So if you delete > > them (or they are lost), it will be like Nagios wouldn't have been > > running for the period missing from the log file. For > example, if the > > log files from May the 2nd to May the 4th are missing, you > won't have > > any data on the status, the check results, etc... Nagios > would have ran, and so no graphs either. > > > > Marc-Andr? > > > > > > ----- Mail Original ----- > > De: "Meyer Jerome" > > ?: Nagios-users at lists.sourceforge.net > > Envoy?: Mardi 12 Mai 2009 12h26:40 GMT +01:00 Amsterdam / Berlin / > > Berne / Rome / Stockholm / Vienne > > Objet: [Nagios-users] report : Insufficient Data > > > > > > > > > > > > Hi > > > > > > > > Last week on Thursday I've stopped NAGIOS, deleted files under > > /var/nagios and restart it (NAGIOS)! > > > > Yesterday Nagios gives me Infos like these (when I choose > report period : > > Last Week) : > > > > > > > > > > > > UP Total:3d 10h 17m 9s Total_Time:48.98% Known_Time:100% > > > > Undetermined Insufficient Data:3d 13h 42m Total_Time:51s 51.02% > > > > All Total:7d 0h 0m 0s > > > > > > > > What means this "insufficient data"? > > How Nagios calculate this "availability report"? Give any some > > Lectures about ? how interpreted Nagios graphs ? ? > > How do we must considered these messages? http://www.bbc.co.uk/ This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. If you have received it in error, please delete it from your system. Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received. Further communication will signify your consent to this. ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Tue May 12 16:36:45 2009 From: jim at jimavery.me.uk (Jim Avery) Date: Tue, 12 May 2009 15:36:45 +0100 Subject: hostescalation and default contact_groups In-Reply-To: <4A097D04.9030803@portachtzig.de> References: <4A097D04.9030803@portachtzig.de> Message-ID: <765d77c80905120736r3b378be1l8e2e4bd0c8416659@mail.gmail.com> 2009/5/12 Sebastian Cabrera : > Hi everybody, > > I just wanted to know if the following is expected behaviour: > I created a hostescalation definition telling that a special contact > group should be notified with the first notification and now the default > contact_groups do not get notified anymore. > notification_interval is set to 0, so i cannot use first_notification > set to anything above 1. > I now added the default contact_groups (which should EVER be notified) > to the hostescalation too to get it working. > Is there any better way doing this? Configure notification_interval to > 0 in your host definition then configure the host escalation only to send one escalation notification (first_notification 2) if that's what you want. ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From subscription at kkeane.com Tue May 12 16:36:44 2009 From: subscription at kkeane.com (Kevin Keane) Date: Tue, 12 May 2009 07:36:44 -0700 Subject: NSCA - Command file does not exist In-Reply-To: <4A07FE2B.9030900@dome-consulting.com> References: <4A03FF64.5060506@dome-consulting.com> Message-ID: <4A09897C.1000501@kkeane.com> Do you have Linux SE or AppArmor that might block access for nsca? Otherwise, I'm pretty much out of ideas :-( Joan Tugores wrote: > Manually feed works!! but stop&start nagios not solves the problem. > > Kevin Keane escribi?: >> Yes, this looks good. Besides, I only just noticed that you did the ls >> -lah * as user nagios, so we now have double confirmation that this >> works. Another question: what happens when you manually feed a command >> into nagios.cmd? >> >> echo "xxx" >>/usr/local/nagios/var/rw/nagios.cmd >> >> It should basically succeed without any message. If you look in your >> nagios log files, you'll probably see an invalid command "xxx" being >> logged. Finally, you could try stopping nagios, deleting the nagios.cmd >> file if it stayed around, and restarting nagios. It should get >> recreated. This just in case it is somehow "messed up". >> >> Joan Tugores wrote: >> >>> drwxr-xr-x 15 root root 4,0K abr 29 13:07 /usr >>> drwxr-xr-x 14 root root 4,0K abr 29 13:58 /usr/local >>> drwxrwxr-x 9 nagios nagiosgrb 4,0K abr 29 14:16 /usr/local/nagios >>> drwxrwxr-x 5 nagios nagiosgrb 4,0K may 11 11:07 /usr/local/nagios/var >>> drwxrwxr-x 2 nagios nagiosgrb 4,0K may 8 13:22 /usr/local/nagios/var/rw >>> >>> I think is all ok. >>> >>> Kevin Keane escribi?: >>> >>>> How about >>>> >>>> ls -lahd /usr/local/nagios/var/rw /usr/local/nagios/var >>>> /usr/local/nagios /usr/local /usr >>>> >>>> They should all at a minimum have X permission for either the nagios >>>> user or the group or for world. >>>> >>>> ? >>>> >>>> Joan Tugores wrote: >>>> >>>> >>>>> [nagios at DCSERVERBD2 rw]$ ls -lah * >>>>> prw-rw---- 1 nagios nagiosgrb 0 may 8 13:22 nagios.cmd >>>>> -rwxrwxr-x 1 nagios nagiosgrb 4,0K may 11 09:20 nsca.dump >>>>> >>>>> seems to be well. >>>>> >>>>> Kevin Keane escribi?: >>>>> >>>>> >>>>>> Does the nsca user or group have access to every single directory along >>>>>> the path? Easy way to try: >>>>>> >>>>>> su - nagios >>>>>> cd /usr/local/nagios/var/rw >>>>>> ls -lah * >>>>>> >>>>>> Note: the above won't work if user nagios has /bin/false as a shell. In >>>>>> that case, try >>>>>> su -s /bin/bash - nagios >>>>>> >>>>>> It should list nagios.cmd (and probably some other files) >>>>>> >>>>>> Joan Tugores wrote: >>>>>> >>>>>> >>>>>> >>>>>>> I think that not using chroot jail, this is my nsca.cfg: >>>>>>> >>>>>>> pid_file=/var/run/nsca.pid >>>>>>> server_port=5667 >>>>>>> #server_address=192.168.1.1 >>>>>>> nsca_user=nagios >>>>>>> nsca_group=nagiosgrb >>>>>>> #nsca_chroot=/usr/local/nagios/var/rw/ >>>>>>> debug=1 >>>>>>> command_file=/usr/local/nagios/var/rw/nagios.cmd >>>>>>> alternate_dump_file=/usr/local/nagios/var/rw/nsca.dump >>>>>>> aggregate_writes=0 >>>>>>> append_to_file=0 >>>>>>> max_packet_age=30 >>>>>>> #password= >>>>>>> decryption_method=1 >>>>>>> >>>>>>> Kevin Keane escribi?: >>>>>>> >>>>>>> >>>>>>> >>>>>>>> Does nsca run in a chroot jail? I'm not sure if it can do that. >>>>>>>> >>>>>>>> If that's the case, nsca may think that /usr/local/nagios is really the >>>>>>>> root of the file system, and anything above that directory is >>>>>>>> essentially hidden. In that case, you'd have to change the nsca.cfg >>>>>>>> configuration to use /var/rw/nagios.cmd (or strip out whatever the root >>>>>>>> of the chroot jail is). >>>>>>>> >>>>>>>> Joan Tugores wrote: >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>>> Hi all, >>>>>>>>> >>>>>>>>> When I send a packet to ncsa server this not processed. >>>>>>>>> >>>>>>>>> In /var/log/messages: >>>>>>>>> >>>>>>>>> Command file '/usr/local/nagios/var/rw/nagios.cmd' does not exist,attempting to use alternate dump file '/usr/local/nagios/var/rw/nsca.dump' for output >>>>>>>>> >>>>>>>>> But nagios.cmd exists and the permissions are good. >>>>>>>>> prw-rw---- 1 nagios nagiosgrb 0 may 5 09:59 nagios.cmd >>>>>>>>> >>>>>>>>> Regards, >>>>>>>>> Joan >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>> >>>>>> >>>>>> >>>>> -- >>>>> >>>>> >>>> >>>> >>> -- >>> >> >> >> > > -- -- Kevin Keane Owner The NetTech Find the Uncommon: Expert Solutions for a Network You Never Have to Think About Office: 866-642-7116 http://www.4nettech.com This e-mail and attachments, if any, may contain confidential and/or proprietary information. Please be advised that the unauthorized use or disclosure of the information is strictly prohibited. The information herein is intended only for use by the intended recipient(s) named above. If you have received this transmission in error, please notify the sender immediately and permanently delete the e-mail and any copies, printouts or attachments thereof. ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jerome.Meyer at baldata.ch Tue May 12 16:49:58 2009 From: Jerome.Meyer at baldata.ch (Meyer Jerome) Date: Tue, 12 May 2009 16:49:58 +0200 Subject: report : Insufficient Data In-Reply-To: <17608426.6925291242137876229.JavaMail.root@zimbra16-e3.priv.proxad.net> References: <818588007.6922981242137428063.JavaMail.root@zimbra16-e3.priv.proxad.net> <17608426.6925291242137876229.JavaMail.root@zimbra16-e3.priv.proxad.net> Message-ID: <46EEEA5FAED9CA479556002BA9C27FD705CC9E2D@iw50.iwbnet.ch> Thanks fort the trick and the help... I'll try to set the initial state to UP! Best regards j?r?me > -----Urspr?ngliche Nachricht----- > Von: MAD [mailto:sri.lumpa at free.fr] > Gesendet: Dienstag, 12. Mai 2009 16:18 > An: Meyer Jerome > Cc: Nagios-users at lists.sourceforge.net > Betreff: Re: AW: [Nagios-users] report : Insufficient Data > > Unfortunately, I don't know a solution to this problem. Perhaps, you may > generate some "fake" log files to replace the ones you erased but this is > just some awkward "hack". An other way to hide this is to set the initial > state of your nagios items to be OK (or UP). There is a value to put in your > definition files that can force Nagios to assume the state is OK (for > example) when it has no data about the object. I don't remember right now the > name of the option. > > Anyway, once your system will be in production, the percentage of unknown > data will eventually decrease. Besides you will always have some unknown data > from time to time (reboot of your serveur, etc...). > > Marc-Andr? > > > ----- Mail Original ----- > De: "Meyer Jerome" > ?: "MAD" > Cc: Nagios-users at lists.sourceforge.net > Envoy?: Mardi 12 Mai 2009 15h55:35 GMT +01:00 Amsterdam / Berlin / Berne / > Rome / Stockholm / Vienne > Objet: AW: [Nagios-users] report : Insufficient Data > > Thanks you Marc-Andr? for your email! > > Ok but does that means that it will be impossible to eliminate all > undetermined data ? > Now, I'm still in a test phase and when I'll starting Nagios in production > phase, I don't like to have any zombies or unknown datas! > It isn't any solutions? > > j?r?me > > > -----Urspr?ngliche Nachricht----- > > Von: MAD [mailto:sri.lumpa at free.fr] > > Gesendet: Dienstag, 12. Mai 2009 12:44 > > An: Meyer Jerome > > Cc: Nagios-users at lists.sourceforge.net > > Betreff: Re: [Nagios-users] report : Insufficient Data > > > > To create its graphs, Nagios parses its log files. So if you delete them > (or > > they are lost), it will be like Nagios wouldn't have been running for the > > period missing from the log file. For example, if the log files from May > the > > 2nd to May the 4th are missing, you won't have any data on the status, the > > check results, etc... Nagios would have ran, and so no graphs either. > > > > Marc-Andr? > > > > > > ----- Mail Original ----- > > De: "Meyer Jerome" > > ?: Nagios-users at lists.sourceforge.net > > Envoy?: Mardi 12 Mai 2009 12h26:40 GMT +01:00 Amsterdam / Berlin / Berne / > > Rome / Stockholm / Vienne > > Objet: [Nagios-users] report : Insufficient Data > > > > > > > > > > > > Hi > > > > > > > > Last week on Thursday I've stopped NAGIOS, deleted files under /var/nagios > > and restart it (NAGIOS)! > > > > Yesterday Nagios gives me Infos like these (when I choose report period : > > Last Week) : > > > > > > > > > > > > UP Total:3d 10h 17m 9s Total_Time:48.98% Known_Time:100% > > > > Undetermined Insufficient Data:3d 13h 42m Total_Time:51s 51.02% > > > > All Total:7d 0h 0m 0s > > > > > > > > What means this "insufficient data"? > > How Nagios calculate this "availability report"? Give any some Lectures > about > > ? how interpreted Nagios graphs ? ? > > How do we must considered these messages? > > > > Any Ideas? > > jerome > > --------------------------------------------------------------------------- > -- > > - > > The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your > > production scanning environment may not be a perfect world - but thanks to > > Kodak, there's a perfect scanner to get the job done! With the NEW KODAK > i700 > > Series Scanner you'll get full speed at 300 dpi even with all image > > processing features enabled. http://p.sf.net/sfu/kodak-com > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting > > any issue. > > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From martyn at chetnet.co.uk Tue May 12 17:31:08 2009 From: martyn at chetnet.co.uk (Martyn) Date: Tue, 12 May 2009 16:31:08 +0100 Subject: Mail help needed Message-ID: I have found a provider that will convert Email to Voice but they use $START$ and $END$ for their system to understand the mails. I have altered my mail script as below /usr/bin/printf "%b" "$START$ Alert\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$" $END$ | /usr/bin/mailx -s " $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ " $CONTACTEMAIL$ But when I send a test mail I get which just adds a single $ at the beginning and the end, is there a way to do this or is this happening because Nagios users the $ itself, sorry for what may seem a dumb question to you but I just do not know the answer $ Alert Notification Type: PROBLEM Service: FTP Host: test Address: 8x.1x.9x.2x State: CRITICAL Date/Time: Tue May 12 15:53:40 BST 2009 Additional Info: CRITICAL - Socket timeout after 10 seconds$ Cheers Martyn -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jpratt at norwich.edu Tue May 12 17:43:44 2009 From: jpratt at norwich.edu (James Pratt) Date: Tue, 12 May 2009 11:43:44 -0400 Subject: Mail help needed In-Reply-To: References: Message-ID: <8147CCE3C4A8764DA9980125EE70E823C872F8@nuexchg.norwich.edu> -----Original Message----- From: Martyn [mailto:martyn at chetnet.co.uk] Sent: Tuesday, May 12, 2009 11:31 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Mail help needed I have found a provider that will convert Email to Voice but they use $START$ and $END$ for their system to understand the mails. I have altered my mail script as below /usr/bin/printf "%b" "$START$ Alert\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$" $END$ | /usr/bin/mailx -s " $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ " $CONTACTEMAIL$ But when I send a test mail I get which just adds a single $ at the beginning and the end, is there a way to do this or is this happening because Nagios users the $ itself, sorry for what may seem a dumb question to you but I just do not know the answer $ Alert Notification Type: PROBLEM Service: FTP Host: test Address: 8x.1x.9x.2x State: CRITICAL Date/Time: Tue May 12 15:53:40 BST 2009 Additional Info: CRITICAL - Socket timeout after 10 seconds$ Cheers Martyn --- This is because $START$ and $END$ aren't defined in commands.cfg , that is they contain no variable data so it shows as a blank $ - if you need to send those explicitly with no variable in your email/notification, you will likely have to escape the $'s such as: \$START\$ And \$END\$ Hth, Cheers, Jamie ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From martyn at chetnet.co.uk Tue May 12 18:10:29 2009 From: martyn at chetnet.co.uk (Martyn) Date: Tue, 12 May 2009 17:10:29 +0100 Subject: Mail help needed In-Reply-To: <8147CCE3C4A8764DA9980125EE70E823C872F8@nuexchg.norwich.edu> References: <8147CCE3C4A8764DA9980125EE70E823C872F8@nuexchg.norwich.edu> Message-ID: > -----Original Message----- > From: James Pratt [mailto:jpratt at norwich.edu] > Sent: 12 May 2009 16:44 > To: Martyn; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Mail help needed > > > > -----Original Message----- > From: Martyn [mailto:martyn at chetnet.co.uk] > Sent: Tuesday, May 12, 2009 11:31 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Mail help needed > > I have found a provider that will convert Email to Voice but > they use $START$ and $END$ for their system to understand the mails. > > I have altered my mail script as below > > /usr/bin/printf "%b" "$START$ Alert\n\nNotification Type: > $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: > $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: > $SERVICESTATE$\n\nDate/Time: > $LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$" $END$ > | /usr/bin/mailx -s " $NOTIFICATIONTYPE$ alert - > $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ " $CONTACTEMAIL$ > > But when I send a test mail I get which just adds a single $ > at the beginning and the end, is there a way to do this or is > this happening because Nagios users the $ itself, sorry for > what may seem a dumb question to you but I just do not know the answer > > $ Alert > > Notification Type: PROBLEM > > Service: FTP > Host: test > Address: 8x.1x.9x.2x > State: CRITICAL > > Date/Time: Tue May 12 15:53:40 BST 2009 > > Additional Info: > > CRITICAL - Socket timeout after 10 seconds$ > > Cheers > > Martyn > > > --- > > This is because $START$ and $END$ aren't defined in > commands.cfg , that is they contain no variable data so it > shows as a blank $ - if you need to send those explicitly > with no variable in your email/notification, you will likely > have to escape the $'s such as: > > \$START\$ > > And > > \$END\$ > > > Hth, > Cheers, > Jamie > > > Jamie thanks so much, this worked a treat and again something else I have learnt from this fantastic group again. Martyn ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From venu_vustipalli at readersdigest.com Tue May 12 21:37:20 2009 From: venu_vustipalli at readersdigest.com (venu_vustipalli at readersdigest.com) Date: Tue, 12 May 2009 15:37:20 -0400 Subject: My issue with Nagios Message-ID: Hi, I'm facing an issue with the Nagios 1.3 version, which is not having an windows.cfg file in /usr/local/nagios/etc/objects to start monitoring a windows server CPU. Please suggest! Thanks, Venu -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Tom.Kustner at RetirementPartner.com Tue May 12 21:42:20 2009 From: Tom.Kustner at RetirementPartner.com (Kustner, Tom) Date: Tue, 12 May 2009 13:42:20 -0600 Subject: Nagios and Windows DFS replication Message-ID: <2CA6F80551BEBC4EB515701F3509FC6C05176A3C@ITS-EXMBX3.its.corp.gwl.com> [Disclaimer: I am not the Nagios administrator, just an end-user] We are using DFS-R on a number of Windows servers. Nagios is already being used to monitor these servers (NSCLIENT++ 0.3.1). It is possible to schedule some tasks to run a DFSRDIAG or DFSRADMIN report on the status of the replication folders and e-mail the results, but I am wondering if anyone is using Nagios to monitor DFS-R and, if so, how. Tom Kustner MCSE, CNE Inside: 68728 Outside: 414-906-8728 Mobile: 414-559-0889 The information contained in this message and any accompanying attachments may contain privileged, private and/or confidential information protected by state and federal law. Penalties may be assessed for unauthorized use and/or disclosure. This message and any attachments are intended for the designated recipient only. If you have received this information in error, please notify the sender immediately and return or destroy the information. This e-mail transmission and any attachments are believed to have been sent free of any virus or other defect that might affect any computer system into which it is received and opened. It is, however, the recipient's responsibility to ensure that the e-mail transmission and any attachments are virus free, and the sender accepts no responsibility for any damage that may in any way arise from their use. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Tue May 12 22:27:12 2009 From: marc at ena.com (Marc Powell) Date: Tue, 12 May 2009 15:27:12 -0500 Subject: My issue with Nagios In-Reply-To: References: Message-ID: On May 12, 2009, at 2:37 PM, venu_vustipalli at readersdigest.com wrote: > > Hi, > > I'm facing an issue with the Nagios 1.3 version, which is not having > an windows.cfg file in /usr/local/nagios/etc/objects to start > monitoring a windows server CPU. You seem to be reading the nagios-3 documentation and trying to apply it to your much much older version. Such a file was not included with Nagios-1.3. You can use the file included with nagios-3 as an example but understand that there may be changes needed to the definitions to deal with configuration differences between the two major versions. /path/to/nagios -v /path/ to/nagios.cfg can help you identify those if you don't read through the What's New documentation for nagios-2 and nagios-3. You'll almost certainly need to extract referenced commands{} from the nagios-3 commands.cfg file (check_nt at least) and move them to yours if you don't have them as well. You could also just read the documentation for NSClient++ (or whichever program you're going to run on the Windows side) to learn what config changes you can make. Standard comment: The version you are using is very old. Unless there is some compelling reason to continue using it, and you are comfortable maintaining it with minimal support from the community, you should strongly consider upgrading. -- Marc ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From john at andrunas.net Tue May 12 22:33:11 2009 From: john at andrunas.net (John Andrunas) Date: Tue, 12 May 2009 13:33:11 -0700 Subject: Trac/Nagios integration Message-ID: <9c4cd14a0905121333m4c973f87w353bea412ee5dc69@mail.gmail.com> The company I work for uses Trac quite heavily, and I was recently tasked with getting Nagios up and running to replace our current monitoring system, I was wondering if anyone had done any kind of trac/nagios integration that would allow creation of a trac ticket from a nagios alert? I did some searching but didn't come up with anything. -- John ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Tue May 12 23:09:54 2009 From: marc at ena.com (Marc Powell) Date: Tue, 12 May 2009 16:09:54 -0500 Subject: Trac/Nagios integration In-Reply-To: <9c4cd14a0905121333m4c973f87w353bea412ee5dc69@mail.gmail.com> References: <9c4cd14a0905121333m4c973f87w353bea412ee5dc69@mail.gmail.com> Message-ID: On May 12, 2009, at 3:33 PM, John Andrunas wrote: > The company I work for uses Trac quite heavily, and I was recently > tasked with getting Nagios up and running to replace our current > monitoring system, I was wondering if anyone had done any kind of > trac/nagios integration that would allow creation of a trac ticket > from a nagios alert? I did some searching but didn't come up with > anything. Disclaimers - I don't use Trac and have only conceptually investigated Ticketing system integration (Remedy in our case). This addon - https://subtrac.sara.nl/oss/email2trac, appears to provide an e-mail interface to Trac. Since nagios can send arbitrarily formatted e-mails to arbitrary addresses, this seems like an easy-to- implement way of opening tickets at least. Updating and auto-closing of tickets looks more complicated as you need to know the Trac ticket number that was created... I don't know how you'd obtain that from the command line... -- Marc ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From finchs at stgeorge.com.au Wed May 13 02:37:28 2009 From: finchs at stgeorge.com.au (Simon Finch) Date: Wed, 13 May 2009 10:37:28 +1000 Subject: Centreon In-Reply-To: References: <49DF5D04020000480008D21D@stgeorge.com.au> <4A02DDC2.B47D.0048.0@stgeorge.com.au> Message-ID: <4A0AA2E8.B47D.0048.0@stgeorge.com.au> "redundancy strategies for Centreon" Hi Chris, Nothing in place yet other than daily DB dumps and daily backups of all the Nagios, Centreon and etc directories. Last week I separated MySQL and the DB's out onto their own dedicated 64bit Ubuntu server as the single 32bit host was running out of grunt. I am looking at duplicating both hosts with MySQL setup as master / slave across the two DB servers, but I haven't yet worked out all of the details. One other gotcha that I fixed this morning was the php memory_limit, I have raised it from 32M to 256M. This is probably way to much but I found that 32M was randomly failing when I generate the Nagios config files. The problem has only shown up since I added another 150 monitored hosts 3 weeks ago and since I moved MySQL I have got plenty of spare memory on the main host. Thanks, Simon Simon Finch | ESM Specialist Ground Floor, 4-16 Montgomery St, Kogarah NSW 2217 (+61 2 9952 2574 7 +61 412 256 814 Email: finchs at stgeorge.com.au www.stgeorge.com.au ______________________________________ St.George Bank IT - Good with people. Good with monitoring. ********************************************************************** ***** IMPORTANT INFORMATION ***** This document should be read only by those persons to whom it is addressed and its content is not intended for use by any other persons. If you have received this message in error, please notify us immediately. Please also destroy and delete the message from your computer. Any unauthorised form of reproduction of this message is strictly prohibited. St George Bank Limited AFSL 240997, Advance Asset Management Limited AFSL 240902, St George Life Limited AFSL 240900, ASGARD Capital Management Limited AFSL 240695 and Securitor Financial Group Limited AFSL 240687 is not liable for the proper and complete transmission of the information contained in this communication, nor for any delay in its receipt. ********************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/xxx Size: 1753 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: applicaton/octect-stream Size: 6794 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From narendran.neelamegam at wipro.com Wed May 13 09:25:07 2009 From: narendran.neelamegam at wipro.com (narendran.neelamegam at wipro.com) Date: Wed, 13 May 2009 12:55:07 +0530 Subject: My issue with Nagios In-Reply-To: References: Message-ID: <618F928F9E2D824AAB26DCAA0F25221F292544@HYD-MKD-MBX02.wipro.com> Are you sure about the version first 1.3? If it is not having a windows.cfg you can find them in quick start guide. http://nagios.sourceforge.net/docs/3_0/monitoring-windows.html Regards, Naren ________________________________ From: venu_vustipalli at readersdigest.com [mailto:venu_vustipalli at readersdigest.com] Sent: Tuesday, May 12, 2009 8:37 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] My issue with Nagios Hi, I'm facing an issue with the Nagios 1.3 version, which is not having an windows.cfg file in /usr/local/nagios/etc/objects to start monitoring a windows server CPU. Please suggest! Thanks, Venu -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marco.tirado at gmail.com Wed May 13 09:49:18 2009 From: marco.tirado at gmail.com (Marco Tirado) Date: Wed, 13 May 2009 09:49:18 +0200 Subject: Nagios, ndoutils and database indexes Message-ID: Hello: We run nagios 3.0.6 with ndoutils and nagvis for host visualization. We had some problems with our nagios server a couple of weeks ago and we believe it is related to mysql performance, we could see that the mysql process was consumming from 80 to 90 % of the CPU in the monitoring server at certain times. We could solve the problem by applying a couple of indexes to the nagios database (the one used by ndoutils) as recommended in thread: http://www.mail-archive.com/nagios-users at lists.sourceforge.net/msg23943.html Afterwords we enabled monitoring for the nagios database by using the check_mysql_health plugin and we see that the index usage for the nagios database is under 10%. I am not a Database Administrator but I believe this is a very low index usage. I would like to konw if anyone has any recommendations about database indexes applicable to the nagios database for ndoutils/nagvis. Any tips/hints are appreciated //Marco -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From diego.giardinetto at zephirworks.com Wed May 13 10:05:17 2009 From: diego.giardinetto at zephirworks.com (Diego Giardinetto) Date: Wed, 13 May 2009 10:05:17 +0200 Subject: hostgroup view problem Message-ID: <1242201917.22358.2.camel@erato> Hi all, I'm quite new using nagios and I have a little problem. Hostgroup view show me "It appears as though you do not have permission to view information for any of the hosts you requested" error, but cgi.cfg and permission in webserver seem all ok. Any idea? Cheers, Diego -- Diego Giardinetto Junior SysAdmin @ ZephirWorks Mobile: +39 328 068 14 89 ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gaurav at subisu.net.np Wed May 13 11:25:56 2009 From: gaurav at subisu.net.np (Gaurav Ghimire) Date: Wed, 13 May 2009 15:10:56 +0545 Subject: hostgroup view problem In-Reply-To: <1242201917.22358.2.camel@erato> References: <1242201917.22358.2.camel@erato> Message-ID: <4A0A9224.3020607@subisu.net.np> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Diego Giardinetto wrote: > Hi all, I'm quite new using nagios and I have a little problem. > Hostgroup view show me "It appears as though you do not have permission > to view information for any of the hosts you requested" error, but > cgi.cfg and permission in webserver seem all ok. Any idea? > > Cheers, > Diego > Check with the users in the cgi.cfg and the http passwd file. There must have been some permission issues. Else you can turn off authentication, unless its explicitly necessary. Regards, - -- Gaurav Ghimire System Administrator Subisu Cablenet (P.) Ltd. 148 Thirbum Sadak Baluwatar, Kathmandu Nepal http://www.subisu.net.np First and Only True Cable Internet Service Provider in Nepal (An ISO 9001:2000 Certified Company) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkoKkiMACgkQnfv7imVnL2ubigCfe8z3PgqpaRZJpqE8dKMbefVO mx8AoJXcIfp30D1mTOSn0jqTEm5rd9DU =Xrnb -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sri.lumpa at free.fr Wed May 13 12:52:23 2009 From: sri.lumpa at free.fr (MAD) Date: Wed, 13 May 2009 12:52:23 +0200 (CEST) Subject: Nagios, ndoutils and database indexes In-Reply-To: References: Message-ID: <1391627811.25591242211943543.JavaMail.root@zimbra16-e3.priv.proxad.net> I personally added indexes on the following fields : * servicechecks / service_object_id * servicechecks / state * hostcheck / host_object_id * hostcheck / state * objects / objecttype_id * services / host_object_id * statehistory / object_id * statehistory / state_change * statehistory / state * statehistory / state_time * statehistory / last_state * hoststatus / last_hard_state * servicestatus / last_hard_state Some may be useless to you. Marc-Andr? ----- Mail Original ----- De: "Marco Tirado" ?: nagios-users at lists.sourceforge.net Envoy?: Mercredi 13 Mai 2009 09h49:18 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne Objet: [Nagios-users] Nagios, ndoutils and database indexes Hello: We run nagios 3.0.6 with ndoutils and nagvis for host visualization. We had some problems with our nagios server a couple of weeks ago and we believe it is related to mysql performance, we could see that the mysql process was consumming from 80 to 90 % of the CPU in the monitoring server at certain times. We could solve the problem by applying a couple of indexes to the nagios database (the one used by ndoutils) as recommended in thread: http://www.mail-archive.com/nagios-users at lists.sourceforge.net/msg23943.html Afterwords we enabled monitoring for the nagios database by using the check_mysql_health plugin and we see that the index usage for the nagios database is under 10%. I am not a Database Administrator but I believe this is a very low index usage. I would like to konw if anyone has any recommendations about database indexes applicable to the nagios database for ndoutils/nagvis. Any tips/hints are appreciated //Marco ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Wed May 13 13:09:48 2009 From: jim at jimavery.me.uk (Jim Avery) Date: Wed, 13 May 2009 12:09:48 +0100 Subject: Nagios, ndoutils and database indexes In-Reply-To: References: Message-ID: <765d77c80905130409r7df46601u5f0db1cf4657c74c@mail.gmail.com> Also consider adding this to your mysql config (for example in a file under /etc/mysql/conf.d/ ) : [mysqld] innodb_flush_log_at_trx_commit = 2 It might mean you could lose a few seconds worth of data in the event of a crash. Whether this matters is for you to decide. I found this change made a dramatic difference to the startup time for Nagios. Cheers, Jim ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed May 13 15:09:07 2009 From: marc at ena.com (Marc Powell) Date: Wed, 13 May 2009 08:09:07 -0500 Subject: hostgroup view problem In-Reply-To: <1242201917.22358.2.camel@erato> References: <1242201917.22358.2.camel@erato> Message-ID: On May 13, 2009, at 3:05 AM, Diego Giardinetto wrote: > Hi all, I'm quite new using nagios and I have a little problem. > Hostgroup view show me "It appears as though you do not have > permission > to view information for any of the hosts you requested" error, but > cgi.cfg and permission in webserver seem all ok. Any idea? Are you an authorized contact for all hosts in that hostgroup? -- Marc ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From diego.giardinetto at zephirworks.com Wed May 13 15:16:16 2009 From: diego.giardinetto at zephirworks.com (Diego Giardinetto) Date: Wed, 13 May 2009 15:16:16 +0200 Subject: hostgroup view problem In-Reply-To: <4A0A9224.3020607@subisu.net.np> References: <1242201917.22358.2.camel@erato> <4A0A9224.3020607@subisu.net.np> Message-ID: <1242220576.22358.4.camel@erato> Hi, also disabling authentication system i have the same error. could be a virtual host configuration mistake? Thx, Diego On Wed, 2009-05-13 at 15:10 +0545, Gaurav Ghimire wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Diego Giardinetto wrote: > > Hi all, I'm quite new using nagios and I have a little problem. > > Hostgroup view show me "It appears as though you do not have permission > > to view information for any of the hosts you requested" error, but > > cgi.cfg and permission in webserver seem all ok. Any idea? > > > > Cheers, > > Diego > > > Check with the users in the cgi.cfg and the http passwd file. There must have been some permission issues. > > Else you can turn off authentication, unless its explicitly necessary. > > Regards, > - -- > Gaurav Ghimire > System Administrator > Subisu Cablenet (P.) Ltd. > 148 Thirbum Sadak > Baluwatar, Kathmandu > Nepal > > http://www.subisu.net.np > > First and Only True Cable Internet Service Provider in Nepal > > (An ISO 9001:2000 Certified Company) > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.9 (GNU/Linux) > > iEYEARECAAYFAkoKkiMACgkQnfv7imVnL2ubigCfe8z3PgqpaRZJpqE8dKMbefVO > mx8AoJXcIfp30D1mTOSn0jqTEm5rd9DU > =Xrnb > -----END PGP SIGNATURE----- > > ------------------------------------------------------------------------------ > The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your > production scanning environment may not be a perfect world - but thanks to > Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 > Series Scanner you'll get full speed at 300 dpi even with all image > processing features enabled. http://p.sf.net/sfu/kodak-com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Diego Giardinetto Junior SysAdmin @ ZephirWorks Mobile: +39 328 068 14 89 ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From diego.giardinetto at zephirworks.com Wed May 13 15:41:24 2009 From: diego.giardinetto at zephirworks.com (Diego Giardinetto) Date: Wed, 13 May 2009 15:41:24 +0200 Subject: hostgroup view problem In-Reply-To: References: <1242201917.22358.2.camel@erato> Message-ID: <1242222084.22358.5.camel@erato> This is a good question, could you make me an example? ;) Thx, Diego On Wed, 2009-05-13 at 08:09 -0500, Marc Powell wrote: > On May 13, 2009, at 3:05 AM, Diego Giardinetto wrote: > > > Hi all, I'm quite new using nagios and I have a little problem. > > Hostgroup view show me "It appears as though you do not have > > permission > > to view information for any of the hosts you requested" error, but > > cgi.cfg and permission in webserver seem all ok. Any idea? > > Are you an authorized contact for all hosts in that hostgroup? > > -- > Marc > > > ------------------------------------------------------------------------------ > The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your > production scanning environment may not be a perfect world - but thanks to > Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 > Series Scanner you'll get full speed at 300 dpi even with all image > processing features enabled. http://p.sf.net/sfu/kodak-com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Diego Giardinetto Junior SysAdmin @ ZephirWorks Mobile: +39 328 068 14 89 ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed May 13 16:06:55 2009 From: marc at ena.com (Marc Powell) Date: Wed, 13 May 2009 09:06:55 -0500 Subject: hostgroup view problem In-Reply-To: <1242220576.22358.4.camel@erato> References: <1242201917.22358.2.camel@erato> <4A0A9224.3020607@subisu.net.np> <1242220576.22358.4.camel@erato> Message-ID: <35E098F5-277A-450A-93B4-196585C2DC7C@ena.com> On May 13, 2009, at 8:16 AM, Diego Giardinetto wrote: > Hi, > also disabling authentication system i have the same error. could be a > virtual host configuration mistake? I don't think you disabled authentication. I don't believe it's possible to see that error with authentication disabled. Did you set use_authentication=0 in cgi.cfg? If yes, is htaccess still enabled? -- Marc ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From shadhin71 at gmail.com Wed May 13 15:36:46 2009 From: shadhin71 at gmail.com (shadih rahman) Date: Wed, 13 May 2009 09:36:46 -0400 Subject: Help with graphing Message-ID: <6db4a4200905130636n19c62342n9761955825a03783@mail.gmail.com> All, I am running nagios with ndoUtils. Ndo has been capturing data for about 6 months. Now I need find a good graphing utility that can be integrated with nagios. I am looking for graphing capability from traditional database not rrd utility. Can someone suggest or point me to the right direction. Thanks in advance. -- Cordially, Shadhin Rahman -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jaiho8 at gmail.com Wed May 13 16:14:37 2009 From: jaiho8 at gmail.com (Jai Ram) Date: Wed, 13 May 2009 10:14:37 -0400 Subject: Files Missing While upgrading. In-Reply-To: References: <9cfff3f00904131610u43b39eaaobcd9f59ca4d62488@mail.gmail.com> Message-ID: <9cfff3f00905130714w6e982408q505ac72a88f2483e@mail.gmail.com> Hello, I have passed the location of gd libraries and everything went fine. But when I try to access the web interface I am able to see only home page and I am having the below error message for all other options. Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, webmaster at mon.corpads.com and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. ------------------------------ Apache/2.0.58 (Unix) DAV/2 Server at nycmon.corpads.com Port 80 And from error log I find these below errors. [Fri May 08 16:47:25 2009] [error] [client 10.187.152.223] ld.so.1: tac.cgi: fatal: libglib-2.0.so.0: open failed: No such file or directory, referer: http://nycmon.corpads.com/nagios/side.html [Fri May 08 16:47:25 2009] [error] [client 10.187.152.223] Premature end of script headers: tac.cgi, referer: http://nycmon.corpads.com/nagios/side.html And I find the location of libglib-2.0.so.0 in /opt/csw/lib/libglib-2.0.so.0 *Path* # echo $LD_LIBRARY_PATH /usr/lib:/lib:/usr/ucb/lib:/usr/ccs/lib:/usr/openwin/lib:/usr/sfw/lib:/opt/sfw/lib:/usr/local/lib:/opt/csw/lib Thanks Jai. On Mon, Apr 13, 2009 at 9:56 PM, Marc Powell wrote: > > On Apr 13, 2009, at 6:10 PM, Jai Ram wrote: > > > Hello, > > > > I have upgraded nagios from version 2.8 to 3.0.6 on Solaris-10. When > > I was going through upgrade it has requested me for > > statusmap.cgi,histogram.cgi and trends.cgi, was not found so I > > copied it from version 2.8. > > > > ** Is this because the above three files belongs to Version 2.8, If > > so how would i get those three files for Nagios-3.0.6. I looked in > > to Nagios-3.0.6 and those three files are missing. So how do I > > compile them for Nagios-3.0.6** > > It's because the GD libs (devel) are not installed or were not found > in standard locations. There's a FAQ entry for it but it looks like > the FAQ is broken right now. Examine the output of ./configure or > config.log for information and links. > > if the GD devel libraries are installed, you may need to pass their > location to ./configure with -- > > --with-gd-lib=DIR sets location of the gd library > --with-gd-inc=DIR sets location of the gd include files > > -- > Marc > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by: > High Quality Requirements in a Collaborative Environment. > Download a free trial of Rational Requirements Composer Now! > http://p.sf.net/sfu/www-ibm-com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tom at edispatches.com Wed May 13 14:17:15 2009 From: tom at edispatches.com (Thomas Stearn) Date: Wed, 13 May 2009 08:17:15 -0400 Subject: NRPE permissions problem Message-ID: I have a Nagios server 3.0.6 running on Ubuntu 8.04 Server. It is monitoring all things fine on multiple targets except the one below. On a certain target, I am trying to monitor my /var/log/auth.log file for bad activity, such as failed password attempts, or attempts to login as invalid users, etc. I am trying to do this via the check_log plugin via nrpe, but, I get a "Log check error: Log file /var/log/auth.log is not readable!" when the server checks on it. The easiest way I have to reproduce the error is the following manually executed command from the host server: /usr/local/nagios/libexec/check_nrpe -H target -c check_badpw I know that it means that the file cannot be opened during the check, but, I don't understand why. ls -l of /var/log/auth.log: -rw-r----- 1 syslog adm 1590863 2009-05-12 10:47 /var/log/auth.log In /etc/groups, I have added the "nagios" user to the adm group, so I would think it should work. Further, if I am logged in as root on the target, and do "su - nagios", I can read /var/log/auth.log Further, if I "chmod o+r /var/log/auth.log", the command executes properly. Additionally, when I am logged into the target as root, and su to nagios and execute the command as defined in nrpe.cfg: /usr/local/nagios/libexec/check_log -F /var/log/auth.log -O /usr/local/nagios/auth.badpasswords.log -q ": Failed password for" it works fine. So, I know it will work if I loosen the permissions on /var/log/auth.log, but, I'd prefer to keep them as tight as possible. When I am logged into the target as nagios and execute "id", I get, uid=5308(nagios) gid=5309(nagios) groups=4(adm),5309(nagios) When I embed "id" into the check_log script, I get: uid=5308(nagios) gid=5309(nagios) so, it would seem that it does not inherit the groups as I would assume it would. More configuration information: nrpe runs under xinetd on the target: service nrpe { flags = REUSE socket_type = stream port = 5666 wait = no user = nagios group = nagios server = /usr/local/nagios/bin/nrpe server_args = -c /usr/local/nagios/etc/nrpe.cfg --inetd log_on_failure += USERID disable = no only_from = 127.0.0.1 x.x.x.226 } How can I determine why the check_nrpe command does not allow for reading of the /var/log/auth.log file on the target machine? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From diego.giardinetto at zephirworks.com Wed May 13 16:22:40 2009 From: diego.giardinetto at zephirworks.com (Diego Giardinetto) Date: Wed, 13 May 2009 16:22:40 +0200 Subject: hostgroup view problem In-Reply-To: <35E098F5-277A-450A-93B4-196585C2DC7C@ena.com> References: <1242201917.22358.2.camel@erato> <4A0A9224.3020607@subisu.net.np> <1242220576.22358.4.camel@erato> <35E098F5-277A-450A-93B4-196585C2DC7C@ena.com> Message-ID: <1242224560.22358.9.camel@erato> disabled auth basic and related .htaccess and setted-up use_authentication=0. error still remain. I tried to execute status.cgi?hostgroup=all&style=overview manually from shell but I have the same error. Error seems to appear only view hostgroup parameter. Diego On Wed, 2009-05-13 at 09:06 -0500, Marc Powell wrote: > On May 13, 2009, at 8:16 AM, Diego Giardinetto wrote: > > > Hi, > > also disabling authentication system i have the same error. could be a > > virtual host configuration mistake? > > I don't think you disabled authentication. I don't believe it's > possible to see that error with authentication disabled. Did you set > use_authentication=0 in cgi.cfg? If yes, is htaccess still enabled? > > -- > Marc > > > ------------------------------------------------------------------------------ > The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your > production scanning environment may not be a perfect world - but thanks to > Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 > Series Scanner you'll get full speed at 300 dpi even with all image > processing features enabled. http://p.sf.net/sfu/kodak-com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Diego Giardinetto Junior SysAdmin @ ZephirWorks Mobile: +39 328 068 14 89 ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed May 13 16:44:21 2009 From: marc at ena.com (Marc Powell) Date: Wed, 13 May 2009 09:44:21 -0500 Subject: NRPE permissions problem In-Reply-To: References: Message-ID: <5E5A7170-C3B6-4319-B7E4-CF5640808613@ena.com> On May 13, 2009, at 7:17 AM, Thomas Stearn wrote: > I have a Nagios server 3.0.6 running on Ubuntu 8.04 Server. It is > monitoring all things fine on multiple targets except the one below. > > On a certain target, I am trying to monitor my /var/log/auth.log > file for bad activity, such as failed password attempts, or attempts > to login as invalid users, etc. > > I am trying to do this via the check_log plugin via nrpe, but, I get > a "Log check error: Log file /var/log/auth.log is not readable!" > when the server checks on it. > > The easiest way I have to reproduce the error is the following > manually executed command from the host server: > /usr/local/nagios/libexec/check_nrpe -H target -c check_badpw > > I know that it means that the file cannot be opened during the > check, but, I don't understand why. > > ls -l of /var/log/auth.log: > -rw-r----- 1 syslog adm 1590863 2009-05-12 10:47 /var/log/auth.log > > In /etc/groups, I have added the "nagios" user to the adm group, so > I would think it should work. [chop] > So, I know it will work if I loosen the permissions on /var/log/ > auth.log, but, I'd prefer to keep them as tight as possible. > > When I am logged into the target as nagios and execute "id", I get, > uid=5308(nagios) gid=5309(nagios) groups=4(adm),5309(nagios) > > When I embed "id" into the check_log script, I get: > uid=5308(nagios) gid=5309(nagios) > > so, it would seem that it does not inherit the groups as I would > assume it would. I'm certain this was recently discussed but my search-fu is weak this morning. It might have been on -devel or nagios-plugins though... I didn't follow closely but the gist of it (I believe) is that xinetd drops/ignores any secondary groups the user is a member of before starting the server. No secondary groups, no access in your case. Looking at my xinetd.conf man page, I see the following which may help. You may also have better search-fu than me and can find the original thread... groups Takes either "yes" or "no". If the groups attribute is set to "yes", then the server is executed with access to the groups that the server's effective UID has access to. If the groups attribute is set to "no", then the server runs with no supplementary groups. This attribute must be set to "yes" for many BSD systems. This attribute can be set in the defaults section as well. -- Marc ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tom at edispatches.com Wed May 13 16:45:45 2009 From: tom at edispatches.com (Tom) Date: Wed, 13 May 2009 14:45:45 +0000 (UTC) Subject: NRPE permissions problem Message-ID: I have a Nagios server 3.0.6 running on Ubuntu 8.04 Server. It is monitoring all things fine on multiple targets except the one below. On a certain target, I am trying to monitor my /var/log/auth.log file for bad activity, such as failed password attempts, or attempts to login as invalid users, etc. I am trying to do this via the check_log plugin via nrpe, but, I get a "Log check error: Log file /var/log/auth.log is not readable!" when the server checks on it. The easiest way I have to reproduce the error is the following manually executed command from the host server: /usr/local/nagios/libexec/check_nrpe -H target -c check_badpw I know that it means that the file cannot be opened during the check, but, I don't understand why. ls -l of /var/log/auth.log: -rw-r----- 1 syslog adm 1590863 2009-05-12 10:47 /var/log/auth.log In /etc/groups, I have added the "nagios" user to the adm group, so I would think it should work. Further, if I am logged in as root on the target, and do "su - nagios", I can read /var/log/auth.log Further, if I "chmod o+r /var/log/auth.log", the command executes properly. Additionally, when I am logged into the target as root, and su to nagios and execute the command as defined in nrpe.cfg: /usr/local/nagios/libexec/check_log -F /var/log/auth.log -O /usr/local/nagios/auth.badpasswords.log -q ": Failed password for" it works fine. So, I know it will work if I loosen the permissions on /var/log/auth.log, but, I'd prefer to keep them as tight as possible. When I am logged into the target as nagios and execute "id", I get, uid=5308(nagios) gid=5309(nagios) groups=4(adm),5309(nagios) When I embed "id" into the check_log script, I get: uid=5308(nagios) gid=5309(nagios) so, it would seem that it does not inherit the groups as I would assume it would. More configuration information: nrpe runs under xinetd on the target: service nrpe { flags = REUSE socket_type = stream port = 5666 wait = no user = nagios group = nagios server = /usr/local/nagios/bin/nrpe server_args = -c /usr/local/nagios/etc/nrpe.cfg --inetd log_on_failure += USERID disable = no only_from = 127.0.0.1 x.x.x.226 } How can I determine why the check_nrpe command does not allow for reading of the /var/log/auth.log file on the target machine? ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed May 13 16:59:51 2009 From: marc at ena.com (Marc Powell) Date: Wed, 13 May 2009 09:59:51 -0500 Subject: hostgroup view problem In-Reply-To: <1242222084.22358.5.camel@erato> References: <1242201917.22358.2.camel@erato> <1242222084.22358.5.camel@erato> Message-ID: <9EBAE6AB-D5FF-4796-839C-C7BB372A245D@ena.com> On May 13, 2009, at 8:41 AM, Diego Giardinetto wrote: > This is a good question, could you make me an example? ; I don't know what example to show you. Is the user you were logged in as listed as a contact for all hosts in at least one hostgroup? -- Marc ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From diego.giardinetto at zephirworks.com Wed May 13 17:15:52 2009 From: diego.giardinetto at zephirworks.com (Diego Giardinetto) Date: Wed, 13 May 2009 17:15:52 +0200 Subject: hostgroup view problem In-Reply-To: <9EBAE6AB-D5FF-4796-839C-C7BB372A245D@ena.com> References: <1242201917.22358.2.camel@erato> <1242222084.22358.5.camel@erato> <9EBAE6AB-D5FF-4796-839C-C7BB372A245D@ena.com> Message-ID: <1242227752.22358.11.camel@erato> Yes, it was... I use the default nagios config file style: each server use a myserver-template where is defined a contact-group where send emails. In this contact-group there is the concact I use to log-in... Seems right... you know? Diego On Wed, 2009-05-13 at 09:59 -0500, Marc Powell wrote: > On May 13, 2009, at 8:41 AM, Diego Giardinetto wrote: > > > This is a good question, could you make me an example? ; > > I don't know what example to show you. Is the user you were logged in > as listed as a contact for all hosts in at least one hostgroup? > > -- > Marc > > ------------------------------------------------------------------------------ > The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your > production scanning environment may not be a perfect world - but thanks to > Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 > Series Scanner you'll get full speed at 300 dpi even with all image > processing features enabled. http://p.sf.net/sfu/kodak-com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Diego Giardinetto Junior SysAdmin @ ZephirWorks Mobile: +39 328 068 14 89 ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tom at edispatches.com Wed May 13 17:33:53 2009 From: tom at edispatches.com (Thomas Stearn) Date: Wed, 13 May 2009 11:33:53 -0400 Subject: NRPE permissions problem In-Reply-To: <5E5A7170-C3B6-4319-B7E4-CF5640808613@ena.com> References: <5E5A7170-C3B6-4319-B7E4-CF5640808613@ena.com> Message-ID: Thank you!!!!! That was so simple, and yet, no matter where I tried searching, I could not come up with it!!! It worked like a champ! Tom And, thanks again for the previous help ;-) On Wed, May 13, 2009 at 10:44 AM, Marc Powell wrote: > > On May 13, 2009, at 7:17 AM, Thomas Stearn wrote: > > > I have a Nagios server 3.0.6 running on Ubuntu 8.04 Server. It is > > monitoring all things fine on multiple targets except the one below. > > > > On a certain target, I am trying to monitor my /var/log/auth.log > > file for bad activity, such as failed password attempts, or attempts > > to login as invalid users, etc. > > > > I am trying to do this via the check_log plugin via nrpe, but, I get > > a "Log check error: Log file /var/log/auth.log is not readable!" > > when the server checks on it. > > > > The easiest way I have to reproduce the error is the following > > manually executed command from the host server: > > /usr/local/nagios/libexec/check_nrpe -H target -c check_badpw > > > > I know that it means that the file cannot be opened during the > > check, but, I don't understand why. > > > > ls -l of /var/log/auth.log: > > -rw-r----- 1 syslog adm 1590863 2009-05-12 10:47 /var/log/auth.log > > > > In /etc/groups, I have added the "nagios" user to the adm group, so > > I would think it should work. > > [chop] > > > So, I know it will work if I loosen the permissions on /var/log/ > > auth.log, but, I'd prefer to keep them as tight as possible. > > > > When I am logged into the target as nagios and execute "id", I get, > > uid=5308(nagios) gid=5309(nagios) groups=4(adm),5309(nagios) > > > > When I embed "id" into the check_log script, I get: > > uid=5308(nagios) gid=5309(nagios) > > > > so, it would seem that it does not inherit the groups as I would > > assume it would. > > I'm certain this was recently discussed but my search-fu is weak this > morning. It might have been on -devel or nagios-plugins though... I > didn't follow closely but the gist of it (I believe) is that xinetd > drops/ignores any secondary groups the user is a member of before > starting the server. No secondary groups, no access in your case. > Looking at my xinetd.conf man page, I see the following which may > help. You may also have better search-fu than me and can find the > original thread... > > groups Takes either "yes" or "no". If the groups > attribute > is set to "yes", then the server is > executed with > access to the groups that the server's > effective UID > has access to. If the groups attribute > is set to > "no", then the server runs with no > supplementary > groups. This attribute must be set to "yes" > for many > BSD systems. This attribute can be > set in the > defaults section as well. > > > -- > Marc > > > > ------------------------------------------------------------------------------ > The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your > production scanning environment may not be a perfect world - but thanks to > Kodak, there's a perfect scanner to get the job done! With the NEW KODAK > i700 > Series Scanner you'll get full speed at 300 dpi even with all image > processing features enabled. http://p.sf.net/sfu/kodak-com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From diego.giardinetto at zephirworks.com Wed May 13 17:56:34 2009 From: diego.giardinetto at zephirworks.com (Diego Giardinetto) Date: Wed, 13 May 2009 17:56:34 +0200 Subject: hostgroup view problem - PROBLEM SOLVED In-Reply-To: <1242227752.22358.11.camel@erato> References: <1242201917.22358.2.camel@erato> <1242222084.22358.5.camel@erato> <9EBAE6AB-D5FF-4796-839C-C7BB372A245D@ena.com> <1242227752.22358.11.camel@erato> Message-ID: <1242230194.22358.13.camel@erato> I lost localhost.cfg entry in nagios.cfg main config file. In this situation status.cgi still print the permission error while the real problem is the missing entry in nagios.cfg file. Diego On Wed, 2009-05-13 at 17:15 +0200, Diego Giardinetto wrote: > Yes, it was... I use the default nagios config file style: each server > use a myserver-template where is defined a contact-group where send > emails. In this contact-group there is the concact I use to log-in... > > Seems right... you know? > Diego > > On Wed, 2009-05-13 at 09:59 -0500, Marc Powell wrote: > > On May 13, 2009, at 8:41 AM, Diego Giardinetto wrote: > > > > > This is a good question, could you make me an example? ; > > > > I don't know what example to show you. Is the user you were logged in > > as listed as a contact for all hosts in at least one hostgroup? > > > > -- > > Marc > > > > ------------------------------------------------------------------------------ > > The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your > > production scanning environment may not be a perfect world - but thanks to > > Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 > > Series Scanner you'll get full speed at 300 dpi even with all image > > processing features enabled. http://p.sf.net/sfu/kodak-com > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null -- Diego Giardinetto Junior SysAdmin @ ZephirWorks Mobile: +39 328 068 14 89 ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From epearce at amberpoint.com Wed May 13 18:04:16 2009 From: epearce at amberpoint.com (Eric Pearce) Date: Wed, 13 May 2009 09:04:16 -0700 Subject: Files Missing While upgrading. References: <9cfff3f00904131610u43b39eaaobcd9f59ca4d62488@mail.gmail.com> <9cfff3f00905130714w6e982408q505ac72a88f2483e@mail.gmail.com> Message-ID: Looks like you should add /opt/csw/lib to the library path with 'crle' : # crle -u -l /opt/csw/lib -e ----- Original Message ----- From: Jai Ram To: Marc Powell Cc: Nagios Users Mailinglist Sent: Wednesday, May 13, 2009 7:14 AM Subject: Re: [Nagios-users] Files Missing While upgrading. Hello, I have passed the location of gd libraries and everything went fine. But when I try to access the web interface I am able to see only home page and I am having the below error message for all other options. Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, webmaster at mon.corpads.com and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. ------------------------------------------------------------------------------ Apache/2.0.58 (Unix) DAV/2 Server at nycmon.corpads.com Port 80 And from error log I find these below errors. [Fri May 08 16:47:25 2009] [error] [client 10.187.152.223] ld.so.1: tac.cgi: fatal: libglib-2.0.so.0: open failed: No such file or directory, referer: http://nycmon.corpads.com/nagios/side.html [Fri May 08 16:47:25 2009] [error] [client 10.187.152.223] Premature end of script headers: tac.cgi, referer: http://nycmon.corpads.com/nagios/side.html And I find the location of libglib-2.0.so.0 in /opt/csw/lib/libglib-2.0.so.0 Path # echo $LD_LIBRARY_PATH /usr/lib:/lib:/usr/ucb/lib:/usr/ccs/lib:/usr/openwin/lib:/usr/sfw/lib:/opt/sfw/lib:/usr/local/lib:/opt/csw/lib Thanks Jai. On Mon, Apr 13, 2009 at 9:56 PM, Marc Powell wrote: On Apr 13, 2009, at 6:10 PM, Jai Ram wrote: > Hello, > > I have upgraded nagios from version 2.8 to 3.0.6 on Solaris-10. When > I was going through upgrade it has requested me for > statusmap.cgi,histogram.cgi and trends.cgi, was not found so I > copied it from version 2.8. > > ** Is this because the above three files belongs to Version 2.8, If > so how would i get those three files for Nagios-3.0.6. I looked in > to Nagios-3.0.6 and those three files are missing. So how do I > compile them for Nagios-3.0.6** It's because the GD libs (devel) are not installed or were not found in standard locations. There's a FAQ entry for it but it looks like the FAQ is broken right now. Examine the output of ./configure or config.log for information and links. if the GD devel libraries are installed, you may need to pass their location to ./configure with -- --with-gd-lib=DIR sets location of the gd library --with-gd-inc=DIR sets location of the gd include files -- Marc ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gmartin at gmartin.org Wed May 13 19:07:38 2009 From: gmartin at gmartin.org (Greg Martin) Date: Wed, 13 May 2009 13:07:38 -0400 Subject: Reporting issue Message-ID: <4A0AFE5A.4050506@gmartin.org> We;re currently using 3.06 in Production. We use a custom availability timeframe to run reports every month to report availability data to Mgmt. We noticed a change in behavior over the past couple months that has us puzzled. When we run an availability report for the past month and choose the custom report period, it reports the duration as 30 days. Seems logical as that is the elapsed time of the report, but in the past, nagios would calculate that duration as the maximum availability based on the custom timeperiod we used to generate the report. To make this a bit clearer, if our Production time was 18 hrs/day M-F and we defined that as Corp_Prod and we ran the report against it for, say, April 09. Nagios would have reported the Duration as 396 hours (22days x 18hrs/day). However, in recent months we're noticing that Nagios report the calendar duration of the report with no regard for the customer timeperiod. Any ideas whether something has changed or if we're doing something wrong? Thanks \\Greg ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nccomp at gmail.com Wed May 13 19:44:21 2009 From: nccomp at gmail.com (Andrew Davis) Date: Wed, 13 May 2009 13:44:21 -0400 Subject: Help with graphing In-Reply-To: <6db4a4200905130636n19c62342n9761955825a03783@mail.gmail.com> References: <6db4a4200905130636n19c62342n9761955825a03783@mail.gmail.com> Message-ID: <4A0B06F5.2000505@gmail.com> I read through and followed Wolfgang Barth's "Nagios 2nd Edition" for my Nagios 3/x install. Its been extremely helpful and covers lots of options. For graphing, it covered multiple options with reasons for each, including Nagiosgraph, Perf2rrd, drraw, NagiosGrapher, and PNP. After reading about them all and and such, I decided on PNP (pnp4nagios) as it was the best mix of ease of installation combined with functionality. Most that were easy to install were also somewhat limited. Those that were unlimited in scope were also difficult to install. pnp4nagios struck a good balance between both. There were some tweaks to make, though, so for this reason I recommend pnp4nagios but I also recommend Nagios 2nd Edition as it has all the changes and caveats covered. A. Davis Email: nccomp at gmail.com "There is no limit to what a man can accomplish if he doesn't care who gets the credit." - Ronald Reagan shadih rahman wrote: > All, > I am running nagios with ndoUtils. Ndo has been capturing data for > about 6 months. Now I need find a good graphing utility that can be > integrated with nagios. I am looking for graphing capability from > traditional database not rrd utility. Can someone suggest or point > me to the right direction. Thanks in advance. > > -- > Cordially, > Shadhin Rahman > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your > production scanning environment may not be a perfect world - but thanks to > Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 > Series Scanner you'll get full speed at 300 dpi even with all image > processing features enabled. http://p.sf.net/sfu/kodak-com > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bthayre at physics.ucsd.edu Wed May 13 21:25:21 2009 From: bthayre at physics.ucsd.edu (Bruce Thayre) Date: Wed, 13 May 2009 12:25:21 -0700 Subject: Service escalations registering, but not enforcing Message-ID: <4A0B1EA1.5000305@physics.ucsd.edu> Hello, I'm having an issue i have not been able to resolve. I'm using nagios 3.0.4 and have a ton of service escalations defined, however they do not seem to be enforced. I've also noticed, that while i've defined all of my services to use the generic-service template (which by default, has a notification_interval set to 60) i receive notifications every 30 minutes despite the generic-service definition and escalations. My services.cfg: http://dpaste.com/43794/ My templates.cfg: http://dpaste.com/43795/ If i run nagios -v nagios.cfg my output looks like: Nagios 3.0.4 Copyright (c) 1999-2008 Ethan Galstad (http://www.nagios.org) Last Modified: 10-15-2008 License: GPL Reading configuration data... Running pre-flight check on configuration data... Checking services... Checked 338 services. Checking hosts... Checked 112 hosts. Checking host groups... Checked 5 host groups. Checking service groups... Checked 0 service groups. Checking contacts... Checked 1 contacts. Checking contact groups... Checked 1 contact groups. Checking service escalations... Checked 973 service escalations. Checking service dependencies... Checked 0 service dependencies. Checking host escalations... Checked 0 host escalations. Checking host dependencies... Checked 0 host dependencies. Checking commands... Checked 25 commands. Checking time periods... Checked 5 time periods. Checking for circular paths between hosts... Checking for circular host and service dependencies... Checking global event handlers... Checking obsessive compulsive processor commands... Checking misc settings... Total Warnings: 0 Total Errors: 0 Things look okay - No serious problems were detected during the pre-flight check So nagios can clearly see my service escalations. So is there any apparent reason why my service escalations are not enforced? And also, is there any apparent reason why my notification_interval is enforced as 30 minutes, when it is set to 60 in templates.cfg? Any help/input/ridicule would be greatly appreciated, as if i don't come up with a solution, i'm just going to trash this install and use nagios 2.x Thanks, Bruce ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kelseysmith at caseyfamilyservices.org Wed May 13 21:19:03 2009 From: kelseysmith at caseyfamilyservices.org (kelseysmith at caseyfamilyservices.org) Date: Wed, 13 May 2009 15:19:03 -0400 Subject: Kelsey Smith/CFS01/CFS is out of the office. Message-ID: I will be out of the office starting 05/13/2009 and will not return until 05/15/2009. ------------------------------------------------------ Confirmed virus-free by mymssp.net see www.anchortechnologies.com for more information. ------------------------------------------------------ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From venu_vustipalli at readersdigest.com Wed May 13 22:33:20 2009 From: venu_vustipalli at readersdigest.com (venu_vustipalli at readersdigest.com) Date: Wed, 13 May 2009 16:33:20 -0400 Subject: Upgrade from 1.3 version to 3+ Message-ID: Anyone please let me know what is the best way to proceed for a beginner to upgrade Nagios 1.3 version on Linux to the 3+ Thanks, Venu -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bthayre at physics.ucsd.edu Thu May 14 00:43:05 2009 From: bthayre at physics.ucsd.edu (Bruce Thayre) Date: Wed, 13 May 2009 15:43:05 -0700 Subject: Service escalations registering, but not enforcing Message-ID: <4A0B4CF9.3010904@physics.ucsd.edu> So i've also tested this problem with host escalations, and i have seen the same behavior. Despite whatever settings i put into my host escalations, or my host definitions, i'm still receiving notifications every 30 minutes, any ideas? ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From GJFRATER at bechtel.com Thu May 14 01:57:13 2009 From: GJFRATER at bechtel.com (Frater, Greg J) Date: Wed, 13 May 2009 16:57:13 -0700 Subject: Assigning contacts to hosts confusion Message-ID: <872CB0AEB377C240A112DD7C10B2592904B215FA@wtps0171.amers.ibechtel.com> Hi All, Can someone help me understand the best way to assign contacts to hosts en masse? In version 1.x, we would create a hostgroup put the hosts that we needed in it and then assign a contact group to that hostgroup, done deal. Now it appears that under Nagios 3 to accomplish the same thing I have to create the hostgroup as before and then go to each host and assign a contact or contact group to it. That's much more tedious than the old way, am I missing something? Please tell me there's an easier way that I'm overlooking. I found this in the what's new in Nagios 2 doc's (http://nagios.sourceforge.net/docs/2_0/whatsnew.html): Contact group changes - The contact_groups directive has been moved from hostgroup definitions to host definitions . This was done in order to maintain consistency with the way service contacts are specified. Make sure to update your config files! Thanks, -greg -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jpratt at norwich.edu Thu May 14 02:22:21 2009 From: jpratt at norwich.edu (James Pratt) Date: Wed, 13 May 2009 20:22:21 -0400 Subject: Upgrade from 1.3 version to 3+ In-Reply-To: References: Message-ID: <8147CCE3C4A8764DA9980125EE70E823C87805@nuexchg.norwich.edu> -----Original Message----- From: venu_vustipalli at readersdigest.com [mailto:venu_vustipalli at readersdigest.com] Sent: Wednesday, May 13, 2009 4:33 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Upgrade from 1.3 version to 3+ Anyone please let me know what is the best way to proceed for a beginner to upgrade Nagios 1.3 version on Linux to the 3+ Thanks, Venu --- First, I'd rebuild a new linux server to run it on and get the latest version running, even if it's only checking localhost and emailing me. Examine very closely *all* old config files, figure out your old installation and what checks will replace (if necessary) the older ones from nagios-plugins standard programs, or if you may need custom plugins from nagiosexchange.org Slowly rebuild the old configuration into the new, testing (and improving/learning) as you go. (that's just me though). ;) Cheers, jamie ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mgagne at iweb.com Thu May 14 02:14:04 2009 From: mgagne at iweb.com (=?ISO-8859-1?Q?Mathieu_Gagn=E9?=) Date: Wed, 13 May 2009 20:14:04 -0400 Subject: Assigning contacts to hosts confusion In-Reply-To: <872CB0AEB377C240A112DD7C10B2592904B215FA@wtps0171.amers.ibechtel.com> References: <872CB0AEB377C240A112DD7C10B2592904B215FA@wtps0171.amers.ibechtel.com> Message-ID: <4A0B624C.10208@iweb.com> Hi, On 5/13/09 7:57 PM, Frater, Greg J wrote: > > Can someone help me understand the best way to assign contacts to hosts > en masse? In version 1.x, we would create a hostgroup put the hosts that > we needed in it and then assign a contact group to that hostgroup, done > deal. Now it appears that under Nagios 3 to accomplish the same thing I > have to create the hostgroup as before and then go to each host and > assign a contact or contact group to it. That's much more tedious than > the old way, am I missing something? Please tell me there's an easier > way that I'm overlooking. Create a host template and assign your contacts there. If you need to *override* contacts inherited from the template, do it in the host declaration itself like you would normally do. Exemple: define host { address 127.0.0.1 alias localhost contacts just_this_one host_name localhost use generic-host } If you need to *add* contacts to the list of contacts already inherited from the template, add a "+" in front of the list of contacts in the host declaration. Example: define host { address 127.0.0.1 alias localhost contacts +oh_and_add_this_one_too host_name localhost use generic-host } Reference: http://nagios.sourceforge.net/docs/3_0/objectinheritance.html -> Implied/Additive Inheritance in Escalations -- Mathieu ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From todd at spidertracks.co.nz Thu May 14 02:34:49 2009 From: todd at spidertracks.co.nz (Todd Nine) Date: Thu, 14 May 2009 12:34:49 +1200 Subject: Help with active web testing Message-ID: <0D2706BD-378B-4E97-A233-2EE74805C9FF@spidertracks.co.nz> Hi all, I've been using nagios for a while, and we're needing to perform more active testing on our site than simply HTTP GET and POST operations. I'm looking for a plugin to Nagios that can execute steps and report that assertions passed or failed. I took at look at web inject, but we can only use it on a handful of our pages as Javascript isn't supported. A lot of our pages update using Prototype and dynamic lists, so this won't allow us to create all the transactions we want. Does anyone know of anything that can use xulrunner to load the firefox engine and report back to nagios? Thanks, todd SENIOR SOFTWARE ENGINEER todd nine | spidertracks ltd | 117a the square po box 5203 | palmerston north 4441 | new zealand P: +64 6 353 3395 | M: +64 21 E: todd at spidertracks.co.nz W: www.spidertracks.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From amontibello at gmail.com Thu May 14 03:30:13 2009 From: amontibello at gmail.com (Anthony Montibello) Date: Wed, 13 May 2009 21:30:13 -0400 Subject: My issue with Nagios In-Reply-To: <618F928F9E2D824AAB26DCAA0F25221F292544@HYD-MKD-MBX02.wipro.com> References: <618F928F9E2D824AAB26DCAA0F25221F292544@HYD-MKD-MBX02.wipro.com> Message-ID: Hi, It proboly is 1.3 if there is no windows config file. Nagios 1.X did not have a windows config. that was added in either Nagios 2.X or 3.X. but basically it is just a regular config file that sets up a few templets. for monitoring a windows system. I Do not recomend using it, PROVIDED you read the Windows section of the 3.X manual since it lays out how to monitor a windows system. Tony (Author of NC_Net - Check_nt compatible Windows plugin) On Wed, May 13, 2009 at 3:25 AM, wrote: > Are you sure about the version first 1.3? > > If it is not having a windows.cfg you can find them in quick start guide. > > http://nagios.sourceforge.net/docs/3_0/monitoring-windows.html > > Regards, > Naren > > ------------------------------ > *From:* venu_vustipalli at readersdigest.com [mailto: > venu_vustipalli at readersdigest.com] > *Sent:* Tuesday, May 12, 2009 8:37 PM > *To:* nagios-users at lists.sourceforge.net > *Subject:* [Nagios-users] My issue with Nagios > > > Hi, > > I'm facing an issue with the Nagios 1.3 version, which is not having an > windows.cfg file in /usr/local/nagios/etc/objects to start monitoring a > windows server CPU. > Please suggest! > > Thanks, > Venu > > > ------------------------------------------------------------------------------ > The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your > production scanning environment may not be a perfect world - but thanks to > Kodak, there's a perfect scanner to get the job done! With the NEW KODAK > i700 > Series Scanner you'll get full speed at 300 dpi even with all image > processing features enabled. http://p.sf.net/sfu/kodak-com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jd at op5.com Thu May 14 08:01:38 2009 From: jd at op5.com (Johannes Dagemark) Date: Thu, 14 May 2009 08:01:38 +0200 Subject: Help with active web testing In-Reply-To: <0D2706BD-378B-4E97-A233-2EE74805C9FF@spidertracks.co.nz> References: <0D2706BD-378B-4E97-A233-2EE74805C9FF@spidertracks.co.nz> Message-ID: <4A0BB3C2.6040504@op5.com> one way to go is to take a look at selenium and write a wrapper plugin for it. Cheers Johannes Todd Nine wrote: > Hi all, > I've been using nagios for a while, and we're needing to perform > more active testing on our site than simply HTTP GET and POST > operations. I'm looking for a plugin to Nagios that can execute steps > and report that assertions passed or failed. I took at look at web > inject, but we can only use it on a handful of our pages as Javascript > isn't supported. A lot of our pages update using Prototype and > dynamic lists, so this won't allow us to create all the transactions > we want. Does anyone know of anything that can use xulrunner to load > the firefox engine and report back to nagios? > > Thanks, > > > todd > SENIOR SOFTWARE ENGINEER > > todd nine | spidertracks ltd | 117a the square > po box 5203 | palmerston north 4441 | new zealand > P: +64 6 353 3395 | M: +64 21 > E: todd at spidertracks.co.nz > W: www.spidertracks.com > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your > production scanning environment may not be a perfect world - but thanks to > Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 > Series Scanner you'll get full speed at 300 dpi even with all image > processing features enabled. http://p.sf.net/sfu/kodak-com > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Johannes Dagemark CTO / VP Engineering ________________________________________ op5 AB F?rsta L?nggatan 19 SE-413 27 Gothenburg cell: +46 733-70 90 24 fax: +46 31-774 04 32 Email: jd at op5.com http://www.op5.com/ ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Thu May 14 09:54:59 2009 From: jim at jimavery.me.uk (Jim Avery) Date: Thu, 14 May 2009 08:54:59 +0100 Subject: Help with active web testing In-Reply-To: <0D2706BD-378B-4E97-A233-2EE74805C9FF@spidertracks.co.nz> References: <0D2706BD-378B-4E97-A233-2EE74805C9FF@spidertracks.co.nz> Message-ID: <765d77c80905140054i428091e3tac68bea545fa225e@mail.gmail.com> 2009/5/14 Todd Nine : > Hi all, > ??I've been using nagios for a while, and we're needing to perform more > active testing on our site than simply HTTP GET and POST operations. ?I'm > looking for a plugin to Nagios that can execute steps and report that > assertions passed or failed. ?I took at look at?web inject, but we can only > use it on a handful of our pages as Javascript isn't supported. ?A lot of > our pages update using Prototype and dynamic lists, so this won't allow us > to create all the transactions we want. ?Does anyone know of anything that > can use xulrunner to load the firefox engine and report back to nagios? > Thanks, I believe WebInject is often used for this, but haven't tried it myself (yet). Cheers, Jim ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Thu May 14 10:01:26 2009 From: jim at jimavery.me.uk (Jim Avery) Date: Thu, 14 May 2009 09:01:26 +0100 Subject: Upgrade from 1.3 version to 3+ In-Reply-To: <8147CCE3C4A8764DA9980125EE70E823C87805@nuexchg.norwich.edu> References: <8147CCE3C4A8764DA9980125EE70E823C87805@nuexchg.norwich.edu> Message-ID: <765d77c80905140101le061c2cjb9094b88597f2f13@mail.gmail.com> 2009/5/14 James Pratt : > First, I'd rebuild a new linux server to run it on and get the latest > version running, even if it's only checking localhost and emailing me. > > Examine very closely *all* old config files, figure out your old > installation and what checks will replace (if necessary) the older ones > from nagios-plugins standard programs, or if you ?may need custom > plugins from nagiosexchange.org > > Slowly rebuild the old configuration into the new, testing (and > improving/learning) as you go. > > (that's just me though). ;) Me too :-) I took that approach moving from 2.7 to 3.0. It took a while with 1700 or so hosts, but I feel the effort was worth it as I've been able to take advantage of most of the new features in Nagios 3 and tidy up my config in the process. I also took the opportunity to move to Ubuntu LTS so hopefully I won't need to do a Linux upgrade for a while. I recommend maybe getting hold of one of the recent published books on Nagios 3. "Nagios 3 Enterprise Network Monitoring" published by Syngress has a comprehensive section on what's new in Nagios 3 which I found invaluable. Otherwise I always highly recommend "Nagios" by Wolfgang Barth 2nd Ed. published by NoStarch Press. Cheers, Jim ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jtugores at dome-consulting.com Thu May 14 10:13:19 2009 From: jtugores at dome-consulting.com (Joan Tugores) Date: Thu, 14 May 2009 10:13:19 +0200 Subject: NSCA - Command file does not exist In-Reply-To: <4A09897C.1000501@kkeane.com> References: <4A03FF64.5060506@dome-consulting.com> <4A09897C.1000501@kkeane.com> Message-ID: <4A0BD29F.6000506@dome-consulting.com> An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Firma.JPG Type: image/jpeg Size: 47522 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Ales.Rikovsky at upol.cz Thu May 14 11:07:04 2009 From: Ales.Rikovsky at upol.cz (Ales Rikovsky) Date: Thu, 14 May 2009 11:07:04 +0200 Subject: Plugin for AIX In-Reply-To: <4A053005.60503@kkeane.com> References: <4A03FF64.5060506@dome-consulting.com> <4A053005.60503@kkeane.com> Message-ID: <4A0BDF38.9080203@upol.cz> Please. Do exist any plugins for AIX performance (CPU, memory, disk usage...) measuring? Thank you. Ales ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu May 14 13:10:46 2009 From: marc at ena.com (Marc Powell) Date: Thu, 14 May 2009 06:10:46 -0500 Subject: Service escalations registering, but not enforcing In-Reply-To: <4A0B4CF9.3010904@physics.ucsd.edu> References: <4A0B4CF9.3010904@physics.ucsd.edu> Message-ID: <4705E450-C2C4-4E02-87FA-5DAC5D72EB2E@ena.com> On May 13, 2009, at 5:43 PM, Bruce Thayre wrote: > So i've also tested this problem with host escalations, and i have > seen > the same behavior. Despite whatever settings i put into my host > escalations, or my host definitions, i'm still receiving notifications > every 30 minutes, any ideas? Did you change interval_length in nagios.cfg to be 0.5? Do you see the expected value for notification_interval in objects.cache? Do you have multiple nagios daemons running at the same time? -- Marc ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frederic.schaer at cea.fr Thu May 14 12:39:57 2009 From: frederic.schaer at cea.fr (SCHAER Frederic) Date: Thu, 14 May 2009 12:39:57 +0200 Subject: retained_service_attribute_mask and other alike config options : do they really work ?? Message-ID: Hi, I'm facing a strange problem. I have in my definitions services for which notifications are disabled : I'm still running those services on all nodes because it gives me indication something went wrong on all nodes. I recently had to suppress notifications for all services of a hostgroups because of a general failure on those hosts, and problem is that when I used the nagios CGIs to re-enable the service notifications, notifications for those services I really don't want any notification got enabled too... and I had to disable all those notifications in that hostgroup again using the CGIs (I hope you follow). So now I'm wondering how could I fix the situation, and restore things to normal (i.e : according to services config file) without loosing all services current state. I just tried to use the following in my nagios 3.1 config file. retained_service_attribute_mask=1 retained_process_service_attribute_mask=1 Tried that, because it looks like the correct value to use according to include/common.h is : #define MODATTR_NOTIFICATIONS_ENABLED 1 (by the way : what's the real difference between those 2 variables ? I can't understand the real difference reading the documentation) Anyway : this didn't work. Services are still disabled on restart or reload. I then tried this : retained_service_attribute_mask=MODATTR_NOTIFICATIONS_ENABLED retained_process_service_attribute_mask=MODATTR_NOTIFICATIONS_ENABLED I know values are wrong, but nothing prevented nagios from restarting. And off course it still didn't work, services notifications are still disabled. So what ? Are these configuration option really implemented ? I'm trying to look into the code, and I don't see anywhere the values defined in the code being used : nagios-3.1.0]$ grep -r retained_service_attribute_mask * base/nagios.c:unsigned long retained_service_attribute_mask=0L; base/utils.c:extern unsigned long retained_service_attribute_mask; base/utils.c: retained_service_attribute_mask=0L; base/config.c:extern unsigned long retained_service_attribute_mask; base/config.c: else if(!strcmp(variable,"retained_service_attribute_mask")) base/config.c: retained_service_attribute_mask=strtoul(value,NULL,0); (and then, only html files) ... So the C variable wouldn't be used at all ? Am I missing something ? Thanks && regards -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu May 14 13:20:25 2009 From: marc at ena.com (Marc Powell) Date: Thu, 14 May 2009 06:20:25 -0500 Subject: Upgrade from 1.3 version to 3+ In-Reply-To: References: Message-ID: <9288D4FB-F6E7-47B5-B0C3-7D34A93B144C@ena.com> On May 13, 2009, at 3:33 PM, venu_vustipalli at readersdigest.com wrote: > > Anyone please let me know what is the best way to proceed for a > beginner to upgrade Nagios 1.3 version on Linux to the 3+ There's no easy-to-follow document for this migration that I know of. You're likely to find much discussion of the 1.x -> 2.x migration and 2.x -> 3.x in the archives but you'll need to go pretty far back (4-5 years for migration to 2.x). My suggestion would be install the base nagios-3 software, configure nagios.cfg, resource.cfg and cgi.cfg by reading through them and setting appropriate values; most should be the same as your current install. Then to move your actual host and service definitions, read the What's New and Changelog for nagios-2 and make the changes noted there (mostly to object definitions and macros), then the same for nagios-3. -- Marc ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From postfix at weingaertner-ukro.de Thu May 14 13:15:22 2009 From: postfix at weingaertner-ukro.de (postfix at weingaertner-ukro.de) Date: Thu, 14 May 2009 13:15:22 +0200 Subject: NRPE-Plugins for Linux / AIX with performance data Message-ID: <002701c9d485$487efaf0$d97cf0d0$@de> Hello, I?m searching for NRPE-Plugins for Linux / AIX including Performance Data. Are there any plugins out there? I have found some modified for Windows but not for Linux. Thank you Best Regards Markus W. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Thu May 14 13:58:05 2009 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Thu, 14 May 2009 12:58:05 +0100 Subject: Trac/Nagios integration In-Reply-To: <9c4cd14a0905121333m4c973f87w353bea412ee5dc69@mail.gmail.com> References: <9c4cd14a0905121333m4c973f87w353bea412ee5dc69@mail.gmail.com> Message-ID: <4A0C074D.3090708@googlemail.com> John Andrunas wrote: > The company I work for uses Trac quite heavily, and I was recently > tasked with getting Nagios up and running to replace our current > monitoring system, I was wondering if anyone had done any kind of > trac/nagios integration that would allow creation of a trac ticket > from a nagios alert? I did some searching but didn't come up with > anything. > A bit of creative scripting could make this work, if you deem it worth the time. You'd need to look at either your notification commands or some kind of event handlers. I tend to write event handlers for reactionary stuff like this, as I think it's the better choice. Don't know of anything that is ready made to do it off the top of my head. I use Trac, but again it's not that important compared to everything else I do, so I haven't bothered with this as I find the ticket bureaucracy slows me down. -h -- Hari Sekhon Always open to interesting opportunities http://www.linkedin.com/in/harisekhon ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Thu May 14 14:19:15 2009 From: jim at jimavery.me.uk (Jim Avery) Date: Thu, 14 May 2009 13:19:15 +0100 Subject: NRPE-Plugins for Linux / AIX with performance data In-Reply-To: <002701c9d485$487efaf0$d97cf0d0$@de> References: <002701c9d485$487efaf0$d97cf0d0$@de> Message-ID: <765d77c80905140519n82084ei8c290af852fb4501@mail.gmail.com> 2009/5/14 : > I?m searching for NRPE-Plugins for Linux / AIX including Performance Data. > Are there any plugins out there? I have found some modified for Windows but > not for Linux. You'll find most of what you need on Monitoring Exchange. In particular for AIX 5.3, look at http://www.monitoringexchange.org/cgi-bin/page.cgi?g=Detailed%2F1438.html;d=1 The plugins for nrpe are the same as the ones you would use for Nagios itself - you just need to make sure they're compiled to run on whatever the target architecture is (which IME is easier said than done on AIX!). Cheers, Jim ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Thu May 14 14:13:11 2009 From: jim at jimavery.me.uk (Jim Avery) Date: Thu, 14 May 2009 13:13:11 +0100 Subject: Plugin for AIX In-Reply-To: <4A0BDF38.9080203@upol.cz> References: <4A03FF64.5060506@dome-consulting.com> <4A053005.60503@kkeane.com> <4A0BDF38.9080203@upol.cz> Message-ID: <765d77c80905140513u26e1b188k1de8d13e900b1647@mail.gmail.com> 2009/5/14 Ales Rikovsky : > Please. > Do exist any plugins for AIX performance (CPU, memory, disk usage...) > measuring? > > ?Thank you. > > ? ? ? ? ?Ales Yes, you'll find various plugins for AIX on Monitoring Exchange. In particular you'll find nrpe and various compiled plugins for AIX 5.3 at: http://www.monitoringexchange.org/cgi-bin/page.cgi?g=Detailed%2F1438.html;d=1 hth, Jim ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nccomp at gmail.com Thu May 14 15:06:24 2009 From: nccomp at gmail.com (Andrew Davis) Date: Thu, 14 May 2009 09:06:24 -0400 Subject: Poller errors Message-ID: <4A0C1750.1090701@gmail.com> I'm seeing items very similar to the one below in our log files quite frequently: nagios: Warning: Service performance data file processing command '/bin/mv /var/nagios/service-perfdata /var/nagios/perfspool/service-perfdata-1241945165' timed out after 5 seconds Anyone know what the cause is and perhaps the solution? It appears there's a 5 second timeout defined somewhere, but I can't seem to find it anywhere... -- A. Davis Email: nccomp at gmail.com "There is no limit to what a man can accomplish if he doesn't care who gets the credit." - Ronald Reagan -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mark at suso.org Thu May 14 15:07:40 2009 From: mark at suso.org (Mark Krenz) Date: Thu, 14 May 2009 13:07:40 +0000 Subject: Different configurations for backup times Message-ID: <20090514130739.GG5702@arvo.suso.org> Hi, I recently reconfigured my nagios setup to monitor a lot more things on my servers and its mostly working ok, but I'm running into issues where I'm getting tons of notifictions during times that backups are running. Which is overnight of course. The notifications happen because the load on each machine will go up and sometimes a TCP connection will fail for a few minutes. I realize that this is really a problem I need to deal with on my servers and I'm working on that too, but I was wondering how I could tell nagios to be less agreesive overnight. From reading docs and looking at configuration files, I can only see that I'd need to duplicate all my host and service entries so that they notify a different contact group that has a different contact schedule. Is this right or is there another better way? -- Mark S. Krenz IT Director Suso Technology Services, Inc. http://suso.org/ ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From harald.boehmecke at bertelsmann.de Thu May 14 15:10:08 2009 From: harald.boehmecke at bertelsmann.de (Harald =?ISO-8859-1?Q?B=F6hmecke?=) Date: Thu, 14 May 2009 15:10:08 +0200 Subject: Nagios 3 - Migration to mysql In-Reply-To: <1242304212.19402.5.camel@bdi12718.arvato-logistics.de> References: <9c4cd14a0905121333m4c973f87w353bea412ee5dc69@mail.gmail.com> <4A0C074D.3090708@googlemail.com> <1242304212.19402.5.camel@bdi12718.arvato-logistics.de> Message-ID: <1242306608.19402.7.camel@bdi12718.arvato-logistics.de> Hi, I have a productive Nagios instance with 200 clients and 1200 Services. PNP4Nagios is also installed and working. Actually everything is working just fine, except the machine has a 75-100% CPU Load, although I have already tweaked around the settings. I want Nagios to have a mysql backend on another server so that the CPU Load decreases as other (also critical) services are currently running on this machine, which are starting to show errors. Question is: - How do I migrate the existing performance data to the mysql database (I have very little knowledge of databases) - What is the command to send the performance data to the mysql database - PNP4Nagios: How do I tell PNP4Nagios to pull its performance data from the mysql database I have found very little information about this, so any help is greatly appreciated. Regards, Harald -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Sascha.Runschke at gfkl.com Thu May 14 15:29:08 2009 From: Sascha.Runschke at gfkl.com (Sascha.Runschke at gfkl.com) Date: Thu, 14 May 2009 15:29:08 +0200 Subject: Antwort: Nagios 3 - Migration to mysql In-Reply-To: <1242306608.19402.7.camel@bdi12718.arvato-logistics.de> References: <9c4cd14a0905121333m4c973f87w353bea412ee5dc69@mail.gmail.com> <4A0C074D.3090708@googlemail.com> <1242304212.19402.5.camel@bdi12718.arvato-logistics.de> <1242306608.19402.7.camel@bdi12718.arvato-logistics.de> Message-ID: > Actually everything is working just fine, except the machine has a > 75-100% CPU Load, although I have already tweaked around the settings. > > I want Nagios to have a mysql backend on another server so that the > CPU Load decreases as other (also critical) services are currently > running on this machine, which are starting to show errors. > > Question is: > > - How do I migrate the existing performance data to the mysql > database (I have very little knowledge of databases) You can't unless you are already logging performance data into mysql. Nagios itself does not log performance data at all. > - What is the command to send the performance data to the mysql database Use the NDO Utils. Google is your friend. Otherwise you need to dump the RRD databases of PNP and import that into mysql with a script - but that script you need to write yourself I guess. > - PNP4Nagios: How do I tell PNP4Nagios to pull its performance data > from the mysql database You can't. PNP4Nagios stores its data in RRD databases. There is no way to push it into a mysql DB and on the other hand, it wouldn't make sense either for PNP. > I have found very little information about this, so any help is > greatly appreciated. I guess that's mainly since you misunderstood something. Nagios naturally doesn't have the need a mysql backend. Nagios does have the NDO Utils, which store realtime and historical data in a mysql DB, but that's only for third-party applications that need that data. Mainly there is nagiosgrapher and nagvis, maybe NagiosBP. On a sidenote: it's a bad, bad idea to have critical services running on your monitoring server. Service monitoring is always stressing the machine when your installation is not exactly small and you check often. Conclusions: - get a bigger server - get faster storage - move the other services from your nagios server Regards Sascha GFKL Financial Services AG Vorstand: Dr. Peter J?nsch (Vors.), J?rgen Baltes, Dr. Tom Haverkamp Vorsitzender des Aufsichtsrats: Dr. Georg F. Thoma Sitz: Limbecker Platz 1, 45127 Essen, Amtsgericht Essen, HRB 13522 ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu May 14 16:10:34 2009 From: marc at ena.com (Marc Powell) Date: Thu, 14 May 2009 09:10:34 -0500 Subject: Poller errors In-Reply-To: <4A0C1750.1090701@gmail.com> References: <4A0C1750.1090701@gmail.com> Message-ID: <9E4290F8-59E9-491D-8771-95A6DAAA14CE@ena.com> On May 14, 2009, at 8:06 AM, Andrew Davis wrote: > I'm seeing items very similar to the one below in our log files > quite frequently: > > nagios: Warning: Service performance data file processing command '/ > bin/mv /var/nagios/service-perfdata /var/nagios/perfspool/service- > perfdata-1241945165' timed out after 5 seconds > > Anyone know what the cause is and perhaps the solution? For some reason, it's taking longer than 5 seconds for /bin/mv to finish. Is the box heavily loaded (top, etc)? Are the disks extraordinarily busy (iostat, sar, etc)? > It appears there's a 5 second timeout defined somewhere, but I can't > seem to find it anywhere... [~nagios/etc] $ grep timeout nagios.cfg service_check_timeout=60 host_check_timeout=30 event_handler_timeout=30 notification_timeout=30 ocsp_timeout=5 perfdata_timeout=5 <-------- -- Marc ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nccomp at gmail.com Thu May 14 16:37:31 2009 From: nccomp at gmail.com (Andrew Davis) Date: Thu, 14 May 2009 10:37:31 -0400 Subject: Poller errors In-Reply-To: <9E4290F8-59E9-491D-8771-95A6DAAA14CE@ena.com> References: <4A0C1750.1090701@gmail.com> <9E4290F8-59E9-491D-8771-95A6DAAA14CE@ena.com> Message-ID: <4A0C2CAB.7010200@gmail.com> The box does indeed have some load on it... hence my other "performance tuning" request to the list. At present, its running Nagios, mySQL, and Cacti with Cacti polling approx 1500 devices every 5 minutes. Its a fairly good server, but the disk I/O has been problematic on occasion. I think I'll up the timeout to 30 seconds and watch the load. A. Davis Email: nccomp at gmail.com "There is no limit to what a man can accomplish if he doesn't care who gets the credit." - Ronald Reagan Marc Powell wrote: > On May 14, 2009, at 8:06 AM, Andrew Davis wrote: > > >> I'm seeing items very similar to the one below in our log files >> quite frequently: >> >> nagios: Warning: Service performance data file processing command '/ >> bin/mv /var/nagios/service-perfdata /var/nagios/perfspool/service- >> perfdata-1241945165' timed out after 5 seconds >> >> Anyone know what the cause is and perhaps the solution? >> > > For some reason, it's taking longer than 5 seconds for /bin/mv to > finish. Is the box heavily loaded (top, etc)? Are the disks > extraordinarily busy (iostat, sar, etc)? > > >> It appears there's a 5 second timeout defined somewhere, but I can't >> seem to find it anywhere... >> > > [~nagios/etc] $ grep timeout nagios.cfg > service_check_timeout=60 > host_check_timeout=30 > event_handler_timeout=30 > notification_timeout=30 > ocsp_timeout=5 > perfdata_timeout=5 <-------- > > -- > Marc > > > > ------------------------------------------------------------------------------ > The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your > production scanning environment may not be a perfect world - but thanks to > Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 > Series Scanner you'll get full speed at 300 dpi even with all image > processing features enabled. http://p.sf.net/sfu/kodak-com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nccomp at gmail.com Thu May 14 15:33:40 2009 From: nccomp at gmail.com (Andrew Davis) Date: Thu, 14 May 2009 09:33:40 -0400 Subject: Concise list of best overall performance tweaks Message-ID: <4A0C1DB4.1020004@gmail.com> If running the latest version(s) of Nagios and the plugins, using mysql, and gathering trending info, is there a list available of the best performance tweaks one can make? I seem to read a lot that mySQL is a resource whore when also on the Nagios server. Some have commented on seeing significant increases when moving it elsewhere. Others have mentioned adding lines like "innodb_flush_log_at_trx_commit = 2" into the mysql config file, while others have also mentioned database indexes, etc. Of course, for non-DBA's, knowing which databases to create indexes on (or how to do it without mucking it up) are up for debate. Log file rotation is always a good one, but this seems to be built into Nagios 3.x, though I've read of people running Cacti on their Nagios server as well and Cacti has no default log rotation. So... perhaps everyone could include the steps they took to resolve various performance issues... perhaps also including the actual steps taken (ie: if making indexes, which ones and why) and we can cull them into the Nagios wiki on NagiosExchange? -- A. Davis Email: nccomp at gmail.com "There is no limit to what a man can accomplish if he doesn't care who gets the credit." - Ronald Reagan -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu May 14 16:55:57 2009 From: marc at ena.com (Marc Powell) Date: Thu, 14 May 2009 09:55:57 -0500 Subject: Nagios 3 - Migration to mysql In-Reply-To: <1242306608.19402.7.camel@bdi12718.arvato-logistics.de> References: <9c4cd14a0905121333m4c973f87w353bea412ee5dc69@mail.gmail.com> <4A0C074D.3090708@googlemail.com> <1242304212.19402.5.camel@bdi12718.arvato-logistics.de> <1242306608.19402.7.camel@bdi12718.arvato-logistics.de> Message-ID: <2441DD66-974D-4E54-BEAB-C60E1A8A7664@ena.com> On May 14, 2009, at 8:10 AM, Harald B?hmecke wrote: > Hi, > > I have a productive Nagios instance with 200 clients and 1200 > Services. > > PNP4Nagios is also installed and working. > > Actually everything is working just fine, except the machine has a > 75-100% CPU Load, although I have already tweaked around the settings. 75-100% cpu load isn't necessarily bad. What's the load average and specs for the box? What do you see in top using the CPU the most/most often? With 1200 services and assuming checks every 5 minutes, any machine in the last decade should be able to handle that. Are you sure it's nagios that's the problem? > I want Nagios to have a mysql backend on another server so that the > CPU Load decreases as other (also critical) services are currently > running on this machine, which are starting to show errors. This won't help since nagios doesn't use a mysql backend. If you add NDOUtils to do this, it's only adding processing, not replacing any processing. > - How do I migrate the existing performance data to the mysql > database (I have very little knowledge of databases) You'd have to dump all the RRD databases (man rrddump), munge that data and insert it into the DB. It won't help though because of (3) below... > - What is the command to send the performance data to the mysql > database This is complex and beyond the scope of this list. It's also pretty much unrelated to nagios. It won't help though because... > - PNP4Nagios: How do I tell PNP4Nagios to pull its performance data > from the mysql database PNP4Nagios doesn't appear to support storing or reading performance data from a database. -- Marc ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nccomp at gmail.com Thu May 14 18:34:11 2009 From: nccomp at gmail.com (Andrew Davis) Date: Thu, 14 May 2009 12:34:11 -0400 Subject: Nagios 3 - Migration to mysql In-Reply-To: <2441DD66-974D-4E54-BEAB-C60E1A8A7664@ena.com> References: <9c4cd14a0905121333m4c973f87w353bea412ee5dc69@mail.gmail.com> <4A0C074D.3090708@googlemail.com> <1242304212.19402.5.camel@bdi12718.arvato-logistics.de> <1242306608.19402.7.camel@bdi12718.arvato-logistics.de> <2441DD66-974D-4E54-BEAB-C60E1A8A7664@ena.com> Message-ID: <4A0C4803.4030903@gmail.com> Plus, for what its worth, on most systems these days you can move an HD to another system with more CPU/RAM which would negate the muck up all the Nagios stuff. Virtualization is an alternative as well. We run Nagios and Cacti on one server and four instances of Splunk on four other servers. Last month, we used VMWare's P2V tool to make all five physical servers virtual, then moved them to a a Sun X4100 running ESXi. The only cost was the server. The overall load of each individual virtual server is under 50% and the ESXi box itself is sitting at only 30% load. If disk space is an issue, another alternative is to clone the HD(s), then perhaps move to another server (in the case of going to IDE or SATA to SAS or SCSI, this is likely a must). A. Davis Email: nccomp at gmail.com "There is no limit to what a man can accomplish if he doesn't care who gets the credit." - Ronald Reagan Marc Powell wrote: > On May 14, 2009, at 8:10 AM, Harald B?hmecke wrote: > > >> Hi, >> >> I have a productive Nagios instance with 200 clients and 1200 >> Services. >> >> PNP4Nagios is also installed and working. >> >> Actually everything is working just fine, except the machine has a >> 75-100% CPU Load, although I have already tweaked around the settings. >> > > 75-100% cpu load isn't necessarily bad. What's the load average and > specs for the box? What do you see in top using the CPU the most/most > often? With 1200 services and assuming checks every 5 minutes, any > machine in the last decade should be able to handle that. Are you sure > it's nagios that's the problem? > > >> I want Nagios to have a mysql backend on another server so that the >> CPU Load decreases as other (also critical) services are currently >> running on this machine, which are starting to show errors. >> > > This won't help since nagios doesn't use a mysql backend. If you add > NDOUtils to do this, it's only adding processing, not replacing any > processing. > > >> - How do I migrate the existing performance data to the mysql >> database (I have very little knowledge of databases) >> > > You'd have to dump all the RRD databases (man rrddump), munge that > data and insert it into the DB. It won't help though because of (3) > below... > > >> - What is the command to send the performance data to the mysql >> database >> > > This is complex and beyond the scope of this list. It's also pretty > much unrelated to nagios. It won't help though because... > > >> - PNP4Nagios: How do I tell PNP4Nagios to pull its performance data >> from the mysql database >> > > PNP4Nagios doesn't appear to support storing or reading performance > data from a database. > > -- > Marc > > > ------------------------------------------------------------------------------ > The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your > production scanning environment may not be a perfect world - but thanks to > Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 > Series Scanner you'll get full speed at 300 dpi even with all image > processing features enabled. http://p.sf.net/sfu/kodak-com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From epearce at amberpoint.com Thu May 14 18:37:14 2009 From: epearce at amberpoint.com (Eric Pearce) Date: Thu, 14 May 2009 09:37:14 -0700 Subject: Different configurations for backup times References: <20090514130739.GG5702@arvo.suso.org> Message-ID: <8D7FBE84E6014208BB86A6F56D09E4FF@ap872c3fe40484> I had a similar problem with my backups, as they looked like a disk problem to the nagios plugin. I turn off notifications before the backup: /usr/bin/su - nagios -c /usr/local/bin/wget --quiet -O - --post-data 'cmd_typ=23&cmd_mod=2&host=yourhost&service=yourservice&btnSubmit=Commit' http://nagioserver/nagios/cgi-bin/cmd.cgi and then turn them back on when it is done: + /usr/bin/su - nagios -c /usr/local/bin/wget --quiet -O - --post-data 'cmd_typ=22&cmd_mod=2&host=yourhost&service=yourservice&btnSubmit=Commit' http://nagiosserver/nagios/cgi-bin/cmd.cgi password is stored in .wgetrc The other advantage of this is that the backup time can vary, and you don't have to change anything on the Nagios server. The client knows best when it is running a backup. -e ----- Original Message ----- From: "Mark Krenz" To: Sent: Thursday, May 14, 2009 6:07 AM Subject: [Nagios-users] Different configurations for backup times > > Hi, I recently reconfigured my nagios setup to monitor a lot more > things on my servers and its mostly working ok, but I'm running into > issues where I'm getting tons of notifictions during times that backups > are running. Which is overnight of course. The notifications happen > because the load on each machine will go up and sometimes a TCP > connection will fail for a few minutes. I realize that this is really a > problem I need to deal with on my servers and I'm working on that too, > but I was wondering how I could tell nagios to be less agreesive > overnight. > > From reading docs and looking at configuration files, I can only see > that I'd need to duplicate all my host and service entries so that they > notify a different contact group that has a different contact schedule. > Is this right or is there another better way? > > > -- > Mark S. Krenz > IT Director > Suso Technology Services, Inc. > http://suso.org/ > > ------------------------------------------------------------------------------ > The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your > production scanning environment may not be a perfect world - but thanks to > Kodak, there's a perfect scanner to get the job done! With the NEW KODAK > i700 > Series Scanner you'll get full speed at 300 dpi even with all image > processing features enabled. http://p.sf.net/sfu/kodak-com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jean.meunier11 at gmail.com Thu May 14 18:54:40 2009 From: jean.meunier11 at gmail.com (Jean Meunier) Date: Thu, 14 May 2009 18:54:40 +0200 Subject: Distributed and Redondant Nagios Message-ID: <68ef8b500905140954l53ea7028rcf121b3f813e1954@mail.gmail.com> Good Afternoon, I search documentations, best practice or write book in order to set-up a monitoring system with Nagios in 4 Datacenter. Actually I think i will deploy 2 Nagios Daemon as Master (they will received event states with ncsa, all the services will be declared in passive mode) in two datacenter and 4 Nagios as collector. They will execute commands and send events to Master Nagios. Actually I would like to know : - How the two master daemon can be redondant ? (active / active) (active / passive) How to share state in real time between the two ? - When the link between a master and collector Nagios is lost or a collector Nagios is Lost. I would like the master nagios exectute checks. but the parents hosts are not the sames becauses these two nagios are not in the same Network / DC. I don't know how can I solve this. In a other way I would like to have all my configuration in a database in order to have the possibility of regeneration configuration, and simplify management After many search I'havent find tools or software wich allow this kind of architecture, with multiple master or collector. Provide all parameters of definitions services and hosts and provide differents view on collectors and Master Thnks for your answers, Regards -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From harald.boehmecke at bertelsmann.de Thu May 14 19:02:45 2009 From: harald.boehmecke at bertelsmann.de (Harald =?ISO-8859-1?Q?B=F6hmecke?=) Date: Thu, 14 May 2009 19:02:45 +0200 Subject: Nagios 3 - Migration to mysql In-Reply-To: <2441DD66-974D-4E54-BEAB-C60E1A8A7664@ena.com> References: <9c4cd14a0905121333m4c973f87w353bea412ee5dc69@mail.gmail.com> <4A0C074D.3090708@googlemail.com> <1242304212.19402.5.camel@bdi12718.arvato-logistics.de> <1242306608.19402.7.camel@bdi12718.arvato-logistics.de> <2441DD66-974D-4E54-BEAB-C60E1A8A7664@ena.com> Message-ID: <1242320565.19402.19.camel@bdi12718.arvato-logistics.de> Thank you Marc and Sasha for the feedback. It is now clear to me that no mysql backend is needed to decrease CPU Load. Thanks for the tips on PNP4Nagios. To answer some of your questions: - System Load is 3.5 on the 15 min counter. - System specs: Its a VM running on a DL585 with 32GB of RAM. 4 Opteron Processors. The VM is currently 32-bit and is assigned 2 processors and 3,6GB RAM. We have other low-demainding VMs running on the same machine. - Top is always Nagios: 4641 nagios 25 5 21684 10m 2440 S 15 0.3 2688:24 nagios3 15%CPU - 0.3 RAM - Checks are every 5 mins - I am certain Nagios is not the main problem, but I am currently looking into lowering System Load/CPU usage. The other Services we have currently running on the same machine have very much to do with monitoring and the idea was to place them all in one. Bosses love the word "centralized". Anyway, I got the answers I needed. Kindest regards to all, Harald -----Original Message----- From: Marc Powell To: Nagios Users Subject: Re: [Nagios-users] Nagios 3 - Migration to mysql Date: Thu, 14 May 2009 09:55:57 -0500 On May 14, 2009, at 8:10 AM, Harald B?hmecke wrote: > Hi, > > I have a productive Nagios instance with 200 clients and 1200 > Services. > > PNP4Nagios is also installed and working. > > Actually everything is working just fine, except the machine has a > 75-100% CPU Load, although I have already tweaked around the settings. 75-100% cpu load isn't necessarily bad. What's the load average and specs for the box? What do you see in top using the CPU the most/most often? With 1200 services and assuming checks every 5 minutes, any machine in the last decade should be able to handle that. Are you sure it's nagios that's the problem? > I want Nagios to have a mysql backend on another server so that the > CPU Load decreases as other (also critical) services are currently > running on this machine, which are starting to show errors. This won't help since nagios doesn't use a mysql backend. If you add NDOUtils to do this, it's only adding processing, not replacing any processing. > - How do I migrate the existing performance data to the mysql > database (I have very little knowledge of databases) You'd have to dump all the RRD databases (man rrddump), munge that data and insert it into the DB. It won't help though because of (3) below... > - What is the command to send the performance data to the mysql > database This is complex and beyond the scope of this list. It's also pretty much unrelated to nagios. It won't help though because... > - PNP4Nagios: How do I tell PNP4Nagios to pull its performance data > from the mysql database PNP4Nagios doesn't appear to support storing or reading performance data from a database. -- Marc ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From venu_vustipalli at readersdigest.com Thu May 14 20:21:41 2009 From: venu_vustipalli at readersdigest.com (venu_vustipalli at readersdigest.com) Date: Thu, 14 May 2009 14:21:41 -0400 Subject: Benifits from version 3 compared to 1.3 Message-ID: Can anyone tell me the benifits/features in the Nagios version 3 when we compared to version 1.3. I know the latest version is always better but, Just trying to see if it's worth the effort. Thanks, Venu -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Ales.Rikovsky at upol.cz Thu May 14 20:51:53 2009 From: Ales.Rikovsky at upol.cz (Ales Rikovsky) Date: Thu, 14 May 2009 20:51:53 +0200 Subject: Checking SAP not running SAP CCMS In-Reply-To: <1242320565.19402.19.camel@bdi12718.arvato-logistics.de> References: <9c4cd14a0905121333m4c973f87w353bea412ee5dc69@mail.gmail.com> <4A0C074D.3090708@googlemail.com> <1242304212.19402.5.camel@bdi12718.arvato-logistics.de> <1242306608.19402.7.camel@bdi12718.arvato-logistics.de> <2441DD66-974D-4E54-BEAB-C60E1A8A7664@ena.com> <1242320565.19402.19.camel@bdi12718.arvato-logistics.de> Message-ID: <4A0C6849.4010808@upol.cz> Hello, I'm trying to monitor SAP and it's enough for my purposes to log in using username and password to declare system to be running. I don;t want to run CCMS on SAP machine. I've reached "first step" I have command definition in commands.cfg: command_line $USER1$/check_sap_cons $ARG1$ $ARG2$ and service definition in localhost.cfg: check_command check_sap_cons!BCE BCE Well, when I run the adequate command from command line, I'm getting message: No information gathered! system up? The same status is in HTML outup screen: SAP1 CRITICAL 05-14-2009 21:11:04 0d 0h 58m 42s 4/4 No information gathered! System up? The result is, that system is announced as not running. Is there any possibility to get OK status so the system looks like OK runnig... or so? Without CCMS? THANK YOU Ales -- Ales Rikovsky, CVT UP +420 585631826 Ales.Rikovsky at upol.cz Biskupske nam. 1 771 11 Olomouc ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From srianirudh at gmail.com Thu May 14 21:02:12 2009 From: srianirudh at gmail.com (Anirudh Srinivasan) Date: Thu, 14 May 2009 15:02:12 -0400 Subject: socket timeout after 20 sec Message-ID: <699b436a0905141202x3e666d85jc59c4e1a59597f89@mail.gmail.com> Hey Folks, I know " socket timeout after 20 sec" has been discussed so many time in all the forums and post, but still this is not so clear to me. Nagios server : RHEL 5 NC_NET used on Windows server. In startup.cfg the port is 12489 and the ip_passive is ip address of the nagios server. Even through the Linux cli i get the same error ./check_nt -H -v FREEDISKSPACE -l C -w 80 -c 90 -p 1248 -t 50 CRITICAL - socket timeout after 50 sec I really have been breaking my head on this. Please suggest some idea or your experience -- Anirudh -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu May 14 21:03:59 2009 From: marc at ena.com (Marc Powell) Date: Thu, 14 May 2009 14:03:59 -0500 Subject: Benifits from version 3 compared to 1.3 In-Reply-To: References: Message-ID: On May 14, 2009, at 1:21 PM, venu_vustipalli at readersdigest.com wrote: > > Can anyone tell me the benifits/features in the Nagios version 3 > when we compared to version 1.3. > I know the latest version is always better but, Just trying to see > if it's worth the effort. If you're asking this question, you should upgrade. It's telling that you do not know how to find this out yourself ;) . For no other reason, the longer you wait -- - the more capable you must be to support yourself. There are likely to be few people here that used 1.3, let alone remember specific details about it to help support you. The longer you wait, the fewer there are. - the more difficult it will become to convert your existing system to the new version. There are required configuration changes for each version. The greater the difference between versions, the more complex it becomes. If your comfortable with those, then in brief-- - Bug fixes too numerous to count - Significant performance improvements, especially for larger sites. - Active host checks are no longer detrimental (but still aren't required) - Multi-line plugin output is supported - much improved timeperiod definitions/flexibility - Native DB support dropped - Event Broker API added - Regex support within config files. For a more complete list, see the 'What's New' documentation for each version at http://www.nagios.org/docs/ (click the HTML link for each version). -- Marc ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Thu May 14 21:33:21 2009 From: ae at op5.se (Andreas Ericsson) Date: Thu, 14 May 2009 21:33:21 +0200 Subject: socket timeout after 20 sec In-Reply-To: <699b436a0905141202x3e666d85jc59c4e1a59597f89@mail.gmail.com> References: <699b436a0905141202x3e666d85jc59c4e1a59597f89@mail.gmail.com> Message-ID: <4A0C7201.10704@op5.se> Anirudh Srinivasan wrote: > Hey Folks, > > I know " socket timeout after 20 sec" has been discussed so many time in all > the forums and post, but still this is not so clear to me. > > Nagios server : RHEL 5 > > NC_NET used on Windows server. > > In startup.cfg the port is 12489 and the ip_passive is ip address of the > nagios server. > > Even through the Linux cli i get the same error > > ./check_nt -H -v FREEDISKSPACE -l C -w 80 -c 90 -p 1248 > -t 50 > CRITICAL - socket timeout after 50 sec > > I really have been breaking my head on this. Please suggest some idea or > your experience > There is a firewall blocking the traffic somewhere along the way, or you have managed to build a cyclic token-ring network (if you don't know what those are, consider yourself lucky and look over your firewalls). -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Register now for Nordic Meet on Nagios, June 3-4 in Stockholm http://nordicmeetonnagios.op5.org/ Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should give some serious thought to declaring war on peace. ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Thu May 14 22:12:43 2009 From: jim at jimavery.me.uk (Jim Avery) Date: Thu, 14 May 2009 21:12:43 +0100 Subject: Upgrade from 1.3 version to 3+ In-Reply-To: References: <765d77c80905140101le061c2cjb9094b88597f2f13@mail.gmail.com> Message-ID: <765d77c80905141312j144014d2h277a0efb3cbdc215@mail.gmail.com> 2009/5/14 : > > Can anyone tell me the benifits/features in the Nagios version 3 when we > compared to version 1.3. I'm too young to remember version 1.3! > I know the latest version is always better but, Just trying to see if it's > worth the effort. Where can I start?? Here's my personal favourite features of 3 over 2 : Templates, inheritance and suchlike are a whole lot better in 3, so you can create a much leaner set of config files. Especially you no longer need to specify seperate hostextinfo and serviceextinfo definitions. This for me has halved the time it takes to add new hosts & services in many cases. A huge difference is that host checks can now be run in parallel. This for me means Nagios can cope okay during a major outage (although I'm pleased to report we haven't had any of those since I upgraded to 3 except planned ones). There are lots of other diferences, but those are the ones which have made the biggest difference to me. Another thing well worth noting is that there are lots of really great add-ons for Nagios and you won't be able to try most of them unless you upgrade. IMO, PNP is an absolutely must-have and is just oh-so-easy to install. It gets even better when combined with DRRAW. NagVis is absolutely brilliant for doing dashboards (if that's what you want). NexSM is a great replacement for the network map - especially if you have more than a couple of dozen hosts. And lastly, now that you know how brilliant Nagios 3 (with addons) is, if you don't upgrade then everyone here will question your sanity! :-) hth, Jim ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jbroughton at truecos.com Thu May 14 22:26:10 2009 From: jbroughton at truecos.com (Jayson Broughton) Date: Thu, 14 May 2009 14:26:10 -0600 Subject: socket timeout after 20 sec In-Reply-To: <4A0C7201.10704@op5.se> References: <699b436a0905141202x3e666d85jc59c4e1a59597f89@mail.gmail.com> <4A0C7201.10704@op5.se> Message-ID: <00f101c9d4d2$381cec10$a856c430$@com> Try opening a telnet session to that port (to test the firewall theory) telnet 1248 you should get: Trying Connected to . Escape Character is '^\]'. Then Ctl-C to exit out of it (if your in linux that's what it looks like) 50 Seconds is pretty long. I have a server that is monitored by nagios, 2000+ miles away and 14 traceroute hops. It was taking longer than 20 seconds, so I set it to 60 seconds, and it takes ~30seconds..so I just doubled in case of network latency. ~Jayson -----Original Message----- From: Andreas Ericsson [mailto:ae at op5.se] Sent: Thursday, May 14, 2009 1:33 PM To: Anirudh Srinivasan Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] socket timeout after 20 sec Anirudh Srinivasan wrote: > Hey Folks, > > I know " socket timeout after 20 sec" has been discussed so many time in all > the forums and post, but still this is not so clear to me. > > Nagios server : RHEL 5 > > NC_NET used on Windows server. > > In startup.cfg the port is 12489 and the ip_passive is ip address of the > nagios server. > > Even through the Linux cli i get the same error > > ./check_nt -H -v FREEDISKSPACE -l C -w 80 -c 90 -p 1248 > -t 50 > CRITICAL - socket timeout after 50 sec > > I really have been breaking my head on this. Please suggest some idea or > your experience > There is a firewall blocking the traffic somewhere along the way, or you have managed to build a cyclic token-ring network (if you don't know what those are, consider yourself lucky and look over your firewalls). -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Register now for Nordic Meet on Nagios, June 3-4 in Stockholm http://nordicmeetonnagios.op5.org/ Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should give some serious thought to declaring war on peace. ---------------------------------------------------------------------------- -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your producti