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 production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 jim at jimavery.me.uk Thu May 14 23:01:56 2009 From: jim at jimavery.me.uk (Jim Avery) Date: Thu, 14 May 2009 22:01:56 +0100 Subject: Concise list of best overall performance tweaks In-Reply-To: <4A0C1DB4.1020004@gmail.com> References: <4A0C1DB4.1020004@gmail.com> Message-ID: <765d77c80905141401m137af27ei8dbdbcf4daa4dce1@mail.gmail.com> 2009/5/14 Andrew Davis : > 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? Not to my knowledge, no. > 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? My opinion FWIW is that sort of information should go in to the installation scripts (in the case of required indexes) and in to the package README (in the case of MySQL tweaks). In fact if I don't see them in the next release I might even have a go at submitting these changes myself (although I've never used cvs/git/svn/whatever so it might be a steep learning curve for me). The proof of the pudding, so they say, is in the eating! :-) 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 23:14:45 2009 From: jim at jimavery.me.uk (Jim Avery) Date: Thu, 14 May 2009 22:14:45 +0100 Subject: Nagios 3 - Migration to mysql 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: <765d77c80905141414u75ac148btcbae9e76f4812c1d@mail.gmail.com> I can't help wondering if you're running all your checks at 1-minute intervals? If you're not doing so already, you might like to consider running your less time-critical checks at 5-minute intervals or more. 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 srianirudh at gmail.com Thu May 14 23:35:57 2009 From: srianirudh at gmail.com (Anirudh Srinivasan) Date: Thu, 14 May 2009 17:35:57 -0400 Subject: socket timeout after 20 sec In-Reply-To: <4A0C7201.10704@op5.se> References: <699b436a0905141202x3e666d85jc59c4e1a59597f89@mail.gmail.com> <4A0C7201.10704@op5.se> Message-ID: <699b436a0905141435x59315726jc653738784212c3d@mail.gmail.com> Hi Thanks for your response at first. FYI: There is no firewall that is blocking this port. Of course it might be possible that the specific port might be used by another application. Please let me know any futher suggetions. Can i try switching to nrpe.? On Thu, May 14, 2009 at 3:33 PM, Andreas Ericsson wrote: > 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. > -- Anirudh Srinivasan -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- 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 peter.ostlin at op5.com Fri May 15 09:46:21 2009 From: peter.ostlin at op5.com (=?ISO-8859-1?Q?Peter_=D6stlin?=) Date: Fri, 15 May 2009 09:46:21 +0200 Subject: socket timeout after 20 sec In-Reply-To: <699b436a0905141202x3e666d85jc59c4e1a59597f89@mail.gmail.com> References: <699b436a0905141202x3e666d85jc59c4e1a59597f89@mail.gmail.com> Message-ID: On Thu, May 14, 2009 at 9:02 PM, 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 > Don't know if that's just a typo but you set port 12489 in startup.cfg but use 1248 when executing check_nt. /Peter ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri May 15 09:55:54 2009 From: jd at op5.com (Johannes Dagemark) Date: Fri, 15 May 2009 09:55:54 +0200 Subject: socket timeout after 20 sec In-Reply-To: <4A0C7201.10704@op5.se> References: <699b436a0905141202x3e666d85jc59c4e1a59597f89@mail.gmail.com> <4A0C7201.10704@op5.se> Message-ID: <4A0D200A.1040900@op5.com> Andreas Ericsson wrote: > 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). > > I have also experienced this quite a lot of times on networks where there has been inconsistent duplex and speed settings on network cards and switches. My recommendation is to always fix the speed on connections between routers and switches otherwise you can get this speed renegotiation which causes short downtimes or mismatch in the duplex having one port decide that it's half-duplex and the connected port full-duplex, both will cause a lot of socket timeout in Nagios. /Johannes ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri May 15 09:52:49 2009 From: roberto.balestra at alice.it (Roberto Balestra) Date: Fri, 15 May 2009 09:52:49 +0200 Subject: Upgrade from 1.3 version to 3+ In-Reply-To: References: Message-ID: ----- Original Message ----- From: venu_vustipalli at readersdigest.com To: nagios-users at lists.sourceforge.net Sent: Wednesday, May 13, 2009 10:33 PM 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 ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.5.325 / Virus Database: 270.12.27/2112 - Release Date: 05/13/09 07:04:00 I did it last week for one server of mine. I did so: 1) Install in /usr/local/nagios3 new version of nagios (if you have another system it's better) 2) cp -R /usr/local/nagios/etc (nagios-1.4.1) /usr/local/nagios3/etc (nagios-3.1.0) 3) check config (/usr/local/nagios3/bin/nagios -v /usr/local/nagios3/etc/nagios.cfg) and make all request changes 4) mv /usr/local/nagios /usr/local/nagios-1.4.1 (and do the same for init daemon and http config) 5) compile and install nagios-3.x in default dir (you can install also in another path but I see that some links have to change manualy) This is the fastest way but probably it isn't the best way. Bye Roberto -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- 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 Pete.Forde at aardman.com Fri May 15 11:57:45 2009 From: Pete.Forde at aardman.com (Pete Forde) Date: Fri, 15 May 2009 10:57:45 +0100 Subject: 404 error Message-ID: <35E5FBB2E2BA6C43B2097ADA20E9B7600476E33D@gromit.aardman.com> Hi I am trying to test Nagios software, so thought I would install on my laptop running Fedora 10. All seems to install ok and runs without errors, but when I try to access the web front end I get the 404 error, nagios not found on this server. Obviously it something to do with the http.conf file. Can anyone shed any light on this please P P Save a tree-we only print the emails we really need to - -------------------------------------------------------------------- http://www.aardman.com ______________________________________________________________________ This message has been checked for all known viruses by the MessageLabs -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- 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 paul.corcoran.mlist at gmail.com Fri May 15 14:46:48 2009 From: paul.corcoran.mlist at gmail.com (Paul Corcoran) Date: Fri, 15 May 2009 13:46:48 +0100 Subject: Generating availability report in Nagios 3.0.6 Message-ID: <2a466c210905150546v245b22ecq1d861e367f4a85b5@mail.gmail.com> Hi, I've recently completed a distributed installation of Nagios consisting of a master server acting as the web front end for Nagios and 2 slave servers that do all the service checking. Currently we are monitoring approx 500 hosts and perform approx 3300 service checks. Nagios performs daily rotation of the logs and they are approx 250MB in size for each 24 hours period. I am having some difficulty running availability reports at the moment. I am able to generate reports for the current day but if I try and run a report against data that has been archived I get an internal server error from Apache. I don't think it is a permissions issue nor do I think it's a security issue. Memory usage on the web box is quit high and avail.cgi seems to use a lot of it so it could be something as simple as not enough memory in the machine (The server currently has 3GB) The server is running Fedora Core 10 as it's OS. If any one can shed some light on this issues it would be most appreciated. Kind Regards, Paul Corcoran -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- 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 Fri May 15 14:45:56 2009 From: jpratt at norwich.edu (James Pratt) Date: Fri, 15 May 2009 08:45:56 -0400 Subject: 404 error In-Reply-To: <35E5FBB2E2BA6C43B2097ADA20E9B7600476E33D@gromit.aardman.com> References: <35E5FBB2E2BA6C43B2097ADA20E9B7600476E33D@gromit.aardman.com> Message-ID: <8147CCE3C4A8764DA9980125EE70E823CBE6E3@nuexchg.norwich.edu> -----Original Message----- From: Pete Forde [mailto:Pete.Forde at aardman.com] Sent: Friday, May 15, 2009 5:58 AM To: Nagios-users at lists.sourceforge.net Subject: [Nagios-users] 404 error Hi I am trying to test Nagios software, so thought I would install on my laptop running Fedora 10. All seems to install ok and runs without errors, but when I try to access the web front end I get the 404 error, nagios not found on this server. Obviously it something to do with the http.conf file. Can anyone shed any light on this please P -- Hello - Please include the relevant portion of your apache's httpd.conf that has to do with the nagios install, and perhaps we can help more. Also, your version of nagios would be helpful. (Usually, you can examine the "quickstart" apache part of the installation on Nagios.org, and adjust the httpd.conf section accordingly to match your installation) Regards, jamie ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri May 15 14:40:16 2009 From: roberto.balestra at alice.it (Roberto Balestra) Date: Fri, 15 May 2009 14:40:16 +0200 Subject: 404 error In-Reply-To: <35E5FBB2E2BA6C43B2097ADA20E9B7600476E33D@gromit.aardman.com> References: <35E5FBB2E2BA6C43B2097ADA20E9B7600476E33D@gromit.aardman.com> Message-ID: <351BDE0287754B1492C97E161FF18683@PCRoberto> >----- Original Message ----- >From: Pete Forde >To: Nagios-users at lists.sourceforge.net >Sent: Friday, May 15, 2009 11:57 AM >Subject: [Nagios-users] 404 error > > >Hi > >I am trying to test Nagios software, so thought I would install on my >laptop running Fedora 10. All seems to >install ok and runs without >errors, but when I try to access the web front end I get the 404 error, >nagios not found >on this server. Obviously it something to do with the >http.conf file. Can anyone shed any light on this please > >P Did you do make install-webconf ? ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 15 14:49:47 2009 From: gaurav at subisu.net.np (Gaurav Ghimire) Date: Fri, 15 May 2009 18:34:47 +0545 Subject: Could NRPE be in some ways related to nss_ldap [Solved] In-Reply-To: <4A03BEC0.6090200@subisu.net.np> References: <4A03BEC0.6090200@subisu.net.np> Message-ID: <4A0D64EB.1060100@subisu.net.np> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Gaurav Ghimire wrote: > 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 Dear all, Yes the problem was with my nsswitch.conf. I was on a guess that nrpe was querying my ldap servers for the services, but it wasn't the case (my nsswitch.conf was configured to query only files for the services). Instead NRPE was querying LDAP for the group that was causing the timeouts. The default timeout for NRPE was of 10 seconds and that for my LDAP server was more than 10, that was causing the error. Doing "group files [unavail=return] ldap" in my nsswitch.conf and reducing the gid for nagios group to less than 500 helped solve the problem. Regards, - -- Gaurav Ghimire System Administrator Subisu Cablenet (P.) Ltd. 148 Thirbum Sadak Baluwatar, Kathmandu Nepal T: 00977 1 4429616/17 Ext.: 110 F: 00977 1 4430572 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) iEYEARECAAYFAkoNZOsACgkQnfv7imVnL2vOjgCg0TMvkNItwid90GS83VpmpgRf Kd8An08ID5XdLhNUtzUtNMq4Iykm92uC =gkpa -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.novak at eds.com Fri May 15 16:55:52 2009 From: mark.novak at eds.com (Novak, Mark) Date: Fri, 15 May 2009 09:55:52 -0500 Subject: Checking SAP not running SAP CCMS In-Reply-To: <4A0C6849.4010808@upol.cz> 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> <4A0C6849.4010808@upol.cz> Message-ID: <906530D5DDCFB34DBF9A6697071FDB3404A178E2@usplm215.amer.corp.eds.com> Ales, In the same plugin kit that has the SAP CCMS checkers, there is one called check_R3 or something like that (I'll check into it and reply back when I find the right one). It does a basic R3 connection to make sure that it gets a response. So, it is more reliable than just a server check as this way you know that the SAP system is up. Is there any reason you don't want CCMS? It is installed and running by default on all SAP systems and is the same thing that Solution Manager uses when it gathers diagnostics. Thanks, Mark Novak EDS, an HP Company SAP Practice Global Centers/Automotive Industry Delivery Leader Cell:??? 214-725-5295 Email: mark.novak at hp.com -----Original Message----- From: Ales Rikovsky [mailto:Ales.Rikovsky at upol.cz] Sent: Thursday, May 14, 2009 1:52 PM Cc: Nagios Users Subject: [Nagios-users] Checking SAP not running SAP CCMS 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 ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 15 17:26:54 2009 From: frisvolj at lafayette.edu (Jason Frisvold) Date: Fri, 15 May 2009 11:26:54 -0400 Subject: Host vs Service reachability Message-ID: <4A0D89BE.1010307@lafayette.edu> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi all, I'm looking at possibly disabling my service pings and moving over completely to host checks for reachability. I'm unsure of the exact mechanics, though, so if someone can help me out, I'd appreciate it. So, to start, if a host has no current services, is the host_check still intermittent? Or does it become an active check at a specific interval, similar to a service? We have several hosts that we only check for connectivity as opposed to services, for a variety of reasons. From what I've read of Nagios 3, it sounds like using host checks is more efficient. Are there instances, though, where services may show up, but the host is down? Does the host_check run at specified intervals, even though service checks don't show a problem? Is there a compelling reason to not do this? ie, am I inviting a world of hurt by using host checks vs a service ping? Thanks, - -- - --------------------------- 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 iEYEARECAAYFAkoNib4ACgkQO80o6DJ8UvlQ+QCePv4DaBqbKI47Uv589kvBUDE0 cCwAn3TF6k5QTQqZRUFROX2B33mhX6bz =ukFq -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From brian.omahony at curamsoftware.com Fri May 15 17:45:11 2009 From: brian.omahony at curamsoftware.com (Brian O'Mahony) Date: Fri, 15 May 2009 16:45:11 +0100 Subject: Nagios / NRPE on HPUX v3 Message-ID: <86E8DA9E18BC2344BD0218BF23C88DF3010AF86C4C1E@MAIL06.curamsoftware.com> I have just installed nagios from the HPUX Internet Express cd, where it comes as a depot. Running it locally, it comes up as V2.12. I added it to the inetd.conf and services and forced inetd to recheck its config. bash-3.2# grep -i nrpe /etc/* /etc/inetd.conf:nrpe stream tcp nowait nagios /usr/bin/nrpe -c /opt/iexpress/nagios/etc/nrpe.cfg --inetd /etc/services:nrpe 5666/tcp # NRPE When I telnet to the machine on the port, it throws back as if I had entered the command with no switches at the machine prompt (included at end). If I run it locally bash-3.2# /usr/libexec/check_nrpe -H localhost -p 5666 CHECK_NRPE: Error - Could not complete SSL handshake. So I try without ssl (even though openssl is installed) bash-3.2# /usr/libexec/check_nrpe -n -H localhost -p 5666 CHECK_NRPE: Error receiving data from daemon. Because when I telnet its giving the nrpe command, am I right in thinking for somereason its not loading the conf file? If not, how can I remedy this situation? [root at mido ~]# telnet amidala 5666 Trying 172.16.165.149... Connected to amidala.curamsoftware.com (172.16.165.149). Escape character is '^]'. NRPE - Nagios Remote Plugin Executor Copyright (c) 1999-2008 Ethan Galstad (nagios at nagios.org) Version: 2.12 Last Modified: 03-10-2008 License: GPL v2 with exemptions (-l for more info) SSL/TLS Available: Anonymous DH Mode, OpenSSL 0.9.6 or higher required *************************************************************** ** POSSIBLE SECURITY RISK - TCP WRAPPERS ARE NOT AVAILABLE! ** ** Read the NRPE SECURITY file for more information ** *************************************************************** Usage: nrpe [-n] -c Options: -n = Do not use SSL = Name of config file to use = One of the following two operating modes: -i = Run as a service under inetd or xinetd -d = Run as a standalone daemon Notes: This program is designed to process requests from the check_nrpe plugin on the host(s) running Nagios. It can run as a service under inetd or xinetd (read the docs for info on this), or as a standalone daemon. Once a request is received from an authorized host, NRPE will execute the command/plugin (as defined in the config file) and return the plugin output and return code to the check_nrpe plugin. Connection closed by foreign host. The information in this email is confidential and may be legally privileged. It is intended solely for the addressee. Access to this email by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. If you are not the intended addressee please contact the sender and dispose of this e-mail. Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- 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 matt at frozenatom.com Fri May 15 18:04:49 2009 From: matt at frozenatom.com (Matt Nelson) Date: Fri, 15 May 2009 10:04:49 -0600 Subject: Dependency help Message-ID: <148f6bb30905150904i51d91b2dq4a8838fc765932e8@mail.gmail.com> I've ready through the doc's twice, but each time I come out with a different idea of how this is supposed to be set. Below is my current attempt: define servicedependency{ dependent_host_name Server1,Server2 dependent_service_description DistributedQueue-ConsumersCurrentCount host_name Server3 service_description DistributedQueue-ConsumersCurrentCount notification_failure_criteria w,c,u } define servicedependency{ dependent_host_name Server2,Server3 dependent_service_description DistributedQueue-ConsumersCurrentCount host_name Server1 service_description DistributedQueue-ConsumersCurrentCount notification_failure_criteria w,c,u } define servicedependency{ dependent_host_name Server1,Server3 dependent_service_description DistributedQueue-ConsumersCurrentCount host_name Server2 service_description DistributedQueue-ConsumersCurrentCount notification_failure_criteria w,c,u } And here is what I am trying to accomplish: I have three hosts, each with the same service running. If < 3 of these hosts has that service die it is ok, and I want it to show critical, but not alert, but if all three of them show that service down It needs to alert. Right now it is alerting if any of the three show that service down, regardless of any of the other two having that service showing OK. Any help is greatly appreciated, Matt Nelson -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- 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 Fri May 15 18:19:11 2009 From: shadhin71 at gmail.com (shadih rahman) Date: Fri, 15 May 2009 12:19:11 -0400 Subject: hostgroup view with hosts not having any service Message-ID: <6db4a4200905150919u5b6973f4u65cbf94a95b6c5c3@mail.gmail.com> All, When someone click onto hostgroup summary and they are taken to the following link https://example/nagios/cgi-bin/status.cgi?hostgroup=fake-groups&style=overview now in this link it lists all hosts that belongs to fake-groups. All these clickable host links will take us to the following link if we were to click on them. https://example.com/nagios/cgi-bin/status.cgi?host=fakehost&style=detail This is great but if that particular host did not have any service attache to it then it takes you to an empty page. This can be quite confusing for managers and less technical people of the organization. However if those clickable links were to take us to the following link, then it would create less confusion. Please advise on this. Thanks https://example.com/nagios/cgi-bin/extinfo.cgi?type=1&host=fakehost -- Cordially, Shadhin Rahman -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- 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 david at blue-labs.org Fri May 15 18:16:49 2009 From: david at blue-labs.org (David Ford) Date: Fri, 15 May 2009 12:16:49 -0400 Subject: nagios-users@lists.sourceforge.net and false Razor anti-spam In-Reply-To: References: Message-ID: <4A0D9571.7060307@blue-labs.org> Someone on this list has been reporting a fair selection of nagios-users emails as spam to the Razor tool. X-Razor2-Warning: SPAM X-Razor2-Sig: 1.0 e4: 0rOhnO08FGbKR-oj-QwmGDbSHzEA, ep4: 7542-10 1.0 e8: fihggQZqp-AA 1.0 e8: 2z1OXlWFp-AA 1.1 e4: IHwNzYZxVlrCMRevqOM9lZqwptgA, ep4: 7542-10 1.1 e8: fihggQZqx0AA 1.1 e8: 2z1OXlWFx0AA 1.2 e4: um_sB0WogRHwe9mMm6wG7z_i5S0A, ep4: 7542-10 1.2 e8: 2z1OXlWFdGkA 1.3 e4: y1cOh5Qs3lNbsbJ4FwaOXyGXwK8A, ep4: 7542-10 1.3 e8: FP58Ms26dGkA It has been going on since before I joined the list a couple years ago. I've sent emails to Razor admins a few times with no replies. It seems the administrators of Vipul's Razor are deaf to the world. There are days where I think more of the list ends up in $bitbucket than in $mailbox. Would each of you please check your setup and make sure you're not telling Razor that this list mail is spam? Thank you, -david ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jmphilip at ccs.usherbrooke.ca Fri May 15 19:47:04 2009 From: jmphilip at ccs.usherbrooke.ca (Jean-Michel Philippon-Nadeau) Date: Fri, 15 May 2009 13:47:04 -0400 Subject: Nagios reporting no output when there is output Message-ID: <4A0DAA98.6000107@ccs.usherbrooke.ca> Hi, I have a strange problem with our Nagios installation. One machine in particular is always reporting a failure when everything should be OK. The machines pushes the service's status with NCSA. Here is what I see in my nagios.log file: [...] [1242408603] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;;DISK;0;DISK OK [16025780 kB (85%) free on /dev/sda1]***DISK OK [37406088 kB (99%) free on /dev/sda2]***DISK OK [48949140 kB (99%) free on /dev/sda5]*** [1242408777] SERVICE ALERT: ;DISK;WARNING;SOFT;1;(No output!) [1242408837] SERVICE ALERT: ;DISK;WARNING;SOFT;2;(No output!) [1242408897] SERVICE ALERT: ;DISK;WARNING;HARD;3;(No output!) [1242408897] SERVICE NOTIFICATION: ;;DISK;WARNING;notify-by-email;(No output!) [...] Additionnal information: Both machines are running CentOS 5.3 (fully updated). It is Nagios version 2.9 What could be the cause of such a problem? Thanks, -- Jean-Michel Philippon-Nadeau Administrateur syst?me Centre de Calcul Scientifique Universit? de Sherbrooke http://rqchp.ca E-Mail: jmphilip at ccs.usherbrooke.ca Tel: +1-819-821-8000 ext. 65480 ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tomw at bnl.gov Fri May 15 20:31:50 2009 From: tomw at bnl.gov (Tom Wlodek) Date: Fri, 15 May 2009 14:31:50 -0400 Subject: Nagios reporting no output when there is output In-Reply-To: <4A0DAA98.6000107@ccs.usherbrooke.ca> References: <4A0DAA98.6000107@ccs.usherbrooke.ca> Message-ID: <1242412310.4784.48.camel@localhost.localdomain> "no output" message in nagios usually means: "Your script has an error". Tahe the script which is supposed to execute "notify-by-email" command and execute it by hand. It should fail and give an error msg. This will give you a hint. Good luck. Tom On Fri, 2009-05-15 at 13:47 -0400, Jean-Michel Philippon-Nadeau wrote: > Hi, > > I have a strange problem with our Nagios installation. One machine in > particular is always reporting a failure when everything should be OK. > The machines pushes the service's status with NCSA. Here is what I see > in my nagios.log file: > > [...] > [1242408603] EXTERNAL COMMAND: > PROCESS_SERVICE_CHECK_RESULT;;DISK;0;DISK OK [16025780 kB > (85%) free on /dev/sda1]***DISK OK [37406088 kB (99%) free on > /dev/sda2]***DISK OK [48949140 kB (99%) free on /dev/sda5]*** > [1242408777] SERVICE ALERT: ;DISK;WARNING;SOFT;1;(No output!) > [1242408837] SERVICE ALERT: ;DISK;WARNING;SOFT;2;(No output!) > [1242408897] SERVICE ALERT: ;DISK;WARNING;HARD;3;(No output!) > [1242408897] SERVICE NOTIFICATION: > ;;DISK;WARNING;notify-by-email;(No output!) > [...] > > Additionnal information: > > Both machines are running CentOS 5.3 (fully updated). > It is Nagios version 2.9 > > What could be the cause of such a problem? > > Thanks, > ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jmphilip at ccs.usherbrooke.ca Fri May 15 21:06:31 2009 From: jmphilip at ccs.usherbrooke.ca (Jean-Michel Philippon-Nadeau) Date: Fri, 15 May 2009 15:06:31 -0400 Subject: Nagios reporting no output when there is output In-Reply-To: <1242412310.4784.48.camel@localhost.localdomain> References: <4A0DAA98.6000107@ccs.usherbrooke.ca> <1242412310.4784.48.camel@localhost.localdomain> Message-ID: <4A0DBD37.4040602@ccs.usherbrooke.ca> Thanks for the reply. Tom Wlodek wrote: > "no output" message in nagios usually means: "Your script has an error". > Tahe the script which is supposed to execute "notify-by-email" command > and execute it by hand. It should fail and give an error msg. This will > give you a hint. I have already checked that my command works. The script reporting disk usage and sending it to Nagios already runs fine on the other 30+ machines and running the script manually works just fine too. What I forgot to mention in my previous e-mail (sorry about that) is that Nagios says the service just recovered a few minutes later. From what I understood in the logs, the machine reports it's disk space usage, Nagios emits a warning even if the script sent the appropriate usage and a few minutes later when the script is re-run (I've shortened it's cron launch time) Nagios notices that everything is OK and sends back notices by e-mail. Any ideas? Thanks! -- Jean-Michel Philippon-Nadeau Administrateur syst?me Centre de Calcul Scientifique Universit? de Sherbrooke http://rqchp.ca E-Mail: jmphilip at ccs.usherbrooke.ca Tel: +1-819-821-8000 ext. 65480 ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tomw at bnl.gov Fri May 15 21:11:53 2009 From: tomw at bnl.gov (Tom Wlodek) Date: Fri, 15 May 2009 15:11:53 -0400 Subject: Nagios reporting no output when there is output In-Reply-To: <4A0DBD37.4040602@ccs.usherbrooke.ca> References: <4A0DAA98.6000107@ccs.usherbrooke.ca> <1242412310.4784.48.camel@localhost.localdomain> <4A0DBD37.4040602@ccs.usherbrooke.ca> Message-ID: <1242414713.4784.56.camel@localhost.localdomain> On Fri, 2009-05-15 at 15:06 -0400, Jean-Michel Philippon-Nadeau wrote: > Thanks for the reply. > > > I have already checked that my command works. The script reporting disk > usage and sending it to Nagios already runs fine on the other 30+ > machines and running the script manually works just fine too. You may also check whether you run it by hand as the right user. Common mistake is to execute plugins or scripts as one user 9say, root) and then nagios executes them as another one (say "nagios"). It works for user root but not for user nagios. > > What I forgot to mention in my previous e-mail (sorry about that) is > that Nagios says the service just recovered a few minutes later. From > what I understood in the logs, the machine reports it's disk space > usage, Nagios emits a warning even if the script sent the appropriate > usage and a few minutes later when the script is re-run (I've shortened > it's cron launch time) Nagios notices that everything is OK and sends > back notices by e-mail. If I understand correctly nagios sends notifications regardless whether the service is OK or not. Check the "notification criteria" field in service configuration file. maybe you've simply told nagios to send msg always. (But I admit I do not fully understand your problem description here). Tom > > > Any ideas? > > Thanks! > ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 15 21:16:36 2009 From: israel at frontierflying.com (Israel Brewster) Date: Fri, 15 May 2009 11:16:36 -0800 Subject: Generating availability report in Nagios 3.0.6 In-Reply-To: <2a466c210905150546v245b22ecq1d861e367f4a85b5@mail.gmail.com> References: <2a466c210905150546v245b22ecq1d861e367f4a85b5@mail.gmail.com> Message-ID: On May 15, 2009, at 4:46 AM, Paul Corcoran wrote: > Hi, > > I've recently completed a distributed installation of Nagios > consisting of a master server acting as the web front end for Nagios > and 2 slave servers that do all the service checking. > > Currently we are monitoring approx 500 hosts and perform approx 3300 > service checks. > > Nagios performs daily rotation of the logs and they are approx 250MB > in size for each 24 hours period. > > I am having some difficulty running availability reports at the > moment. I am able to generate reports for the current day but if I > try and run a report against data that has been archived I get an > internal server error from Apache. > > I don't think it is a permissions issue nor do I think it's a > security issue. Memory usage on the web box is quit high and > avail.cgi seems to use a lot of it so it could be something as > simple as not enough memory in the machine (The server currently has > 3GB) Well, I don't know that this will be of much help, but I would strongly suspect that memory is not the issue- I have a server with about 300 hosts, although there are significantly fewer services than you have, but it is running quite happily and generating reports for whatever period I want, with only 512MB ram. Actually, about 300MB of that is free at the moment, and when I run an availability report, the cgi only uses around 3MB. So whatever the issue is, I would doubt the problem is a lack of memory. ----------------------------------------------- Israel Brewster Computer Support Technician II Frontier Flying Service Inc. 5245 Airport Industrial Rd Fairbanks, AK 99709 (907) 450-7250 x293 ----------------------------------------------- > > The server is running Fedora Core 10 as it's OS. > > If any one can shed some light on this issues it would be most > appreciated. > > Kind Regards, > > Paul Corcoran > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables > unlimited royalty-free distribution of the report engine > for externally facing server and web deployment. > http://p.sf.net/sfu/businessobjects_______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jmphilip at ccs.usherbrooke.ca Fri May 15 21:29:11 2009 From: jmphilip at ccs.usherbrooke.ca (Jean-Michel Philippon-Nadeau) Date: Fri, 15 May 2009 15:29:11 -0400 Subject: Nagios reporting no output when there is output In-Reply-To: <1242414713.4784.56.camel@localhost.localdomain> References: <4A0DAA98.6000107@ccs.usherbrooke.ca> <1242412310.4784.48.camel@localhost.localdomain> <4A0DBD37.4040602@ccs.usherbrooke.ca> <1242414713.4784.56.camel@localhost.localdomain> Message-ID: <4A0DC287.4090405@ccs.usherbrooke.ca> Thanks for your reply Tom. I really appreciate that you take a few minutes of your time to help me on this one. Tom Wlodek wrote: > You may also check whether you run it by hand as the right user. Common > mistake is to execute plugins or scripts as one user 9say, root) and > then nagios executes them as another one (say "nagios"). It works for > user root but not for user nagios. The Nagios server does not actively check the disk status of every monitored server. Each server has a script in it's crontab that checks the disks and sends the status via NCSA to the main Nagios server. Correct me if I'm wrong, but I do not think the user running the script on the monitored host can interfere with how the Nagios server will parse the answer. Am I right? > If I understand correctly nagios sends notifications regardless whether > the service is OK or not. Check the "notification criteria" field in > service configuration file. maybe you've simply told nagios to send msg > always. > (But I admit I do not fully understand your problem description here). Every 30 minutes, the monitored server sends it's disk status (passive check) to the central Nagios server. When the output sent or when there is no output sent (after an hour or two), Nagios will emit a notice. However, in my case, I get a failure notice and a recovery notice every hour, as if Nagios would not interpret the output he receives and the alert me that it's OK after having parsed it. The server monitored is an idle server with 85% disk free and it is always reporting correct disk usage (confirmed by the logs I sent earlier) but still, Nagios tells me there is no output and then tells me it's OK. There are a few minutes between the time Nagios receives the disk status and the time Nagios sends me the warning. I hope this is clearer, Thanks, -- Jean-Michel Philippon-Nadeau Administrateur syst?me Centre de Calcul Scientifique Universit? de Sherbrooke http://rqchp.ca E-Mail: jmphilip at ccs.usherbrooke.ca Tel: +1-819-821-8000 ext. 65480 ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From brylon at jla.rutgers.edu Fri May 15 21:29:39 2009 From: brylon at jla.rutgers.edu (Bryan Loniewski) Date: Fri, 15 May 2009 15:29:39 -0400 (EDT) Subject: Available Macro's in notes_url Message-ID: We are running Nagios 3.1.0 and are trying to access various Macros (e.g. $HOSTGROUPNAME$) from within a host definition's notes_url, for example: notes_url /notes/hostinfo.php?HOSTNAME=$HOSTNAME$&HOSTGROUPNAME=$HOSTGROUPNAME$ The file hostinfo.php is simple for now, it just echo's out the query passed: '; echo $_GET["HOSTGROUPNAME"] . " is the hostgroupname!!!"; echo '
'; ?> The $HOSTNAME$ Macro correctly gets expanded out (either when hovering over the notes icon or viewing the notes webpage the link is pointing to), however the $HOSTGROUPNAME$ Macro does not get expanded. Interestingly, custom Macros defined for a host definition are also expanded correctly when used in the notes_url. We came across a few posts about this issue: http://thread.gmane.org/gmane.network.nagios.user/60602 http://thread.gmane.org/gmane.network.nagios.user/52775 the latter post stating Nagios 3x may address this issue of what Macros may be available for the notes_url. Is there any documentation/plans/etc... of what Macros are/will be accessible from the notes_url? Did we overlook something? Is there a way to access the $HOSTGROUPNAME$ Macro within a host definition's notes_url? __________________________ Bryan Loniewski Rutgers University CSS - System Administrator ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 15 21:39:34 2009 From: nccomp at gmail.com (Andrew Davis) Date: Fri, 15 May 2009 15:39:34 -0400 Subject: Odd check_http error Message-ID: <4A0DC4F6.6000404@gmail.com> I'm seeing the following: HTTP WARNING: HTTP/1.1 400 No Host matches server name seth.my.int.domain This is what the test looks like in Nagios: ## HTTP - alternate port define service { host_name seth service_description HTTP check_command check_http!-p 8080!-u /gp/pages/login.jsf notes http://$HOSTADDRESS$:8080/gp/pages/login.jsf max_check_attempts 3 normal_check_interval 15 retry_check_interval 1 check_period 24x7 notification_interval 120 notification_period 24x7 notification_options w, u, c, r, f, s contact_groups unixadmins action_url /nagios/pnp/index.php?host=$HOSTNAME$&srv=$SERVICEDESC$ } Oddly enough, all other tests for this host seem to have no issue at all with the hostname. The URL also works in a web browser (http://seth.my.int.domain:8080/gp/pages/login.jsf works correctly). From the Nagios server, I go hit the URL from lynx and curl w/o issue. There's proper name resolution (forward and reverse) in place. I'm lost... -- 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 -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- 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 tomw at bnl.gov Fri May 15 21:39:31 2009 From: tomw at bnl.gov (Tom Wlodek) Date: Fri, 15 May 2009 15:39:31 -0400 Subject: Nagios reporting no output when there is output In-Reply-To: <4A0DC287.4090405@ccs.usherbrooke.ca> References: <4A0DAA98.6000107@ccs.usherbrooke.ca> <1242412310.4784.48.camel@localhost.localdomain> <4A0DBD37.4040602@ccs.usherbrooke.ca> <1242414713.4784.56.camel@localhost.localdomain> <4A0DC287.4090405@ccs.usherbrooke.ca> Message-ID: <1242416371.4784.63.camel@localhost.localdomain> On Fri, 2009-05-15 at 15:29 -0400, Jean-Michel Philippon-Nadeau wrote: > Thanks for your reply Tom. > I really appreciate that you take a few minutes of your time to help me > on this one. > > Tom Wlodek wrote: > > You may also check whether you run it by hand as the right user. Common > > mistake is to execute plugins or scripts as one user 9say, root) and > > then nagios executes them as another one (say "nagios"). It works for > > user root but not for user nagios. > > The Nagios server does not actively check the disk status of every > monitored server. Each server has a script in it's crontab that checks > the disks and sends the status via NCSA to the main Nagios server. Ouch, now you've got me. I know nothing about NCSA. I am afraid I am of no help here. > > Correct me if I'm wrong, but I do not think the user running the script > on the monitored host can interfere with how the Nagios server will > parse the answer. Am I right? I am not sure if I understand your question - and as I said, if you use NCSA then my expertise ends here anyway. > > > If I understand correctly nagios sends notifications regardless whether > > the service is OK or not. Check the "notification criteria" field in > > service configuration file. maybe you've simply told nagios to send msg > > always. > > (But I admit I do not fully understand your problem description here). > > Every 30 minutes, the monitored server sends it's disk status (passive > check) to the central Nagios server. When the output sent or when there > is no output sent (after an hour or two), Nagios will emit a notice. > However, in my case, I get a failure notice and a recovery notice every > hour, as if Nagios would not interpret the output he receives and the > alert me that it's OK after having parsed it. > > The server monitored is an idle server with 85% disk free and it is > always reporting correct disk usage (confirmed by the logs I sent > earlier) but still, Nagios tells me there is no output and then tells me > it's OK. There are a few minutes between the time Nagios receives the > disk status and the time Nagios sends me the warning. As I said, if you use NCSA then I have no clue. I did very little passive monitoring and all what I did was with cgi scrips, not NCSA. My naive advice would be to feed "by hand" simulated response to nagios. (When you run cgi you simply fill a form and submit result). Then you see thether the problem is with script of with nagios. But I have no idea how to do it in NCSA. Tom > > I hope this is clearer, > > Thanks, > ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 15 21:48:35 2009 From: marc at ena.com (Marc Powell) Date: Fri, 15 May 2009 14:48:35 -0500 Subject: Generating availability report in Nagios 3.0.6 In-Reply-To: References: <2a466c210905150546v245b22ecq1d861e367f4a85b5@mail.gmail.com> Message-ID: <74257051-E58A-4710-BCC4-379D1BD7B3B9@ena.com> On May 15, 2009, at 4:46 AM, Paul Corcoran wrote: > Hi, > > I've recently completed a distributed installation of Nagios > consisting of a master server acting as the web front end for Nagios > and 2 slave servers that do all the service checking. > > Currently we are monitoring approx 500 hosts and perform approx 3300 > service checks. > > Nagios performs daily rotation of the logs and they are approx 250MB > in size for each 24 hours period. What in the world are you logging and how volatile is your network? 8500+ services here -- 1.7M nagios-05-10-2009-00.log 1.9M nagios-05-11-2009-00.log 1.9M nagios-05-12-2009-00.log 2.3M nagios-05-13-2009-00.log 2.2M nagios-05-14-2009-00.log 5.6M nagios-05-15-2009-00.log Seems to me that you need to tune down your logging settings... [nagios at noctools etc]$ grep log_ nagios.cfg log_file=/usr/local/nagios/var/nagios.log log_rotation_method=d log_archive_path=/usr/local/nagios/var/archives 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=0 -- Marc ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 15 22:04:23 2009 From: marc at ena.com (Marc Powell) Date: Fri, 15 May 2009 15:04:23 -0500 Subject: Nagios reporting no output when there is output In-Reply-To: <4A0DC287.4090405@ccs.usherbrooke.ca> References: <4A0DAA98.6000107@ccs.usherbrooke.ca> <1242412310.4784.48.camel@localhost.localdomain> <4A0DBD37.4040602@ccs.usherbrooke.ca> <1242414713.4784.56.camel@localhost.localdomain> <4A0DC287.4090405@ccs.usherbrooke.ca> Message-ID: On May 15, 2009, at 2:29 PM, Jean-Michel Philippon-Nadeau wrote: > Thanks for your reply Tom. > I really appreciate that you take a few minutes of your time to help > me > on this one. > > Tom Wlodek wrote: >> You may also check whether you run it by hand as the right user. >> Common >> mistake is to execute plugins or scripts as one user 9say, root) and >> then nagios executes them as another one (say "nagios"). It works for >> user root but not for user nagios. > > The Nagios server does not actively check the disk status of every > monitored server. Each server has a script in it's crontab that checks > the disks and sends the status via NCSA to the main Nagios server. > > Correct me if I'm wrong, but I do not think the user running the > script > on the monitored host can interfere with how the Nagios server will > parse the answer. Am I right? Nagios/NSCA don't parse the answer at all, other than to say '(no output)' when the passive results or plugin execution have no text output. This is most often caused by an error being returned by the plugin. Something is happening, either with the execution of the check_disk plugin, the passing of those results to send_nsca or send_nsca's transmission of those results to nagios. I expect it's one of the first two but you can easily work this issue backwards. Put NSCA into debug mode on the nagios server. Observe the check results coming in. If they are not correct, add debugging output to your script that's executing the plugin and passing the results to send_nsca, have it log to a file, to identify where the breakdown is occurring. That should guide you on how to fix it. You could also capture any error output generated by the plugin to adding '2>&1' to the end of the check_disk line. -- Marc ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 15 22:17:50 2009 From: nccomp at gmail.com (Andrew Davis) Date: Fri, 15 May 2009 16:17:50 -0400 Subject: Odd check_http error In-Reply-To: <4A0DC4F6.6000404@gmail.com> References: <4A0DC4F6.6000404@gmail.com> Message-ID: <4A0DCDEE.1060302@gmail.com> Oddly enough, low-level tests show an HTTP 302, which I expect. But Nagios is offering up a 400 error and a warning: From my workstation, confirming the server is configured correctly: gentoo:~ adavis$ telnet seth 8080 Trying 10.1.1.23... Connected to seth.fl.ad.scripps.edu. Escape character is '^]'. GET /gp HTTP/1.0 Host: seth Accept: */* Connection: Keep-Alive Pragma: no-cache HTTP/1.1 302 Moved Temporarily Server: Apache-Coyote/1.1 Location: http://seth/gp/ Date: Fri, 15 May 2009 20:12:40 GMT Connection: close Connection closed by foreign host. gentoo:~ adavis$ telnet seth 8080 Trying 10.1.1.23... Connected to seth.fl.ad.scripps.edu. Escape character is '^]'. GET /gp/pages/login.jsf HTTP/1.0 Host: seth Accept: */* Connection: Keep-Alive Pragma: no-cache HTTP/1.1 302 Moved Temporarily Server: Apache-Coyote/1.1 Location: http://seth.fl.ad.scripps.edu:80/gp/pages/login.jsf Content-Length: 0 Date: Fri, 15 May 2009 20:13:53 GMT Connection: keep-alive From services.cfg: ## HTTP - alternate port define service { host_name seth service_description HTTP check_command check_http!-p 8080!-u /gp/pages/login.jsf notes http://$HOSTADDRESS$:8080/gp/pages/login.jsf max_check_attempts 3 normal_check_interval 15 retry_check_interval 1 check_period 24x7 notification_interval 120 notification_period 24x7 notification_options w, u, c, r, f, s contact_groups unixadmins action_url /nagios/pnp/index.php?host=$HOSTNAME$&srv=$SERVICEDESC$ } And the result in Nagios: HTTP WARNING: HTTP/1.1 400 No Host matches server name seth 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 Andrew Davis wrote: > I'm seeing the following: > > HTTP WARNING: HTTP/1.1 400 No Host matches server name seth.my.int.domain > > This is what the test looks like in Nagios: > > ## HTTP - alternate port > define service { > host_name seth > service_description HTTP > check_command check_http!-p 8080!-u > /gp/pages/login.jsf > notes > http://$HOSTADDRESS$:8080/gp/pages/login.jsf > max_check_attempts 3 > normal_check_interval 15 > retry_check_interval 1 > check_period 24x7 > notification_interval 120 > notification_period 24x7 > notification_options w, u, c, r, f, s > contact_groups unixadmins > action_url > /nagios/pnp/index.php?host=$HOSTNAME$&srv=$SERVICEDESC$ > } > > Oddly enough, all other tests for this host seem to have no issue at > all with the hostname. The URL also works in a web browser > (http://seth.my.int.domain:8080/gp/pages/login.jsf works correctly). > From the Nagios server, I go hit the URL from lynx and curl w/o issue. > There's proper name resolution (forward and reverse) in place. I'm lost... > -- > > > 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 -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- 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 Sat May 16 04:53:55 2009 From: amontibello at gmail.com (Anthony Montibello) Date: Fri, 15 May 2009 22:53:55 -0400 Subject: Different configurations for backup times In-Reply-To: <8D7FBE84E6014208BB86A6F56D09E4FF@ap872c3fe40484> References: <20090514130739.GG5702@arvo.suso.org> <8D7FBE84E6014208BB86A6F56D09E4FF@ap872c3fe40484> Message-ID: I always use a daily cron script/s to setup Downtime schedual to handle that issue. the flexable downtime, may be better if the hosts always recover within X min while Fixed is better if you know the host will go down at X and e back up at Y http://nagios.sourceforge.net/docs/3_0/downtime.html On Thu, May 14, 2009 at 12:37 PM, Eric Pearce wrote: > 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- 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 Sat May 16 05:23:35 2009 From: amontibello at gmail.com (Anthony Montibello) Date: Fri, 15 May 2009 23:23:35 -0400 Subject: socket timeout after 20 sec In-Reply-To: References: <699b436a0905141202x3e666d85jc59c4e1a59597f89@mail.gmail.com> Message-ID: As Peter pointed out, If the Startup Config port is 12489 then NC_NEt is expecting the request on that port. But the check_nt is specifying 1248. The passive port is not used unless you are using NSCA with nc_net. the default config of NC_NET (if the config file is empty or missing) works on port 1248 and usually fits most check_nt commands. Let us know if the problem persists, tony (author of NC_NEt) On Fri, May 15, 2009 at 3:46 AM, Peter ?stlin wrote: > On Thu, May 14, 2009 at 9:02 PM, 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 > > > > Don't know if that's just a typo but you set port 12489 in startup.cfg > but use 1248 when executing check_nt. > > /Peter > > > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables > unlimited royalty-free distribution of the report engine > for externally facing server and web deployment. > http://p.sf.net/sfu/businessobjects > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- 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 Sat May 16 05:39:03 2009 From: jon at netdork.net (Jon Angliss) Date: Fri, 15 May 2009 22:39:03 -0500 Subject: Odd check_http error References: <4A0DC4F6.6000404@gmail.com> <4A0DCDEE.1060302@gmail.com> Message-ID: On Fri, 15 May 2009 16:17:50 -0400, Andrew Davis wrote: >Oddly enough, low-level tests show an HTTP 302, which I expect. But >Nagios is offering up a 400 error and a warning: > > From my workstation, confirming the server is configured correctly: > > gentoo:~ adavis$ telnet seth 8080 > Trying 10.1.1.23... > Connected to seth.fl.ad.scripps.edu. > Escape character is '^]'. > GET /gp HTTP/1.0 > Host: seth > Accept: */* > Connection: Keep-Alive > Pragma: no-cache Run the check_http as defined in the command definition, appending the -v argument. You'll get to see what the check_http command is executing. I suspect your command definition is incorrect, and you're missing something that is supposed to be triggering the "host" header. [.. snip ..] > > From services.cfg: > > ## HTTP - alternate port > define service { > host_name seth > service_description HTTP > check_command check_http!-p 8080!-u > /gp/pages/login.jsf > notes > http://$HOSTADDRESS$:8080/gp/pages/login.jsf > max_check_attempts 3 > normal_check_interval 15 > retry_check_interval 1 > check_period 24x7 > notification_interval 120 > notification_period 24x7 > notification_options w, u, c, r, f, s > contact_groups unixadmins > action_url > /nagios/pnp/index.php?host=$HOSTNAME$&srv=$SERVICEDESC$ > } Where is your define command? > > >And the result in Nagios: > > HTTP WARNING: HTTP/1.1 400 No Host matches server name seth Hrm... this is odd, looks like you are posting the right host entry (would still like to see the command definition). The host entry for "seth", is the address defined the same as the IP you are getting when you telnet to the name? ie: define host { host_name seth address 10.1.1.23 } -- Jonathan Angliss ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 16 05:51:41 2009 From: jon at netdork.net (Jon Angliss) Date: Fri, 15 May 2009 22:51:41 -0500 Subject: Host vs Service reachability References: <4A0D89BE.1010307@lafayette.edu> Message-ID: <2jds05ds5l61uia59f2sa53dt4kqsqbss4@4ax.com> On Fri, 15 May 2009 11:26:54 -0400, Jason Frisvold wrote: >-----BEGIN PGP SIGNED MESSAGE----- >Hash: SHA1 > >Hi all, > > I'm looking at possibly disabling my service pings and moving over >completely to host checks for reachability. I'm unsure of the exact >mechanics, though, so if someone can help me out, I'd appreciate it. > > So, to start, if a host has no current services, is the host_check >still intermittent? Or does it become an active check at a specific >interval, similar to a service? We have several hosts that we only >check for connectivity as opposed to services, for a variety of reasons. >From my understanding, the changes in v3 make the checks perform better, whilst v2 were done slightly differently. They execute as scheduled based on the check interval. > From what I've read of Nagios 3, it sounds like using host checks is >more efficient. Are there instances, though, where services may show >up, but the host is down? Does the host_check run at specified >intervals, even though service checks don't show a problem? A service may show up, and a host down if the times for checking overlap. For example, a service check every 10 minutes, and host checks every 1 minute. A host check could show the server down, whilst the service check will show it is OK. It can also depend on what you consider for your host check too. For example, if you cannot ping, and you use the check_ping/check_icmp functions, you'll show the host down, but services up. > Is there a compelling reason to not do this? ie, am I inviting a world >of hurt by using host checks vs a service ping? You're actually "inviting a world of hurt" doing it the other way around (service ping over host check). Host checks will help surpress service notifications, as well as help manage network reachability if you use parents (see [1]). Take for example, a host you have FTP, HTTP, and your ping check on. If you the host goes down, the ping service will show down, but FTP, and HTTP tests will also show unreachable, or timeout, causing 3 notifications. If the host check was to be used, you'd get a notification the host was down, rather than 3 to report host issues. You can, of course, work around this with service dependencies, but that complicates your configuration. [1]: http://nagios.sourceforge.net/docs/3_0/networkreachability.html -- Jonathan Angliss ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sat May 16 06:14:50 2009 From: amontibello at gmail.com (Anthony Montibello) Date: Sat, 16 May 2009 00:14:50 -0400 Subject: Nagios reporting no output when there is output In-Reply-To: References: <4A0DAA98.6000107@ccs.usherbrooke.ca> <1242412310.4784.48.camel@localhost.localdomain> <4A0DBD37.4040602@ccs.usherbrooke.ca> <1242414713.4784.56.camel@localhost.localdomain> <4A0DC287.4090405@ccs.usherbrooke.ca> Message-ID: Hi, this may be related to freshness checking. check what your freshness check command is, then test it to see what its output is. IF you have the Hosts reporting every 1/2 hr and nagios freshness testing every 1 hr, that means if one check is accedenly droped before nagios processes it ( this can happen for different reasons) your odds of failing a freshness test drastically increase. this would be noticed if the Hosts check is recieved within a few minutes afte the alert I like to setup freshness checking for 3-5x the check interval so for testing every 1/2 hr, I would freshness check every 2-3 hrs not every 1 hr. TOny On Fri, May 15, 2009 at 4:04 PM, Marc Powell wrote: > > On May 15, 2009, at 2:29 PM, Jean-Michel Philippon-Nadeau wrote: > > > Thanks for your reply Tom. > > I really appreciate that you take a few minutes of your time to help > > me > > on this one. > > > > Tom Wlodek wrote: > >> You may also check whether you run it by hand as the right user. > >> Common > >> mistake is to execute plugins or scripts as one user 9say, root) and > >> then nagios executes them as another one (say "nagios"). It works for > >> user root but not for user nagios. > > > > The Nagios server does not actively check the disk status of every > > monitored server. Each server has a script in it's crontab that checks > > the disks and sends the status via NCSA to the main Nagios server. > > > > Correct me if I'm wrong, but I do not think the user running the > > script > > on the monitored host can interfere with how the Nagios server will > > parse the answer. Am I right? > > Nagios/NSCA don't parse the answer at all, other than to say '(no > output)' when the passive results or plugin execution have no text > output. This is most often caused by an error being returned by the > plugin. > > Something is happening, either with the execution of the check_disk > plugin, the passing of those results to send_nsca or send_nsca's > transmission of those results to nagios. I expect it's one of the > first two but you can easily work this issue backwards. Put NSCA into > debug mode on the nagios server. Observe the check results coming in. > If they are not correct, add debugging output to your script that's > executing the plugin and passing the results to send_nsca, have it log > to a file, to identify where the breakdown is occurring. That should > guide you on how to fix it. > > You could also capture any error output generated by the plugin to > adding '2>&1' to the end of the check_disk line. > > -- > Marc > > > > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables > unlimited royalty-free distribution of the report engine > for externally facing server and web deployment. > http://p.sf.net/sfu/businessobjects > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- 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 nagiosusers at edcint.co.nz Sat May 16 09:02:04 2009 From: nagiosusers at edcint.co.nz (Matthew Jurgens) Date: Sat, 16 May 2009 17:02:04 +1000 Subject: Different configurations for backup times In-Reply-To: References: <20090514130739.GG5702@arvo.suso.org> <8D7FBE84E6014208BB86A6F56D09E4FF@ap872c3fe40484> Message-ID: <4A0E64EC.8060407@edcint.co.nz> Anthony Montibello wrote: > I always use a daily cron script/s to setup Downtime schedual to > handle that issue. > the flexable downtime, may be better if the hosts always recover > within X min while Fixed is better if you know the host will go down > at X and e back up at Y > > http://nagios.sourceforge.net/docs/3_0/downtime.html > Here is a script that I use that schedules downtime for a host/service You could run it out of your backup pre-script Modify it for your needs #!/bin/bash # # This script is used to submit downtime to Nagios # see the usage function for info on how to use it . /opt/maj/standard #================================ CONFIG ===================================== # location of nagios config file nagios_cfg=/etc/nagios/nagios.cfg echocmd="/bin/echo" # get the current date/time in seconds since UNIX epoch datetime=`date +%s` author="$0" #--------------------------------- AUTO CONFIG ------------------------------- # you should not need to change this # get the name of the nagios command file nagios_cmd=`awk -F= '/^command_file/ {print $2}' $nagios_cfg` if [ ! -p "$nagios_cmd" ]; then echo "Got Nagios CMD file as \"$nagios_cmd\" and it is not a valid command file" exit 1 fi #================================ FUNCTIONS ===================================== #-------------------------------------------------------------------------------- usage () { cat << EOT Usage: $0 -h HOST -s SERVICENAME -c COMMENT -a "STARTTIME" -b "ENDTIME" where HOST is the name of the host that this downtime is for SERVICENAME is the name of the service that this downtime is for This is optional. If excluded we schedule downtime for the host COMMENT is the comment associated with the downtime STARTTIME format is the same as accepted by the date --date=STRING command eg "now", "+30 minutes", "6 months 15 day", "2007-09-01 16:00:00" ENDTIME as for STARTTIME EOT exit 1 } #-------------------------------------------------------------------------------- write_to_cmd_file () { # create the command line to add to the command file # sample format: # SCHEDULE_SVC_DOWNTIME;mail.optusnet.com.au;SMTP;1188879530;1188880130;1;0;7200;Matthew Jurgens;COMMENT # if $servicename is set it will supply its own ; cmdline="\[$datetime\] $downtime_cmd;$host;$servicename$starttime_sec;$endtime_sec;1;0;$duration;$author;$comment" # append the command to the end of the command file `$echocmd $cmdline >> $nagios_cmd` } #-------------------------------------------------------------------------------- #-------------------------------------------------------------------------------- #-------------------------------------------------------------------------------- #-------------------------------------------------------------------------------- #================================ MAIN ===================================== # ---------- GET Options [ $# -ge 1 ] || usage # Check for options while getopts h:s:c:a:b: OPT do case $OPT in h) host=$OPTARG ;; s) servicename=$OPTARG ;; c) comment=$OPTARG ;; a) starttime=$OPTARG ;; b) endtime=$OPTARG ;; *) usage ;; esac done shift `expr $OPTIND - 1` if [ -z "$host" -o -z "$comment" -o -z "$starttime" -o -z "$endtime" ]; then usage fi if [ -z "$servicename" ]; then # we schedule downtime for the host downtime_cmd="SCHEDULE_AND_PROPAGATE_TRIGGERED_HOST_DOWNTIME" else # we schedule downtime for the service downtime_cmd="SCHEDULE_SVC_DOWNTIME" # add a ; to the end of the servicename so that it fits the correct syntax servicename="$servicename;" fi # convert starttime and endtime to seconds starttime_sec=`date --date="$starttime" +'%s'` endtime_sec=`date --date="$endtime" +'%s'` if [ "$starttime_sec" -a "$endtime_sec" ]; then # work out the duration let duration=endtime_sec-starttime_sec write_to_cmd_file else echo "ERROR:Starttime or Endtime date format not correct" fi -- Smartmon System Monitoring www.smartmon.com.au -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- 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 nagiosusers at edcint.co.nz Sat May 16 09:10:04 2009 From: nagiosusers at edcint.co.nz (Matthew Jurgens) Date: Sat, 16 May 2009 17:10:04 +1000 Subject: Publishing service groups etc In-Reply-To: <90082.37627.qm@web58105.mail.re3.yahoo.com> References: <90082.37627.qm@web58105.mail.re3.yahoo.com> Message-ID: <4A0E66CC.70709@edcint.co.nz> gubbu gubbu wrote: > > b) Have a publishable link without password so people can view it > > One way to achieve this might be to use Nagios Looking Glass http://www.monitoringexchange.org/cgi-bin/page.cgi?g=Detailed%2F2292.html;d=1 -- Smartmon System Monitoring www.smartmon.com.au -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- 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 nagiosusers at edcint.co.nz Sat May 16 09:11:58 2009 From: nagiosusers at edcint.co.nz (Matthew Jurgens) Date: Sat, 16 May 2009 17:11:58 +1000 Subject: Customizing the links section: In-Reply-To: <796397.57519.qm@web58104.mail.re3.yahoo.com> References: <796397.57519.qm@web58104.mail.re3.yahoo.com> Message-ID: <4A0E673E.5000008@edcint.co.nz> gubbu gubbu wrote: > Nevermind ...its in the share directory Be careful as when you upgrade you may overwrite your changes -- Smartmon System Monitoring www.smartmon.com.au -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- 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 nagiosusers at edcint.co.nz Sat May 16 09:02:57 2009 From: nagiosusers at edcint.co.nz (Matthew Jurgens) Date: Sat, 16 May 2009 17:02:57 +1000 Subject: [Fwd: Re: Dependency help] Message-ID: <4A0E6521.5040406@edcint.co.nz> Matt Nelson wrote: > > Any help is greatly appreciated, > Here's some dependencies that I've setup Here's how the setup is User --> Dansguardian --> Squid --> Internet So, Dansguardian relies on Squid Proxy Both are running on the same host, gw The Nagios definitions I use for this dependency are: define servicedependency { name std_dependency execution_failure_criteria w,c,p,u notification_failure_criteria w,c,p,u inherits_parent 1 register 0 } define servicedependency { use std_dependency dependent_host_name gw dependent_service_description Dansguardian Process host_name gw service_description Squid Process } define servicedependency { use std_dependency dependent_host_name gw dependent_service_description Dansguardian host_name gw service_description Squid } -- Smartmon System Monitoring www.smartmon.com.au -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- 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 nagiosusers at edcint.co.nz Sat May 16 09:17:59 2009 From: nagiosusers at edcint.co.nz (Matthew Jurgens) Date: Sat, 16 May 2009 17:17:59 +1000 Subject: Multiple customers In-Reply-To: <494F355B.3080904@vanderkooij.org> References: <494F355B.3080904@vanderkooij.org> Message-ID: <4A0E68A7.3000209@edcint.co.nz> Hugo van der Kooij wrote: > With nagios you could install a local server for each customer where the > objects will have local addresses for the hosts. And let each local > instance report to a global server. But then you must make sure that the > hostnames will remain unique on a global level. > Hugo is onto something there. This is exactly how we do it. We deploy a Nagios instance for each customer. The remote Nagios instance is configured on our central server and the remote server drives all of the notifications/alerting etc Our web site explains it in more detail www.smartmon.com.au -- Smartmon System Monitoring www.smartmon.com.au -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- 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 Edgar.Matzinger at valid.nl Sat May 16 13:10:41 2009 From: Edgar.Matzinger at valid.nl (Edgar Matzinger) Date: Sat, 16 May 2009 13:10:41 +0200 Subject: Multiple customers In-Reply-To: <4A0E68A7.3000209@edcint.co.nz> References: <494F355B.3080904@vanderkooij.org> <4A0E68A7.3000209@edcint.co.nz> Message-ID: LS, Matthew scribbled on 2009-05-16: > Hugo van der Kooij wrote: > > With nagios you could install a local server for each customer where > the objects will have local addresses for the hosts. And let each local > instance report to a global server. But then you must make sure that > the hostnames will remain unique on a global level. > > Hugo is onto something there. > > This is exactly how we do it. > We deploy a Nagios instance for each customer. The remote Nagios > instance is configured on our central server and the remote server > drives all of the notifications/alerting etc yes, so do we at Valid. We just add @ after each hostname in nagios. E.g. host1 at abc. HTH, cu l8r, Edgar. -- |\ /| : : Addr: Valid Eindhoven B.V. / | \/ | : Edgar R. Matzinger : t.a.v. E.R. Matzinger / | | : : Paradijslaan 36 \ /| /\| : : 5611 KN Eindhoven \/ / \ : Valid Eindhoven BV : \ /\ / : : \/ |\/ : : | : : Disclaimer: Any comments, opinions made are mine, etc ... ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rpnabar at gmail.com Sun May 17 00:36:43 2009 From: rpnabar at gmail.com (Rahul Nabar) Date: Sat, 16 May 2009 17:36:43 -0500 Subject: cannot make comments under nagios after server crash. nagios.cmd missing Message-ID: I recently had a server crash. I recovered and restarted nagios manually but now I seem to have lost the ability to make comments on hosts. If I try I get the error message: Error: Could not stat() command file '/usr/local/nagios/var/rw/nagios.cmd'! The external command file may be missing, Nagios may not be running, and/or Nagios may not be checking external commands. An error occurred while attempting to commit your command for processing. That file is indeed missing. Running a "locate nagios.cmd" though shows the file at that location so it must have been there before the crash. Do I need to restart something? What am I missing. The older comments are intact though. It is just that I cannot make new comments. -- Rahul ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sun May 17 05:33:51 2009 From: subscription at kkeane.com (Kevin Keane) Date: Sat, 16 May 2009 20:33:51 -0700 Subject: cannot make comments under nagios after server crash. nagios.cmd missing In-Reply-To: References: Message-ID: <4A0F859F.9020809@kkeane.com> Try restarting Nagios. nagios.cmd is actually not a file, but a socket. It is very important, not just for comments, but for a lot of other things, too. It should get deleted when you stop nagios, and recreated when you start it. Apparently, when you restarted nagios "manually" somehow that step got bypassed. Rahul Nabar wrote: > I recently had a server crash. I recovered and restarted nagios > manually but now I seem to have lost the ability to make comments on > hosts. If I try I get the error message: > > Error: Could not stat() command file '/usr/local/nagios/var/rw/nagios.cmd'! > The external command file may be missing, Nagios may not be running, > and/or Nagios may not be checking external commands. > An error occurred while attempting to commit your command for processing. > > > That file is indeed missing. Running a "locate nagios.cmd" though > shows the file at that location so it must have been there before the > crash. > > Do I need to restart something? What am I missing. > > The older comments are intact though. It is just that I cannot make > new comments. > > -- 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. ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sun May 17 11:29:04 2009 From: nttbroken at gmail.com (ntt broken) Date: Sun, 17 May 2009 12:29:04 +0300 Subject: Monitoring Checkpoint FW without SNMP. Message-ID: I want to monitor a check point FW using Nagios. There's a plugin for monitoring Check Point FW: http://nagios.manubulon.com/snmp_cpfw.html but I want something that works without SNMP and with OPSEC: http://www.opsec.com/ plus if you have other ideas of monitoring Check points FW without SNMP using Nagios. Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- 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 dongsheng.song at gmail.com Mon May 18 07:55:39 2009 From: dongsheng.song at gmail.com (Dongsheng Song) Date: Mon, 18 May 2009 13:55:39 +0800 Subject: What's the available micro in notify-*-by-email command ? Message-ID: <4b3406f0905172255t74004c29ne4dea83a87a86c49@mail.gmail.com> Hello, according to 'Standard Macros in Nagios' page[1], LONGHOSTOUTPUT and HOSTPERFDATA can be used in notify-host-by-email command, LONGSERVICEOUTPUT and SERVICEPERFDATA can be used in notify-service-by-email command. But in my notify email, these macros expand to empty. I use debian 5.0: % dpkg -l | grep nagios [09-05-18 13:52:17] ii nagios-images 0.4 Collection of images and icons for the nagio ii nagios-nrpe-plugin 2.12-1 Nagios Remote Plugin Executor Plugin ii nagios-nrpe-server 2.12-1 Nagios Remote Plugin Executor Server ii nagios-plugins 1.4.12-5 Plugins for the nagios network monitoring an ii nagios-plugins-basic 1.4.12-5 Plugins for the nagios network monitoring an ii nagios-plugins-standard 1.4.12-5 Plugins for the nagios network monitoring an ii nagios3 3.0.6-3 A host/service/network monitoring and manage ii nagios3-common 3.0.6-3 support files for nagios3 ii nagios3-doc 3.0.6-3 documentation for nagios3 Here is command definition: # 'notify-host-by-email' command definition define command{ command_name notify-host-by-email command_line /usr/bin/printf "%b" "Notification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nSt ate: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nDate/Time: $LONGDATETIME$\n\nHost output: $LONGHOSTOUTPUT$\nHos t perf data: $HOSTPERFDATA$\n" | /usr/bin/mail -s "$NOTIFICATIONTYPE$ Host Alert: $HOSTNAME$ is $HOSTSTAT E$" $CONTACTEMAIL$ } # 'notify-service-by-email' command definition define command{ command_name notify-service-by-email command_line /usr/bin/printf "%b" "Notification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICED ESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\nDate/Time: $LONGDATETIME$\n\nServ ice Output:\n$LONGSERVICEOUTPUT$\n\nService perf data:\n$SERVICEPERFDATA$\n" | /usr/bin/mail -s "$NOTIFIC ATIONTYPE$ Service Alert: $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$" $CONTACTEMAIL$ } http://nagios.sourceforge.net/docs/3_0/macrolist.html Thanks for some help, -- Dongsheng Song ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.corcoran.mlist at gmail.com Mon May 18 10:53:32 2009 From: paul.corcoran.mlist at gmail.com (Paul Corcoran) Date: Mon, 18 May 2009 09:53:32 +0100 Subject: Generating availability report in Nagios 3.0.6 In-Reply-To: <74257051-E58A-4710-BCC4-379D1BD7B3B9@ena.com> References: <2a466c210905150546v245b22ecq1d861e367f4a85b5@mail.gmail.com> <74257051-E58A-4710-BCC4-379D1BD7B3B9@ena.com> Message-ID: <2a466c210905180153j57492de4q560395821c3e65fc@mail.gmail.com> Thanks for the replies. Looking through nagios.cfg it seems that Nagios is logging ALL passive checks. Will setting this value to 0 still allow us to get meaningful availability reports? Thanks, Paul 2009/5/15 Marc Powell > > On May 15, 2009, at 4:46 AM, Paul Corcoran wrote: > > > Hi, > > > > I've recently completed a distributed installation of Nagios > > consisting of a master server acting as the web front end for Nagios > > and 2 slave servers that do all the service checking. > > > > Currently we are monitoring approx 500 hosts and perform approx 3300 > > service checks. > > > > Nagios performs daily rotation of the logs and they are approx 250MB > > in size for each 24 hours period. > > > What in the world are you logging and how volatile is your network? > 8500+ services here -- > > 1.7M nagios-05-10-2009-00.log > 1.9M nagios-05-11-2009-00.log > 1.9M nagios-05-12-2009-00.log > 2.3M nagios-05-13-2009-00.log > 2.2M nagios-05-14-2009-00.log > 5.6M nagios-05-15-2009-00.log > > Seems to me that you need to tune down your logging settings... > > [nagios at noctools etc]$ grep log_ nagios.cfg > log_file=/usr/local/nagios/var/nagios.log > log_rotation_method=d > log_archive_path=/usr/local/nagios/var/archives > 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=0 > > > > -- > Marc > > > > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables > unlimited royalty-free distribution of the report engine > for externally facing server and web deployment. > http://p.sf.net/sfu/businessobjects > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- 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 Mon May 18 16:05:45 2009 From: nccomp at gmail.com (Andrew Davis) Date: Mon, 18 May 2009 10:05:45 -0400 Subject: Both hostgroup_name and host_name in services.cfg Message-ID: <4A116B39.9040000@gmail.com> If I want to use the same test(s) for a hostgroup and an individual host, am I able to define both in the same entry? Example: define service { * hostgroup_name building-mgmt-servers host_name other_server* service_description NSClient check_command check_nt!CLIENTVERSION max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 check_period 24x7 notification_interval 120 notification_period 24x7 notification_options w, u, c, r, f, s contact_groups bldg-mgmt-staff } -- 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 -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- 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 Mon May 18 16:28:36 2009 From: ae at op5.se (Andreas Ericsson) Date: Mon, 18 May 2009 16:28:36 +0200 Subject: Both hostgroup_name and host_name in services.cfg In-Reply-To: <4A116B39.9040000@gmail.com> References: <4A116B39.9040000@gmail.com> Message-ID: <4A117094.6080102@op5.se> Andrew Davis wrote: > If I want to use the same test(s) for a hostgroup and an individual > host, am I able to define both in the same entry? > This falls into the "try-and-find-out" category of questions. It would have been faster for you to do that than it was sending an email and awaiting the response. -- 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. ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mariog at absi.be Mon May 18 15:46:07 2009 From: mariog at absi.be (mariog at absi.be) Date: Mon, 18 May 2009 15:46:07 +0200 Subject: random nrpe socket timeout Message-ID: hello i have troubles in our infrastructure with nrpe giving critical alerts when the nrpe socket timeout. this happens randomly from time to time in several servers. i really have no clue what is the cause, the service is up between two minutes, but the alerts causes sms to be sent for 'falses alarms' as there is nothing wrong with the servers just the nrpe plugin that for a few instants cannot contact the server. is there a way to troubleshoot this? which side should it be troubleshooted? server side or client side. nagios.log doesn't give many info: just : disk_root;CRITICAL;notify-by-email;CHECK_NRPE: Socket timeout after 10 seconds. of course sms are not free and we want to find a way to avoid this? is this a network problem? and not linked with nrpe? nrpe runs already in debug mode. thank you in advance Mario G. Mario Garcia Ortiz/ABSI _ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- 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 Mon May 18 16:51:21 2009 From: nccomp at gmail.com (Andrew Davis) Date: Mon, 18 May 2009 10:51:21 -0400 Subject: Both hostgroup_name and host_name in services.cfg In-Reply-To: <4A117094.6080102@op5.se> References: <4A116B39.9040000@gmail.com> <4A117094.6080102@op5.se> Message-ID: <4A1175E9.5020503@gmail.com> Well, yes and no. The checks of the config files didn't show any errors, but that doesn't mean the developers accounted for the situation and that I won't see any anomalies as a result. I was hoping that another user might've had some experience with it... something like "hey I tried this and it broke that" or "no problems here, go for it". That's what lists like this are for. I already RTFM'd and its not mentioned. Hence why I asked the list. And as for it being faster to try than to wait... not sure about you, but my Nagios server is considered a production system. Thus, for me it pays to wait for a response and play it safe than to rush ahead and potentially break something... few people in IT ever muck things up by waiting for good input, but quite a few have screwed stuff up by jumping ahead without enough information. FWIW: I have gone ahead and tried it and it does appear to work, though I'll have to wait to see if any issues result. Thanks for taking the time to write an answer that didn't provide any input on the actual question I posed. 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 Andreas Ericsson wrote: > Andrew Davis wrote: >> If I want to use the same test(s) for a hostgroup and an individual >> host, am I able to define both in the same entry? >> > > This falls into the "try-and-find-out" category of questions. It would > have been faster for you to do that than it was sending an email and > awaiting the response. > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- 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 melanie_pfefer at yahoo.co.uk Mon May 18 16:51:57 2009 From: melanie_pfefer at yahoo.co.uk (Melanie Pfefer) Date: Mon, 18 May 2009 14:51:57 +0000 (GMT) Subject: memory on windows Message-ID: <245496.18032.qm@web26206.mail.ukl.yahoo.com> hi I have a windows 2003 and want to monitor its memory usage can you please pass me the plugin that can notify me if memory usage reached X GB? thank you ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon May 18 17:00:29 2009 From: frank.bourdeau at dga.defense.gouv.fr (frank.bourdeau at dga.defense.gouv.fr) Date: Mon, 18 May 2009 17:00:29 +0200 Subject: RE [spam?] memory on windows In-Reply-To: <245496.18032.qm@web26206.mail.ukl.yahoo.com> References: <245496.18032.qm@web26206.mail.ukl.yahoo.com> Message-ID: Hi Melanie, NSCLIENT++ is the Nagios client for Windows 2003, 2000, 2008. You can download it at http://nsclient++.org/nscp/. Follow the documentation on the web site. [ENVOYE PAR INTERNET] frank.bourdeau at dga.defense.gouv.fr Melanie Pfefer 18/05/2009 16:51 A nagiosplug-help at lists.sourceforge.net cc nagios-users at lists.sourceforge.net Objet [spam?] [Nagios-users] memory on windows hi I have a windows 2003 and want to monitor its memory usage can you please pass me the plugin that can notify me if memory usage reached X GB? thank you ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- 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 melanie_pfefer at yahoo.co.uk Mon May 18 17:14:55 2009 From: melanie_pfefer at yahoo.co.uk (Melanie Pfefer) Date: Mon, 18 May 2009 15:14:55 +0000 (GMT) Subject: RE [spam?] memory on windows Message-ID: <162397.82443.qm@web26208.mail.ukl.yahoo.com> maybe I was not clear enough I need to use snmp thanks --- On Mon, 18/5/09, frank.bourdeau at dga.defense.gouv.fr wrote: > From: frank.bourdeau at dga.defense.gouv.fr > Subject: RE [spam?] [Nagios-users] memory on windows > To: "Melanie Pfefer" > Cc: nagios-users at lists.sourceforge.net > Date: Monday, 18 May, 2009, 6:00 PM > > > Hi Melanie, > > > > NSCLIENT++ is the Nagios > client for > Windows 2003, 2000, 2008. You can download it at > http://nsclient++.org/nscp/. > Follow the documentation on the web site. > > > > [ENVOYE PAR INTERNET] > > > > > > frank.bourdeau at dga.defense.gouv.fr > > > > > > > > > Melanie > Pfefer > > 18/05/2009 16:51 > > > > > A > nagiosplug-help at lists.sourceforge.net > > > cc > nagios-users at lists.sourceforge.net > > > Objet > [spam?] [Nagios-users] > memory on windows > > > > > > > > > > > > > > > > hi > > > > I have a windows 2003 and want to monitor its memory usage > > > > can you please pass me the plugin that can notify me if > memory usage reached > X GB? > > > > thank you > > > > > > ? ? ? > > > > ------------------------------------------------------------------------------ > > Crystal Reports - New Free Runtime and 30 Day Trial > > Check out the new simplified licensing option that enables > > > unlimited royalty-free distribution of the report engine > > for externally facing server and web deployment. > > http://p.sf.net/sfu/businessobjects > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and > OS when reporting > any issue. > > ::: Messages without supporting info will risk being sent > to /dev/null > > > > ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 18 17:30:54 2009 From: nccomp at gmail.com (Andrew Davis) Date: Mon, 18 May 2009 11:30:54 -0400 Subject: RE [spam?] memory on windows In-Reply-To: References: Message-ID: <4A117F2E.9020900@gmail.com> That's not the NSClient++ URL. In fact, you can't put a "+" in a URL. :) The URL is http://nsclient.org/nscp/, though the OP5 guys have it as well and with a few modifications... http://www.op5.com/support/downloads/agents/op5-nsclientpp 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 frank.bourdeau at dga.defense.gouv.fr wrote: > > Hi Melanie, > > NSCLIENT++ is the Nagios client for Windows 2003, 2000, 2008. You can > download it at *http://nsclient++.org/nscp/*. Follow the documentation > on the web site. > > [ENVOYE PAR INTERNET] > > > frank.bourdeau at dga.defense.gouv.fr > > > *Melanie Pfefer * > > 18/05/2009 16:51 > > > A > nagiosplug-help at lists.sourceforge.net > cc > nagios-users at lists.sourceforge.net > Objet > [spam?] [Nagios-users] memory on windows > > > > > > > > > > > hi > > I have a windows 2003 and want to monitor its memory usage > > can you please pass me the plugin that can notify me if memory usage > reached X GB? > > thank you > > > > > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables > unlimited royalty-free distribution of the report engine > for externally facing server and web deployment. > http://p.sf.net/sfu/businessobjects > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables > unlimited royalty-free distribution of the report engine > for externally facing server and web deployment. > http://p.sf.net/sfu/businessobjects > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- 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 Mon May 18 17:39:26 2009 From: jpratt at norwich.edu (James Pratt) Date: Mon, 18 May 2009 11:39:26 -0400 Subject: RE [spam?] memory on windows In-Reply-To: <162397.82443.qm@web26208.mail.ukl.yahoo.com> References: <162397.82443.qm@web26208.mail.ukl.yahoo.com> Message-ID: <8147CCE3C4A8764DA9980125EE70E823CBEAD4@nuexchg.norwich.edu> http://nagios.manubulon.com/ -----Original Message----- From: Melanie Pfefer [mailto:melanie_pfefer at yahoo.co.uk] Sent: Monday, May 18, 2009 11:15 AM To: frank.bourdeau at dga.defense.gouv.fr Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] RE [spam?] memory on windows maybe I was not clear enough I need to use snmp thanks --- On Mon, 18/5/09, frank.bourdeau at dga.defense.gouv.fr wrote: > From: frank.bourdeau at dga.defense.gouv.fr > Subject: RE [spam?] [Nagios-users] memory on windows > To: "Melanie Pfefer" > Cc: nagios-users at lists.sourceforge.net > Date: Monday, 18 May, 2009, 6:00 PM > > > Hi Melanie, > > > > NSCLIENT++ is the Nagios > client for > Windows 2003, 2000, 2008. You can download it at > http://nsclient++.org/nscp/. > Follow the documentation on the web site. > > > > [ENVOYE PAR INTERNET] > > > > > > frank.bourdeau at dga.defense.gouv.fr > > > > > > > > > Melanie > Pfefer > > 18/05/2009 16:51 > > > > > A > nagiosplug-help at lists.sourceforge.net > > > cc > nagios-users at lists.sourceforge.net > > > Objet > [spam?] [Nagios-users] > memory on windows > > > > > > > > > > > > > > > > hi > > > > I have a windows 2003 and want to monitor its memory usage > > > > can you please pass me the plugin that can notify me if > memory usage reached > X GB? > > > > thank you > > > > > > ? ? ? > > > > ------------------------------------------------------------------------------ > > Crystal Reports - New Free Runtime and 30 Day Trial > > Check out the new simplified licensing option that enables > > > unlimited royalty-free distribution of the report engine > > for externally facing server and web deployment. > > http://p.sf.net/sfu/businessobjects > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and > OS when reporting > any issue. > > ::: Messages without supporting info will risk being sent > to /dev/null > > > > ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 18 17:55:54 2009 From: marc at ena.com (Marc Powell) Date: Mon, 18 May 2009 10:55:54 -0500 Subject: Both hostgroup_name and host_name in services.cfg In-Reply-To: <4A1175E9.5020503@gmail.com> References: <4A116B39.9040000@gmail.com> <4A117094.6080102@op5.se> <4A1175E9.5020503@gmail.com> Message-ID: <56779FED-4CC3-417A-8854-481F6F4E662E@ena.com> On May 18, 2009, at 9:51 AM, Andrew Davis wrote: > Well, yes and no. The checks of the config files didn't show any > errors, but that doesn't mean the developers accounted for the > situation and that I won't see any anomalies as a result. You'd be able to see the services assigned to the hosts so that's a strong indicator it's good. In any event -- http://nagios.sourceforge.net/docs/3_0/objecttricks.html#service - Fourth example. -- Marc ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon May 18 18:06:08 2009 From: perldork at webwizarddesign.com (Max) Date: Mon, 18 May 2009 12:06:08 -0400 Subject: Both hostgroup_name and host_name in services.cfg In-Reply-To: <4A1175E9.5020503@gmail.com> References: <4A116B39.9040000@gmail.com> <4A117094.6080102@op5.se> <4A1175E9.5020503@gmail.com> Message-ID: On Mon, May 18, 2009 at 10:51 AM, Andrew Davis wrote: > Well, yes and no. The checks of the config files didn't show any errors, but > that doesn't mean the developers accounted for the situation and that I > won't see any anomalies as a result. I was hoping that another user might've > had some experience with it... something like "hey I tried this and it broke > that" or "no problems here, go for it". That's what lists like this are for. > I already RTFM'd and its not mentioned. Hence why I asked the list. And as > for it being faster to try than to wait... not sure about you, but my Nagios > server is considered a production system. Thus, for me it pays to wait for a > response and play it safe than to rush ahead and potentially break > something... few people in IT ever muck things up by waiting for good input, > but quite a few have screwed stuff up by jumping ahead without enough > information. > > FWIW: I have gone ahead and tried it and it does appear to work, though I'll > have to wait to see if any issues result. > > Thanks for taking the time to write an answer that didn't provide any input > on the actual question I posed. Great idea to always have a lab system around if you are using Nagios in a production environment, we keep a dev and test environment available just for this purpose, so we can break, test, etc, as needed. You can even use VMWare or Cygwin for this purpose. Should have been no waiting at all here for your answer, and your question was poorly worded , you gave no indication that you were a one env shop or anything of the like ... so it came off as laziness. While in the past there have been many times where I did not care at all for Andreas' behavior on the lists, it seems recently he has really changed his approach, and I think his answer was perfectly appropriate and it was even polite to boot. - Max ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 18 18:12:56 2009 From: nccomp at gmail.com (Andrew Davis) Date: Mon, 18 May 2009 12:12:56 -0400 Subject: Both hostgroup_name and host_name in services.cfg In-Reply-To: <56779FED-4CC3-417A-8854-481F6F4E662E@ena.com> References: <4A116B39.9040000@gmail.com> <4A117094.6080102@op5.se> <4A1175E9.5020503@gmail.com> <56779FED-4CC3-417A-8854-481F6F4E662E@ena.com> Message-ID: <4A118908.2070400@gmail.com> That's a good idea. Thanks. I hadn't really thought of defining a group, then excluding certain hosts. 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 18, 2009, at 9:51 AM, Andrew Davis wrote: > > >> Well, yes and no. The checks of the config files didn't show any >> errors, but that doesn't mean the developers accounted for the >> situation and that I won't see any anomalies as a result. >> > > You'd be able to see the services assigned to the hosts so that's a > strong indicator it's good. > > In any event -- > > http://nagios.sourceforge.net/docs/3_0/objecttricks.html#service - > Fourth example. > > -- > Marc > > > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables > unlimited royalty-free distribution of the report engine > for externally facing server and web deployment. > http://p.sf.net/sfu/businessobjects > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- 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 18 18:31:11 2009 From: marc at ena.com (Marc Powell) Date: Mon, 18 May 2009 11:31:11 -0500 Subject: Both hostgroup_name and host_name in services.cfg In-Reply-To: <4A118908.2070400@gmail.com> References: <4A118908.2070400@gmail.com> Message-ID: > -----Original Message----- > From: Andrew Davis [mailto:nccomp at gmail.com] > Sent: Monday, May 18, 2009 11:13 AM > To: Nagios Users > Subject: Re: [Nagios-users] Both hostgroup_name and host_name in services.cfg > > That's a good idea. Thanks. I hadn't really thought of defining a group, then > excluding certain hosts. Well, the point was that the example shows just what you were asking about; using host_name and hostgroup_name in the same service{} definition. The exclusions are just icing on the cake. -- Marc ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 18 18:44:49 2009 From: marc at ena.com (Marc Powell) Date: Mon, 18 May 2009 11:44:49 -0500 Subject: Generating availability report in Nagios 3.0.6 In-Reply-To: <2a466c210905180153j57492de4q560395821c3e65fc@mail.gmail.com> References: <2a466c210905180153j57492de4q560395821c3e65fc@mail.gmail.com> Message-ID: > -----Original Message----- > From: Paul Corcoran [mailto:paul.corcoran.mlist at gmail.com] > Sent: Monday, May 18, 2009 3:54 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Generating availability report in Nagios 3.0.6 > > Thanks for the replies. > > Looking through nagios.cfg it seems that Nagios is logging ALL passive checks. > > Will setting this value to 0 still allow us to get meaningful availability > reports? Absolutely. Nagios doesn't use those log entries for anything. They're for human consumption only. You can use inline perl or sed to remove those from existing logs to slim them down as well. Sanity dictates you make a backup of those files first though. -- Marc ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon May 18 19:25:44 2009 From: frisvolj at lafayette.edu (Jason Frisvold) Date: Mon, 18 May 2009 13:25:44 -0400 Subject: Host vs Service reachability In-Reply-To: <2jds05ds5l61uia59f2sa53dt4kqsqbss4@4ax.com> References: <4A0D89BE.1010307@lafayette.edu> <2jds05ds5l61uia59f2sa53dt4kqsqbss4@4ax.com> Message-ID: <4A119A18.1020404@lafayette.edu> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Jon Angliss wrote: > You're actually "inviting a world of hurt" doing it the other way > around (service ping over host check). Host checks will help surpress > service notifications, as well as help manage network reachability if > you use parents (see [1]). Take for example, a host you have FTP, > HTTP, and your ping check on. If you the host goes down, the ping > service will show down, but FTP, and HTTP tests will also show > unreachable, or timeout, causing 3 notifications. If the host check > was to be used, you'd get a notification the host was down, rather > than 3 to report host issues. You can, of course, work around this > with service dependencies, but that complicates your configuration. Excellent. This is pretty much what I gathered from various sources, but I just wanted to make sure. Thanks! - -- - --------------------------- 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 iEYEARECAAYFAkoRmhgACgkQO80o6DJ8Uvk6GQCdFUeiXP/UiDgc1x0Oy0zAnYUT qPMAmgO182D64vaqHqZ8L2Il3FJwHDpm =Hgpf -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 18 19:37:22 2009 From: nccomp at gmail.com (Andrew Davis) Date: Mon, 18 May 2009 13:37:22 -0400 Subject: OID's missing for check_snmp_cpfw.pl Message-ID: <4A119CD2.4080504@gmail.com> I'm trying to make use of check_snmp_cpfw.pl against a pair of redundant CP firewalls. For any test I try, I see: cannot find oids / CPFW Status : CRITICAL I've verified all the perl stuff including Net::SNMP and Getopt::Long ./check_snmp_cpfw.pl -H 10.1.1.250 -C obfuscated -swm FW : cannot find oids / SVN : cannot find oids / MGMT : cannot find oids / CPFW Status : CRITICAL it appears from the website that the script was last updated on 2007. We're running IP250's with the latest Firewall-1 s/w. Perhaps the script is too old for our h/w or s/w? I'm thinking that maybe the script only works on FW1 on local UNIX servers? But since its going over SNMP over the network, I'm sort of doubting this. Has anyone else experienced this? Any solution? Is anyone else using the latest, greatest FW-1 s/w on an IP250 and this script works for them? -- 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 -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- 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 Mon May 18 20:31:09 2009 From: nccomp at gmail.com (Andrew Davis) Date: Mon, 18 May 2009 14:31:09 -0400 Subject: Odd check_http error In-Reply-To: References: <4A0DC4F6.6000404@gmail.com> <4A0DCDEE.1060302@gmail.com> Message-ID: <4A11A96D.50603@gmail.com> You were correct. My check command showed: # 'check_http' command definition define command{ command_name check_http command_line $USER1$/check_http -I $HOSTADDRESS$ $ARG1$ } But my test was passing two arguments (-p and -u). Once I updated the test to use $HOSTADDRESS$ $ARG1$ $ARG2$ all worked immediately. Thanks for the help. :) 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 Jon Angliss wrote: > On Fri, 15 May 2009 16:17:50 -0400, Andrew Davis > wrote: > > >> Oddly enough, low-level tests show an HTTP 302, which I expect. But >> Nagios is offering up a 400 error and a warning: >> >> From my workstation, confirming the server is configured correctly: >> >> gentoo:~ adavis$ telnet seth 8080 >> Trying 10.1.1.23... >> Connected to seth.fl.ad.scripps.edu. >> Escape character is '^]'. >> GET /gp HTTP/1.0 >> Host: seth >> Accept: */* >> Connection: Keep-Alive >> Pragma: no-cache >> > > Run the check_http as defined in the command definition, appending the > -v argument. You'll get to see what the check_http command is > executing. I suspect your command definition is incorrect, and you're > missing something that is supposed to be triggering the "host" header. > > [.. snip ..] > > >> From services.cfg: >> >> ## HTTP - alternate port >> define service { >> host_name seth >> service_description HTTP >> check_command check_http!-p 8080!-u >> /gp/pages/login.jsf >> notes >> http://$HOSTADDRESS$:8080/gp/pages/login.jsf >> max_check_attempts 3 >> normal_check_interval 15 >> retry_check_interval 1 >> check_period 24x7 >> notification_interval 120 >> notification_period 24x7 >> notification_options w, u, c, r, f, s >> contact_groups unixadmins >> action_url >> /nagios/pnp/index.php?host=$HOSTNAME$&srv=$SERVICEDESC$ >> } >> > > Where is your define command? > > > >> And the result in Nagios: >> >> HTTP WARNING: HTTP/1.1 400 No Host matches server name seth >> > > Hrm... this is odd, looks like you are posting the right host entry > (would still like to see the command definition). The host entry for > "seth", is the address defined the same as the IP you are getting when > you telnet to the name? ie: > > define host { > host_name seth > address 10.1.1.23 > } > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- 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 jdmfontz at yahoo.com Mon May 18 21:54:09 2009 From: jdmfontz at yahoo.com (Martin Fontanez) Date: Mon, 18 May 2009 12:54:09 -0700 (PDT) Subject: Can't locate Net/SNMP.pm in @INC When Running check_ifstatus Message-ID: <540556.28569.qm@web59206.mail.re1.yahoo.com> From: Martin Fontanez Subject: Can't locate Net/SNMP.pm in @INC When Running check_ifstatus To: Nagios-users at lists.sourceforge.net Date: Monday, May 18, 2009, 3:46 PM I am getting this error and not certain what gives.? Tried various solutions including creating a link to ../net dir but still get?errors.??I did yum installs of relevant *snmp* packages.? Is there a standard fix for this error? ? 1 - [root at localhost libexec]# ./check_ifstatus -H localhost Can't locate Net/SNMP.pm in @INC (@INC contains: /usr/local/nagios/libexec /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 .) at ./check_ifstatus line 39. BEGIN failed--compilation aborted at ./check_ifstatus line 39. 2 - SNMP.pm is?(not on @INC path, but created a link to ...Net/) on?the following location:? [root at localhost libexec]# find / -name SNMP.pm /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/SNMP.pm [root at localhost libexec]# ? 3 - Looks like I got relevant rpm installed: [root at localhost libexec]# rpm -qa | grep -i snmp net-snmp-libs-5.3.2.2-5.el5 net-snmp-perl-5.3.2.2-5.el5 net-snmp-5.3.2.2-5.el5 [root at localhost libexec]# 4.? Edited the file ../check_ifconfig? and replaced "use Net::SNMP;" with use "SNMP;" but that created other errors. ? ? ? ? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- 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 Mon May 18 22:14:50 2009 From: nccomp at gmail.com (Andrew Davis) Date: Mon, 18 May 2009 16:14:50 -0400 Subject: Can't locate Net/SNMP.pm in @INC When Running check_ifstatus In-Reply-To: <540556.28569.qm@web59206.mail.re1.yahoo.com> References: <540556.28569.qm@web59206.mail.re1.yahoo.com> Message-ID: <4A11C1BA.8080801@gmail.com> As root, try "perl -MCPAN -e shell" then "install Net::SNMP". You may want to first do "install Bundle::CPAN", then "install Net::SNMP". Also open up the test script (assuming its not a compiled binary) and check for all the "use" lines and make sure they're installed. For example, from another script I saw: use strict; use Net::SNMP; use Getopt::Long; So my steps were: >sudo su - perl -MCPAN -e shell install Bundle::CPAN reload cpan reload index install Net::SNMP install Getopt::Long For each, I installed prereq's where prompted... Also, depending on your OS, you may want to update the OS first before doing the above. For example, with CentOS, an "yum -y update" is good practice every now and then... keeps you nice and current. But keep in mind that anything built against a specific package may fail (last time I did this, Cacti choked as it was built against a specific version of a library and needed to be recompiled). Other common perl modules to consider include DBI, DBD::mysql, etc... Oh, and put the Net::SNMP line that you changed back... unfortunately, the output of your RPM query is showing the SNMP programs themselves. The script you're using is looking for the Perl module Net::SNMP. net-snmp and Net::SNMP are two completely different things, yet often times codependent. Hope this helps... 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 Martin Fontanez wrote: > > From: Martin Fontanez > Subject: Can't locate Net/SNMP.pm in @INC When Running check_ifstatus > To: Nagios-users at lists.sourceforge.net > Date: Monday, May 18, 2009, 3:46 PM > > I am getting this error and not certain what gives. Tried various > solutions including creating a link to ../net dir but still > get errors. I did yum installs of relevant *snmp* packages. Is > there a standard fix for this error? > > 1 - [root at localhost libexec]# ./check_ifstatus -H localhost > Can't locate Net/SNMP.pm in @INC (@INC contains: > /usr/local/nagios/libexec > /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi > /usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi > /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi > /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi > /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7 > /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 > /usr/lib/perl5/site_perl > /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi > /usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi > /usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi > /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi > /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 > /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 > /usr/lib/perl5/vendor_perl > /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 > .) at ./check_ifstatus line 39. > BEGIN failed--compilation aborted at ./check_ifstatus line 39. > 2 - SNMP.pm is (not on @INC path, but created a link to ...Net/) > on the following location: > [root at localhost libexec]# find / -name SNMP.pm > /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/SNMP.pm > [root at localhost libexec]# > > 3 - Looks like I got relevant rpm installed: > [root at localhost libexec]# rpm -qa | grep -i snmp > net-snmp-libs-5.3.2.2-5.el5 > net-snmp-perl-5.3.2.2-5.el5 > net-snmp-5.3.2.2-5.el5 > [root at localhost libexec]# > 4. Edited the file ../check_ifconfig and replaced "use > Net::SNMP;" with use "SNMP;" but that created other errors. > > > > > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables > unlimited royalty-free distribution of the report engine > for externally facing server and web deployment. > http://p.sf.net/sfu/businessobjects > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- 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 srianirudh at gmail.com Mon May 18 22:22:09 2009 From: srianirudh at gmail.com (Anirudh Srinivasan) Date: Mon, 18 May 2009 16:22:09 -0400 Subject: socket timeout after 20 sec In-Reply-To: References: <699b436a0905141202x3e666d85jc59c4e1a59597f89@mail.gmail.com> Message-ID: <699b436a0905181322s3d781e35vbbec064514887893@mail.gmail.com> Sorry for the delayed reply.... Actuall that was a typo error. Its actually ./check_nt -H -v FREEDISKSPACE -l C -w 80 -c 90 -p 12489 -t 50 CRITICAL - socket timeout after 50 sec Any suggetions....... I also re installed the NC_NET on the windows and then tested with the usual port but still no progress.i.e ./check_nt -H -v FREEDISKSPACE -l C -w 80 -c 90 -p 1248 -t 50 Output: CRITICAL - socket timeout after 50 sec Please give me some alternate suggetions.. On Fri, May 15, 2009 at 11:23 PM, Anthony Montibello wrote: > As Peter pointed out, > > If the Startup Config port is 12489 then NC_NEt is expecting the request on > that port. > > But the check_nt is specifying 1248. > > The passive port is not used unless you are using NSCA with nc_net. > the default config of NC_NET (if the config file is empty or missing) > works on port 1248 and usually fits most check_nt commands. > > Let us know if the problem persists, > > tony (author of NC_NEt) > > On Fri, May 15, 2009 at 3:46 AM, Peter ?stlin wrote: > >> On Thu, May 14, 2009 at 9:02 PM, 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 >> > >> >> Don't know if that's just a typo but you set port 12489 in startup.cfg >> but use 1248 when executing check_nt. >> >> /Peter >> >> >> ------------------------------------------------------------------------------ >> Crystal Reports - New Free Runtime and 30 Day Trial >> Check out the new simplified licensing option that enables >> unlimited royalty-free distribution of the report engine >> for externally facing server and web deployment. >> http://p.sf.net/sfu/businessobjects >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > -- Anirudh Srinivasan -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- 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 deibertine at yahoo.com Mon May 18 22:50:19 2009 From: deibertine at yahoo.com (Dei Bertine) Date: Mon, 18 May 2009 13:50:19 -0700 (PDT) Subject: Unable to open MRTG log file In-Reply-To: <699b436a0905181322s3d781e35vbbec064514887893@mail.gmail.com> References: <699b436a0905141202x3e666d85jc59c4e1a59597f89@mail.gmail.com> <699b436a0905181322s3d781e35vbbec064514887893@mail.gmail.com> Message-ID: <489297.41560.qm@web111204.mail.gq1.yahoo.com> Hi folks, I've been getting these messages from my nagios page under mrtg: "check_mrtgtraf: Unable to open MRTG log file" in which Im unable to figure it out why? here's my config file: # Monitor Port 1 Bandwidth Usage define service{ use mrtg-service host_name ciscoasa-firewall service_description SDFWPORT1_BAND_USE check_command check_local_mrtgtraf!/var/www/mrtg/192.168.1.253_1.log!AVG!1000000,1000000!5000000,5000000!10 } When I launch the command manually, same error. Here's my command looks like: # 'check_local_mrtgtraf' command definition define command{ command_name check_local_mrtgtraf command_line $USER1$/check_mrtgtraf -F $ARG1$ -a $ARG2$ -w $ARG3$ -c $ARG4$ -e $ARG5$ } Please someone advise. Thank you! DB ________________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- 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 AHKAPLAN at PARTNERS.ORG Mon May 18 23:06:32 2009 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Mon, 18 May 2009 17:06:32 -0400 Subject: Question about Check Command field Message-ID: Hi there -- I completed the installation of Ignoramus 0.2.3, and I was going through the list within the Check Command. The list of services does not include all of the plugins that are available within Nagios. One example would be the check_disk plugin. Can I modify the services.php file to include any additional check command that I want, or do I need to create a custom command instead? Thanks. The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Partners Compliance HelpLine at http://www.partners.org/complianceline . If the e-mail was sent to you in error but does not contain patient information, please contact the sender and properly dispose of the e-mail. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- 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 ratty at they.org Mon May 18 23:08:59 2009 From: ratty at they.org (frank) Date: Mon, 18 May 2009 14:08:59 -0700 (PDT) Subject: Can't locate Net/SNMP.pm in @INC When Running check_ifstatus In-Reply-To: <4A11C1BA.8080801@gmail.com> References: <540556.28569.qm@web59206.mail.re1.yahoo.com> <4A11C1BA.8080801@gmail.com> Message-ID: # yum install perl-Net-SNMP CPAN can sometimes be useful, but if you're on an RPM system and there's an RPM available for the perl package you want I would highly recommend going the RPM route. It's too bad cpan isn't easier to turn into an rpm (besides cpan2rpm which I often find to be less useful than it's name would imply.) -f On Mon, 18 May 2009, Andrew Davis wrote: > Date: Mon, 18 May 2009 16:14:50 -0400 > From: Andrew Davis > To: Nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Can't locate Net/SNMP.pm in @INC When Running > check_ifstatus > > As root, try "perl -MCPAN -e shell" then "install Net::SNMP". You may want to first do "install > Bundle::CPAN", then "install Net::SNMP". Also open up the test script (assuming its not a > compiled binary) and check for all the "use" lines and make sure they're installed. For example, > from another script I saw: > > use strict; > use Net::SNMP; > use Getopt::Long; > > So my steps were: > >sudo su - > perl -MCPAN -e shell > install Bundle::CPAN > reload cpan > reload index > install Net::SNMP > install Getopt::Long > > For each, I installed prereq's where prompted... > > Also, depending on your OS, you may want to update the OS first before doing the above. For > example, with CentOS, an "yum -y update" is good practice every now and then... keeps you nice > and current. But keep in mind that anything built against a specific package may fail (last time > I did this, Cacti choked as it was built against a specific version of a library and needed to > be recompiled). > > Other common perl modules to consider include DBI, DBD::mysql, etc... > > Oh, and put the Net::SNMP line that you changed back... unfortunately, the output of your RPM > query is showing the SNMP programs themselves. The script you're using is looking for the Perl > module Net::SNMP. net-snmp and Net::SNMP are two completely different things, yet often times > codependent. > > Hope this helps... > > 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 > > > Martin Fontanez wrote: > From: Martin Fontanez > Subject: Can't locate Net/SNMP.pm in @INC When Running check_ifstatus > To: Nagios-users at lists.sourceforge.net > Date: Monday, May 18, 2009, 3:46 PM > > I am getting this error and not certain what gives.? Tried various > solutions including creating a link to ../net dir but still > get?errors.??I did yum installs of relevant *snmp* packages.? Is there a > standard fix for this error? > ? > 1 - [root at localhost libexec]# ./check_ifstatus -H localhost > Can't locate Net/SNMP.pm in @INC (@INC contains: /usr/local/nagios/libexec > /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi > /usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi > /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi > /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi > /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7 > /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 > /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi > /usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi > /usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi > /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi > /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 > /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 > /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi > /usr/lib/perl5/5.8.8 .) at ./check_ifstatus line 39. > BEGIN failed--compilation aborted at ./check_ifstatus line 39. > 2 - SNMP.pm is?(not on @INC path, but created a link to ...Net/) on?the following > location:? > [root at localhost libexec]# find / -name SNMP.pm > /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/SNMP.pm > [root at localhost libexec]# > ? > 3 - Looks like I got relevant rpm installed: > [root at localhost libexec]# rpm -qa | grep -i snmp > net-snmp-libs-5.3.2.2-5.el5 > net-snmp-perl-5.3.2.2-5.el5 > net-snmp-5.3.2.2-5.el5 > [root at localhost libexec]# > 4.? Edited the file ../check_ifconfig? and replaced "use Net::SNMP;" with use > "SNMP;" but that created other errors. > ? > ? > ? > ? > > > ______________________________________________________________________________________ > > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables > unlimited royalty-free distribution of the report engine > for externally facing server and web deployment. > http://p.sf.net/sfu/businessobjects > > ______________________________________________________________________________________ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- 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 Mon May 18 23:37:17 2009 From: jpratt at norwich.edu (James Pratt) Date: Mon, 18 May 2009 17:37:17 -0400 Subject: Can't locate Net/SNMP.pm in @INC When Running check_ifstatus In-Reply-To: References: <540556.28569.qm@web59206.mail.re1.yahoo.com><4A11C1BA.8080801@gmail.com> Message-ID: <8147CCE3C4A8764DA9980125EE70E823CBECEC@nuexchg.norwich.edu> I absolutely agree with Frank - you can *really* mess up an RPM-based distro by using CPAN if you are not VERY careful what you do, so do so at your own risk! :\ (if you *must* use packages required by CPAN - instead, try and figure out how to add 3rd party repos such as rpmforge etc, as there is almost always an RPM pre-built by Dag Wiers or other package maintainers that you can use and keep your system sane instead). Cheers, Jamie -----Original Message----- From: frank [mailto:ratty at they.org] Sent: Monday, May 18, 2009 5:09 PM To: Nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Can't locate Net/SNMP.pm in @INC When Running check_ifstatus # yum install perl-Net-SNMP CPAN can sometimes be useful, but if you're on an RPM system and there's an RPM available for the perl package you want I would highly recommend going the RPM route. It's too bad cpan isn't easier to turn into an rpm (besides cpan2rpm which I often find to be less useful than it's name would imply.) -f On Mon, 18 May 2009, Andrew Davis wrote: > Date: Mon, 18 May 2009 16:14:50 -0400 > From: Andrew Davis > To: Nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Can't locate Net/SNMP.pm in @INC When Running > check_ifstatus ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 19 04:41:09 2009 From: srianirudh at gmail.com (Anirudh Srinivasan) Date: Mon, 18 May 2009 22:41:09 -0400 Subject: check frequency Message-ID: <699b436a0905181941j487029c5k6ed56969eb303988@mail.gmail.com> Hi Nagios experts: Below is the Alert history for the the host , and the max_check_attemps is = 5 [05-11-2009 16:46:57] HOST ALERT: benfwca;DOWN;HARD;5;FPING CRITICAL - (loss=100% ) [05-11-2009 16:43:36] HOST ALERT: benfwca;DOWN;SOFT;4;FPING CRITICAL - (loss=100% ) [05-11-2009 16:40:30] HOST ALERT: benfwca;DOWN;SOFT;3;FPING CRITICAL -(loss=100% ) [05-11-2009 16:37:30] HOST ALERT: benfwca;DOWN;SOFT;2;FPING CRITICAL - (loss=100% ) [05-11-2009 16:34:16] HOST ALERT: benfwca;DOWN;SOFT;1;FPING CRITICAL - (loss=100% ) If you could notice the check frequency is approx= 3 min . Is it possible to reduce this parameter, if yes then what is the parameter that i have to look for. I dont want to reduce the max_check_attemps to a lower value. All i want to have is check every 1 min for 5 attemps and mark it as HARD state. Is it possible.?? Thanks in Adv -- Anirudh Srinivasan -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- 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 dongsheng.song at gmail.com Tue May 19 05:01:12 2009 From: dongsheng.song at gmail.com (Dongsheng Song) Date: Tue, 19 May 2009 11:01:12 +0800 Subject: check frequency In-Reply-To: <699b436a0905181941j487029c5k6ed56969eb303988@mail.gmail.com> References: <699b436a0905181941j487029c5k6ed56969eb303988@mail.gmail.com> Message-ID: <4A1220F8.8080306@gmail.com> In service definition, set: check_interval 1 retry_interval 1 max_check_attempts 5 In host definition, set: check_interval 1 retry_interval 1 max_check_attempts 5 You can put them to the host/service template for simplify definition. -- Dongsheng Song Anirudh Srinivasan ??: > Hi Nagios experts: > > Below is the Alert history for the the host , and the max_check_attemps > is = 5 > > > [05-11-2009 16:46:57] HOST ALERT: benfwca;DOWN;HARD;5;FPING CRITICAL > - (loss=100% ) > [05-11-2009 16:43:36] HOST ALERT: benfwca;DOWN;SOFT;4;FPING CRITICAL > - (loss=100% ) > [05-11-2009 16:40:30] HOST ALERT: benfwca;DOWN;SOFT;3;FPING CRITICAL > -(loss=100% ) > [05-11-2009 16:37:30] HOST ALERT: benfwca;DOWN;SOFT;2;FPING CRITICAL > - (loss=100% ) > [05-11-2009 16:34:16] HOST ALERT: benfwca;DOWN;SOFT;1;FPING CRITICAL > - (loss=100% ) > > If you could notice the check frequency is approx= 3 min . > > Is it possible to reduce this parameter, if yes then what is the > parameter that i have to look for. > I dont want to reduce the max_check_attemps to a lower value. > > All i want to have is check every 1 min for 5 attemps and mark it as > HARD state. > > Is it possible.?? > > Thanks in Adv > -- > Anirudh Srinivasan > -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 550 bytes Desc: OpenPGP digital signature URL: -------------- next part -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- 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 srianirudh at gmail.com Tue May 19 05:07:43 2009 From: srianirudh at gmail.com (Anirudh Srinivasan) Date: Mon, 18 May 2009 23:07:43 -0400 Subject: check frequency In-Reply-To: <4A1220F8.8080306@gmail.com> References: <699b436a0905181941j487029c5k6ed56969eb303988@mail.gmail.com> <4A1220F8.8080306@gmail.com> Message-ID: <699b436a0905182007g66e4b09bv1e750e9f611130d2@mail.gmail.com> Hi Thanks for the reply , will try this out. But is there some centralized Parameter in nagios.cfg that could solve this issue. Thanks in Adv On Mon, May 18, 2009 at 11:01 PM, Dongsheng Song wrote: > In service definition, set: > > check_interval 1 > retry_interval 1 > max_check_attempts 5 > > > In host definition, set: > check_interval 1 > retry_interval 1 > max_check_attempts 5 > > > You can put them to the host/service template for simplify definition. > > -- > Dongsheng Song > > Anirudh Srinivasan ??: > > Hi Nagios experts: > > > > Below is the Alert history for the the host , and the max_check_attemps > > is = 5 > > > > > > [05-11-2009 16:46:57] HOST ALERT: benfwca;DOWN;HARD;5;FPING CRITICAL > > - (loss=100% ) > > [05-11-2009 16:43:36] HOST ALERT: benfwca;DOWN;SOFT;4;FPING CRITICAL > > - (loss=100% ) > > [05-11-2009 16:40:30] HOST ALERT: benfwca;DOWN;SOFT;3;FPING CRITICAL > > -(loss=100% ) > > [05-11-2009 16:37:30] HOST ALERT: benfwca;DOWN;SOFT;2;FPING CRITICAL > > - (loss=100% ) > > [05-11-2009 16:34:16] HOST ALERT: benfwca;DOWN;SOFT;1;FPING CRITICAL > > - (loss=100% ) > > > > If you could notice the check frequency is approx= 3 min . > > > > Is it possible to reduce this parameter, if yes then what is the > > parameter that i have to look for. > > I dont want to reduce the max_check_attemps to a lower value. > > > > All i want to have is check every 1 min for 5 attemps and mark it as > > HARD state. > > > > Is it possible.?? > > > > Thanks in Adv > > -- > > Anirudh Srinivasan > > > > -- Anirudh Srinivasan -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- 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 mgagne at iweb.com Tue May 19 05:07:33 2009 From: mgagne at iweb.com (=?ISO-8859-1?Q?Mathieu_Gagn=E9?=) Date: Mon, 18 May 2009 23:07:33 -0400 Subject: check frequency In-Reply-To: <699b436a0905181941j487029c5k6ed56969eb303988@mail.gmail.com> References: <699b436a0905181941j487029c5k6ed56969eb303988@mail.gmail.com> Message-ID: <4A122275.1050100@iweb.com> Hi, Anirudh Srinivasan wrote: > > Below is the Alert history for the the host , and the max_check_attemps > is = 5 > > If you could notice the check frequency is approx= 3 min . > > Is it possible to reduce this parameter, if yes then what is the > parameter that i have to look for. > I dont want to reduce the max_check_attemps to a lower value. > > All i want to have is check every 1 min for 5 attemps and mark it as > HARD state. You should take a look at "retry_interval": http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#host Regards, -- Mathieu ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 19 05:19:56 2009 From: srianirudh at gmail.com (Anirudh Srinivasan) Date: Mon, 18 May 2009 23:19:56 -0400 Subject: check frequency In-Reply-To: <699b436a0905182007g66e4b09bv1e750e9f611130d2@mail.gmail.com> References: <699b436a0905181941j487029c5k6ed56969eb303988@mail.gmail.com> <4A1220F8.8080306@gmail.com> <699b436a0905182007g66e4b09bv1e750e9f611130d2@mail.gmail.com> Message-ID: <699b436a0905182019o9f85e81oef90c5999b516feb@mail.gmail.com> Also one more question : How was nagios managing that retry_interval earlier when this parameter was not even set ?? Is it because of SMART calculation thats set in nagios.cfg ??? If not please can i know how that worked ??? 2009/5/18 Anirudh Srinivasan > Hi > > Thanks for the reply , will try this out. But is there some centralized > Parameter in nagios.cfg that could solve this issue. > > Thanks in Adv > > On Mon, May 18, 2009 at 11:01 PM, Dongsheng Song < > dongsheng.song at gmail.com> wrote: > >> In service definition, set: >> >> check_interval 1 >> retry_interval 1 >> max_check_attempts 5 >> >> >> In host definition, set: >> check_interval 1 >> retry_interval 1 >> max_check_attempts 5 >> >> >> You can put them to the host/service template for simplify definition. >> >> -- >> Dongsheng Song >> >> Anirudh Srinivasan ??: >> > Hi Nagios experts: >> > >> > Below is the Alert history for the the host , and the max_check_attemps >> > is = 5 >> > >> > >> > [05-11-2009 16:46:57] HOST ALERT: benfwca;DOWN;HARD;5;FPING CRITICAL >> > - (loss=100% ) >> > [05-11-2009 16:43:36] HOST ALERT: benfwca;DOWN;SOFT;4;FPING CRITICAL >> > - (loss=100% ) >> > [05-11-2009 16:40:30] HOST ALERT: benfwca;DOWN;SOFT;3;FPING CRITICAL >> > -(loss=100% ) >> > [05-11-2009 16:37:30] HOST ALERT: benfwca;DOWN;SOFT;2;FPING CRITICAL >> > - (loss=100% ) >> > [05-11-2009 16:34:16] HOST ALERT: benfwca;DOWN;SOFT;1;FPING CRITICAL >> > - (loss=100% ) >> > >> > If you could notice the check frequency is approx= 3 min . >> > >> > Is it possible to reduce this parameter, if yes then what is the >> > parameter that i have to look for. >> > I dont want to reduce the max_check_attemps to a lower value. >> > >> > All i want to have is check every 1 min for 5 attemps and mark it as >> > HARD state. >> > >> > Is it possible.?? >> > >> > Thanks in Adv >> > -- >> > Anirudh Srinivasan >> > >> >> > > > -- > Anirudh Srinivasan > > -- Anirudh Srinivasan -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- 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 Martin.Scullion at croydon.gov.uk Tue May 19 10:31:22 2009 From: Martin.Scullion at croydon.gov.uk (Martin Scullion) Date: Tue, 19 May 2009 09:31:22 +0100 Subject: Installation errors Message-ID: Hi There Am trying to install nagios 3.0.6 on a Solaris 10 box and am having trouble with the 'make all' command It generates the following error : gcc -g -O2 -DHAVE_CONFIG_H -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNSCORE -c events.c events.c: In function `event_execution_loop': events.c:988: error: `WNOHANG' undeclared (first use in this function) events.c:988: error: (Each undeclared identifier is reported only once events.c:988: error: for each function it appears in.) *** Error code 1 make: Fatal error: Command failed for target `events.o' Current working directory /var/tmp/nagios-3.0.6/base *** Error code 1 Any help would be much appreciated Martin
For practical advice on how to deal with the recession visit www.croydoncrunch.com Please use this web site address to view the Council's E-Mail disclaimer - Croydon Council disclaimer -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- 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 barbereau at gmail.com Tue May 19 11:58:27 2009 From: barbereau at gmail.com (=?UTF-8?Q?S=C3=A9bastien_Barbereau?=) Date: Tue, 19 May 2009 10:58:27 +0100 Subject: OID's missing for check_snmp_cpfw.pl In-Reply-To: <4A119CD2.4080504@gmail.com> References: <4A119CD2.4080504@gmail.com> Message-ID: <4e0e33ee0905190258j1a0ccc6bx416aaef6348b89cf@mail.gmail.com> Hi,I've been running it for some time without problem. We are running some IP710 and IP650 with up to date software. Are you sure that the nokia snmp service is running as well as the checkpoint one? On the device you should be able to see two processes running : snmpd (port 161) and cpsnmpd (port 260). If the processes are running verify the output of : snmpwalk -v2c -c SNMPCOMMUNITY FWNAMEORIP .1.3.6.1.4.1.2620.1.1.2 Did you authorize snmp from the nagios host to the host IP? seb. On Mon, May 18, 2009 at 6:37 PM, Andrew Davis wrote: > I'm trying to make use of check_snmp_cpfw.pl against a pair of redundant > CP firewalls. For any test I try, I see: > > cannot find oids / CPFW Status : CRITICAL > > I've verified all the perl stuff including Net::SNMP and Getopt::Long > > ./check_snmp_cpfw.pl -H 10.1.1.250 -C obfuscated -swm > FW : cannot find oids / SVN : cannot find oids / MGMT : cannot find oids / > CPFW Status : CRITICAL > > it appears from the website that the script was last updated on 2007. We're > running IP250's with the latest Firewall-1 s/w. Perhaps the script is too > old for our h/w or s/w? I'm thinking that maybe the script only works on FW1 > on local UNIX servers? But since its going over SNMP over the network, I'm > sort of doubting this. > > Has anyone else experienced this? Any solution? Is anyone else using the > latest, greatest FW-1 s/w on an IP250 and this script works for them? > > -- > > > 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 > > > > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables > unlimited royalty-free distribution of the report engine > for externally facing server and web deployment. > http://p.sf.net/sfu/businessobjects > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- 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 ampranti at gmail.com Tue May 19 11:51:27 2009 From: ampranti at gmail.com (Brandino Andreas) Date: Tue, 19 May 2009 12:51:27 +0300 Subject: multiline plugin output Message-ID: <1859843443.20090519125127@gmail.com> Hi all, I try to use check_snmp_int.pl plugin with multiline output. According to documentation ( http://nagios.sourceforge.net/docs/3_0/pluginapi.html ) additional output is stored to $SERVICEPERFDATA$ and $LONGSERVICEOUTPUT$ macros How can i "force" nagios to print these lines to web interface, after $SERVICEOUTPUT$ ? Thanks -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue May 19 15:25:08 2009 From: lecb79 at gmail.com (Eduardo Barreto) Date: Tue, 19 May 2009 10:25:08 -0300 Subject: NRPE Message-ID: Hi All, I'm on a need to monitor a specific process on a Windows Vista desktop, is it possible through NRPE? Thanks in advance Eduardo Barreto -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- 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 19 15:54:43 2009 From: sri.lumpa at free.fr (MAD) Date: Tue, 19 May 2009 15:54:43 +0200 (CEST) Subject: NDOUtils and custom variables In-Reply-To: <2107039241.1242911242741008289.JavaMail.root@zimbra16-e3.priv.proxad.net> References: <2107039241.1242911242741008289.JavaMail.root@zimbra16-e3.priv.proxad.net> Message-ID: <1072053089.1244031242741283272.JavaMail.root@zimbra16-e3.priv.proxad.net> Hi all, I'm thinking to use some custom variables in services' definition. As I'm using NDOUtils, I wanted to see how those variables where saved in the database and I found two tables : customvariables and customvariablestatus. I understand what the customvariablestatus' fields are for, but I don't understand what is the field 'config_type' in customvariables. Does someone know which values this field can take and what are their meaning? Sorry if my question seems dumb but I couldn't find the answer in the NDOUtils database documentation. Thank you Marc-Andr? ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From prandal at herefordshire.gov.uk Tue May 19 15:51:10 2009 From: prandal at herefordshire.gov.uk (Randal, Phil) Date: Tue, 19 May 2009 14:51:10 +0100 Subject: NRPE In-Reply-To: References: Message-ID: <7EF0EE5CB3B263488C8C18823239BEBA06C8376D@HC-MBX02.herefordshire.gov.uk> Yes, You can do it without NRPE too. Install something like NSClient++ (http://www.nsclient.org) on the Vista host. http://www.nsclient.org/nscp/wiki/NSClientListener PROCSTATE is the one you want. I use a command check_nt_process: $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v PROCSTATE -d SHOWALL -l $ARG1$ I use port 1248 (old nsclient port), NSClient++ defaults to port 12489. Cheers, Phil -- Phil Randal | Networks Engineer Herefordshire Council | Deputy Chief Executive's Office | I.C.T. Services Division Thorn Office Centre, Rotherwas, Hereford, HR2 6JT Tel: 01432 260160 email: prandal at herefordshire.gov.uk Any opinion expressed in this e-mail or any attached files are those of the individual and not necessarily those of Herefordshire Council. This e-mail and any attached files are confidential and intended solely for the use of the addressee. This communication may contain material protected by law from being passed on. If you are not the intended recipient and have received this e-mail in error, you are advised that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. If you have received this e-mail in error please contact the sender immediately and destroy all copies of it. ________________________________ From: Eduardo Barreto [mailto:lecb79 at gmail.com] Sent: 19 May 2009 14:25 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] NRPE Hi All, I'm on a need to monitor a specific process on a Windows Vista desktop, is it possible through NRPE? Thanks in advance Eduardo Barreto -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- 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 niall at makalumedia.com Tue May 19 15:33:20 2009 From: niall at makalumedia.com (Niall O Broin) Date: Tue, 19 May 2009 14:33:20 +0100 Subject: Playing alert sounds in Safari Message-ID: Is this possible at all? When I have an active alert, which should play a sound, I get this popup when I visit the tactical overview page: Safari can't find the Internet plugin. The page "Nagios" has content of MIME type "application/wav". Because you don't have a plug-in installed for this MIME type, this content can't be displayed. However, I DO have such a plugin installed - Quicktime, and it plays wav files just nicely, and if I use Safari to get /media/hostdown.wav from my nagios server, it plays just nicely. I got that file with wget and I noticed that the MIME type it was sent with was audio/x-wav so I edited the binary of tac.cgi to send audio/x- wav rather than application/wav (yes, I know, but it was quicker than getting the source, and building it, just to try this out) but although that got rid of the warning pop up, it still got me no sound. Any ideas to make Safari (ver. 4 beta) talk to me? Kindest regards, Niall O Broin ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 19 16:08:33 2009 From: marc at ena.com (Marc Powell) Date: Tue, 19 May 2009 09:08:33 -0500 Subject: check frequency In-Reply-To: <699b436a0905182007g66e4b09bv1e750e9f611130d2@mail.gmail.com> References: <699b436a0905181941j487029c5k6ed56969eb303988@mail.gmail.com> <4A1220F8.8080306@gmail.com> <699b436a0905182007g66e4b09bv1e750e9f611130d2@mail.gmail.com> Message-ID: <98230E0A-918E-483B-9857-1F51B1D6B4FF@ena.com> On May 18, 2009, at 10:07 PM, Anirudh Srinivasan wrote: > Hi > > Thanks for the reply , will try this out. But is there some > centralized Parameter in nagios.cfg that could solve this issue. No, it's defined per host and service. You could use templates though to 'centralize' it (or assign to your existing default template if you have one). -- Marc ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue May 19 15:38:42 2009 From: scarolan at gmail.com (Sean Carolan) Date: Tue, 19 May 2009 08:38:42 -0500 Subject: NRPE In-Reply-To: References: <277020fc0905190628s7145e040j55ecd0837ce43527@mail.gmail.com> Message-ID: <277020fc0905190638q597aabfcg13a1b04008db6614@mail.gmail.com> On Tue, May 19, 2009 at 8:37 AM, Eduardo Barreto wrote: > Ok Sean, From where do I begin? Do you have any howto? What's the difference > between nsclient and nrpe? I ain't got a clue http://nagios.sourceforge.net/docs/3_0/monitoring-windows.html ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 19 16:12:20 2009 From: marc at ena.com (Marc Powell) Date: Tue, 19 May 2009 09:12:20 -0500 Subject: check frequency In-Reply-To: <699b436a0905182019o9f85e81oef90c5999b516feb@mail.gmail.com> References: <699b436a0905181941j487029c5k6ed56969eb303988@mail.gmail.com> <4A1220F8.8080306@gmail.com> <699b436a0905182007g66e4b09bv1e750e9f611130d2@mail.gmail.com> <699b436a0905182019o9f85e81oef90c5999b516feb@mail.gmail.com> Message-ID: On May 18, 2009, at 10:19 PM, Anirudh Srinivasan wrote: > Also one more question : > > How was nagios managing that retry_interval earlier when this > parameter was not even set ?? Are you certain that it's not? It's a required parameter under 2.x and while I can't test it, I have no reason to believe that's changed with 3.x. Nagios will refuse to start if you leave it out. Are you using templates and is it defined there? -- Marc ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 19 16:15:40 2009 From: marc at ena.com (Marc Powell) Date: Tue, 19 May 2009 09:15:40 -0500 Subject: multiline plugin output In-Reply-To: <1859843443.20090519125127@gmail.com> References: <1859843443.20090519125127@gmail.com> Message-ID: On May 19, 2009, at 4:51 AM, Brandino Andreas wrote: > Hi all, > > I try to use check_snmp_int.pl plugin with multiline output. According > to documentation ( > http://nagios.sourceforge.net/docs/3_0/pluginapi.html ) additional > output is stored to $SERVICEPERFDATA$ and $LONGSERVICEOUTPUT$ macros > > How can i "force" nagios to print these lines to web interface, after > $SERVICEOUTPUT$ ? I don't use 3.x yet but I don't believe that you can. Unless the plugin output is written as HTML, and none are that I know of, multi- line output would be confusing in the web interface. -- Marc ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 19 16:16:58 2009 From: marc at ena.com (Marc Powell) Date: Tue, 19 May 2009 09:16:58 -0500 Subject: NRPE In-Reply-To: References: Message-ID: <087DADD0-51EE-4A17-AA60-CFFBA62F0527@ena.com> On May 19, 2009, at 8:25 AM, Eduardo Barreto wrote: > Hi All, > > I'm on a need to monitor a specific process on a Windows Vista > desktop, is it possible through NRPE? http://nagios.sourceforge.net/docs/3_0/monitoring-windows.html -- Marc ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jdmfontz at yahoo.com Tue May 19 15:52:18 2009 From: jdmfontz at yahoo.com (Martin Fontanez) Date: Tue, 19 May 2009 06:52:18 -0700 (PDT) Subject: Can't locate Net/SNMP.pm in @INC When Running check_ifstatus Message-ID: <50458.35159.qm@web59202.mail.re1.yahoo.com> Davis, Thank you for taking the time to reply with such detail and precision.? This worked well and and fixed the error. ? One thing with CPAN is that for some reason when I am in cpan prompt, whatever I type does not get displayed. Regards, Martin? --- On Mon, 5/18/09, Andrew Davis wrote: From: Andrew Davis Subject: Re: [Nagios-users] Can't locate Net/SNMP.pm in @INC When Running check_ifstatus To: Nagios-users at lists.sourceforge.net Date: Monday, May 18, 2009, 4:14 PM As root, try "perl -MCPAN -e shell" then "install Net::SNMP". You may want to first do "install Bundle::CPAN", then "install Net::SNMP". Also open up the test script (assuming its not a compiled binary) and check for all the "use" lines and make sure they're installed. For example, from another script I saw: use strict; use Net::SNMP; use Getopt::Long; So my steps were: >sudo su - perl -MCPAN -e shell install Bundle::CPAN reload cpan reload index install Net::SNMP install Getopt::Long For each, I installed prereq's where prompted... Also, depending on your OS, you may want to update the OS first before doing the above. For example, with CentOS, an "yum -y update" is good practice every now and then... keeps you nice and current. But keep in mind that anything built against a specific package may fail (last time I did this, Cacti choked as it was built against a specific version of a library and needed to be recompiled). Other common perl modules to consider include DBI, DBD::mysql, etc... Oh, and put the Net::SNMP line that you changed back... unfortunately, the output of your RPM query is showing the SNMP programs themselves. The script you're using is looking for the Perl module Net::SNMP. net-snmp and Net::SNMP are two completely different things, yet often times codependent. Hope this helps... 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 Martin Fontanez wrote: From: Martin Fontanez Subject: Can't locate Net/SNMP.pm in @INC When Running check_ifstatus To: Nagios-users at lists.sourceforge.net Date: Monday, May 18, 2009, 3:46 PM I am getting this error and not certain what gives.? Tried various solutions including creating a link to ../net dir but still get?errors.??I did yum installs of relevant *snmp* packages.? Is there a standard fix for this error? ? 1 - [root at localhost libexec]# ./check_ifstatus -H localhost Can't locate Net/SNMP.pm in @INC (@INC contains: /usr/local/nagios/libexec /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 .) at ./check_ifstatus line 39. BEGIN failed--compilation aborted at ./check_ifstatus line 39. 2 - SNMP.pm is?(not on @INC path, but created a link to ...Net/) on?the following location:? [root at localhost libexec]# find / -name SNMP.pm /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/SNMP.pm [root at localhost libexec]# ? 3 - Looks like I got relevant rpm installed: [root at localhost libexec]# rpm -qa | grep -i snmp net-snmp-libs-5.3.2.2-5.el5 net-snmp-perl-5.3.2.2-5.el5 net-snmp-5.3.2.2-5.el5 [root at localhost libexec]# 4.? Edited the file ../check_ifconfig? and replaced "use Net::SNMP;" with use "SNMP;" but that created other errors. ? ? ? ? ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -----Inline Attachment Follows----- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -----Inline Attachment Follows----- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- 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 19 16:33:49 2009 From: shadhin71 at gmail.com (shadih rahman) Date: Tue, 19 May 2009 10:33:49 -0400 Subject: DISABLE_SVC_CHECK does not keep track of username Message-ID: <6db4a4200905190733m7cd26becu46c09dd486fcfbfc@mail.gmail.com> All I am seeing that when anyone acknowledges a problem in nagios, it keeps track of username and notes information. However if someone execute command like DISABLE_SVC_CHECK or DISABLE_HOST_NOTIFICATIONS or many other commands then nagios does not keep track of username and who initiated the command. Is this an intended behavior or is it a bug? Can someone please comment on this. Thanks -- Cordially, Shadhin Rahman -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- 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 jjleleux at sunlandconstruction.com Tue May 19 16:14:59 2009 From: jjleleux at sunlandconstruction.com (Leleux, Jeremy J) Date: Tue, 19 May 2009 09:14:59 -0500 Subject: Running Windows batch files through NRPE Message-ID: <232A174A689B4242936B4D08C19447D103302FBD@owa.sunlandconstruction.com> Hi All, I'm running Nagios 3.0.6/CentOS 5.2 for my Nagios server. Its monitoring my Windows Servers, all 2003, I have NSClient++ on those servers and its working fine. My problem is that I'm trying to centralize the configs on the NSClient++'s w/ the help of batch files. I have setup commands to allow me run the scripts w/ the help of check_nrpe, but they will not run. Here is the contents of one of my batch files, nscpp_config.bat, to update the NSClient++ config: @echo off xcopy \\10.10.0.50\public\Departments\Infor~1\Scripts\nscpp_copy.bat C:\Progra~1\NSClient++ /Y exit When I try to run this command from my Nagios Server, I get an "Invalid Drive Specification Error". And here is my config line to allow the command in NSClient++: cp_script=nscpp_config.bat If someone else has done this in past, please let me know how you have done this. Respectfully, Jeremy Leleux IT Administrator Sunland Construction, Inc. Corporate Division Office: 337.550.2142 Fax: 337.546.0245 Mobile: 337.580.6062 Email: jjleleux at sunlandconstruction.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- 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 lecb79 at gmail.com Tue May 19 17:04:10 2009 From: lecb79 at gmail.com (Eduardo Barreto) Date: Tue, 19 May 2009 12:04:10 -0300 Subject: 3D Status Map Message-ID: Hi all, Anybody know where to find a plugin for firefox running onto Ubuntu to turn it able openning vrml? I've downloaded openvrml but I'm having many problems to installing it. Cheers Eduardo Barreto -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- 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 Steve.Onotsky at broadridge.com Tue May 19 16:57:53 2009 From: Steve.Onotsky at broadridge.com (Onotsky, Steve x55328) Date: Tue, 19 May 2009 10:57:53 -0400 Subject: Running Windows batch files through NRPE In-Reply-To: <232A174A689B4242936B4D08C19447D103302FBD@owa.sunlandconstruction.com> References: <232A174A689B4242936B4D08C19447D103302FBD@owa.sunlandconstruction.com> Message-ID: <30A417B62E7EE448B3864ADC881CEFD608D8FE79@missemsa01.bsg.ad.adp.com> I don't think that Nagios/nscp is geared to what you want it to do. Instead, I would suggest that a Scheduled Task might be more appropriate (or use something like SMS to push out an update on demand/on a schedule, if you have it in place). Cheers Steve Onotsky Server Support Technologist Broadridge Investor Communication Solutions, Canada 5970 Chedworth Way Mississauga ON L5R 4G5 Tel: (905) 507-5328 Fax: (905) 507-5312 Inet: steve.onotsky at broadridge.com Quis custodiet ipsos custodes? - Juvenal, Satires, VI, 347 ________________________________ From: Leleux, Jeremy J [mailto:jjleleux at sunlandconstruction.com] Sent: May 19, 2009 10:15 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Running Windows batch files through NRPE Hi All, I'm running Nagios 3.0.6/CentOS 5.2 for my Nagios server. Its monitoring my Windows Servers, all 2003, I have NSClient++ on those servers and its working fine. My problem is that I'm trying to centralize the configs on the NSClient++'s w/ the help of batch files. I have setup commands to allow me run the scripts w/ the help of check_nrpe, but they will not run. Here is the contents of one of my batch files, nscpp_config.bat, to update the NSClient++ config: @echo off xcopy \\10.10.0.50\public\Departments\Infor~1\Scripts\nscpp_copy.bat C:\Progra~1\NSClient++ /Y exit When I try to run this command from my Nagios Server, I get an "Invalid Drive Specification Error". And here is my config line to allow the command in NSClient++: cp_script=nscpp_config.bat If someone else has done this in past, please let me know how you have done this. Respectfully, Jeremy Leleux IT Administrator Sunland Construction, Inc. Corporate Division Office: 337.550.2142 Fax: 337.546.0245 Mobile: 337.580.6062 Email: jjleleux at sunlandconstruction.com This message and any attachments are intended only for the use of the addressee and may contain information that is privileged and confidential. If the reader of the message is not the intended recipient or an authorized representative of the intended recipient, you are hereby notified that any dissemination of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail and delete the message and any attachments from your system. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- 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 mike.saldivar at advocatecreditrepair.com Tue May 19 17:11:20 2009 From: mike.saldivar at advocatecreditrepair.com (Mike Saldivar) Date: Tue, 19 May 2009 09:11:20 -0600 Subject: Running Windows batch files through NRPE In-Reply-To: <232A174A689B4242936B4D08C19447D103302FBD@owa.sunlandconstruction.com> References: <232A174A689B4242936B4D08C19447D103302FBD@owa.sunlandconstruction.com> Message-ID: <61ab46280905190811u3647a108v198fde46ca5cf5de@mail.gmail.com> On Tue, May 19, 2009 at 8:14 AM, Leleux, Jeremy J < jjleleux at sunlandconstruction.com> wrote: > Hi All, > > I?m running Nagios 3.0.6/CentOS 5.2 for my Nagios server. Its monitoring > my Windows Servers, all 2003, I have NSClient++ on those servers and its > working fine. My problem is that I?m trying to centralize the configs on > the NSClient++?s w/ the help of batch files. I have setup commands to > allow me run the scripts w/ the help of check_nrpe, but they will not run. > > Here is the contents of one of my batch files, nscpp_config.bat, to update > the NSClient++ config: > > @echo off > > xcopy \\10.10.0.50\public\Departments\Infor~1\Scripts\nscpp_copy.bat > C:\Progra~1\NSClient++ /Y > > exit > > When I try to run this command from my Nagios Server, I get an ?Invalid > Drive Specification Error?. And here is my config line to allow the > command in NSClient++: > > cp_script=nscpp_config.bat > > Does the user running the batch file have access to those directories and shares? Does it work if you run it from the command line? You may want to try first mapping the drive with net use: net use n: \\10.10.0.50\public xcopy n:\Departments\Infor~1\Scripts\nscpp_copy.bat C:\Progra~1\NSClient++ /Y With net use, you can also specify an alternate username and password with which to map the drive. -Mike -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- 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 Tue May 19 17:47:06 2009 From: nccomp at gmail.com (Andrew Davis) Date: Tue, 19 May 2009 11:47:06 -0400 Subject: Unable to open MRTG log file In-Reply-To: <489297.41560.qm@web111204.mail.gq1.yahoo.com> References: <699b436a0905141202x3e666d85jc59c4e1a59597f89@mail.gmail.com> <699b436a0905181322s3d781e35vbbec064514887893@mail.gmail.com> <489297.41560.qm@web111204.mail.gq1.yahoo.com> Message-ID: <4A12D47A.2000007@gmail.com> On most systems, mrtg will run as its own user and nagios the same. Make sure that the nagios user has permissions to access the mrtg owned files... 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 Dei Bertine wrote: > > Hi folks, > > I've been getting these messages from my nagios page under mrtg: > "check_mrtgtraf: Unable to open MRTG log file" in which Im unable to > figure it out why? > > here's my config file: > # Monitor Port 1 Bandwidth Usage > define service{ > use mrtg-service > host_name ciscoasa-firewall > service_description SDFWPORT1_BAND_USE > check_command > check_local_mrtgtraf!/var/www/mrtg/192.168.1.253_1.log!AVG!1000000,1000000!5000000,5000000!10 > } > > When I launch the command manually, same error. > > Here's my command looks like: > # 'check_local_mrtgtraf' command definition > define command{ > command_name check_local_mrtgtraf > command_line $USER1$/check_mrtgtraf -F $ARG1$ -a $ARG2$ -w > $ARG3$ -c $ARG4$ -e $ARG5$ > } > > Please someone advise. > > Thank you! > DB > > ------------------------------------------------------------------------ > * > * > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables > unlimited royalty-free distribution of the report engine > for externally facing server and web deployment. > http://p.sf.net/sfu/businessobjects > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- 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 19 17:58:12 2009 From: marc at ena.com (Marc Powell) Date: Tue, 19 May 2009 10:58:12 -0500 Subject: DISABLE_SVC_CHECK does not keep track of username In-Reply-To: <6db4a4200905190733m7cd26becu46c09dd486fcfbfc@mail.gmail.com> References: <6db4a4200905190733m7cd26becu46c09dd486fcfbfc@mail.gmail.com> Message-ID: <24A5D83C-0F45-40A6-9075-BD1D5CC1525C@ena.com> On May 19, 2009, at 9:33 AM, shadih rahman wrote: > Is this an intended behavior or is it a bug? Intended behavior. -- Marc ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 19 18:02:53 2009 From: marc at ena.com (Marc Powell) Date: Tue, 19 May 2009 11:02:53 -0500 Subject: Playing alert sounds in Safari In-Reply-To: References: Message-ID: <8C203D6C-A1FD-4649-ABE3-0FB2E125B591@ena.com> On May 19, 2009, at 8:33 AM, Niall O Broin wrote: > I got that file with wget and I noticed that the MIME type it was sent > with was audio/x-wav so I edited the binary of tac.cgi to send audio/ > x- > wav rather than application/wav (yes, I know, but it was quicker than > getting the source, and building it, just to try this out) but > although that got rid of the warning pop up, it still got me no sound. Please see this thread, first and last posts most specifically -- http://thread.gmane.org/gmane.network.nagios.devel/5391 -- Marc ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue May 19 18:13:11 2009 From: jimmyjose2980 at gmail.com (Jimmyboy) Date: Tue, 19 May 2009 21:43:11 +0530 Subject: Nagios: Monitoring WAN link status. Message-ID: Hello Experts, After installing Nagios 3.0.6 on Ubuntu 8.10 (VM senario), I have managed to configure it to monitor my Windows-based machines and Route-Switch Modules (RSMs). I read the documentation which says that Nagios is a system and network monitoring application. It watches hosts and services, etc. However, I was curious to know whether it could also be configured to monitor WAN links' status, latency, flap-detection, etc. Can anyone throw some light on this part with how to go about if it is possible? Thanks, Jim -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- 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 Tue May 19 18:59:16 2009 From: nccomp at gmail.com (Andrew Davis) Date: Tue, 19 May 2009 12:59:16 -0400 Subject: Downtime discrepancy Message-ID: <4A12E564.8070005@gmail.com> Looking at my hosts that are scheduled for downtime, I noticed this: ns2 05-19-2009 10:55:04 adavis Rebuilding with CentOS 05-19-2009 10:54:43 05-19-2009 12:54:43 Flexible 0d 3h 0m 0s 49 N/A Delete/Cancel This Scheduled Downtime Entry How is it possible to have downtime scheduled from 10:54:43 to 12:54:43 yet have a duration of 3 hours??? Something appears to be amiss. In fact, even though it was marked as flexible and with a duration of 3 hours, 12:54:43 just passed and the system is no longer listed as being under downtime, yet it should be as it was scheduled for 3 hours of downtime. -- 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 -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- 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 mike.saldivar at advocatecreditrepair.com Tue May 19 19:17:49 2009 From: mike.saldivar at advocatecreditrepair.com (Mike Saldivar) Date: Tue, 19 May 2009 11:17:49 -0600 Subject: Nagios: Monitoring WAN link status. In-Reply-To: References: Message-ID: <61ab46280905191017l2e505148i8994628c76deddd6@mail.gmail.com> On Tue, May 19, 2009 at 10:13 AM, Jimmyboy wrote: > Hello Experts, > > After installing Nagios 3.0.6 on Ubuntu 8.10 (VM senario), I have managed > to configure it to monitor my Windows-based machines and Route-Switch > Modules (RSMs). > > I read the documentation which says that Nagios is a system and network > monitoring application. It watches hosts and services, etc. However, I was > curious to know whether it could also be configured to monitor WAN links' > status, latency, flap-detection, etc. > > Yes, if your network devices support SNMP, they can report via SNMP to Nagios, and you can monitor anything your device is willing to report via SNMP. http://nagios.sourceforge.net/docs/3_0/monitoring-routers.html However, I have a set-up identical to yours, and am currently stalled at getting the Net-SNMP and SNMP-Utils installed. My server's missing something that's preventing SNMP and MRTG from working. -Mike -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- 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 CWaters at jeld-wen.com Tue May 19 19:20:02 2009 From: CWaters at jeld-wen.com (Chris Waters) Date: Tue, 19 May 2009 10:20:02 -0700 Subject: Downtime discrepancy In-Reply-To: <4A12E564.8070005@gmail.com> References: <4A12E564.8070005@gmail.com> Message-ID: <30D62F21FD4BE1448C156D2A3E30039705FD8003@jwmail01.jeld-wen.com> >From the docs: Fixed vs. Flexible Downtime When you schedule downtime for a host or service through the web interface you'll be asked if the downtime is fixed or flexible. Here's an explanation of how "fixed" and "flexible" downtime differs: "Fixed" downtime starts and stops at the exact start and end times that you specify when you schedule it. Okay, that was easy enough... "Flexible" downtime is intended for times when you know that a host or service is going to be down for X minutes (or hours), but you don't know exactly when that'll start. When you schedule flexible downtime, Nagios will start the scheduled downtime sometime between the start and end times you specified. The downtime will last for as long as the duration you specified when you scheduled the downtime. This assumes that the host or service for which you scheduled flexible downtime either goes down (or becomes unreachable) or goes into a non-OK state sometime between the start and end times you specified. The time at which a host or service transitions to a problem state determines the time at which Nagios actually starts the downtime. The downtime will then last for the duration you specified, even if the host or service recovers before the downtime expires. This is done for a very good reason. As we all know, you can think you've got a problem fixed (and restart a server) ten times before it actually works right. Smart, eh? Flexible means nagios expects the host to go down within the "window" you have specified for the duration you specified. ________________________________ From: Andrew Davis [mailto:nccomp at gmail.com] Sent: Tuesday, May 19, 2009 9:59 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Downtime discrepancy Looking at my hosts that are scheduled for downtime, I noticed this: ns2 05-19-2009 10:55:04 adavis Rebuilding with CentOS 05-19-2009 10:54:43 05-19-2009 12:54:43 Flexible 0d 3h 0m 0s 49 N/A Delete/Cancel This Scheduled Downtime Entry How is it possible to have downtime scheduled from 10:54:43 to 12:54:43 yet have a duration of 3 hours??? Something appears to be amiss. In fact, even though it was marked as flexible and with a duration of 3 hours, 12:54:43 just passed and the system is no longer listed as being under downtime, yet it should be as it was scheduled for 3 hours of downtime. -- 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 -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- 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 alex_b at users.sourceforge.net Tue May 19 20:01:45 2009 From: alex_b at users.sourceforge.net (Alex Burger) Date: Tue, 19 May 2009 14:01:45 -0400 Subject: Running Windows batch files through NRPE In-Reply-To: <232A174A689B4242936B4D08C19447D103302FBD@owa.sunlandconstruction.com> References: <232A174A689B4242936B4D08C19447D103302FBD@owa.sunlandconstruction.com> Message-ID: <4A12F409.6090708@users.sourceforge.net> You are running NSClient++ as a service which is using the SYSTEM account. The SYSTEM account does not have access to network resources. One solution is to create a domain user account and then change the NSClient++ service to use the new account. Also make sure the account has access to the batch file. As someone else mentioned it may make more sense to use a scheduled task but it also needs to run as a network account that has access. You may want to look at psexec from Sysinternals. Alex Leleux, Jeremy J wrote: > I'm running Nagios 3.0.6/CentOS 5.2 for my Nagios server. Its > monitoring my Windows Servers, all 2003, I have NSClient++ on those > servers and its working fine. My problem is that I'm trying to > centralize the configs on the NSClient++'s w/ the help of batch files. > I have setup commands to allow me run the scripts w/ the help of > check_nrpe, but they will not run. > > Here is the contents of one of my batch files, nscpp_config.bat, to > update the NSClient++ config: > @echo off > xcopy > \\10.10.0.50\public\Departments\Infor~1\Scripts\nscpp_copy.bat > C:\Progra~1\NSClient++ /Y > exit > When I try to run this command from my Nagios Server, I get an "Invalid > Drive Specification Error". And here is my config line to allow the > command in NSClient++: ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue May 19 20:14:24 2009 From: nccomp at gmail.com (Andrew Davis) Date: Tue, 19 May 2009 14:14:24 -0400 Subject: Downtime discrepancy In-Reply-To: <30D62F21FD4BE1448C156D2A3E30039705FD8003@jwmail01.jeld-wen.com> References: <4A12E564.8070005@gmail.com> <30D62F21FD4BE1448C156D2A3E30039705FD8003@jwmail01.jeld-wen.com> Message-ID: <4A12F700.6010607@gmail.com> Thanks. The one time I don't read the docs first and that proves to be the solution... 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 Chris Waters wrote: > From the docs: > > > *_Fixed vs. Flexible Downtime_* > > When you schedule downtime for a host or service through the web > interface you'll be asked if the downtime is fixed or flexible. Here's > an explanation of how "fixed" and "flexible" downtime differs: > > "Fixed" downtime starts and stops at the exact start and end times > that you specify when you schedule it. Okay, that was easy enough... > > "Flexible" downtime is intended for times when you know that a host or > service is going to be down for X minutes (or hours), but you don't > know exactly when that'll start. When you schedule flexible downtime, > Nagios will start the scheduled downtime sometime between the start > and end times you specified. The downtime will last for as long as the > duration you specified when you scheduled the downtime. This assumes > that the host or service for which you scheduled flexible downtime > either goes down (or becomes unreachable) or goes into a non-OK state > sometime between the start and end times you specified. The time at > which a host or service transitions to a problem state determines the > time at which Nagios actually starts the downtime. The downtime will > then last for the duration you specified, even if the host or service > recovers before the downtime expires. This is done for a very good > reason. As we all know, you can think you've got a problem fixed (and > restart a server) ten times before it actually works right. Smart, eh? > > Flexible means nagios expects the host to go down within the "window" > you have specified for the duration you specified. > > > > ------------------------------------------------------------------------ > *From:* Andrew Davis [mailto:nccomp at gmail.com] > *Sent:* Tuesday, May 19, 2009 9:59 AM > *To:* nagios-users at lists.sourceforge.net > *Subject:* [Nagios-users] Downtime discrepancy > > Looking at my hosts that are scheduled for downtime, I noticed this: > > ns2 05-19-2009 10:55:04 adavis Rebuilding with CentOS > 05-19-2009 10:54:43 05-19-2009 12:54:43 Flexible 0d 3h 0m > 0s 49 N/A Delete/Cancel This Scheduled Downtime Entry > > How is it possible to have downtime scheduled from 10:54:43 to > 12:54:43 yet have a duration of 3 hours??? Something appears to be amiss. > > In fact, even though it was marked as flexible and with a duration of > 3 hours, 12:54:43 just passed and the system is no longer listed as > being under downtime, yet it should be as it was scheduled for 3 hours > of downtime. > -- > > > 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 -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- 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 srianirudh at gmail.com Tue May 19 20:32:12 2009 From: srianirudh at gmail.com (Anirudh Srinivasan) Date: Tue, 19 May 2009 14:32:12 -0400 Subject: check frequency In-Reply-To: <699b436a0905182019o9f85e81oef90c5999b516feb@mail.gmail.com> References: <699b436a0905181941j487029c5k6ed56969eb303988@mail.gmail.com> <4A1220F8.8080306@gmail.com> <699b436a0905182007g66e4b09bv1e750e9f611130d2@mail.gmail.com> <699b436a0905182019o9f85e81oef90c5999b516feb@mail.gmail.com> Message-ID: <699b436a0905191132y14659dcqaf66130892cf516a@mail.gmail.com> Hi Dongsheng I tried as you suggested by putting Check_interval 1 retry_interval 1 max_check_attempts 3 But this is what i see on the alert history : [05-19-2009 13:42:35] HOST ALERT: app-engbw5;DOWN;HARD;3;FPING CRITICAL - (loss=100% ) [05-19-2009 13:37:38] HOST ALERT: app-engbw5;DOWN;SOFT;2;FPING CRITICAL - (loss=100% ) [05-19-2009 13:32:24] HOST ALERT: app-engbw5;DOWN;SOFT;1;FPING CRITICAL - (loss=100% ) Again the time duration between each check is like 5 min . Its increased now to 5 min from 3 min I want to make it as 1 min and third attempt state as HARD and send notification. 2009/5/18 Anirudh Srinivasan > Also one more question : > > How was nagios managing that retry_interval earlier when this parameter was > not even set ?? > > Is it because of SMART calculation thats set in nagios.cfg ??? If not > please can i know how that worked ??? > > 2009/5/18 Anirudh Srinivasan > > Hi >> >> Thanks for the reply , will try this out. But is there some centralized >> Parameter in nagios.cfg that could solve this issue. >> >> Thanks in Adv >> >> On Mon, May 18, 2009 at 11:01 PM, Dongsheng Song < >> dongsheng.song at gmail.com> wrote: >> >>> In service definition, set: >>> >>> check_interval 1 >>> retry_interval 1 >>> max_check_attempts 5 >>> >>> >>> In host definition, set: >>> check_interval 1 >>> retry_interval 1 >>> max_check_attempts 5 >>> >>> >>> You can put them to the host/service template for simplify definition. >>> >>> -- >>> Dongsheng Song >>> >>> Anirudh Srinivasan ??: >>> > Hi Nagios experts: >>> > >>> > Below is the Alert history for the the host , and the max_check_attemps >>> > is = 5 >>> > >>> > >>> > [05-11-2009 16:46:57] HOST ALERT: benfwca;DOWN;HARD;5;FPING CRITICAL >>> > - (loss=100% ) >>> > [05-11-2009 16:43:36] HOST ALERT: benfwca;DOWN;SOFT;4;FPING CRITICAL >>> > - (loss=100% ) >>> > [05-11-2009 16:40:30] HOST ALERT: benfwca;DOWN;SOFT;3;FPING CRITICAL >>> > -(loss=100% ) >>> > [05-11-2009 16:37:30] HOST ALERT: benfwca;DOWN;SOFT;2;FPING CRITICAL >>> > - (loss=100% ) >>> > [05-11-2009 16:34:16] HOST ALERT: benfwca;DOWN;SOFT;1;FPING CRITICAL >>> > - (loss=100% ) >>> > >>> > If you could notice the check frequency is approx= 3 min . >>> > >>> > Is it possible to reduce this parameter, if yes then what is the >>> > parameter that i have to look for. >>> > I dont want to reduce the max_check_attemps to a lower value. >>> > >>> > All i want to have is check every 1 min for 5 attemps and mark it as >>> > HARD state. >>> > >>> > Is it possible.?? >>> > >>> > Thanks in Adv >>> > -- >>> > Anirudh Srinivasan >>> > >>> >>> >> >> >> -- >> Anirudh Srinivasan >> >> > > > -- > Anirudh Srinivasan > > -- Anirudh Srinivasan -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- 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 Tue May 19 22:05:15 2009 From: subscription at kkeane.com (Kevin Keane) Date: Tue, 19 May 2009 13:05:15 -0700 Subject: Nagios: Monitoring WAN link status. In-Reply-To: <61ab46280905191017l2e505148i8994628c76deddd6@mail.gmail.com> References: Message-ID: <4A1310FB.4020704@kkeane.com> Mike Saldivar wrote: > On Tue, May 19, 2009 at 10:13 AM, Jimmyboy > wrote: > > Hello Experts, > > After installing Nagios 3.0.6 on Ubuntu 8.10 (VM senario), I have > managed to configure it to monitor my Windows-based machines and > Route-Switch Modules (RSMs). > > I read the documentation which says that Nagios is a system and > network monitoring application. It watches hosts and services, > etc. However, I was curious to know whether it could also be > configured to monitor WAN links' status, latency, flap-detection, etc. > > > > Yes, if your network devices support SNMP, they can report via SNMP to > Nagios, and you can monitor anything your device is willing to report > via SNMP. You could also use a simple ping check to the remote router. SNMP is great to check internals of a device. If your interest is whether something is up, simple is best. Also, since the remote router has no idea about latency on the WAN link, that is something only ping can tell. Flap-detection is built into Nagios itself. It's enabled in the default configurations, so you usually don't have to do anything about it. -- 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. ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dongsheng.song at gmail.com Wed May 20 02:47:14 2009 From: dongsheng.song at gmail.com (Dongsheng Song) Date: Wed, 20 May 2009 08:47:14 +0800 Subject: check frequency In-Reply-To: <699b436a0905191132y14659dcqaf66130892cf516a@mail.gmail.com> References: <699b436a0905181941j487029c5k6ed56969eb303988@mail.gmail.com> <4A1220F8.8080306@gmail.com> <699b436a0905182007g66e4b09bv1e750e9f611130d2@mail.gmail.com> <699b436a0905182019o9f85e81oef90c5999b516feb@mail.gmail.com> <699b436a0905191132y14659dcqaf66130892cf516a@mail.gmail.com> Message-ID: <4b3406f0905191747q61487fcm7abee512087c22a9@mail.gmail.com> No, please check your "Scheduling Queue", view "Last Check" and "Next Check". Please distinguish "check history" and "alert history". Are you sure you want check max 4 times, and alter every 1 minuties ? The your "check_interval" should be 12s, it's too short! In 'nagios.cfg', set 'interval_length=1'; In host/service template, set: check_interval 12 retry_interval 12 max_check_attempts 3 The the time duration between each alert(not check!) is 1 min . -- Dongsheng Song 2009/5/20 Anirudh Srinivasan : > Hi Dongsheng > > I tried as you suggested by putting > > Check_interval????? 1 > retry_interval????????? 1 > max_check_attempts????? 3 > > But this is what i see on the alert history? : > > [05-19-2009 13:42:35] HOST ALERT: app-engbw5;DOWN;HARD;3;FPING CRITICAL - > (loss=100% ) > [05-19-2009 13:37:38] HOST ALERT: app-engbw5;DOWN;SOFT;2;FPING CRITICAL - > (loss=100% ) > [05-19-2009 13:32:24] HOST ALERT: app-engbw5;DOWN;SOFT;1;FPING CRITICAL - > (loss=100% ) > > Again the time duration between each check is like 5 min . Its increased now > to 5 min from 3 min > > I want to make it as 1 min and third attempt state as HARD and send > notification. > > > 2009/5/18 Anirudh Srinivasan >> >> Also one more question : >> >> How was nagios managing that retry_interval earlier when this parameter >> was not even set ?? >> >> Is it because of SMART calculation thats set in nagios.cfg ??? If not >> please can i know how that worked ??? >> >> 2009/5/18 Anirudh Srinivasan >>> >>> Hi >>> >>> Thanks for the reply , will try this out. But is there some centralized >>> Parameter in nagios.cfg that could solve this issue. >>> >>> Thanks in Adv >>> >>> On Mon, May 18, 2009 at 11:01 PM, Dongsheng Song >>> wrote: >>>> >>>> In service definition, set: >>>> >>>> ? ? ? ?check_interval ? ? ? ? ? ? ? ? ?1 >>>> ? ? ? ?retry_interval ? ? ? ? ? ? ? ? ?1 >>>> ? ? ? ?max_check_attempts ? ? ? ? ? ? ?5 >>>> >>>> >>>> In host definition, set: >>>> ? ? ? ?check_interval ? ? ? ? ? ? ? ? ?1 >>>> ? ? ? ?retry_interval ? ? ? ? ? ? ? ? ?1 >>>> ? ? ? ?max_check_attempts ? ? ? ? ? ? ?5 >>>> >>>> >>>> You can put them to the host/service template for simplify definition. >>>> >>>> -- >>>> Dongsheng Song >>>> >>>> Anirudh Srinivasan ??: >>>> > ?Hi Nagios experts: >>>> > >>>> > Below is the Alert history for the the host , and the >>>> > max_check_attemps >>>> > is = 5 >>>> > >>>> > >>>> > [05-11-2009 16:46:57] HOST ALERT: benfwca;DOWN;HARD;5;FPING CRITICAL >>>> > - (loss=100% ) >>>> > [05-11-2009 16:43:36] HOST ALERT: benfwca;DOWN;SOFT;4;FPING CRITICAL >>>> > - (loss=100% ) >>>> > [05-11-2009 16:40:30] HOST ALERT: benfwca;DOWN;SOFT;3;FPING CRITICAL >>>> > -(loss=100% ) >>>> > [05-11-2009 16:37:30] HOST ALERT: benfwca;DOWN;SOFT;2;FPING CRITICAL >>>> > - (loss=100% ) >>>> > [05-11-2009 16:34:16] HOST ALERT: benfwca;DOWN;SOFT;1;FPING CRITICAL >>>> > - (loss=100% ) >>>> > >>>> > If you could notice the check frequency is approx= 3 min . >>>> > >>>> > Is it possible to reduce this parameter, if yes then what is the >>>> > parameter that i have to look for. >>>> > I dont want to reduce the max_check_attemps to a lower value. >>>> > >>>> > All i want to have is check every 1 min for 5 attemps and mark it as >>>> > HARD state. >>>> > >>>> > Is it possible.?? >>>> > >>>> > Thanks in Adv >>>> > -- >>>> > Anirudh Srinivasan >>>> > >>>> >>> >>> >>> >>> -- >>> Anirudh Srinivasan >>> >> >> >> >> -- >> Anirudh Srinivasan >> > > > > -- > Anirudh Srinivasan > > ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cloved at gmail.com Wed May 20 07:52:33 2009 From: cloved at gmail.com (Lei Chen) Date: Wed, 20 May 2009 13:52:33 +0800 Subject: 3D Status Map In-Reply-To: References: Message-ID: Hope this helps: http://cic.nist.gov/vrml/vbdetect.html 2009/5/19 Eduardo Barreto : > Hi all, > > Anybody know where to find a plugin for firefox running onto Ubuntu to turn > it able openning vrml? > > I've downloaded openvrml but I'm having many problems to installing it. > > > Cheers > > Eduardo Barreto > > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables > unlimited royalty-free distribution of the report engine > for externally facing server and web deployment. > http://p.sf.net/sfu/businessobjects > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Thanks, Chenlei & ??++ MSN Messenger: chnl at 163.com ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cloved at gmail.com Wed May 20 07:49:36 2009 From: cloved at gmail.com (Lei Chen) Date: Wed, 20 May 2009 13:49:36 +0800 Subject: NRPE In-Reply-To: References: Message-ID: check_snmp_process is another option. http://nagios.manubulon.com/snmp_process.html 2009/5/19 Eduardo Barreto : > Hi All, > > I'm on a need to monitor a specific process on a Windows Vista desktop, is > it possible through NRPE? > > > > Thanks in advance > > Eduardo Barreto > > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables > unlimited royalty-free distribution of the report engine > for externally facing server and web deployment. > http://p.sf.net/sfu/businessobjects > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Thanks, Chenlei & ??++ MSN Messenger: chnl at 163.com ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andrea.bonamici at gruppoform.com Wed May 20 10:04:05 2009 From: andrea.bonamici at gruppoform.com (Bonamici Andrea) Date: Wed, 20 May 2009 10:04:05 +0200 Subject: Check printer attacched an external HP jetdirect Message-ID: <36EAA35E9BDF1744A8224C0985762AC7031FCCE0@cospo001.gruppoform.com> Hi all, someone know if it's possible monitoring printer attached to an external HP JetDirect ? NAGIOS----lan----HPJETDIRECT---parallel cable----PRINTER_SNMP Thank's to all -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- 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 20 11:10:31 2009 From: subscription at kkeane.com (Kevin Keane) Date: Wed, 20 May 2009 02:10:31 -0700 Subject: Check printer attacched an external HP jetdirect In-Reply-To: <36EAA35E9BDF1744A8224C0985762AC7031FCCE0@cospo001.gruppoform.com> References: <36EAA35E9BDF1744A8224C0985762AC7031FCCE0@cospo001.gruppoform.com> Message-ID: <4A13C907.8020209@kkeane.com> Yes, but the amount of data you can get is pretty limited. In your setup, the printer doesn't do any SNMP. The Jetdirect does. It in turn needs to figure out whatever information the Printer may make available. And given how infrequently parallel is used nowadays, I doubt that HP is investing all that much into R&D for it. Remember - the Centronics interface dates back to even before the IBM PC - about a third of a century old by now, when Centronics made 9-pin printers for more than $1000. Even just being able to report anything at all was a later addition, originally it was outgoing only. Bonamici Andrea wrote: > Hi all, > someone know if it's possible monitoring printer attached to an > external HP JetDirect ? > > NAGIOS----lan----HPJETDIRECT---parallel cable----PRINTER_SNMP > > Thank's to all -- 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. ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed May 20 12:05:58 2009 From: sunnywavez at in.com (Sundar V S) Date: Wed, 20 May 2009 15:35:58 +0530 Subject: =?utf-8?q?check=5Fnt=3A_Could_not_parse_arguments?= In-Reply-To: <1242814080.ee3dd1c2669f11eabe41d99571167c74@mail.in.com> References: <1242814080.ee3dd1c2669f11eabe41d99571167c74@mail.in.com> Message-ID: <1242813958.916d3891a243c10fede49f9c276f1a20@mail.in.com> Hi,NSClient has been configured for my windows server, now the problem is, in Nagios Interface, when the specified services are checked, I get the message ?checknt: Could not parse arguments ? These are common for all the service which are being monitored for my Windows Server (hostname:flexsrvr212). I think there is problem in configuring windows.cfg and commands.cfg which are not interlinking appropriately. I have done the preflight check there was no error found. Attached is my .cfg files for refrence. Kindly guide where my modifications are clashing.Thanks and Regards, Sundar -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: windows.cfg URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: commands.cfg URL: -------------- next part -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- 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 melanie_pfefer at yahoo.co.uk Wed May 20 14:38:04 2009 From: melanie_pfefer at yahoo.co.uk (Melanie Pfefer) Date: Wed, 20 May 2009 12:38:04 +0000 (GMT) Subject: RE [spam?] memory on windows Message-ID: <508335.59939.qm@web26208.mail.ukl.yahoo.com> Hi actually I tried this also ./check_snmp_storage.pl -H myhost -C public -m RamDisk -s -w 80% -c 90% Unknown storage : RamDisk : ERROR regards --- On Mon, 18/5/09, James Pratt wrote: > From: James Pratt > Subject: RE: [Nagios-users] RE [spam?] memory on windows > To: "Melanie Pfefer" > Cc: nagios-users at lists.sourceforge.net > Date: Monday, 18 May, 2009, 6:39 PM > http://nagios.manubulon.com/ > > > > -----Original Message----- > From: Melanie Pfefer [mailto:melanie_pfefer at yahoo.co.uk] > > Sent: Monday, May 18, 2009 11:15 AM > To: frank.bourdeau at dga.defense.gouv.fr > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] RE [spam?] memory on windows > > > maybe I was not clear enough > I need to use snmp > > > thanks > > --- On Mon, 18/5/09, frank.bourdeau at dga.defense.gouv.fr > > wrote: > > > From: frank.bourdeau at dga.defense.gouv.fr > > > Subject: RE [spam?] [Nagios-users] memory on windows > > To: "Melanie Pfefer" > > Cc: nagios-users at lists.sourceforge.net > > Date: Monday, 18 May, 2009, 6:00 PM > > > > > > Hi Melanie, > > > > > > > > NSCLIENT++ is the Nagios > > client for > > Windows 2003, 2000, 2008. You can download it at > > http://nsclient++.org/nscp/. > > Follow the documentation on the web site. > > > > > > > > [ENVOYE PAR INTERNET] > > > > > > > > > > > > frank.bourdeau at dga.defense.gouv.fr > > > > > > > > > > > > > > > > > > Melanie > > Pfefer > > > > 18/05/2009 16:51 > > > > > > > > > > A > > nagiosplug-help at lists.sourceforge.net > > > > > > cc > > nagios-users at lists.sourceforge.net > > > > > > Objet > > [spam?] [Nagios-users] > > memory on windows > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > hi > > > > > > > > I have a windows 2003 and want to monitor its memory > usage > > > > > > > > can you please pass me the plugin that can notify me > if > > memory usage reached > > X GB? > > > > > > > > thank you > > > > > > > > > > > >? ? ? ? > > > > > > > > > ------------------------------------------------------------------------------ > > > > Crystal Reports - New Free Runtime and 30 Day Trial > > > > Check out the new simplified licensing option that > enables > > > > > > unlimited royalty-free distribution of the report > engine > > > > for externally facing server and web deployment. > > > > http://p.sf.net/sfu/businessobjects > > > > _______________________________________________ > > > > Nagios-users mailing list > > > > Nagios-users at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ::: Please include Nagios version, plugin version (-v) > and > > OS when reporting > > any issue. > > > > ::: Messages without supporting info will risk being > sent > > to /dev/null > > > > > > > > > > > ? ? ? > > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables > > unlimited royalty-free distribution of the report engine > for externally facing server and web deployment. > http://p.sf.net/sfu/businessobjects > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and > OS when reporting any issue. > ::: Messages without supporting info will risk being sent > to /dev/null > ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed May 20 14:40:08 2009 From: jpratt at norwich.edu (James Pratt) Date: Wed, 20 May 2009 08:40:08 -0400 Subject: RE [spam?] memory on windows In-Reply-To: <508335.59939.qm@web26208.mail.ukl.yahoo.com> References: <508335.59939.qm@web26208.mail.ukl.yahoo.com> Message-ID: <8147CCE3C4A8764DA9980125EE70E823CBEFE0@nuexchg.norwich.edu> Hmm.. is "RamDisk" a mount point on a *nix machine, or .... ? -----Original Message----- From: Melanie Pfefer [mailto:melanie_pfefer at yahoo.co.uk] Sent: Wednesday, May 20, 2009 8:38 AM To: James Pratt Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] RE [spam?] memory on windows Hi actually I tried this also ./check_snmp_storage.pl -H myhost -C public -m RamDisk -s -w 80% -c 90% Unknown storage : RamDisk : ERROR regards --- On Mon, 18/5/09, James Pratt wrote: > From: James Pratt > Subject: RE: [Nagios-users] RE [spam?] memory on windows > To: "Melanie Pfefer" > Cc: nagios-users at lists.sourceforge.net > Date: Monday, 18 May, 2009, 6:39 PM > http://nagios.manubulon.com/ > > > > -----Original Message----- > From: Melanie Pfefer [mailto:melanie_pfefer at yahoo.co.uk] > > Sent: Monday, May 18, 2009 11:15 AM > To: frank.bourdeau at dga.defense.gouv.fr > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] RE [spam?] memory on windows > > > maybe I was not clear enough > I need to use snmp > > > thanks > > --- On Mon, 18/5/09, frank.bourdeau at dga.defense.gouv.fr > > wrote: > > > From: frank.bourdeau at dga.defense.gouv.fr > > > Subject: RE [spam?] [Nagios-users] memory on windows > > To: "Melanie Pfefer" > > Cc: nagios-users at lists.sourceforge.net > > Date: Monday, 18 May, 2009, 6:00 PM > > > > > > Hi Melanie, > > > > > > > > NSCLIENT++ is the Nagios > > client for > > Windows 2003, 2000, 2008. You can download it at > > http://nsclient++.org/nscp/. > > Follow the documentation on the web site. > > > > > > > > [ENVOYE PAR INTERNET] > > > > > > > > > > > > frank.bourdeau at dga.defense.gouv.fr > > > > > > > > > > > > > > > > > > Melanie > > Pfefer > > > > 18/05/2009 16:51 > > > > > > > > > > A > > nagiosplug-help at lists.sourceforge.net > > > > > > cc > > nagios-users at lists.sourceforge.net > > > > > > Objet > > [spam?] [Nagios-users] > > memory on windows > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > hi > > > > > > > > I have a windows 2003 and want to monitor its memory > usage > > > > > > > > can you please pass me the plugin that can notify me > if > > memory usage reached > > X GB? > > > > > > > > thank you > > > > > > > > > > > >? ? ? ? > > > > > > > > > ------------------------------------------------------------------------------ > > > > Crystal Reports - New Free Runtime and 30 Day Trial > > > > Check out the new simplified licensing option that > enables > > > > > > unlimited royalty-free distribution of the report > engine > > > > for externally facing server and web deployment. > > > > http://p.sf.net/sfu/businessobjects > > > > _______________________________________________ > > > > Nagios-users mailing list > > > > Nagios-users at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ::: Please include Nagios version, plugin version (-v) > and > > OS when reporting > > any issue. > > > > ::: Messages without supporting info will risk being > sent > > to /dev/null > > > > > > > > > > > ? ? ? > > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables > > unlimited royalty-free distribution of the report engine > for externally facing server and web deployment. > http://p.sf.net/sfu/businessobjects > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and > OS when reporting any issue. > ::: Messages without supporting info will risk being sent > to /dev/null > ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed May 20 14:45:15 2009 From: jpratt at norwich.edu (James Pratt) Date: Wed, 20 May 2009 08:45:15 -0400 Subject: FW: RE [spam?] memory on windows Message-ID: <8147CCE3C4A8764DA9980125EE70E823CBEFE4@nuexchg.norwich.edu> Sorry - I see what you are doing now. Try a -q instead of -m, and change it to "Ram" and let us know how that works - You can also snmpwalk the host to see if the "RamDisk" entry (Index entries use the -m) shows up in the output anywhere. (Chances are, it does not, which would explain the "ERROR") Thanks, James -----Original Message----- From: James Pratt Sent: Wednesday, May 20, 2009 8:40 AM To: 'Melanie Pfefer' Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] RE [spam?] memory on windows Hmm.. is "RamDisk" a mount point on a *nix machine, or .... ? -----Original Message----- From: Melanie Pfefer [mailto:melanie_pfefer at yahoo.co.uk] Sent: Wednesday, May 20, 2009 8:38 AM To: James Pratt Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] RE [spam?] memory on windows Hi actually I tried this also ./check_snmp_storage.pl -H myhost -C public -m RamDisk -s -w 80% -c 90% Unknown storage : RamDisk : ERROR regards --- On Mon, 18/5/09, James Pratt wrote: > From: James Pratt > Subject: RE: [Nagios-users] RE [spam?] memory on windows > To: "Melanie Pfefer" > Cc: nagios-users at lists.sourceforge.net > Date: Monday, 18 May, 2009, 6:39 PM > http://nagios.manubulon.com/ > > > > -----Original Message----- > From: Melanie Pfefer [mailto:melanie_pfefer at yahoo.co.uk] > > Sent: Monday, May 18, 2009 11:15 AM > To: frank.bourdeau at dga.defense.gouv.fr > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] RE [spam?] memory on windows > > > maybe I was not clear enough > I need to use snmp > > > thanks > > --- On Mon, 18/5/09, frank.bourdeau at dga.defense.gouv.fr > > wrote: > > > From: frank.bourdeau at dga.defense.gouv.fr > > > Subject: RE [spam?] [Nagios-users] memory on windows > > To: "Melanie Pfefer" > > Cc: nagios-users at lists.sourceforge.net > > Date: Monday, 18 May, 2009, 6:00 PM > > > > > > Hi Melanie, > > > > > > > > NSCLIENT++ is the Nagios > > client for > > Windows 2003, 2000, 2008. You can download it at > > http://nsclient++.org/nscp/. > > Follow the documentation on the web site. > > > > > > > > [ENVOYE PAR INTERNET] > > > > > > > > > > > > frank.bourdeau at dga.defense.gouv.fr > > > > > > > > > > > > > > > > > > Melanie > > Pfefer > > > > 18/05/2009 16:51 > > > > > > > > > > A > > nagiosplug-help at lists.sourceforge.net > > > > > > cc > > nagios-users at lists.sourceforge.net > > > > > > Objet > > [spam?] [Nagios-users] > > memory on windows > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > hi > > > > > > > > I have a windows 2003 and want to monitor its memory > usage > > > > > > > > can you please pass me the plugin that can notify me > if > > memory usage reached > > X GB? > > > > > > > > thank you > > > > > > > > > > > >? ? ? ? > > > > > > > > > ------------------------------------------------------------------------------ > > > > Crystal Reports - New Free Runtime and 30 Day Trial > > > > Check out the new simplified licensing option that > enables > > > > > > unlimited royalty-free distribution of the report > engine > > > > for externally facing server and web deployment. > > > > http://p.sf.net/sfu/businessobjects > > > > _______________________________________________ > > > > Nagios-users mailing list > > > > Nagios-users at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ::: Please include Nagios version, plugin version (-v) > and > > OS when reporting > > any issue. > > > > ::: Messages without supporting info will risk being > sent > > to /dev/null > > > > > > > > > > > ? ? ? > > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables > > unlimited royalty-free distribution of the report engine > for externally facing server and web deployment. > http://p.sf.net/sfu/businessobjects > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and > OS when reporting any issue. > ::: Messages without supporting info will risk being sent > to /dev/null > ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed May 20 15:03:35 2009 From: jpratt at norwich.edu (James Pratt) Date: Wed, 20 May 2009 09:03:35 -0400 Subject: FW: RE [spam?] memory on windows In-Reply-To: <8147CCE3C4A8764DA9980125EE70E823CBEFE4@nuexchg.norwich.edu> References: <8147CCE3C4A8764DA9980125EE70E823CBEFE4@nuexchg.norwich.edu> Message-ID: <8147CCE3C4A8764DA9980125EE70E823CBEFF1@nuexchg.norwich.edu> Ok, I got it: Try this: First, determine what is visible via snmp for storage on windows system: $ ./check_snmp_storage -H 10.14.1.83 -C public -m zzz -w 80% -c 90% -v V1 login : public OID : .1.3.6.1.2.1.25.2.3.1.3.1 : C:\ Label: Serial Number e0153914 OID : .1.3.6.1.2.1.25.2.3.1.3.2 : D:\ Label: Serial Number e8a58f58 OID : .1.3.6.1.2.1.25.2.3.1.3.3 : E:\ OID : .1.3.6.1.2.1.25.2.3.1.3.4 : Virtual Memory OID : .1.3.6.1.2.1.25.2.3.1.3.5 : Physical Memory Found : 0 match : 0 OID queries ERROR : Unknown storage zzz Next, choose your victim: $ ./check_snmp_storage -H 10.14.1.83 -C nagi0s -m "Physical Memory" -w 80% -c 90% OK : Physical Memory: 8%used(695MB/8190MB) : < 80 % | 'Physical Memory'=695MB;6551;7370;0;8189 Hth, regards, james -----Original Message----- From: James Pratt [mailto:jpratt at norwich.edu] Sent: Wednesday, May 20, 2009 8:45 AM To: Melanie Pfefer Cc: nagios-users at lists.sourceforge.net Subject: [Nagios-users] FW: RE [spam?] memory on windows Sorry - I see what you are doing now. Try a -q instead of -m, and change it to "Ram" and let us know how that works - You can also snmpwalk the host to see if the "RamDisk" entry (Index entries use the -m) shows up in the output anywhere. (Chances are, it does not, which would explain the "ERROR") Thanks, James -----Original Message----- From: James Pratt Sent: Wednesday, May 20, 2009 8:40 AM To: 'Melanie Pfefer' Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] RE [spam?] memory on windows Hmm.. is "RamDisk" a mount point on a *nix machine, or .... ? -----Original Message----- From: Melanie Pfefer [mailto:melanie_pfefer at yahoo.co.uk] Sent: Wednesday, May 20, 2009 8:38 AM To: James Pratt Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] RE [spam?] memory on windows Hi actually I tried this also ./check_snmp_storage.pl -H myhost -C public -m RamDisk -s -w 80% -c 90% Unknown storage : RamDisk : ERROR regards --- On Mon, 18/5/09, James Pratt wrote: > From: James Pratt > Subject: RE: [Nagios-users] RE [spam?] memory on windows > To: "Melanie Pfefer" > Cc: nagios-users at lists.sourceforge.net > Date: Monday, 18 May, 2009, 6:39 PM > http://nagios.manubulon.com/ > > > > -----Original Message----- > From: Melanie Pfefer [mailto:melanie_pfefer at yahoo.co.uk] > > Sent: Monday, May 18, 2009 11:15 AM > To: frank.bourdeau at dga.defense.gouv.fr > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] RE [spam?] memory on windows > > > maybe I was not clear enough > I need to use snmp > > > thanks > > --- On Mon, 18/5/09, frank.bourdeau at dga.defense.gouv.fr > > wrote: > > > From: frank.bourdeau at dga.defense.gouv.fr > > > Subject: RE [spam?] [Nagios-users] memory on windows > > To: "Melanie Pfefer" > > Cc: nagios-users at lists.sourceforge.net > > Date: Monday, 18 May, 2009, 6:00 PM > > > > > > Hi Melanie, > > > > > > > > NSCLIENT++ is the Nagios > > client for > > Windows 2003, 2000, 2008. You can download it at > > http://nsclient++.org/nscp/. > > Follow the documentation on the web site. > > > > > > > > [ENVOYE PAR INTERNET] > > > > > > > > > > > > frank.bourdeau at dga.defense.gouv.fr > > > > > > > > > > > > > > > > > > Melanie > > Pfefer > > > > 18/05/2009 16:51 > > > > > > > > > > A > > nagiosplug-help at lists.sourceforge.net > > > > > > cc > > nagios-users at lists.sourceforge.net > > > > > > Objet > > [spam?] [Nagios-users] > > memory on windows > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > hi > > > > > > > > I have a windows 2003 and want to monitor its memory > usage > > > > > > > > can you please pass me the plugin that can notify me > if > > memory usage reached > > X GB? > > > > > > > > thank you > > > > > > > > > > > >? ? ? ? > > > > > > > > > ------------------------------------------------------------------------------ > > > > Crystal Reports - New Free Runtime and 30 Day Trial > > > > Check out the new simplified licensing option that > enables > > > > > > unlimited royalty-free distribution of the report > engine > > > > for externally facing server and web deployment. > > > > http://p.sf.net/sfu/businessobjects > > > > _______________________________________________ > > > > Nagios-users mailing list > > > > Nagios-users at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ::: Please include Nagios version, plugin version (-v) > and > > OS when reporting > > any issue. > > > > ::: Messages without supporting info will risk being > sent > > to /dev/null > > > > > > > > > > > ? ? ? > > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables > > unlimited royalty-free distribution of the report engine > for externally facing server and web deployment. > http://p.sf.net/sfu/businessobjects > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and > OS when reporting any issue. > ::: Messages without supporting info will risk being sent > to /dev/null > ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jmphilip at ccs.usherbrooke.ca Wed May 20 15:05:36 2009 From: jmphilip at ccs.usherbrooke.ca (Jean-Michel Philippon-Nadeau) Date: Wed, 20 May 2009 09:05:36 -0400 Subject: Nagios reporting no output when there is output In-Reply-To: References: <4A0DAA98.6000107@ccs.usherbrooke.ca> <1242412310.4784.48.camel@localhost.localdomain> <4A0DBD37.4040602@ccs.usherbrooke.ca> <1242414713.4784.56.camel@localhost.localdomain> <4A0DC287.4090405@ccs.usherbrooke.ca> Message-ID: <4A140020.6080508@ccs.usherbrooke.ca> Thanks for your replies Tom, Marc and Anthony. I have found the problem. Because of a misconfiguration issue, the Nagios server was also doing active checks on the host... Thanks for your answers, they have helped me understand better how to debug a NSCA config. -- Jean-Michel Philippon-Nadeau Administrateur syst?me Centre de Calcul Scientifique Universit? de Sherbrooke http://rqchp.ca E-Mail: jmphilip at ccs.usherbrooke.ca Tel: +1-819-821-8000 ext. 65480 ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jjleleux at sunlandconstruction.com Wed May 20 15:17:48 2009 From: jjleleux at sunlandconstruction.com (Leleux, Jeremy J) Date: Wed, 20 May 2009 08:17:48 -0500 Subject: Running Windows batch files through NRPE In-Reply-To: <4A12F409.6090708@users.sourceforge.net> References: <232A174A689B4242936B4D08C19447D103302FBD@owa.sunlandconstruction.com> <4A12F409.6090708@users.sourceforge.net> Message-ID: <232A174A689B4242936B4D08C19447D103303424@owa.sunlandconstruction.com> Thanks for the posts y'all! I was able to get it running w/ 2 batch files. The first batch file was strictly a file copy script that sent over the config and update script. The second batch uses psexec to run the update script on each windows server. I'm still working out some kinks, but for the most part it's working. If anyone is looking for more information on how to do this, let me know and I would be glad to help. Respectfully, Jeremy Leleux IT Administrator Sunland Construction, Inc. Corporate Division Office: 337.550.2142 Fax: 337.546.0245 Mobile: 337.580.6062 Email: jjleleux at sunlandconstruction.com -----Original Message----- From: Alex Burger [mailto:alex_b at users.sourceforge.net] Sent: Tuesday, May 19, 2009 1:02 PM To: Leleux, Jeremy J Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Running Windows batch files through NRPE You are running NSClient++ as a service which is using the SYSTEM account. The SYSTEM account does not have access to network resources. One solution is to create a domain user account and then change the NSClient++ service to use the new account. Also make sure the account has access to the batch file. As someone else mentioned it may make more sense to use a scheduled task but it also needs to run as a network account that has access. You may want to look at psexec from Sysinternals. Alex Leleux, Jeremy J wrote: > I'm running Nagios 3.0.6/CentOS 5.2 for my Nagios server. Its > monitoring my Windows Servers, all 2003, I have NSClient++ on those > servers and its working fine. My problem is that I'm trying to > centralize the configs on the NSClient++'s w/ the help of batch files. > I have setup commands to allow me run the scripts w/ the help of > check_nrpe, but they will not run. > > Here is the contents of one of my batch files, nscpp_config.bat, to > update the NSClient++ config: > @echo off > xcopy > \\10.10.0.50\public\Departments\Infor~1\Scripts\nscpp_copy.bat > C:\Progra~1\NSClient++ /Y > exit > When I try to run this command from my Nagios Server, I get an "Invalid > Drive Specification Error". And here is my config line to allow the > command in NSClient++: ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 20 15:22:13 2009 From: srianirudh at gmail.com (Anirudh Srinivasan) Date: Wed, 20 May 2009 09:22:13 -0400 Subject: check frequency In-Reply-To: <4b3406f0905191747q61487fcm7abee512087c22a9@mail.gmail.com> References: <699b436a0905181941j487029c5k6ed56969eb303988@mail.gmail.com> <4A1220F8.8080306@gmail.com> <699b436a0905182007g66e4b09bv1e750e9f611130d2@mail.gmail.com> <699b436a0905182019o9f85e81oef90c5999b516feb@mail.gmail.com> <699b436a0905191132y14659dcqaf66130892cf516a@mail.gmail.com> <4b3406f0905191747q61487fcm7abee512087c22a9@mail.gmail.com> Message-ID: <699b436a0905200622l72a2dabfk325fb82bfce6baac@mail.gmail.com> This is how i wanted to make it look like : [05-19-2009 13:34:00] HOST ALERT: app-engbw5;DOWN;HARD;3;FPING CRITICAL - (loss=100% ) [05-19-2009 13:33:00] HOST ALERT: app-engbw5;DOWN;SOFT;2;FPING CRITICAL - (loss=100% ) [05-19-2009 13:32:00] HOST ALERT: app-engbw5;DOWN;SOFT;1;FPING CRITICAL - (loss=100% ) Then at 13:34:00 send out the notification . Is this feasible ?? On Tue, May 19, 2009 at 8:47 PM, Dongsheng Song wrote: > No, please check your "Scheduling Queue", view "Last Check" and "Next > Check". > > Please distinguish "check history" and "alert history". > > Are you sure you want check max 4 times, and alter every 1 minuties ? > The your "check_interval" should be 12s, it's too short! > > In 'nagios.cfg', set 'interval_length=1'; In host/service template, set: > > check_interval 12 > retry_interval 12 > max_check_attempts 3 > > The the time duration between each alert(not check!) is 1 min . > > -- > Dongsheng Song > > 2009/5/20 Anirudh Srinivasan : > > Hi Dongsheng > > > > I tried as you suggested by putting > > > > Check_interval 1 > > retry_interval 1 > > max_check_attempts 3 > > > > But this is what i see on the alert history : > > > > [05-19-2009 13:42:35] HOST ALERT: app-engbw5;DOWN;HARD;3;FPING CRITICAL - > > (loss=100% ) > > [05-19-2009 13:37:38] HOST ALERT: app-engbw5;DOWN;SOFT;2;FPING CRITICAL - > > (loss=100% ) > > [05-19-2009 13:32:24] HOST ALERT: app-engbw5;DOWN;SOFT;1;FPING CRITICAL - > > (loss=100% ) > > > > Again the time duration between each check is like 5 min . Its increased > now > > to 5 min from 3 min > > > > I want to make it as 1 min and third attempt state as HARD and send > > notification. > > > > > > 2009/5/18 Anirudh Srinivasan > >> > >> Also one more question : > >> > >> How was nagios managing that retry_interval earlier when this parameter > >> was not even set ?? > >> > >> Is it because of SMART calculation thats set in nagios.cfg ??? If not > >> please can i know how that worked ??? > >> > >> 2009/5/18 Anirudh Srinivasan > >>> > >>> Hi > >>> > >>> Thanks for the reply , will try this out. But is there some centralized > >>> Parameter in nagios.cfg that could solve this issue. > >>> > >>> Thanks in Adv > >>> > >>> On Mon, May 18, 2009 at 11:01 PM, Dongsheng Song > >>> wrote: > >>>> > >>>> In service definition, set: > >>>> > >>>> check_interval 1 > >>>> retry_interval 1 > >>>> max_check_attempts 5 > >>>> > >>>> > >>>> In host definition, set: > >>>> check_interval 1 > >>>> retry_interval 1 > >>>> max_check_attempts 5 > >>>> > >>>> > >>>> You can put them to the host/service template for simplify definition. > >>>> > >>>> -- > >>>> Dongsheng Song > >>>> > >>>> Anirudh Srinivasan ??: > >>>> > Hi Nagios experts: > >>>> > > >>>> > Below is the Alert history for the the host , and the > >>>> > max_check_attemps > >>>> > is = 5 > >>>> > > >>>> > > >>>> > [05-11-2009 16:46:57] HOST ALERT: benfwca;DOWN;HARD;5;FPING CRITICAL > >>>> > - (loss=100% ) > >>>> > [05-11-2009 16:43:36] HOST ALERT: benfwca;DOWN;SOFT;4;FPING CRITICAL > >>>> > - (loss=100% ) > >>>> > [05-11-2009 16:40:30] HOST ALERT: benfwca;DOWN;SOFT;3;FPING CRITICAL > >>>> > -(loss=100% ) > >>>> > [05-11-2009 16:37:30] HOST ALERT: benfwca;DOWN;SOFT;2;FPING CRITICAL > >>>> > - (loss=100% ) > >>>> > [05-11-2009 16:34:16] HOST ALERT: benfwca;DOWN;SOFT;1;FPING CRITICAL > >>>> > - (loss=100% ) > >>>> > > >>>> > If you could notice the check frequency is approx= 3 min . > >>>> > > >>>> > Is it possible to reduce this parameter, if yes then what is the > >>>> > parameter that i have to look for. > >>>> > I dont want to reduce the max_check_attemps to a lower value. > >>>> > > >>>> > All i want to have is check every 1 min for 5 attemps and mark it as > >>>> > HARD state. > >>>> > > >>>> > Is it possible.?? > >>>> > > >>>> > Thanks in Adv > >>>> > -- > >>>> > Anirudh Srinivasan > >>>> > > >>>> > >>> > >>> > >>> > >>> -- > >>> Anirudh Srinivasan > >>> > >> > >> > >> > >> -- > >> Anirudh Srinivasan > >> > > > > > > > > -- > > Anirudh Srinivasan > > > > > -- Anirudh Srinivasan -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- 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 20 16:00:13 2009 From: marc at ena.com (Marc Powell) Date: Wed, 20 May 2009 09:00:13 -0500 Subject: check frequency In-Reply-To: <699b436a0905200622l72a2dabfk325fb82bfce6baac@mail.gmail.com> References: <699b436a0905181941j487029c5k6ed56969eb303988@mail.gmail.com> <4A1220F8.8080306@gmail.com> <699b436a0905182007g66e4b09bv1e750e9f611130d2@mail.gmail.com> <699b436a0905182019o9f85e81oef90c5999b516feb@mail.gmail.com> <699b436a0905191132y14659dcqaf66130892cf516a@mail.gmail.com> <4b3406f0905191747q61487fcm7abee512087c22a9@mail.gmail.com> <699b436a0905200622l72a2dabfk325fb82bfce6baac@mail.gmail.com> Message-ID: <27934F1A-A7FA-4500-AB6D-1663D59B204A@ena.com> On May 20, 2009, at 8:22 AM, Anirudh Srinivasan wrote: > This is how i wanted to make it look like : > > [05-19-2009 13:34:00] HOST ALERT: app-engbw5;DOWN;HARD;3;FPING > CRITICAL - (loss=100% ) > [05-19-2009 13:33:00] HOST ALERT: app-engbw5;DOWN;SOFT;2;FPING > CRITICAL - (loss=100% ) > > [05-19-2009 13:32:00] HOST ALERT: app-engbw5;DOWN;SOFT;1;FPING > CRITICAL - (loss=100% ) > > Then at 13:34:00 send out the notification . Is this feasible ?? > Feasible and straightforward. check_interval retry_interval 1 max_check_attempts 3 assumes interval_length in nagios.cfg is 60. -- Marc ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From melanie_pfefer at yahoo.co.uk Wed May 20 15:44:37 2009 From: melanie_pfefer at yahoo.co.uk (Melanie Pfefer) Date: Wed, 20 May 2009 13:44:37 +0000 (GMT) Subject: email attribute in contact Message-ID: <804202.89274.qm@web26206.mail.ukl.yahoo.com> hi in defining a contact, can we have email attribute have 2 email addresses seperated by a comma? thank you ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 20 16:26:19 2009 From: ae at op5.se (Andreas Ericsson) Date: Wed, 20 May 2009 16:26:19 +0200 Subject: email attribute in contact In-Reply-To: <804202.89274.qm@web26206.mail.ukl.yahoo.com> References: <804202.89274.qm@web26206.mail.ukl.yahoo.com> Message-ID: <4A14130B.4030508@op5.se> Melanie Pfefer wrote: > hi > > in defining a contact, can we have email attribute have 2 email addresses seperated by a comma? > Yes and no. Nagios will never bother with the email address, except for expanding the string you've written there when it's time to notify someone. If your notification script can take care of a comma-separated list of email addresses, then all will be fine. I believe the default notification commands will if you omit the comma and just separate the two (or more) email addresses with spaces. I leave it as an exercise to you to find out if that is actually true or not. Make sure to report your finds back to the list, so other can benefit in the future. > thank you > You're welcome. -- 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. ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From melanie_pfefer at yahoo.co.uk Wed May 20 16:52:34 2009 From: melanie_pfefer at yahoo.co.uk (Melanie Pfefer) Date: Wed, 20 May 2009 14:52:34 +0000 (GMT) Subject: FW: RE [spam?] memory on windows Message-ID: <555272.62769.qm@web26201.mail.ukl.yahoo.com> thank you! --- On Wed, 20/5/09, James Pratt wrote: > From: James Pratt > Subject: RE: [Nagios-users] FW: RE [spam?] memory on windows > To: "Melanie Pfefer" > Cc: nagios-users at lists.sourceforge.net > Date: Wednesday, 20 May, 2009, 4:03 PM > Ok, I got it: > > Try this: > > First, determine what is visible via snmp for storage on > windows system: > > $ ./check_snmp_storage -H 10.14.1.83 -C public -m zzz -w > 80% -c 90% -v > V1 login : public > OID : .1.3.6.1.2.1.25.2.3.1.3.1 : C:\ Label:? Serial > Number e0153914 > OID : .1.3.6.1.2.1.25.2.3.1.3.2 : D:\ Label:? Serial > Number e8a58f58 > OID : .1.3.6.1.2.1.25.2.3.1.3.3 : E:\ > OID : .1.3.6.1.2.1.25.2.3.1.3.4 : Virtual Memory > OID : .1.3.6.1.2.1.25.2.3.1.3.5 : Physical Memory > Found : 0 match : 0 OID queries > ERROR : Unknown storage zzz > > Next, choose your victim: > > $ ./check_snmp_storage -H 10.14.1.83 -C nagi0s -m "Physical > Memory" -w 80% -c 90% > OK : Physical Memory: 8%used(695MB/8190MB)? : < 80 > %? | 'Physical Memory'=695MB;6551;7370;0;8189 > > Hth, regards, > james > > -----Original Message----- > From: James Pratt [mailto:jpratt at norwich.edu] > > Sent: Wednesday, May 20, 2009 8:45 AM > To: Melanie Pfefer > Cc: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] FW: RE [spam?] memory on windows > > Sorry - I see what you are doing now. > > Try a -q instead of -m, and change it to "Ram" and let us > know how that works - You can also snmpwalk the host to see > if the "RamDisk" entry (Index entries use the -m) shows up > in the output anywhere. (Chances are, it does not, which > would explain the "ERROR") > > Thanks, > James > > -----Original Message----- > From: James Pratt > Sent: Wednesday, May 20, 2009 8:40 AM > To: 'Melanie Pfefer' > Cc: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] RE [spam?] memory on windows > > Hmm.. is "RamDisk" a mount point on a *nix machine, or .... > ? > > -----Original Message----- > From: Melanie Pfefer [mailto:melanie_pfefer at yahoo.co.uk] > > Sent: Wednesday, May 20, 2009 8:38 AM > To: James Pratt > Cc: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] RE [spam?] memory on windows > > > Hi > > actually I tried this also > > ./check_snmp_storage.pl -H myhost -C public -m RamDisk -s > -w 80% -c 90% > Unknown storage : RamDisk : ERROR > > regards > > --- On Mon, 18/5/09, James Pratt > wrote: > > > From: James Pratt > > Subject: RE: [Nagios-users] RE [spam?]? memory on > windows > > To: "Melanie Pfefer" > > Cc: nagios-users at lists.sourceforge.net > > Date: Monday, 18 May, 2009, 6:39 PM > > http://nagios.manubulon.com/ > > > > > > > > -----Original Message----- > > From: Melanie Pfefer [mailto:melanie_pfefer at yahoo.co.uk] > > > > Sent: Monday, May 18, 2009 11:15 AM > > To: frank.bourdeau at dga.defense.gouv.fr > > Cc: nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] RE [spam?] memory on > windows > > > > > > maybe I was not clear enough > > I need to use snmp > > > > > > thanks > > > > --- On Mon, 18/5/09, frank.bourdeau at dga.defense.gouv.fr > > > > wrote: > > > > > From: frank.bourdeau at dga.defense.gouv.fr > > > > > Subject: RE [spam?] [Nagios-users] memory on > windows > > > To: "Melanie Pfefer" > > > Cc: nagios-users at lists.sourceforge.net > > > Date: Monday, 18 May, 2009, 6:00 PM > > > > > > > > > Hi Melanie, > > > > > > > > > > > > NSCLIENT++ is the Nagios > > > client for > > > Windows 2003, 2000, 2008. You can download it at > > > http://nsclient++.org/nscp/. > > > Follow the documentation on the web site. > > > > > > > > > > > > [ENVOYE PAR INTERNET] > > > > > > > > > > > > > > > > > > frank.bourdeau at dga.defense.gouv.fr > > > > > > > > > > > > > > > > > > > > > > > > > > > Melanie > > > Pfefer > > > > > > 18/05/2009 16:51 > > > > > > > > > > > > > > > A > > > nagiosplug-help at lists.sourceforge.net > > > > > > > > > cc > > > nagios-users at lists.sourceforge.net > > > > > > > > > Objet > > > [spam?] [Nagios-users] > > > memory on windows > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > hi > > > > > > > > > > > > I have a windows 2003 and want to monitor its > memory > > usage > > > > > > > > > > > > can you please pass me the plugin that can notify > me > > if > > > memory usage reached > > > X GB? > > > > > > > > > > > > thank you > > > > > > > > > > > > > > > > > >? ? ? ? > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > > > Crystal Reports - New Free Runtime and 30 Day > Trial > > > > > > Check out the new simplified licensing option > that > > enables > > > > > > > > > unlimited royalty-free distribution of the > report > > engine > > > > > > for externally facing server and web deployment. > > > > > > > http://p.sf.net/sfu/businessobjects > > > > > > _______________________________________________ > > > > > > Nagios-users mailing list > > > > > > Nagios-users at lists.sourceforge.net > > > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > ::: Please include Nagios version, plugin version > (-v) > > and > > > OS when reporting > > > any issue. > > > > > > ::: Messages without supporting info will risk > being > > sent > > > to /dev/null > > > > > > > > > > > > > > > > > > ? ? ? > > > > > ------------------------------------------------------------------------------ > > Crystal Reports - New Free Runtime and 30 Day Trial > > Check out the new simplified licensing option that > enables > > > > unlimited royalty-free distribution of the report > engine > > for externally facing server and web deployment. > > http://p.sf.net/sfu/businessobjects > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) > and > > OS when reporting any issue. > > ::: Messages without supporting info will risk being > sent > > to /dev/null > > > > > ? ? ? > > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables > > unlimited royalty-free distribution of the report engine > for externally facing server and web deployment. > http://p.sf.net/sfu/businessobjects > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and > OS when reporting any issue. > ::: Messages without supporting info will risk being sent > to /dev/null > ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From invites at radiusim.com Wed May 20 17:03:47 2009 From: invites at radiusim.com (Cristiano Casado) Date: Wed, 20 May 2009 11:03:47 -0400 (EDT) Subject: Cristiano Casado has invited you to radiusIM.com Message-ID: <147688369.10875961242831827908.JavaMail.radiussvc@smtpa31.radiusim.com> An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- 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 Wed May 20 18:17:17 2009 From: info at stoeps.de (Christoph Stoettner) Date: Wed, 20 May 2009 18:17:17 +0200 Subject: check_nt: Could not parse arguments In-Reply-To: <1242813958.916d3891a243c10fede49f9c276f1a20@mail.in.com> References: <1242814080.ee3dd1c2669f11eabe41d99571167c74@mail.in.com> <1242813958.916d3891a243c10fede49f9c276f1a20@mail.in.com> Message-ID: <90ab54e30905200917n7b8a9406w27d66507e2e5a97a@mail.gmail.com> Hi, Problem is the first $ in password1$ of your command-definition (check_nt) command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 12489 -s Password1$ -v $ARG1$ $ARG2$ I would say, that it should be -s $USER2$ when you store the password in your resource.cfg or -s $Password1$ Bye Christoph (Stoeps) -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- 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 Wed May 20 18:33:48 2009 From: shadhin71 at gmail.com (shadih rahman) Date: Wed, 20 May 2009 12:33:48 -0400 Subject: nagios exchange publishing question Message-ID: <6db4a4200905200933h2f501a8ak25e42fbf2cc23564@mail.gmail.com> All, I have a quick question about licensing and trademarks. If I publish some scripts in nagiosexchange.org what license or trademark am I publishing under? Please advise on this. -- Cordially, Shadhin Rahman -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- 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 john at andrunas.net Wed May 20 17:26:50 2009 From: john at andrunas.net (John Andrunas) Date: Wed, 20 May 2009 08:26:50 -0700 Subject: Override a threshold for one host in a template Message-ID: <9c4cd14a0905200826h4d1ddf0ela2bfc6a465a79ccb@mail.gmail.com> I have been using http://nagios.sourceforge.net/docs/3_0/objecttricks.html to set up templates for hosts in Nagios, the only problem I have is that one of my DB servers consistently runs high on memory utilization, so it is almost always in a warning state. I tried setting another higher threshold for that one host in but it doesn't take. Is there a way to override a threshold set in a hostgroup_name for one particular host, or am i going to have to redo my hostgroup based template? -- John ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed May 20 19:00:21 2009 From: israel at frontierflying.com (Israel Brewster) Date: Wed, 20 May 2009 09:00:21 -0800 Subject: Notify via Growl? Message-ID: I have nagios running on an openBSD box, and I would like to use Growl's network notification options to pop-up alert messages on my Mac for certain situations. Does anyone have a script or program that can do this already? I've looked around a bit, but all I've found seem to assume that nagios is running on the Mac, which is not the case here. I've got the Growl dev tools, which come with a python script it looks like I could hack to work, but before I spend too much time on that I wanted to see if it has already been done. Thanks. ----------------------------------------------- Israel Brewster Computer Support Technician II Frontier Flying Service Inc. 5245 Airport Industrial Rd Fairbanks, AK 99709 (907) 450-7250 x293 ----------------------------------------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 20 19:18:39 2009 From: nccomp at gmail.com (Andrew Davis) Date: Wed, 20 May 2009 13:18:39 -0400 Subject: Monitoring clustered resources with Windows... Message-ID: <4A143B6F.4080709@gmail.com> One of our admins is actively migrating us from Server 2003 to Server 2008 and using the built-in clustering capabilities of '08 to enable service-level failover. So far, he's done so with Exchange, print server services, and SQL. I'm wondering how to best monitor shares resources on Windows hosts from Nagios. At present, we use nsclient++ to watch the physical servers. This is good for basic checks of load average, memory, local disk consumption, etc. I can even monitor services that are running. No, I know I can monitor anything that's accessible from an IP and port, but I'm somwhat stumped on other resources... For example, we have two physical Exchange servers. They're in a cluster and the various Exchange services are only active on one node at a time. I can watch OWA as its accessible from an IP and port, but the Exchange services themselves will stop on one server and start on the other if a server fails. Nagios can't dynamically adjust to watch this service on the new node. It will only yell that's its down on the failed node. Clustered file storage is another example. Again, I can watch the local CPU, memory, and local C: drive, etc. But let's say its sharing a large volume as drive F:. I can watch this fine on the primary node, but if it fails over, its no longer accessible from that node as its being shared on the new active node. I'm curious if any Nagios users are using clustered resources on the Windows side and how you handle service failover of services that aren't necessarily accessible by IP and port... -- 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 -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- 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 glicerinu at gmail.com Wed May 20 19:19:47 2009 From: glicerinu at gmail.com (Marc Aymerich) Date: Wed, 20 May 2009 19:19:47 +0200 Subject: Fix service status. Message-ID: Hi All, Is possible fix the current service status to OK? I check by snmp the counter32 of ports from my switch and some times report 'SNMP CRITICAL' when in fact behavior is normal. Thanks Very Much! Marc ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From neil at pricegrabber.com Wed May 20 18:51:18 2009 From: neil at pricegrabber.com (Neil Dombrowski) Date: Wed, 20 May 2009 11:51:18 -0500 Subject: differing notifications Message-ID: <4A143506.40203@pricegrabber.com> I haven't been able to find an answer to this conundrum looking at the docs, faq, or googling. I'd love to hear any suggestions. We have two contact groups; group "adminmail" sends an email to our mailboxes and "adminphone" sends email to our phones. The idea is when a "warning" notification happens, adminmail gets notified, and when a "critical" notification happens adminphone gets notified. As a test I set up two services that check disk. For the first one I set: notification_options w,r contact_group adminmail For the second service I set: notification_options c contact_group adminphone This works, but it's kludgy. Is there a way to define one contact_group for a warning, and a different contact group for critical? We are currently running v1.2(yes, old), but will be upgrading eventually. I'd like to know if there's a solution I can implement now; if we need to upgrade to get this functionality I'd like to know as well. Thanks, Neil -- Neil Dombrowski Linux Administration Pricegrabber.com 608-215-6183 AIM: neilatpg ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed May 20 19:44:18 2009 From: deibertine at yahoo.com (Dei Bertine) Date: Wed, 20 May 2009 10:44:18 -0700 (PDT) Subject: Unable to open MRTG log file Message-ID: <303532.47548.qm@web111210.mail.gq1.yahoo.com> Hi folks, I've been getting these messages from my nagios page under mrtg: "check_mrtgtraf: Unable to open MRTG log file" in which Im unable to figure it out why? here's my config file: # Monitor Port 1 Bandwidth Usage define service{ use mrtg-service host_name ciscoasa-firewall service_description SDFWPORT1_BAND_USE check_command check_local_mrtgtraf!/var/www/mrtg/192.168.1.253_1.log!AVG!1000000,1000000!5000000,5000000!10 } When I launch the command manually, same error. Here's my command looks like: # 'check_local_mrtgtraf' command definition define command{ command_name check_local_mrtgtraf command_line $USER1$/check_mrtgtraf -F $ARG1$ -a $ARG2$ -w $ARG3$ -c $ARG4$ -e $ARG5$ } Please someone advise. Thank you! DB ________________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- 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 mgagne at iweb.com Wed May 20 19:52:28 2009 From: mgagne at iweb.com (=?ISO-8859-1?Q?Mathieu_Gagn=E9?=) Date: Wed, 20 May 2009 13:52:28 -0400 Subject: Notify via Growl? In-Reply-To: References: Message-ID: <4A14435C.9070403@iweb.com> Hi, On 5/20/09 1:00 PM, Israel Brewster wrote: > I have nagios running on an openBSD box, and I would like to use > Growl's network notification options to pop-up alert messages on my > Mac for certain situations. Does anyone have a script or program that > can do this already? I've looked around a bit, but all I've found seem > to assume that nagios is running on the Mac, which is not the case > here. I've got the Growl dev tools, which come with a python script it > looks like I could hack to work, but before I spend too much time on > that I wanted to see if it has already been done. Thanks. 1) Install Net::Growl from CPAN: http://search.cpan.org/~nmcfarl/Net-Growl-0.99/ 2) Allow network notification in Growl on your Mac and set a password. 3) Create a notify script using it based on the provided example. 4) Enjoy! :) -- Mathieu ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 20 20:02:10 2009 From: nccomp at gmail.com (Andrew Davis) Date: Wed, 20 May 2009 14:02:10 -0400 Subject: Unable to open MRTG log file In-Reply-To: <303532.47548.qm@web111210.mail.gq1.yahoo.com> References: <303532.47548.qm@web111210.mail.gq1.yahoo.com> Message-ID: <4A1445A2.5020205@gmail.com> Have you checked ownership of the mrtg log file to ensure your nagios user has at least read-only access? As your nagios user, try to cat the file and see if you get a permission denied message. 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 Dei Bertine wrote: > Hi folks, > > I've been getting these messages from my nagios page under mrtg: > "check_mrtgtraf: Unable to open MRTG log file" in which Im unable to > figure it out why? > > here's my config file: > # Monitor Port 1 Bandwidth Usage > define service{ > use mrtg-service > host_name ciscoasa-firewall > service_description SDFWPORT1_BAND_USE > check_command > check_local_mrtgtraf!/var/www/mrtg/192.168.1.253_1.log!AVG!1000000,1000000!5000000,5000000!10 > } > > When I launch the command manually, same error. > > Here's my command looks like: > # 'check_local_mrtgtraf' command definition > define command{ > command_name check_local_mrtgtraf > command_line $USER1$/check_mrtgtraf -F $ARG1$ -a $ARG2$ -w > $ARG3$ -c $ARG4$ -e $ARG5$ > } > > Please someone advise. > > Thank you! > DB > > ------------------------------------------------------------------------ > * > * > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables > unlimited royalty-free distribution of the report engine > for externally facing server and web deployment. > http://p.sf.net/sfu/businessobjects > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- 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 Wed May 20 20:00:38 2009 From: nccomp at gmail.com (Andrew Davis) Date: Wed, 20 May 2009 14:00:38 -0400 Subject: Monitoring clustered resources with Windows... In-Reply-To: <8147CCE3C4A8764DA9980125EE70E823CBF0CF@nuexchg.norwich.edu> References: <4A143B6F.4080709@gmail.com> <8147CCE3C4A8764DA9980125EE70E823CBF0CF@nuexchg.norwich.edu> Message-ID: <4A144546.7080009@gmail.com> Were you trying to link to a specific project/plugin ID cause it just took me to the main nagiosexchange page which I've already searched and its coming up dry for add-ons that would address my question... maybe your URL was bad? 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 James Pratt wrote: > Seems there is a new resource for this since "The Fork"... > > http://www.monitoringexchange.org/cgi-bin/page.cgi?d=1 > > hth, > regards > Jamie > > -----Original Message----- > From: Andrew Davis [mailto:nccomp at gmail.com] > Sent: Wednesday, May 20, 2009 1:19 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Monitoring clustered resources with Windows... > > One of our admins is actively migrating us from Server 2003 to Server > 2008 and using the built-in clustering capabilities of '08 to enable > service-level failover. So far, he's done so with Exchange, print server > services, and SQL. I'm wondering how to best monitor shares resources on > Windows hosts from Nagios. At present, we use nsclient++ to watch the > physical servers. This is good for basic checks of load average, memory, > local disk consumption, etc. I can even monitor services that are > running. No, I know I can monitor anything that's accessible from an IP > and port, but I'm somwhat stumped on other resources... > > For example, we have two physical Exchange servers. They're in a cluster > and the various Exchange services are only active on one node at a time. > I can watch OWA as its accessible from an IP and port, but the Exchange > services themselves will stop on one server and start on the other if a > server fails. Nagios can't dynamically adjust to watch this service on > the new node. It will only yell that's its down on the failed node. > > Clustered file storage is another example. Again, I can watch the local > CPU, memory, and local C: drive, etc. But let's say its sharing a large > volume as drive F:. I can watch this fine on the primary node, but if it > fails over, its no longer accessible from that node as its being shared > on the new active node. > > I'm curious if any Nagios users are using clustered resources on the > Windows side and how you handle service failover of services that aren't > necessarily accessible by IP and port... > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- 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 rijilv at riji.lv Wed May 20 20:22:19 2009 From: rijilv at riji.lv (RijilV) Date: Wed, 20 May 2009 11:22:19 -0700 Subject: differing notifications In-Reply-To: <4A143506.40203@pricegrabber.com> References: <4A143506.40203@pricegrabber.com> Message-ID: <5068c6420905201122r8b49b7dw99069401e2c9c925@mail.gmail.com> 2009/5/20 Neil Dombrowski : > I haven't been able to find an answer to this conundrum looking at the > docs, faq, or googling. I'd love to hear any suggestions. > > > We have two contact groups; group "adminmail" sends an email to our > mailboxes and "adminphone" sends email to our phones. The idea is when a > "warning" notification happens, adminmail gets notified, and when a > "critical" notification happens adminphone gets notified. > > As a test I set up two services that check disk. For the first one I set: > notification_options w,r > contact_group ? ? ? ? adminmail > > For the second service I set: > notification_options ?c > contact_group ? ? ? ? adminphone > > This works, but it's kludgy. ?Is there a way to define one contact_group > for a warning, and a different contact group for critical? We are > currently running v1.2(yes, old), but will be upgrading eventually. I'd > like to know if there's a solution I can implement now; if we need to > upgrade to get this functionality I'd like to know as well. > > Thanks, > ? ?Neil > > http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#contact Just setup two contacts, one for adminmail that gets warnings, the other for adminphone that gets crits. Add them to the same contract_group, then add that contact group to your service check. This style/syntax hasn't changed really, save for in nagios 3.x you don't need the contact group if you don't want it. .r' ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From neil at pricegrabber.com Wed May 20 20:39:38 2009 From: neil at pricegrabber.com (Neil Dombrowski) Date: Wed, 20 May 2009 13:39:38 -0500 Subject: differing notifications In-Reply-To: <5068c6420905201122r8b49b7dw99069401e2c9c925@mail.gmail.com> References: <4A143506.40203@pricegrabber.com> <5068c6420905201122r8b49b7dw99069401e2c9c925@mail.gmail.com> Message-ID: <4A144E6A.8060901@pricegrabber.com> RijilV wrote: > 2009/5/20 Neil Dombrowski : > >> I haven't been able to find an answer to this conundrum looking at the >> docs, faq, or googling. I'd love to hear any suggestions. >> >> >> We have two contact groups; group "adminmail" sends an email to our >> mailboxes and "adminphone" sends email to our phones. The idea is when a >> "warning" notification happens, adminmail gets notified, and when a >> "critical" notification happens adminphone gets notified. >> >> As a test I set up two services that check disk. For the first one I set: >> notification_options w,r >> contact_group adminmail >> >> For the second service I set: >> notification_options c >> contact_group adminphone >> >> This works, but it's kludgy. Is there a way to define one contact_group >> for a warning, and a different contact group for critical? We are >> currently running v1.2(yes, old), but will be upgrading eventually. I'd >> like to know if there's a solution I can implement now; if we need to >> upgrade to get this functionality I'd like to know as well. >> >> Thanks, >> Neil >> >> >> > > http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#contact > > Just setup two contacts, one for adminmail that gets warnings, the > other for adminphone that gets crits. Add them to the same > contract_group, then add that contact group to your service check. > This style/syntax hasn't changed really, save for in nagios 3.x you > don't need the contact group if you don't want it. > > > .r' > So, basically you're saying to put both contact_groups (adminmail and adminphone) into a third contact_group, then use that contact_group in the service? How would I then make warning notifications go only to adminmail, and critical notifications go only to adminphone? Thanks, Neil -- Neil Dombrowski Linux Administration Pricegrabber.com AIM: neilatpg -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- 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 20 20:47:44 2009 From: marc at ena.com (Marc Powell) Date: Wed, 20 May 2009 13:47:44 -0500 Subject: Fix service status. In-Reply-To: References: Message-ID: <425486F3-06DA-4227-A6AF-DD27165F8F76@ena.com> On May 20, 2009, at 12:19 PM, Marc Aymerich wrote: > Hi All, > Is possible fix the current service status to OK? I check by snmp the > counter32 of ports from my switch and some times report 'SNMP > CRITICAL' when in fact behavior is normal. Thanks Very Much! Marc Identify and fix or workaround the problem that causes this false alarm would by my tactic but if these are an occasional problem, you can use the 'Submit passive check result for this service' option when viewing the service details in the web interface. -- Marc ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed May 20 20:55:18 2009 From: jpratt at norwich.edu (James Pratt) Date: Wed, 20 May 2009 14:55:18 -0400 Subject: Monitoring clustered resources with Windows... In-Reply-To: <4A144546.7080009@gmail.com> References: <4A143B6F.4080709@gmail.com><8147CCE3C4A8764DA9980125EE70E823CBF0CF@nuexchg.norwich.edu> <4A144546.7080009@gmail.com> Message-ID: <8147CCE3C4A8764DA9980125EE70E823CBF0FD@nuexchg.norwich.edu> Apologies - that site is really acting strange lately. I used to use this one, but it requires HP hardware, and since we are mostly a vmware shop, it's no good to me anymore - http://www.monitoringexchange.org/cgi-bin/page.cgi?g=Detailed%2F1452.htm l;d=1 (let me know if that link is broken as well - if so, you can try to google for check_mscs_hpma instead) Sorry! James -----Original Message----- From: Andrew Davis [mailto:nccomp at gmail.com] Sent: Wednesday, May 20, 2009 2:01 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Monitoring clustered resources with Windows... Were you trying to link to a specific project/plugin ID cause it just took me to the main nagiosexchange page which I've already searched and its coming up dry for add-ons that would address my question... maybe your URL was bad? 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 James Pratt wrote: Seems there is a new resource for this since "The Fork"... http://www.monitoringexchange.org/cgi-bin/page.cgi?d=1 hth, regards Jamie -----Original Message----- From: Andrew Davis [mailto:nccomp at gmail.com] Sent: Wednesday, May 20, 2009 1:19 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Monitoring clustered resources with Windows... One of our admins is actively migrating us from Server 2003 to Server 2008 and using the built-in clustering capabilities of '08 to enable service-level failover. So far, he's done so with Exchange, print server services, and SQL. I'm wondering how to best monitor shares resources on Windows hosts from Nagios. At present, we use nsclient++ to watch the physical servers. This is good for basic checks of load average, memory, local disk consumption, etc. I can even monitor services that are running. No, I know I can monitor anything that's accessible from an IP and port, but I'm somwhat stumped on other resources... For example, we have two physical Exchange servers. They're in a cluster and the various Exchange services are only active on one node at a time. I can watch OWA as its accessible from an IP and port, but the Exchange services themselves will stop on one server and start on the other if a server fails. Nagios can't dynamically adjust to watch this service on the new node. It will only yell that's its down on the failed node. Clustered file storage is another example. Again, I can watch the local CPU, memory, and local C: drive, etc. But let's say its sharing a large volume as drive F:. I can watch this fine on the primary node, but if it fails over, its no longer accessible from that node as its being shared on the new active node. I'm curious if any Nagios users are using clustered resources on the Windows side and how you handle service failover of services that aren't necessarily accessible by IP and port... ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 20 21:33:43 2009 From: nccomp at gmail.com (Andrew Davis) Date: Wed, 20 May 2009 15:33:43 -0400 Subject: Monitoring clustered resources with Windows... In-Reply-To: <8147CCE3C4A8764DA9980125EE70E823CBF0FD@nuexchg.norwich.edu> References: <4A143B6F.4080709@gmail.com><8147CCE3C4A8764DA9980125EE70E823CBF0CF@nuexchg.norwich.edu> <4A144546.7080009@gmail.com> <8147CCE3C4A8764DA9980125EE70E823CBF0FD@nuexchg.norwich.edu> Message-ID: <4A145B17.6010000@gmail.com> Thanks. Unfortunately I doubt our Windows Admin is going to install the HP agents on all the systems. I wonder if the MIB's for the cluster service in Server 2008 are public and queryable... off to dig around. 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 James Pratt wrote: > Apologies - that site is really acting strange lately. > > I used to use this one, but it requires HP hardware, and since we are > mostly a vmware shop, it's no good to me anymore - > > http://www.monitoringexchange.org/cgi-bin/page.cgi?g=Detailed%2F1452.htm > l;d=1 > > (let me know if that link is broken as well - if so, you can try to > google for check_mscs_hpma instead) > > Sorry! > James > > > > -----Original Message----- > From: Andrew Davis [mailto:nccomp at gmail.com] > Sent: Wednesday, May 20, 2009 2:01 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Monitoring clustered resources with > Windows... > > Were you trying to link to a specific project/plugin ID cause it just > took me to the main nagiosexchange page which I've already searched and > its coming up dry for add-ons that would address my question... maybe > your URL was bad? > > > 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 > > > James Pratt wrote: > > Seems there is a new resource for this since "The Fork"... > > http://www.monitoringexchange.org/cgi-bin/page.cgi?d=1 > > hth, > regards > Jamie > > -----Original Message----- > From: Andrew Davis [mailto:nccomp at gmail.com] > Sent: Wednesday, May 20, 2009 1:19 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Monitoring clustered resources with > Windows... > > One of our admins is actively migrating us from Server 2003 to > Server > 2008 and using the built-in clustering capabilities of '08 to > enable > service-level failover. So far, he's done so with Exchange, > print server > services, and SQL. I'm wondering how to best monitor shares > resources on > Windows hosts from Nagios. At present, we use nsclient++ to > watch the > physical servers. This is good for basic checks of load average, > memory, > local disk consumption, etc. I can even monitor services that > are > running. No, I know I can monitor anything that's accessible > from an IP > and port, but I'm somwhat stumped on other resources... > > For example, we have two physical Exchange servers. They're in a > cluster > and the various Exchange services are only active on one node at > a time. > I can watch OWA as its accessible from an IP and port, but the > Exchange > services themselves will stop on one server and start on the > other if a > server fails. Nagios can't dynamically adjust to watch this > service on > the new node. It will only yell that's its down on the failed > node. > > Clustered file storage is another example. Again, I can watch > the local > CPU, memory, and local C: drive, etc. But let's say its sharing > a large > volume as drive F:. I can watch this fine on the primary node, > but if it > fails over, its no longer accessible from that node as its being > shared > on the new active node. > > I'm curious if any Nagios users are using clustered resources on > the > Windows side and how you handle service failover of services > that aren't > necessarily accessible by IP and port... > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- 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.frost1 at pepsi.com Wed May 20 21:35:20 2009 From: mark.frost1 at pepsi.com (Frost, Mark {PBG}) Date: Wed, 20 May 2009 15:35:20 -0400 Subject: hostgroups and service dependencies? Message-ID: I'm just starting to get into service dependencies. My problem is that I don't quite see how I can get around doing it individually for each and every service and host needed. An example is if I've got 100 Windows servers all configured to be part of a hostgroup. Then I've got a define service { hostgroup_name prod_windows_servers service_description NRPE Service check_command NRPE Service use Production Windows Service } define service { hostgroup_name prod_windows_servers service_description CPU Load check_command check_windows_load!90%!90% use Production Windows Service } define service { hostgroup_name prod_windows_servers service_description C: Drive check_command check_windows_disk!C:!90%!90% use Production Windows Service } where the 100 servers are all part of the 'prod_windows_servers" hostgroup. Here I can list the checks nice and compactly and add new hosts/checks merely by putting them in that hostgroup. I would like to make service checks on these boxes dependent on the "NRPE Service" check above. So if the NRPE service was not responding, Nagios wouldn't bother sending me alerts about all the other things on that box it could not reach. The object definitions seem to say that I can do define servicedependency { hostgroup_name prod_windows_servers service_description NRPE Service dependent_hostgroup_name prod_windows_servers dependent_service_description C: Drive execution_failure_criteria n notification_failure_criteria w,u,c } I'm assuming that this is supposed to match up each 'prod_windows_servers' entry with its matching entry rather than making each server dependent on this servers from *every* other hostgroup member? Just to see, I tried this out and when I did a pre-flight check it took 53 seconds (checking the host and service dependencies) when it normally runs instantly. I'm not sure this does what I want. Even so, I don't know that I can handle the 53 second wait which I imagine would escalate for each service I defined in this way). The only other route I can think of is to create a unique servicedepency definition for each of these. That's 100 x n dependency definitions, where n is the number of other services I'm checking on each of these boxes. Am I looking at this the wrong way? Is there an easier way to do this? Thanks Mark ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Edwin.Zoeller at ama-assn.org Wed May 20 21:04:33 2009 From: Edwin.Zoeller at ama-assn.org (Edwin Zoeller) Date: Wed, 20 May 2009 14:04:33 -0500 Subject: Service Group Setup Message-ID: Can anyone out there tell me how to setup service groups? I have tried and I am having no luck. In particular, I have 3 hosts that have many monitored services on them and I need to report the availably on them and instead of every service I rather do it in a service group. Thanks, Ed P Please consider the environment before printing this e-mail -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- 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 Wed May 20 22:12:23 2009 From: jpratt at norwich.edu (James Pratt) Date: Wed, 20 May 2009 16:12:23 -0400 Subject: Monitoring clustered resources with Windows... In-Reply-To: <4A145B17.6010000@gmail.com> References: <4A143B6F.4080709@gmail.com><8147CCE3C4A8764DA9980125EE70E823CBF0CF@nuexchg.norwich.edu><4A144546.7080009@gmail.com><8147CCE3C4A8764DA9980125EE70E823CBF0FD@nuexchg.norwich.edu> <4A145B17.6010000@gmail.com> Message-ID: <8147CCE3C4A8764DA9980125EE70E823CBF143@nuexchg.norwich.edu> Understood.... It would be worth a shot to ask them anyhow though - IMO, as the "HP hardware guy" here, it's a *lot* easier to troubleshoot hardware issues with the agents/management pages , even if you don't use insight manager/SIM , no matter what OS is on the HP servers - but, this is now off-topic, apologies! :( -----Original Message----- From: Andrew Davis [mailto:nccomp at gmail.com] Sent: Wednesday, May 20, 2009 3:34 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Monitoring clustered resources with Windows... Thanks. Unfortunately I doubt our Windows Admin is going to install the HP agents on all the systems. I wonder if the MIB's for the cluster service in Server 2008 are public and queryable... off to dig around. 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 James Pratt wrote: Apologies - that site is really acting strange lately. I used to use this one, but it requires HP hardware, and since we are mostly a vmware shop, it's no good to me anymore - http://www.monitoringexchange.org/cgi-bin/page.cgi?g=Detailed%2F1452.htm l;d=1 (let me know if that link is broken as well - if so, you can try to google for check_mscs_hpma instead) Sorry! James -----Original Message----- From: Andrew Davis [mailto:nccomp at gmail.com] Sent: Wednesday, May 20, 2009 2:01 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Monitoring clustered resources with Windows... Were you trying to link to a specific project/plugin ID cause it just took me to the main nagiosexchange page which I've already searched and its coming up dry for add-ons that would address my question... maybe your URL was bad? 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 James Pratt wrote: Seems there is a new resource for this since "The Fork"... http://www.monitoringexchange.org/cgi-bin/page.cgi?d=1 hth, regards Jamie -----Original Message----- From: Andrew Davis [mailto:nccomp at gmail.com] Sent: Wednesday, May 20, 2009 1:19 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Monitoring clustered resources with Windows... One of our admins is actively migrating us from Server 2003 to Server 2008 and using the built-in clustering capabilities of '08 to enable service-level failover. So far, he's done so with Exchange, print server services, and SQL. I'm wondering how to best monitor shares resources on Windows hosts from Nagios. At present, we use nsclient++ to watch the physical servers. This is good for basic checks of load average, memory, local disk consumption, etc. I can even monitor services that are running. No, I know I can monitor anything that's accessible from an IP and port, but I'm somwhat stumped on other resources... For example, we have two physical Exchange servers. They're in a cluster and the various Exchange services are only active on one node at a time. I can watch OWA as its accessible from an IP and port, but the Exchange services themselves will stop on one server and start on the other if a server fails. Nagios can't dynamically adjust to watch this service on the new node. It will only yell that's its down on the failed node. Clustered file storage is another example. Again, I can watch the local CPU, memory, and local C: drive, etc. But let's say its sharing a large volume as drive F:. I can watch this fine on the primary node, but if it fails over, its no longer accessible from that node as its being shared on the new active node. I'm curious if any Nagios users are using clustered resources on the Windows side and how you handle service failover of services that aren't necessarily accessible by IP and port... ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From matthew.rivet at gmail.com Wed May 20 22:12:04 2009 From: matthew.rivet at gmail.com (Matthew Rivet) Date: Wed, 20 May 2009 16:12:04 -0400 Subject: SAP-CCMS Patterns Message-ID: <2e6044170905201312v2a1ca639x20ce13f5c38e2122@mail.gmail.com> I am in need of the correct pattern strings for SAP-CCMS plugins. I have tried what I assumed to be the correct patterns but they do not work. The patterns I am looking for are: Dialog Response Time Long Runners DB Request Time Oracle Buffer Cache Ratio LastR3Backup Last Trans Backup Thanks for the help! -- Matthew Rivet -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- 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 Wed May 20 22:17:04 2009 From: nccomp at gmail.com (Andrew Davis) Date: Wed, 20 May 2009 16:17:04 -0400 Subject: Monitoring clustered resources with Windows... In-Reply-To: <8147CCE3C4A8764DA9980125EE70E823CBF143@nuexchg.norwich.edu> References: <4A143B6F.4080709@gmail.com><8147CCE3C4A8764DA9980125EE70E823CBF0CF@nuexchg.norwich.edu><4A144546.7080009@gmail.com><8147CCE3C4A8764DA9980125EE70E823CBF0FD@nuexchg.norwich.edu> <4A145B17.6010000@gmail.com> <8147CCE3C4A8764DA9980125EE70E823CBF143@nuexchg.norwich.edu> Message-ID: <4A146540.3090103@gmail.com> Except that we're a 100% Sun and Dell shop (mostly Sun, phasing out Dell... though I guess I'll be calling "Sun" as "Oracle" soon enough). But, hence the reticence to install the HP agents... Thanks for the link all the same. It offers hope that if I can get into the native Server 2008 SNMP items for the cluster resources, then there may be a solution. 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 James Pratt wrote: > Understood.... It would be worth a shot to ask them anyhow though - IMO, > as the "HP hardware guy" here, it's a *lot* easier to troubleshoot > hardware issues with the agents/management pages , even if you don't use > insight manager/SIM , no matter what OS is on the HP servers - but, this > is now off-topic, apologies! :( > > -----Original Message----- > From: Andrew Davis [mailto:nccomp at gmail.com] > Sent: Wednesday, May 20, 2009 3:34 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Monitoring clustered resources with > Windows... > > Thanks. Unfortunately I doubt our Windows Admin is going to install the > HP agents on all the systems. I wonder if the MIB's for the cluster > service in Server 2008 are public and queryable... off to dig around. > > > 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 > > > James Pratt wrote: > > Apologies - that site is really acting strange lately. > > I used to use this one, but it requires HP hardware, and since > we are > mostly a vmware shop, it's no good to me anymore - > > > http://www.monitoringexchange.org/cgi-bin/page.cgi?g=Detailed%2F1452.htm > l;d=1 > > (let me know if that link is broken as well - if so, you can try > to > google for check_mscs_hpma instead) > > Sorry! > James > > > > -----Original Message----- > From: Andrew Davis [mailto:nccomp at gmail.com] > Sent: Wednesday, May 20, 2009 2:01 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Monitoring clustered resources with > Windows... > > Were you trying to link to a specific project/plugin ID cause it > just > took me to the main nagiosexchange page which I've already > searched and > its coming up dry for add-ons that would address my question... > maybe > your URL was bad? > > > 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 > > > James Pratt wrote: > > Seems there is a new resource for this since "The > Fork"... > > http://www.monitoringexchange.org/cgi-bin/page.cgi?d=1 > > hth, > regards > Jamie > > -----Original Message----- > From: Andrew Davis [mailto:nccomp at gmail.com] > Sent: Wednesday, May 20, 2009 1:19 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Monitoring clustered resources > with > Windows... > > One of our admins is actively migrating us from Server > 2003 to > Server > 2008 and using the built-in clustering capabilities of > '08 to > enable > service-level failover. So far, he's done so with > Exchange, > print server > services, and SQL. I'm wondering how to best monitor > shares > resources on > Windows hosts from Nagios. At present, we use nsclient++ > to > watch the > physical servers. This is good for basic checks of load > average, > memory, > local disk consumption, etc. I can even monitor services > that > are > running. No, I know I can monitor anything that's > accessible > from an IP > and port, but I'm somwhat stumped on other resources... > > For example, we have two physical Exchange servers. > They're in a > cluster > and the various Exchange services are only active on one > node at > a time. > I can watch OWA as its accessible from an IP and port, > but the > Exchange > services themselves will stop on one server and start on > the > other if a > server fails. Nagios can't dynamically adjust to watch > this > service on > the new node. It will only yell that's its down on the > failed > node. > > Clustered file storage is another example. Again, I can > watch > the local > CPU, memory, and local C: drive, etc. But let's say its > sharing > a large > volume as drive F:. I can watch this fine on the primary > node, > but if it > fails over, its no longer accessible from that node as > its being > shared > on the new active node. > > I'm curious if any Nagios users are using clustered > resources on > the > Windows side and how you handle service failover of > services > that aren't > necessarily accessible by IP and port... > > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- 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 jogresovich at morristech.com Wed May 20 23:25:15 2009 From: jogresovich at morristech.com (Jason Ogresovich) Date: Wed, 20 May 2009 17:25:15 -0400 Subject: random nrpe socket timeout In-Reply-To: References: Message-ID: <119b01c9d991$77eb89a0$67c29ce0$@com> From: mariog at absi.be [mailto:mariog at absi.be] Sent: Monday, May 18, 2009 9:46 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] random nrpe socket timeout hello i have troubles in our infrastructure with nrpe giving critical alerts when the nrpe socket timeout. this happens randomly from time to time in several servers. i really have no clue what is the cause, the service is up between two minutes, but the alerts causes sms to be sent for 'falses alarms' as there is nothing wrong with the servers just the nrpe plugin that for a few instants cannot contact the server. is there a way to troubleshoot this? which side should it be troubleshooted? server side or client side. nagios.log doesn't give many info: just : disk_root;CRITICAL;notify-by-email;CHECK_NRPE: Socket timeout after 10 seconds. Check the NRPE Documentation, specifically the troubleshooting section. It sounds like the commands you are executing are taking longer than ten seconds to execute. Try increasing the timeout value for these commands. Example from the NRPE documentation: /usr/local/nagios check_nrpe -H localhost -c somecommand -t 30 -Jason -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.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 israel at frontierflying.com Wed May 20 23:39:43 2009 From: israel at frontierflying.com (Israel Brewster) Date: Wed, 20 May 2009 13:39:43 -0800 Subject: Notify via Growl? In-Reply-To: <4A14435C.9070403@iweb.com> References: <4A14435C.9070403@iweb.com> Message-ID: <653A4042-CB5A-4605-84CF-FBA717ADBD4D@frontierflying.com> On May 20, 2009, at 9:52 AM, Mathieu Gagn? wrote: > Hi, > > On 5/20/09 1:00 PM, Israel Brewster wrote: >> I have nagios running on an openBSD box, and I would like to use >> Growl's network notification options to pop-up alert messages on my >> Mac for certain situations. Does anyone have a script or program that >> can do this already? I've looked around a bit, but all I've found >> seem >> to assume that nagios is running on the Mac, which is not the case >> here. I've got the Growl dev tools, which come with a python script >> it >> looks like I could hack to work, but before I spend too much time on >> that I wanted to see if it has already been done. Thanks. > > 1) Install Net::Growl from CPAN: http://search.cpan.org/~nmcfarl/Net-Growl-0.99/ > 2) Allow network notification in Growl on your Mac and set a password. > 3) Create a notify script using it based on the provided example. > 4) Enjoy! :) > Which is basically the same thing as hacking the Python script except for a) having to start from scratch, and b) having to work in a language I have little experience with :-) I was sort of hoping someone had already done the above steps and would be willing to share :-D Oh well, it won't take more than a couple of hours to whip the Python into shape, and has the advantage of being self-contained, aside from some standard Python modules (so no installing from CPAN or the like). Thanks for the suggestion though :-) ----------------------------------------------- Israel Brewster Computer Support Technician II Frontier Flying Service Inc. 5245 Airport Industrial Rd Fairbanks, AK 99709 (907) 450-7250 x293 ----------------------------------------------- > -- > Mathieu ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed May 20 23:51:18 2009 From: israel at frontierflying.com (Israel Brewster) Date: Wed, 20 May 2009 13:51:18 -0800 Subject: differing notifications In-Reply-To: <4A144E6A.8060901@pricegrabber.com> References: <4A143506.40203@pricegrabber.com> <5068c6420905201122r8b49b7dw99069401e2c9c925@mail.gmail.com> <4A144E6A.8060901@pricegrabber.com> Message-ID: <21A6A868-C5DA-4BA2-9263-743346006DC0@frontierflying.com> On May 20, 2009, at 10:39 AM, Neil Dombrowski wrote: > > > RijilV wrote: >> >> 2009/5/20 Neil Dombrowski : >> >>> I haven't been able to find an answer to this conundrum looking at >>> the >>> docs, faq, or googling. I'd love to hear any suggestions. >>> >>> >>> We have two contact groups; group "adminmail" sends an email to our >>> mailboxes and "adminphone" sends email to our phones. The idea is >>> when a >>> "warning" notification happens, adminmail gets notified, and when a >>> "critical" notification happens adminphone gets notified. >>> >>> As a test I set up two services that check disk. For the first one >>> I set: >>> notification_options w,r >>> contact_group adminmail >>> >>> For the second service I set: >>> notification_options c >>> contact_group adminphone >>> >>> This works, but it's kludgy. Is there a way to define one >>> contact_group >>> for a warning, and a different contact group for critical? We are >>> currently running v1.2(yes, old), but will be upgrading >>> eventually. I'd >>> like to know if there's a solution I can implement now; if we need >>> to >>> upgrade to get this functionality I'd like to know as well. >>> >>> Thanks, >>> Neil >>> >>> >>> >> >> http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#contact >> >> Just setup two contacts, one for adminmail that gets warnings, the >> other for adminphone that gets crits. Add them to the same >> contract_group, then add that contact group to your service check. >> This style/syntax hasn't changed really, save for in nagios 3.x you >> don't need the contact group if you don't want it. >> >> >> .r' >> > So, basically you're saying to put both contact_groups (adminmail > and adminphone) into a third contact_group, then use that > contact_group in the service? How would I then make warning > notifications go only to adminmail, and critical notifications go > only to adminphone? No, in the individual contacts you can define what sort of notifications that individual contact receives, using the host_notification_options [d,u,r,f,s,n] and service_notification_options [w,u,c,r,f,s,n] directives of the contact. So what you do is make two contacts (not groups, but individual contacts), specifying that adminmail only receives warning (not critical) and adminphone only receives critical (not warning). Add both contacts to a single contact group, add that contact group to the host, and specify that the host send both critical and warning notifications. Due to the filters in the contacts, each contact will only receive the appropriate types. If you have more people you need to contact, just make more contacts for each person, keeping the phone contacts and the mail contacts separate. ----------------------------------------------- Israel Brewster Computer Support Technician II Frontier Flying Service Inc. 5245 Airport Industrial Rd Fairbanks, AK 99709 (907) 450-7250 x293 ----------------------------------------------- > > Thanks, > Neil > -- > Neil Dombrowski > Linux Administration > Pricegrabber.com > AIM: neilatpg > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables > unlimited royalty-free distribution of the report engine > for externally facing server and web deployment. > http://p.sf.net/sfu/businessobjects_______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.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 Thu May 21 00:08:27 2009 From: subscription at kkeane.com (Kevin Keane) Date: Wed, 20 May 2009 15:08:27 -0700 Subject: nagios exchange publishing question In-Reply-To: <6db4a4200905200933h2f501a8ak25e42fbf2cc23564@mail.gmail.com> References: <6db4a4200905200933h2f501a8ak25e42fbf2cc23564@mail.gmail.com> Message-ID: <4A147F5B.20303@kkeane.com> My understanding is that this is basically just a directory site, so you would publish it whichever way you want. If you want to be perfectly clear, you would have to ask a lawyer, of course. shadih rahman wrote: > All, > I have a quick question about licensing and trademarks. If I > publish some scripts in nagiosexchange.org > what license or trademark am I publishing under? Please advise on this. > > -- > Cordially, > Shadhin Rahman -- 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 for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu May 21 00:15:02 2009 From: subscription at kkeane.com (Kevin Keane) Date: Wed, 20 May 2009 15:15:02 -0700 Subject: Override a threshold for one host in a template In-Reply-To: <9c4cd14a0905200826h4d1ddf0ela2bfc6a465a79ccb@mail.gmail.com> References: <9c4cd14a0905200826h4d1ddf0ela2bfc6a465a79ccb@mail.gmail.com> Message-ID: <4A1480E6.2080403@kkeane.com> I had a somewhat similar problem (all of my servers use the same 30 or so services, except one of them doesn't have remote access, so it only needs 29). Here is what I did. It sounds like you did about the same: - create a hostgroup - create 30 services - in each service, specify the corresponding hostgroup_name that it should go into. - make all 30 hosts part of that hostgroup Now to deal with this one server, let's call it problem.server.com for service DIFFICULTSERVICE: In the declaration for DIFFICULTSERVICE, exclude problem.server.com: hostname !problem.server.com Declare another service DIFFICULTSERVICE just for problem.server.com with the correct parameters. John Andrunas wrote: > I have been using > http://nagios.sourceforge.net/docs/3_0/objecttricks.html to set up > templates for hosts in Nagios, the only problem I have is that one of > my DB servers consistently runs high on memory utilization, so it is > almost always in a warning state. I tried setting another higher > threshold for that one host in but it doesn't take. Is there a way to > override a threshold set in a hostgroup_name for one particular host, > or am i going to have to redo my hostgroup based template? > > -- 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 for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mike.saldivar at advocatecreditrepair.com Thu May 21 01:11:28 2009 From: mike.saldivar at advocatecreditrepair.com (Mike Saldivar) Date: Wed, 20 May 2009 17:11:28 -0600 Subject: Monitoring switches via SNMP -- In-Reply-To: <61ab46280905071615x6ae653dara4adfecdf0476977@mail.gmail.com> References: <61ab46280905071615x6ae653dara4adfecdf0476977@mail.gmail.com> Message-ID: <61ab46280905201611j65e8665m38e85bed466a4fa@mail.gmail.com> On Thu, May 7, 2009 at 5:15 PM, Mike Saldivar < mike.saldivar at advocatecreditrepair.com> 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) > Ah ha, I've discovered that check_snmp was not installed with the rest of the Nagios plugins. Apparently, if net-snmp and net-snmp-utils are not already installed, the plugins installer skips installing that plugin. Here's a configure of check_snmp 1.4, freshly downloaded from Nagios Exchange: root at dfslit1:~/check_snmp-1.4# ./configure checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking whether gcc and cc understand -c and -o together... yes checking for net-snmp-config... /usr/bin/net-snmp-config checking for init_snmp in -lnetsnmp... no configure: error: snmp library not found I looked through the Ubuntu package website, and tried installing any package I could find that's related to SNMP, but already have them all installed. snmp is already the newest version. libsnmp-base is already the newest version. libsnmp15 is already the newest version. snmpd is already the newest version. libsnmp-perl is already the newest version. Is there an inherent incompatibility between Ubuntu 8.10 and the check_snmp plugin? Do I need to go the all Perl/CPAN route? I can perform snmpwalks, but I don't know of any other way to find out what I'm missing. nagios at dfslit1:~$ snmpwalk -v1 -c public 10.5.1.2 system SNMPv2-MIB::sysDescr.0 = STRING: Cisco Adaptive Security Appliance Version 7.0(4) SNMPv2-MIB::sysObjectID.0 = OID: SNMPv2-SMI::enterprises.9.1.669 [...] Thanks, -Mike -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.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 21 04:42:23 2009 From: amontibello at gmail.com (Anthony Montibello) Date: Wed, 20 May 2009 22:42:23 -0400 Subject: check_nt: Could not parse arguments In-Reply-To: <90ab54e30905200917n7b8a9406w27d66507e2e5a97a@mail.gmail.com> References: <1242814080.ee3dd1c2669f11eabe41d99571167c74@mail.in.com> <1242813958.916d3891a243c10fede49f9c276f1a20@mail.in.com> <90ab54e30905200917n7b8a9406w27d66507e2e5a97a@mail.gmail.com> Message-ID: Hi, Also you may want to remove the process check for Explorer.exe since that process is only running when a user space running. Tony (Author of NC_Net) On Wed, May 20, 2009 at 12:17 PM, Christoph Stoettner wrote: > Hi, > > Problem is the first $ in password1$ of your command-definition (check_nt) > > command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 12489 -s Password1$ > -v $ARG1$ $ARG2$ > > I would say, that it should be -s $USER2$ when you store the password in > your resource.cfg or -s $Password1$ > > Bye > Christoph (Stoeps) > > > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables > unlimited royalty-free distribution of the report engine > for externally facing server and web deployment. > http://p.sf.net/sfu/businessobjects > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.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 21 05:04:38 2009 From: amontibello at gmail.com (Anthony Montibello) Date: Wed, 20 May 2009 23:04:38 -0400 Subject: Monitoring clustered resources with Windows... In-Reply-To: <4A146540.3090103@gmail.com> References: <4A143B6F.4080709@gmail.com> <8147CCE3C4A8764DA9980125EE70E823CBF0CF@nuexchg.norwich.edu> <4A144546.7080009@gmail.com> <8147CCE3C4A8764DA9980125EE70E823CBF0FD@nuexchg.norwich.edu> <4A145B17.6010000@gmail.com> <8147CCE3C4A8764DA9980125EE70E823CBF143@nuexchg.norwich.edu> <4A146540.3090103@gmail.com> Message-ID: Hi, Why not implement Passive checks. instead of reporting to seperate Host configs have them report to a single host called CLUSTERED then have the passive checks report only OK states, and have the freshness check command report for when both are down. Check the Docs on Violtile and passive and they may be able to assist. (Maybe in conjuntion with an eventhandler) http://nagios.sourceforge.net/docs/3_0/passivechecks.html http://nagios.sourceforge.net/docs/3_0/volatileservices.html Thre also used to be a plugin called Check_cluster this polls the results from other checks into a single check (I think) http://nagiosplugins.org/man/check_cluster A google search turned up this article on Nagios Community: http://community.nagios.org/2009/04/25/monitoring-windows-cluster-environments-with-nagios/ Tony ( Author of NC_Net) Current verison V4.4 https://sourceforge.net/projects/nc-net/ On Wed, May 20, 2009 at 4:17 PM, Andrew Davis wrote: > Except that we're a 100% Sun and Dell shop (mostly Sun, phasing out Dell... > though I guess I'll be calling "Sun" as "Oracle" soon enough). But, hence > the reticence to install the HP agents... > > Thanks for the link all the same. It offers hope that if I can get into the > native Server 2008 SNMP items for the cluster resources, then there may be a > solution. > > 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 > > > > James Pratt wrote: > > Understood.... It would be worth a shot to ask them anyhow though - IMO, > as the "HP hardware guy" here, it's a *lot* easier to troubleshoot > hardware issues with the agents/management pages , even if you don't use > insight manager/SIM , no matter what OS is on the HP servers - but, this > is now off-topic, apologies! :( > > -----Original Message----- > From: Andrew Davis [mailto:nccomp at gmail.com ] > Sent: Wednesday, May 20, 2009 3:34 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Monitoring clustered resources with > Windows... > > Thanks. Unfortunately I doubt our Windows Admin is going to install the > HP agents on all the systems. I wonder if the MIB's for the cluster > service in Server 2008 are public and queryable... off to dig around. > > > 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 > > > James Pratt wrote: > > Apologies - that site is really acting strange lately. > > I used to use this one, but it requires HP hardware, and since > we are > mostly a vmware shop, it's no good to me anymore - > > http://www.monitoringexchange.org/cgi-bin/page.cgi?g=Detailed%2F1452.htm > l;d=1 > > (let me know if that link is broken as well - if so, you can try > to > google for check_mscs_hpma instead) > > Sorry! > James > > > > -----Original Message----- > From: Andrew Davis [mailto:nccomp at gmail.com ] > Sent: Wednesday, May 20, 2009 2:01 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Monitoring clustered resources with > Windows... > > Were you trying to link to a specific project/plugin ID cause it > just > took me to the main nagiosexchange page which I've already > searched and > its coming up dry for add-ons that would address my question... > maybe > your URL was bad? > > > 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 > > > James Pratt wrote: > > Seems there is a new resource for this since "The > Fork"... > > http://www.monitoringexchange.org/cgi-bin/page.cgi?d=1 > > hth, > regards > Jamie > > -----Original Message----- > From: Andrew Davis [mailto:nccomp at gmail.com ] > Sent: Wednesday, May 20, 2009 1:19 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Monitoring clustered resources > with > Windows... > > One of our admins is actively migrating us from Server > 2003 to > Server > 2008 and using the built-in clustering capabilities of > '08 to > enable > service-level failover. So far, he's done so with > Exchange, > print server > services, and SQL. I'm wondering how to best monitor > shares > resources on > Windows hosts from Nagios. At present, we use nsclient++ > to > watch the > physical servers. This is good for basic checks of load > average, > memory, > local disk consumption, etc. I can even monitor services > that > are > running. No, I know I can monitor anything that's > accessible > from an IP > and port, but I'm somwhat stumped on other resources... > > For example, we have two physical Exchange servers. > They're in a > cluster > and the various Exchange services are only active on one > node at > a time. > I can watch OWA as its accessible from an IP and port, > but the > Exchange > services themselves will stop on one server and start on > the > other if a > server fails. Nagios can't dynamically adjust to watch > this > service on > the new node. It will only yell that's its down on the > failed > node. > > Clustered file storage is another example. Again, I can > watch > the local > CPU, memory, and local C: drive, etc. But let's say its > sharing > a large > volume as drive F:. I can watch this fine on the primary > node, > but if it > fails over, its no longer accessible from that node as > its being > shared > on the new active node. > > I'm curious if any Nagios users are using clustered > resources on > the > Windows side and how you handle service failover of > services > that aren't > necessarily accessible by IP and port... > > > > > > > > > > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables > unlimited royalty-free distribution of the report engine > for externally facing server and web deployment. > http://p.sf.net/sfu/businessobjects > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.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 alex_b at users.sourceforge.net Thu May 21 05:05:42 2009 From: alex_b at users.sourceforge.net (Alex Burger) Date: Wed, 20 May 2009 23:05:42 -0400 Subject: Advanced permissions for the web interface Message-ID: <4A14C506.4020001@users.sourceforge.net> On the Nagios-Users list back in November 2006 there was a discussion about adding advanced permissions to Nagios for hosts and services. Users (including myself) were looking for a way to grant users the ability to view hosts, but not submit commands and to allow for more complex permissions. I also wanted a way to limit which hosts a user would be notified for while still giving them access to view the status in the web interface. The can_submit_commands only helps with part of the problem. I originally created a patch to add advanced permissions for Nagios 2.5-2.8 and have been using it for over two years in production. I created a 3.0 version back in November 2006 before 3.0 was released but I only recently updated it for 3.0.6. The available permissions for each contact / contact group are: Permission Description r View in web interface x Submit commands for this host/service in web interface w Not needed yet. Maybe some of the other programs that allow you to modify the configuration files could use this permission to allow a user to modify the host / service. n Notify if contact has a pager or email defined Example: contact_groups netops:rwxn, helpdesk:r See http://www.fragit.net/nagios.html for more details and the patch. I'm not expecting this to go in to future releases but I hope that similar functionality will be added to any new web interfaces. I wanted to share it in case anyone else has similar needs. Alex ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From martin.scullion at croydon.gov.uk Thu May 21 08:55:06 2009 From: martin.scullion at croydon.gov.uk (martin) Date: Thu, 21 May 2009 06:55:06 +0000 (UTC) Subject: Installation errors References: Message-ID: Follow - up Tried the Solaris fix to rebuild the header files ./mkheaders, that didn't work has any any other suggestions ? ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu May 21 09:05:26 2009 From: chethan.mnc at wipro.com (chethan.mnc at wipro.com) Date: Thu, 21 May 2009 12:35:26 +0530 Subject: Monitoring Oracle database Message-ID: <654234233CA505458519F3D4BC36DABF02B5225F@blr-cst-msg.wipro.com> Dear All, I m trying to monitor Oracle database using check_oracle plug-in. I need to know what all parameters (related to database) can be monitored through Nagios and please advice for configuring the same. Please help. Thanks & Regards, Chethan M N, Sr Engineer - EMS -------------- 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 -------------- ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.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 21 10:39:07 2009 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Thu, 21 May 2009 09:39:07 +0100 Subject: nagios exchange publishing question In-Reply-To: <6db4a4200905200933h2f501a8ak25e42fbf2cc23564@mail.gmail.com> References: <6db4a4200905200933h2f501a8ak25e42fbf2cc23564@mail.gmail.com> Message-ID: <4A15132B.8040101@googlemail.com> shadih rahman wrote: > I have a quick question about licensing and trademarks. If I publish > some scripts in nagiosexchange.org what > license or trademark am I publishing under? Please advise on this. You can specify the license you want, I suggest the GPL license as people know and trust it. -h -- Hari Sekhon Always open to interesting opportunities http://www.linkedin.com/in/harisekhon ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu May 21 14:06:57 2009 From: assaf.flatto at ssp-intl.com (Assaf Flatto) Date: Thu, 21 May 2009 12:06:57 +0000 Subject: Running Windows batch files through NRPE In-Reply-To: <232A174A689B4242936B4D08C19447D103303424@owa.sunlandconstruction.com> References: <232A174A689B4242936B4D08C19447D103302FBD@owa.sunlandconstruction.com> Message-ID: <200905211206.57306.assaf.flatto@ssp-intl.com> You could try using the winnrpe http://www.itefix.no/i2/winrpe This will give you all the flexibility of the nrpe , but on a windows machine. Assaf On Wednesday 20 May 2009 13:17:48 Leleux, Jeremy J wrote: > Thanks for the posts y'all! I was able to get it running w/ 2 batch > files. The first batch file was strictly a file copy script that sent > over the config and update script. The second batch uses psexec to run > the update script on each windows server. I'm still working out some > kinks, but for the most part it's working. If anyone is looking for > more information on how to do this, let me know and I would be glad to > help. > > Respectfully, > > Jeremy Leleux > IT Administrator > Sunland Construction, Inc. > Corporate Division > Office: 337.550.2142 > Fax: 337.546.0245 > Mobile: 337.580.6062 > Email: jjleleux at sunlandconstruction.com > > -----Original Message----- > From: Alex Burger [mailto:alex_b at users.sourceforge.net] > Sent: Tuesday, May 19, 2009 1:02 PM > To: Leleux, Jeremy J > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Running Windows batch files through NRPE > > > You are running NSClient++ as a service which is using the SYSTEM > account. The SYSTEM account does not have access to network resources. > One solution is to create a domain user account and then change the > NSClient++ service to use the new account. Also make sure the account > has access to the batch file. > > As someone else mentioned it may make more sense to use a scheduled task > > but it also needs to run as a network account that has access. You may > want to look at psexec from Sysinternals. > > Alex > > Leleux, Jeremy J wrote: > > I'm running Nagios 3.0.6/CentOS 5.2 for my Nagios server. Its > > monitoring my Windows Servers, all 2003, I have NSClient++ on those > > servers and its working fine. My problem is that I'm trying to > > centralize the configs on the NSClient++'s w/ the help of batch files. > > I have setup commands to allow me run the scripts w/ the help of > > check_nrpe, but they will not run. > > > > Here is the contents of one of my batch files, nscpp_config.bat, to > > update the NSClient++ config: > > @echo off > > xcopy > > \\10.10.0.50\public\Departments\Infor~1\Scripts\nscpp_copy.bat > > C:\Progra~1\NSClient++ /Y > > exit > > When I try to run this command from my Nagios Server, I get an > > "Invalid > > > Drive Specification Error". And here is my config line to allow the > > command in NSClient++: > > --------------------------------------------------------------------------- >--- Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables > unlimited royalty-free distribution of the report engine > for externally facing server and web deployment. > http://p.sf.net/sfu/businessobjects > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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 ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jdmfontz at yahoo.com Thu May 21 16:31:26 2009 From: jdmfontz at yahoo.com (Martin Fontanez) Date: Thu, 21 May 2009 07:31:26 -0700 (PDT) Subject: Error While Using check_ifstatus Message-ID: <232025.1461.qm@web59204.mail.re1.yahoo.com> I am new to Nagios.? Trying to get link state info (up/down) on NIC cards on my box (realizing I could use check_ping but ICMP is blocked).? I am using el5 and mii-tools/mii-diag does not work since my kernel is 2.6 or >. I setup check-ifstatus but I am getting this error: CRITICAL: Requested table is empty or does not exist for 1.3.6.1.2.1.2.2.1.8 with snmp version 1 Wondering if anyone knows of a workaround.? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.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 paul.weaver at bbc.co.uk Thu May 21 16:54:23 2009 From: paul.weaver at bbc.co.uk (Paul Weaver) Date: Thu, 21 May 2009 15:54:23 +0100 Subject: Monitoring switches via SNMP -- In-Reply-To: <61ab46280905201611j65e8665m38e85bed466a4fa@mail.gmail.com> References: <61ab46280905071615x6ae653dara4adfecdf0476977@mail.gmail.com> <61ab46280905201611j65e8665m38e85bed466a4fa@mail.gmail.com> Message-ID: > checking for init_snmp in -lnetsnmp... no > configure: error: snmp library not found > > I looked through the Ubuntu package website, and tried installing any package I could find that's related to SNMP, but already have them all installed. It's probably a -dev package, which you need to compile, but not to run, the plugin. Try installing libsnmp-dev > snmp is already the newest version. > libsnmp-base is already the newest version. > libsnmp15 is already the newest version. > snmpd is already the newest version. > libsnmp-perl is already the newest version. > > Is there an inherent incompatibility between Ubuntu 8.10 and the check_snmp plugin? Do I need to go the all Perl/CPAN route? I can perform snmpwalks, but I don't know of any other way to find out what I'm missing. No, I personally prefer using perl to write my own plugins though You rarely need to use cpan with ubuntu -- The probability of someone watching you is proportional to the stupidity of your action. Paul Weaver Systems Development Engineer News Production Facilities, BBC News 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. ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 21 17:18:16 2009 From: nccomp at gmail.com (Andrew Davis) Date: Thu, 21 May 2009 11:18:16 -0400 Subject: Monitoring switches via SNMP -- In-Reply-To: References: <61ab46280905071615x6ae653dara4adfecdf0476977@mail.gmail.com> <61ab46280905201611j65e8665m38e85bed466a4fa@mail.gmail.com> Message-ID: <4A1570B8.3000501@gmail.com> I would agree... get all the relevant devel and necessary library packages. For some plugins, you can straight into the plugins directory and compile that one plugin (once all the pre-reqs are there), then copy the binary to your libexec folder. I had to do this with a client with mysql. Initially it didn't have mysql, so the test wasn't compiled. I installed mysql including the dev pkgs and libs, then dropped into the ~nagios-plugins/plugins folder and did a "make check_mysql.c", then copied the check_mysql binary to my libexec folder and all was fine... 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 Paul Weaver wrote: >> checking for init_snmp in -lnetsnmp... no >> configure: error: snmp library not found >> >> I looked through the Ubuntu package website, and tried installing any >> > package I could find that's related to SNMP, but already have them all > installed. > > It's probably a -dev package, which you need to compile, but not to run, > the plugin. Try installing libsnmp-dev > > >> snmp is already the newest version. >> libsnmp-base is already the newest version. >> libsnmp15 is already the newest version. >> snmpd is already the newest version. >> libsnmp-perl is already the newest version. >> >> Is there an inherent incompatibility between Ubuntu 8.10 and the >> > check_snmp plugin? Do I need to go the all Perl/CPAN route? I can > perform snmpwalks, but I don't know of any other way to find out what > I'm missing. > > No, I personally prefer using perl to write my own plugins though > > You rarely need to use cpan with ubuntu > > -- > > The probability of someone watching you is proportional to the stupidity > of your action. > > Paul Weaver > Systems Development Engineer > News Production Facilities, BBC News > > > 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. > > > ------------------------------------------------------------------------------ > Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT > is a gathering of tech-side developers & brand creativity professionals. Meet > the minds behind Google Creative Lab, Visual Complexity, Processing, & > iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian > Group, R/GA, & Big Spaceship. http://www.creativitycat.com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.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 mike.saldivar at advocatecreditrepair.com Thu May 21 17:47:29 2009 From: mike.saldivar at advocatecreditrepair.com (Mike Saldivar) Date: Thu, 21 May 2009 09:47:29 -0600 Subject: Monitoring switches via SNMP -- In-Reply-To: <4A1570B8.3000501@gmail.com> References: <61ab46280905071615x6ae653dara4adfecdf0476977@mail.gmail.com> <61ab46280905201611j65e8665m38e85bed466a4fa@mail.gmail.com> <4A1570B8.3000501@gmail.com> Message-ID: <61ab46280905210847k46f36ce9l60f6811d3194520d@mail.gmail.com> On Thu, May 21, 2009 at 9:18 AM, Andrew Davis wrote: > I would agree... get all the relevant devel and necessary library > packages. For some plugins, you can straight into the plugins directory and > compile that one plugin (once all the pre-reqs are there), then copy the > binary to your libexec folder. I had to do this with a client with mysql. > Initially it didn't have mysql, so the test wasn't compiled. I installed > mysql including the dev pkgs and libs, then dropped into the > ~nagios-plugins/plugins folder and did a "make check_mysql.c", then copied > the check_mysql binary to my libexec folder and all was fine... > > 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 > > > > Paul Weaver wrote: > > checking for init_snmp in -lnetsnmp... no > configure: error: snmp library not found > > I looked through the Ubuntu package website, and tried installing any > > > package I could find that's related to SNMP, but already have them all > installed. > > It's probably a -dev package, which you need to compile, but not to run, > the plugin. Try installing libsnmp-dev > > That was it - it needed the libsnmp-dev package to configure. But it still wouldn't make (the error message looked like a combo of foreign language and corrupt text encoding) and I hadn't seen Andrew's e-mail yet, so I just re-installed the entire plugins package. This time it compiled with check_snmp, and after restarting Nagios, my SNMP checks are functioning. NICE! Thanks for the tips. If I need to install an individual check at a later date, I'll try Andrew's method of making that one check. -Mike -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.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 srianirudh at gmail.com Thu May 21 19:07:08 2009 From: srianirudh at gmail.com (Anirudh Srinivasan) Date: Thu, 21 May 2009 13:07:08 -0400 Subject: monitor multiple port Message-ID: <699b436a0905211007l6e9c3f26g52f7a872353c2dea@mail.gmail.com> Here is my commands.cfg for check_snmp: define command{ command_name check_port command_line $USER1$/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -o $ARG2$ -r 1 -m RFC1213-MIB } Here is my services.cfg command: define service{ use local-service host_name mir-user-2 service_description Port 1 status check_command check_port!public!ifOperStatus.1 } Now this is for only ONE port , and if it goes down it says Critical which is working fine. I would love to monitor multiple ports together i.e lets say port 1 2 3 and 4 and if 4 is down it should be critical . In that case what would be my commands.cfg and services.cfg Can some one elaborate on how my commands.cfg and services.cfg should look like ??? Thanks in adv -- Anirudh Srinivasan -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.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 jimmyjose2980 at gmail.com Thu May 21 20:43:18 2009 From: jimmyjose2980 at gmail.com (Jimmyboy) Date: Fri, 22 May 2009 00:13:18 +0530 Subject: sysUpTime.0: Status showing 'UNKNOWN' Message-ID: Hello *Experts*, I have installed and configured Nagios 3.0.6 on Ubuntu 8.10 (in a Virtual Environment), and am using its web interface. I am monitoring a Windows machine & a Route-Switch Module (RSM). The RSM's ping status is shown as 'OK', however, the Uptime status is shown as 'UNKNOWN'. The Status Information column says "*SNMP Problem- No data received from host*". *The snmp public community set on the RSM is*: snmp-server community ********* RO 35 *The directive used on Nagios for it is*: check_command check_snmp!-C public -o sysUpTime.0 (where *public* is replaced by the actual public community as above). To verify whether the snmp modules are correctly installed, I did a 'locate snmpget' & 'locate snmpwalk' on my Nagios machine. It returned me the following. /usr/bin/snmp /usr/bin/snmpget-next /usr/bin/snmpwalk Is there anything I am missing out on? Please advise. Thanks, Jim -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.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 frisvolj at lafayette.edu Thu May 21 22:33:52 2009 From: frisvolj at lafayette.edu (Jason Frisvold) Date: Thu, 21 May 2009 16:33:52 -0400 Subject: sysUpTime.0: Status showing 'UNKNOWN' In-Reply-To: References: Message-ID: <4A15BAB0.1050204@lafayette.edu> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Jimmyboy wrote: > Hello *Experts*, > Is there anything I am missing out on? Try manually doing an snmpget or an snmpwalk to retrieve the sysUptime. snmpwalk -v1 -c
sysUptime > Please advise. > > > Thanks, > Jim - -- - --------------------------- 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 iEYEARECAAYFAkoVuq8ACgkQO80o6DJ8UvkmfgCdGLuS4OhmlNux7ciGzsL1OxnM VjwAn0M6l1rs9t81zeomO2GkqqWIhF01 =59jk -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu May 21 22:43:06 2009 From: frisvolj at lafayette.edu (Jason Frisvold) Date: Thu, 21 May 2009 16:43:06 -0400 Subject: "Disabled" services Message-ID: <4A15BCDA.7010600@lafayette.edu> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I have a number of SNMPTRAP services defined which are, naturally, passive. As such, I've disabled active checks, basically to save cpu cycles. No need to check actively if it won't actually do anything. However, these show up as Disabled Services on the tactical screen. This seems odd to me. Is there a way to make Nagios see them as not disabled? Or is enabling active checks and setting the command to something like check_dummy the answer? Thanks, - -- - --------------------------- 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 iEYEARECAAYFAkoVvNoACgkQO80o6DJ8UvmfPQCePlcubOHdgkgMZ4OKkn/P7uKy FPQAn05oTp77yFU4MaPYO03wSB3/BUQH =WO9h -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu May 21 23:41:45 2009 From: shadhin71 at gmail.com (shadih rahman) Date: Thu, 21 May 2009 17:41:45 -0400 Subject: nagios command line script Message-ID: <6db4a4200905211441t5f0b0662w1676b260cd78b48e@mail.gmail.com> All, I just added a perl Nagios command line script in nagiosexchange.org. The script uses Nagios-Object cpan module. However, I made modification to the Nagios-Object cpan module to work with nagios version 3. Detail installation instruction is included in nagiosexchange link. http://www.monitoringexchange.org/cgi-bin/page.cgi?g=Detailed%2F3083.html;d=1 or you can do a search on nagiosexchange with the word "ncom". The usage for this script is listed below. Thanks Usage: sage: /usr/local/bin/ncom action service at host commnent where: service the name of the service we are checking host Name of the host we are checking commment Comment we want to pass to the action check: Immediately recheck service, host, service at host (no state update on run) reschedule: Reschedule service, host, service at host (state update on run) acknowledge: Acknowledge current alert for service, host, service at host unacknowledge: Undo acknowledge for service, host, service at host inhibit: Silence all alerts for service, host, service at host uninhibit: Undo inhibit for service, host, service at host checkhistory: check history of particular check alerthistory: check history of notificaitons commandhistory:check history of commands executed on particular check -- Cordially, Shadhin Rahman -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.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 21 23:54:01 2009 From: marc at ena.com (Marc Powell) Date: Thu, 21 May 2009 16:54:01 -0500 Subject: "Disabled" services In-Reply-To: <4A15BCDA.7010600@lafayette.edu> References: <4A15BCDA.7010600@lafayette.edu> Message-ID: <3D118412-C1DA-41A8-9EF5-6B53CF47FD81@ena.com> On May 21, 2009, at 3:43 PM, Jason Frisvold wrote: > However, these show up as Disabled Services on the tactical screen. > This seems odd to me. Is there a way to make Nagios see them as not > disabled? Or is enabling active checks and setting the command to > something like check_dummy the answer? Enable active checks, set the check_command as check_dummy but set the check_period to be 'none' is what I do. -- Marc ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 22 11:57:03 2009 From: assaf.flatto at ssp-intl.com (Assaf Flatto) Date: Fri, 22 May 2009 09:57:03 +0000 Subject: Error While Using check_ifstatus In-Reply-To: <232025.1461.qm@web59204.mail.re1.yahoo.com> References: <232025.1461.qm@web59204.mail.re1.yahoo.com> Message-ID: <200905220957.03969.assaf.flatto@ssp-intl.com> On Thursday 21 May 2009 14:31:26 Martin Fontanez wrote: > I am new to Nagios.? Trying to get link state info (up/down) on NIC cards > on my box (realizing I could use check_ping but ICMP is blocked).? I am > using el5 and mii-tools/mii-diag does not work since my kernel is 2.6 or >. > > I setup check-ifstatus but I am getting this error: > > CRITICAL: Requested table is empty or does not exist for > 1.3.6.1.2.1.2.2.1.8 with snmp version 1 > > Wondering if anyone knows of a workaround.? Are you sure the device you are quering is using SNMP v1 ? most devices come with SNMP2 or even 3 , check the setting of you snmp query and the snmp setting on the device to see what version you need to use to check.. -- 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 ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 22 12:05:56 2009 From: assaf.flatto at ssp-intl.com (Assaf Flatto) Date: Fri, 22 May 2009 10:05:56 +0000 Subject: hostgroups and service dependencies? In-Reply-To: References: Message-ID: <200905221005.56446.assaf.flatto@ssp-intl.com> The 53 second delay is natural - as nagios is calculating the dependencies and what it calls "circular dependencies " - meaning it check that the definition is correct and the logic you defined is fine . the delay will be there as long as you have the dependencies - as you are adding more complexity to the nagios operations and work logic - so it takes more time to prepare and create the "understanding " of the logic and requirements. creating 100 definitions of service dependencies will not reduce the calculation time , and will only make you have a more "mess" in the configuration , the way you set it up is correct , and more elegant to read and understand by the next guy that will need to take care of the system (if that ever happens ). On Wednesday 20 May 2009 19:35:20 Frost, Mark {PBG} wrote: > I'm just starting to get into service dependencies. My problem is that > I don't quite see how I can get around doing it individually for each > and every service and host needed. > > An example is if I've got 100 Windows servers all configured to be part > of a hostgroup. Then I've got a > > > define service { > hostgroup_name > prod_windows_servers > service_description NRPE Service > check_command NRPE Service > use Production > Windows Service > } > > define service { > hostgroup_name > prod_windows_servers > service_description CPU Load > check_command > check_windows_load!90%!90% > use Production > Windows Service > } > > define service { > hostgroup_name > prod_windows_servers > service_description C: Drive > check_command > check_windows_disk!C:!90%!90% > use Production > Windows Service > } > > where the 100 servers are all part of the 'prod_windows_servers" > hostgroup. Here I can list the checks nice and compactly and add new > hosts/checks merely by putting them in that hostgroup. > > I would like to make service checks on these boxes dependent on the > "NRPE Service" check above. So if the NRPE service was not responding, > Nagios wouldn't bother sending me alerts about all the other things on > that box it could not reach. > > The object definitions seem to say that I can do > > define servicedependency { > hostgroup_name > prod_windows_servers > service_description NRPE Service > dependent_hostgroup_name > prod_windows_servers > dependent_service_description C: Drive > execution_failure_criteria n > notification_failure_criteria w,u,c > } > > I'm assuming that this is supposed to match up each > 'prod_windows_servers' entry with its matching entry rather than making > each server dependent on this servers from *every* other hostgroup > member? > > Just to see, I tried this out and when I did a pre-flight check it took > 53 seconds (checking the host and service dependencies) when it normally > runs instantly. > > I'm not sure this does what I want. Even so, I don't know that I can > handle the 53 second wait which I imagine would escalate for each > service I defined in this way). The only other route I can think of is > to create a unique servicedepency definition for each of these. That's > 100 x n dependency definitions, where n is the number of other services > I'm checking on each of these boxes. > > Am I looking at this the wrong way? Is there an easier way to do this? > > Thanks > > Mark > > > --------------------------------------------------------------------------- >--- Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables > unlimited royalty-free distribution of the report engine > for externally facing server and web deployment. > http://p.sf.net/sfu/businessobjects > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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 ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 22 11:49:55 2009 From: ae at op5.se (Andreas Ericsson) Date: Fri, 22 May 2009 11:49:55 +0200 Subject: hostgroups and service dependencies? In-Reply-To: References: Message-ID: <4A167543.5080802@op5.se> Frost, Mark {PBG} wrote: > I'm just starting to get into service dependencies. My problem is that > I don't quite see how I can get around doing it individually for each > and every service and host needed. > > An example is if I've got 100 Windows servers all configured to be part > of a hostgroup. Then I've got a > > > define service { > hostgroup_name > prod_windows_servers > service_description NRPE Service > check_command NRPE Service > use Production > Windows Service > } > > define service { > hostgroup_name > prod_windows_servers > service_description CPU Load > check_command > check_windows_load!90%!90% > use Production > Windows Service > } > > define service { > hostgroup_name > prod_windows_servers > service_description C: Drive > check_command > check_windows_disk!C:!90%!90% > use Production > Windows Service > } > > where the 100 servers are all part of the 'prod_windows_servers" > hostgroup. Here I can list the checks nice and compactly and add new > hosts/checks merely by putting them in that hostgroup. > > I would like to make service checks on these boxes dependent on the > "NRPE Service" check above. So if the NRPE service was not responding, > Nagios wouldn't bother sending me alerts about all the other things on > that box it could not reach. > > The object definitions seem to say that I can do > > define servicedependency { > hostgroup_name > prod_windows_servers > service_description NRPE Service > dependent_hostgroup_name > prod_windows_servers > dependent_service_description C: Drive > execution_failure_criteria n > notification_failure_criteria w,u,c > } > > I'm assuming that this is supposed to match up each > 'prod_windows_servers' entry with its matching entry rather than making > each server dependent on this servers from *every* other hostgroup > member? > You assume wrong. This makes it depend on each hostgroup member. In order to do "same-host" dependencies, you can leave out one of the "hostgroup_name" or "dependent_hostgroup_name". I can't remember which, so go browse the docs to find out. Do note that same-host dependencies only work in Nagios 3. > Just to see, I tried this out and when I did a pre-flight check it took > 53 seconds (checking the host and service dependencies) when it normally > runs instantly. > Right. I'll try to apply the depth first search to host and service dependencies too. It was originally a patch from Jean Gab?s, and it speeds up parent/child relations for hosts by a *huge* amount, so it's probably worth adding it to dependencies too. Even so, I'm guessing you actually added 100 (or more) times the number of dependencies you expected to add, so it's not surprising this eats a lot of CPU. -- 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 for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cloved at gmail.com Fri May 22 13:45:20 2009 From: cloved at gmail.com (Lei Chen) Date: Fri, 22 May 2009 19:45:20 +0800 Subject: Monitoring Oracle database In-Reply-To: <654234233CA505458519F3D4BC36DABF02B5225F@blr-cst-msg.wipro.com> References: <654234233CA505458519F3D4BC36DABF02B5225F@blr-cst-msg.wipro.com> Message-ID: http://www.consol.de/opensource/nagios/check-oracle-health/ Hope this helps. 2009/5/21 : > Dear All, > > > > I m trying to monitor Oracle database using check_oracle plug-in. > > > > I need to know what all parameters (related to database) can be monitored > through Nagios and please advice for configuring the same. > > > > > > Please help. > > > > Thanks & Regards, > > > > Chethan M N, > Sr Engineer - EMS > > > > ------------------------------------------------------------------------------ > Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT > is a gathering of tech-side developers & brand creativity professionals. > Meet > the minds behind Google Creative Lab, Visual Complexity, Processing, & > iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian > Group, R/GA, & Big Spaceship. http://www.creativitycat.com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Thanks, Chenlei & ??++ MSN Messenger: chnl at 163.com ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cloved at gmail.com Fri May 22 13:51:58 2009 From: cloved at gmail.com (Lei Chen) Date: Fri, 22 May 2009 19:51:58 +0800 Subject: monitor multiple port In-Reply-To: <699b436a0905211007l6e9c3f26g52f7a872353c2dea@mail.gmail.com> References: <699b436a0905211007l6e9c3f26g52f7a872353c2dea@mail.gmail.com> Message-ID: You can use check_snmp_int.pl to do this job. http://nagios.manubulon.com/snmp_int.html Such as follow: ./check_snmp_int.pl -H 192.168.100.1 -C xxxx -n Ethernet0/29:UP, Ethernet0/19:DOWN, Ethernet0/6:UP, Ethernet0/11:DOWN, Ethernet0/7:DOWN, Ethernet0/31:UP, Ethernet0/25:DOWN, Ethernet0/24:DOWN, Ethernet0/8:UP, Aux0/0:UP, Ethernet0/1:UP, Ethernet0/36:UP, Ethernet0/47:DOWN, Ethernet0/34:UP, Ethernet0/4:UP, Ethernet0/38:UP, Ethernet0/9:DOWN, Ethernet0/37:DOWN, GigabitEthernet1/3:DOWN, Ethernet0/43:DOWN, Ethernet0/27:UP, Ethernet0/23:DOWN, Ethernet0/5:DOWN, Ethernet0/42:UP, Ethernet0/16:UP, Ethernet0/14:UP, Ethernet0/26:DOWN, Ethernet0/3:UP, Ethernet0/46:UP, Ethernet0/28:DOWN, Ethernet0/48:DOWN, Ethernet0/41:DOWN, Ethernet0/12:UP, GigabitEthernet1/2:DOWN, Ethernet0/22:DOWN, Ethernet0/20:UP, Ethernet0/18:UP, Ethernet0/32:UP, Ethernet0/21:DOWN, Ethernet0/40:UP, Ethernet0/17:DOWN, Ethernet0/33:UP, GigabitEthernet1/1:DOWN, Ethernet0/39:DOWN, Ethernet0/35:DOWN, NULL0:UP, Vlan-interface100:UP, Ethernet0/2:DOWN, Ethernet0/10:UP, Ethernet0/45:UP, GigabitEthernet1/4:DOWN, Vlan-interface200:UP, Ethernet0/44:UP, Ethernet0/13:DOWN, Ethernet0/15:DOWN, Ethernet0/30:UP: 27 int NOK : CRITICAL 2009/5/22 Anirudh Srinivasan : > Here is my commands.cfg for check_snmp: > > define command{ > command_name check_port > command_line $USER1$/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -o > $ARG2$ -r 1 -m RFC1213-MIB > } > > Here is my services.cfg command: > > define service{ > use local-service > host_name mir-user-2 > service_description Port 1 status > check_command check_port!public!ifOperStatus.1 > } > > Now this is for only ONE port , and if it goes down it says Critical which > is working fine. > > I would love to monitor multiple ports together i.e lets say port 1 2 3 and > 4 and if 4 is down it should be critical . In that case what would be my > commands.cfg and services.cfg > > Can some one elaborate on how my commands.cfg and services.cfg should look > like ??? > > > Thanks in adv > -- > Anirudh Srinivasan > > > ------------------------------------------------------------------------------ > Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT > is a gathering of tech-side developers & brand creativity professionals. > Meet > the minds behind Google Creative Lab, Visual Complexity, Processing, & > iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian > Group, R/GA, & Big Spaceship. http://www.creativitycat.com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Thanks, Chenlei & ??++ MSN Messenger: chnl at 163.com ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chris at ecntelecoms.com Fri May 22 13:54:21 2009 From: chris at ecntelecoms.com (Chris Picton) Date: Fri, 22 May 2009 11:54:21 +0000 (UTC) Subject: Different notification contacts depending on service state Message-ID: Hi all I am trying to create a service which will notify one group of users if the service state is 'u' and a different group of users if the state is 'c' Is this possible without creating duplicate service checks? Chris ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 22 14:40:45 2009 From: marc at ena.com (Marc Powell) Date: Fri, 22 May 2009 07:40:45 -0500 Subject: Different notification contacts depending on service state In-Reply-To: References: Message-ID: <7986B3A4-A3FC-4E04-8CFB-E1E6235AE6A9@ena.com> On May 22, 2009, at 6:54 AM, Chris Picton wrote: > Hi all > > I am trying to create a service which will notify one group of users > if > the service state is 'u' and a different group of users if the state > is > 'c' > > Is this possible without creating duplicate service checks? See the thread 'Differing Notifications' from just two days ago. -- Marc ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jdmfontz at yahoo.com Fri May 22 14:22:35 2009 From: jdmfontz at yahoo.com (Martin Fontanez) Date: Fri, 22 May 2009 05:22:35 -0700 (PDT) Subject: Error While Using check_ifstatus Message-ID: <726803.14199.qm@web59205.mail.re1.yahoo.com> Thanks Assaf, ? It looks like I have version 2 ? [root at localhost snmp]# snmpwalk -v3 -c public localhost snmpwalk: No securityName specified [root at localhost snmp]# ? [root at localhost snmp]# snmpwalk -v2c -c public localhost system SNMPv2-MIB::sysDescr.0 = STRING: Linux localhost.localdomain 2.6.11-121.1.1.el5 #1 SMP Mon Jan 26 13:59:00 EST 2009 i686 SNMPv2-MIB::sysObjectID.0 = OID: NET-SNMP-MIB::netSnmpAgentOIDs.10 DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (15121490) 1 day, 18:00:14.90 SNMPv2-MIB::sysContact.0 = STRING: Root (configure /etc/snmp/snmp.local.conf) SNMPv2-MIB::sysName.0 = STRING: localhost.localdomain SNMPv2-MIB::sysLocation.0 = STRING: Unknown (edit /etc/snmp/snmpd.conf) SNMPv2-MIB::sysORLastChange.0 = Timeticks: (65) 0:00:00.65 SNMPv2-MIB::sysORID.1 = OID: SNMPv2-MIB::snmpMIB SNMPv2-MIB::sysORID.2 = OID: TCP-MIB::tcpMIB SNMPv2-MIB::sysORID.3 = OID: IP-MIB::ip SNMPv2-MIB::sysORID.4 = OID: UDP-MIB::udpMIB SNMPv2-MIB::sysORID.5 = OID: SNMP-VIEW-BASED-ACM-MIB::vacmBasicGroup SNMPv2-MIB::sysORID.6 = OID: SNMP-FRAMEWORK-MIB::snmpFrameworkMIBCompliance SNMPv2-MIB::sysORID.7 = OID: SNMP-MPD-MIB::snmpMPDCompliance SNMPv2-MIB::sysORID.8 = OID: SNMP-USER-BASED-SM-MIB::usmMIBCompliance SNMPv2-MIB::sysORDescr.1 = STRING: The MIB module for SNMPv2 entities SNMPv2-MIB::sysORDescr.2 = STRING: The MIB module for managing TCP implementations SNMPv2-MIB::sysORDescr.3 = STRING: The MIB module for managing IP and ICMP implementations SNMPv2-MIB::sysORDescr.4 = STRING: The MIB module for managing UDP implementations SNMPv2-MIB::sysORDescr.5 = STRING: View-based Access Control Model for SNMP. SNMPv2-MIB::sysORDescr.6 = STRING: The SNMP Management Architecture MIB. SNMPv2-MIB::sysORDescr.7 = STRING: The MIB for Message Processing and Dispatching. SNMPv2-MIB::sysORDescr.8 = STRING: The management information definitions for the SNMP User-based Security Model. SNMPv2-MIB::sysORUpTime.1 = Timeticks: (64) 0:00:00.64 SNMPv2-MIB::sysORUpTime.2 = Timeticks: (64) 0:00:00.64 SNMPv2-MIB::sysORUpTime.3 = Timeticks: (64) 0:00:00.64 SNMPv2-MIB::sysORUpTime.4 = Timeticks: (64) 0:00:00.64 SNMPv2-MIB::sysORUpTime.5 = Timeticks: (64) 0:00:00.64 SNMPv2-MIB::sysORUpTime.6 = Timeticks: (65) 0:00:00.65 SNMPv2-MIB::sysORUpTime.7 = Timeticks: (65) 0:00:00.65 SNMPv2-MIB::sysORUpTime.8 = Timeticks: (65) 0:00:00.65 [root at localhost snmp]# ? I tried check_ifstatus with -v 2? option and getting same message: ? [root at localhost etc]# /usr/local/nagios/libexec/check_ifstatus -H localhost -v 2 -C public -I -u E1 6/0 CRITICAL: Requested table is empty or does not exist for 1.3.6.1.2.1.2.2.1.8? with snmp version 2 I'll guess the message that "requested table is empty?or?does not exist for 1.3.6.1.2.1.2.2.1.8"??means that there is something that needs configuring in snmp (???).? I am very green with snmp. --- On Fri, 5/22/09, Assaf Flatto wrote: From: Assaf Flatto Subject: Re: [Nagios-users] Error While Using check_ifstatus To: nagios-users at lists.sourceforge.net Date: Friday, May 22, 2009, 5:57 AM On Thursday 21 May 2009 14:31:26 Martin Fontanez wrote: > I am new to Nagios.? Trying to get link state info (up/down) on NIC cards > on my box (realizing I could use check_ping but ICMP is blocked).? I am > using el5 and mii-tools/mii-diag does not work since my kernel is 2.6 or >. > > I setup check-ifstatus but I am getting this error: > > CRITICAL: Requested table is empty or does not exist for > 1.3.6.1.2.1.2.2.1.8? with snmp version 1 > > Wondering if anyone knows of a workaround.? Are you sure the device you are quering is using SNMP v1 ? most devices come with SNMP2 or even 3 , check the setting of you snmp query and the snmp setting on the device to see what version you need to use to check.. -- 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 ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.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 Steve.Onotsky at Broadridge.com Fri May 22 15:33:01 2009 From: Steve.Onotsky at Broadridge.com (Onotsky, Steve x55328) Date: Fri, 22 May 2009 09:33:01 -0400 Subject: Error While Using check_ifstatus In-Reply-To: <726803.14199.qm@web59205.mail.re1.yahoo.com> References: <726803.14199.qm@web59205.mail.re1.yahoo.com> Message-ID: <30A417B62E7EE448B3864ADC881CEFD608D903AA@missemsa01.bsg.ad.adp.com> You may have v3 available on the device you are querying, but you need to specify a lot more information to snmpwalk than you have. Read more at http://net-snmp.sourceforge.net/wiki/index.php/TUT:SNMPv3_Options (especially the table at about the middle of the page). Steve Onotsky Server Support Technologist Broadridge Investor Communication Solutions, Canada 5970 Chedworth Way Mississauga ON L5R 4G5 Tel: (905) 507-5328 Fax: (905) 507-5312 Inet: steve.onotsky at broadridge.com Quis custodiet ipsos custodes? - Juvenal, Satires, VI, 347 ________________________________ From: Martin Fontanez [mailto:jdmfontz at yahoo.com] Sent: May 22, 2009 08:23 To: nagios-users at lists.sourceforge.net; Assaf Flatto Subject: Re: [Nagios-users] Error While Using check_ifstatus Thanks Assaf, It looks like I have version 2 [root at localhost snmp]# snmpwalk -v3 -c public localhost snmpwalk: No securityName specified [root at localhost snmp]# [root at localhost snmp]# snmpwalk -v2c -c public localhost system SNMPv2-MIB::sysDescr.0 = STRING: Linux localhost.localdomain 2.6.11-121.1.1.el5 #1 SMP Mon Jan 26 13:59:00 EST 2009 i686 SNMPv2-MIB::sysObjectID.0 = OID: NET-SNMP-MIB::netSnmpAgentOIDs.10 DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (15121490) 1 day, 18:00:14.90 SNMPv2-MIB::sysContact.0 = STRING: Root (configure /etc/snmp/snmp.local.conf) SNMPv2-MIB::sysName.0 = STRING: localhost.localdomain SNMPv2-MIB::sysLocation.0 = STRING: Unknown (edit /etc/snmp/snmpd.conf) SNMPv2-MIB::sysORLastChange.0 = Timeticks: (65) 0:00:00.65 SNMPv2-MIB::sysORID.1 = OID: SNMPv2-MIB::snmpMIB SNMPv2-MIB::sysORID.2 = OID: TCP-MIB::tcpMIB SNMPv2-MIB::sysORID.3 = OID: IP-MIB::ip SNMPv2-MIB::sysORID.4 = OID: UDP-MIB::udpMIB SNMPv2-MIB::sysORID.5 = OID: SNMP-VIEW-BASED-ACM-MIB::vacmBasicGroup SNMPv2-MIB::sysORID.6 = OID: SNMP-FRAMEWORK-MIB::snmpFrameworkMIBCompliance SNMPv2-MIB::sysORID.7 = OID: SNMP-MPD-MIB::snmpMPDCompliance SNMPv2-MIB::sysORID.8 = OID: SNMP-USER-BASED-SM-MIB::usmMIBCompliance SNMPv2-MIB::sysORDescr.1 = STRING: The MIB module for SNMPv2 entities SNMPv2-MIB::sysORDescr.2 = STRING: The MIB module for managing TCP implementations SNMPv2-MIB::sysORDescr.3 = STRING: The MIB module for managing IP and ICMP implementations SNMPv2-MIB::sysORDescr.4 = STRING: The MIB module for managing UDP implementations SNMPv2-MIB::sysORDescr.5 = STRING: View-based Access Control Model for SNMP. SNMPv2-MIB::sysORDescr.6 = STRING: The SNMP Management Architecture MIB. SNMPv2-MIB::sysORDescr.7 = STRING: The MIB for Message Processing and Dispatching. SNMPv2-MIB::sysORDescr.8 = STRING: The management information definitions for the SNMP User-based Security Model. SNMPv2-MIB::sysORUpTime.1 = Timeticks: (64) 0:00:00.64 SNMPv2-MIB::sysORUpTime.2 = Timeticks: (64) 0:00:00.64 SNMPv2-MIB::sysORUpTime.3 = Timeticks: (64) 0:00:00.64 SNMPv2-MIB::sysORUpTime.4 = Timeticks: (64) 0:00:00.64 SNMPv2-MIB::sysORUpTime.5 = Timeticks: (64) 0:00:00.64 SNMPv2-MIB::sysORUpTime.6 = Timeticks: (65) 0:00:00.65 SNMPv2-MIB::sysORUpTime.7 = Timeticks: (65) 0:00:00.65 SNMPv2-MIB::sysORUpTime.8 = Timeticks: (65) 0:00:00.65 [root at localhost snmp]# I tried check_ifstatus with -v 2 option and getting same message: [root at localhost etc]# /usr/local/nagios/libexec/check_ifstatus -H localhost -v 2 -C public -I -u E1 6/0 CRITICAL: Requested table is empty or does not exist for 1.3.6.1.2.1.2.2.1.8 with snmp version 2 I'll guess the message that "requested table is empty or does not exist for 1.3.6.1.2.1.2.2.1.8" means that there is something that needs configuring in snmp (???). I am very green with snmp. --- On Fri, 5/22/09, Assaf Flatto wrote: From: Assaf Flatto Subject: Re: [Nagios-users] Error While Using check_ifstatus To: nagios-users at lists.sourceforge.net Date: Friday, May 22, 2009, 5:57 AM On Thursday 21 May 2009 14:31:26 Martin Fontanez wrote: > I am new to Nagios. Trying to get link state info (up/down) on NIC cards > on my box (realizing I could use check_ping but ICMP is blocked). I am > using el5 and mii-tools/mii-diag does not work since my kernel is 2.6 or >. > > I setup check-ifstatus but I am getting this error: > > CRITICAL: Requested table is empty or does not exist for > 1.3.6.1.2.1.2.2.1.8 with snmp version 1 > > Wondering if anyone knows of a workaround. Are you sure the device you are quering is using SNMP v1 ? most devices come with SNMP2 or even 3 , check the setting of you snmp query and the snmp setting on the device to see what version you need to use to check.. -- 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 ------------------------------------------------------------------------ ------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null This message and any attachments are intended only for the use of the addressee and may contain information that is privileged and confidential. If the reader of the message is not the intended recipient or an authorized representative of the intended recipient, you are hereby notified that any dissemination of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail and delete the message and any attachments from your system. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.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 frisvolj at lafayette.edu Fri May 22 16:04:09 2009 From: frisvolj at lafayette.edu (Jason Frisvold) Date: Fri, 22 May 2009 10:04:09 -0400 Subject: "Disabled" services In-Reply-To: <3D118412-C1DA-41A8-9EF5-6B53CF47FD81@ena.com> References: <4A15BCDA.7010600@lafayette.edu> <3D118412-C1DA-41A8-9EF5-6B53CF47FD81@ena.com> Message-ID: <4A16B0D9.7090807@lafayette.edu> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Marc Powell wrote: > Enable active checks, set the check_command as check_dummy but set the > check_period to be 'none' is what I do. Ahh.. check_period. Didn't think of that, thanks! > -- > Marc - -- - --------------------------- 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 iEYEARECAAYFAkoWsNkACgkQO80o6DJ8UvlOfQCfXL2iIKP63fjtefvPFj70SMNI Me0An0eO89F+6OqRWlsTtKv5hAkRiIsx =VDHu -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 22 14:24:04 2009 From: ae at op5.se (Andreas Ericsson) Date: Fri, 22 May 2009 14:24:04 +0200 Subject: Different notification contacts depending on service state In-Reply-To: References: Message-ID: <4A169964.2030801@op5.se> Chris Picton wrote: > Hi all > > I am trying to create a service which will notify one group of users if > the service state is 'u' and a different group of users if the state is > 'c' > > Is this possible without creating duplicate service checks? > Yes. Check the documentation for service escalations. -- 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 for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 22 11:17:53 2009 From: chethan.mnc at wipro.com (chethan.mnc at wipro.com) Date: Fri, 22 May 2009 14:47:53 +0530 Subject: Monitoring Oracle database Message-ID: <654234233CA505458519F3D4BC36DABF02B5294B@blr-cst-msg.wipro.com> Dear All, I m trying to monitor Oracle database using check_oracle plug-in. I need to know what all parameters (related to database) can be monitored through Nagios and please advice for configuring the same. Please help. Thanks & Regards, Chethan M N, Sr Engineer - EMS -------------- 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 -------------- ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.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 georgsorst at gmx.de Fri May 22 19:05:20 2009 From: georgsorst at gmx.de (Georg M. Sorst) Date: Fri, 22 May 2009 19:05:20 +0200 Subject: Using a different notification command after a certain downtime Message-ID: <4A16DB50.4030903@gmx.de> Hi list! I am currently integrating Skype into our monitoring to provide SMS notifications. It's working pretty fine and if you're interested you can check out my documentation in the Nagios wiki [1]. However, I had one tiny problem with the configuration that I would like to sort out if possible. The problem is: When the HTTPs are down for more than 20 minutes I want to be notified by SMS, but I still want to use the regular mail notifications (currently set to occur after I believe 3 Minutes). My solution to this was to duplicate the service definitions for HTTP to provide different check intervals / max check attempts (coming out at 10 minutes and 20 minutes respectively) and contact groups / contacts (the contacts in the first group use mail notifications, the contacts in the second group use SMS notifications, but are essentially the same users as in the first group, just duplicated). Have a look at the wiki page if this description is unclear. So, in essence my question is if there is any way to tell Nagios to "switch" to a different notification command after a certain downtime or any other way to avoid this duplication. Thanks and best regards, Georg [1] http://community.nagios.org/wiki/index.php/SkypeSmsNotification ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri May 22 18:28:59 2009 From: kelseysmith at caseyfamilyservices.org (kelseysmith at caseyfamilyservices.org) Date: Fri, 22 May 2009 12:28:59 -0400 Subject: Kelsey Smith/CFS01/CFS is out of the office. Message-ID: I will be out of the office starting 05/22/2009 and will not return until 06/04/2009. ------------------------------------------------------ Confirmed virus-free by mymssp.net see www.anchortechnologies.com for more information. ------------------------------------------------------ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.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 david.haffner at ge.com Fri May 22 21:18:12 2009 From: david.haffner at ge.com (Haffner, David (GE, Corporate, consultant)) Date: Fri, 22 May 2009 15:18:12 -0400 Subject: sidebar does not display correctly Message-ID: <9A3AB61DD01B8E409B30DE2F1E11D62D099F43C3@CINMLVEM13.e2k.ad.ge.com> Hi all, I've been having a horrible time getting the sidebar to display correctly. Can anyone point me to a file or directory or something that needs to be tweeked? I've got it running on RHEL4. Everything functions fine, it's just that the sidebar displays wrong. Here's a screenshot. Thanks! Dave Haffner -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: att75128.jpg Type: image/jpeg Size: 16149 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 4431 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.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 22 21:56:32 2009 From: subscription at kkeane.com (Kevin Keane) Date: Fri, 22 May 2009 12:56:32 -0700 Subject: sidebar does not display correctly In-Reply-To: <9A3AB61DD01B8E409B30DE2F1E11D62D099F43C3@CINMLVEM13.e2k.ad.ge.com> References: <9A3AB61DD01B8E409B30DE2F1E11D62D099F43C3@CINMLVEM13.e2k.ad.ge.com> Message-ID: <4A170370.6050901@kkeane.com> side.html It looks like it actually is displaying correctly but ignoring the styles for some reason. Haffner, David (GE, Corporate, consultant) wrote: > Hi all, > I've been having a horrible time getting the sidebar to display > correctly. Can anyone point me to a file or directory or something > that needs to be tweeked? > I've got it running on RHEL4. Everything functions fine, it's > just that the sidebar displays wrong. Here's a screenshot. > > Thanks! > > > Dave Haffner > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT > is a gathering of tech-side developers & brand creativity professionals. Meet > the minds behind Google Creative Lab, Visual Complexity, Processing, & > iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian > Group, R/GA, & Big Spaceship. http://www.creativitycat.com > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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. ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gevery at gmail.com Fri May 22 22:18:51 2009 From: gevery at gmail.com (Gary Every) Date: Fri, 22 May 2009 13:18:51 -0700 Subject: sidebar does not display correctly In-Reply-To: <4A170370.6050901@kkeane.com> References: <9A3AB61DD01B8E409B30DE2F1E11D62D099F43C3@CINMLVEM13.e2k.ad.ge.com> <4A170370.6050901@kkeane.com> Message-ID: Do the logs show any 404's when looking for main.css ? On Fri, May 22, 2009 at 12:56 PM, Kevin Keane wrote: > side.html > > It looks like it actually is displaying correctly but ignoring the > styles for some reason. > > Haffner, David (GE, Corporate, consultant) wrote: > > Hi all, > > I've been having a horrible time getting the sidebar to display > > correctly. Can anyone point me to a file or directory or something > > that needs to be tweeked? > > I've got it running on RHEL4. Everything functions fine, it's > > just that the sidebar displays wrong. Here's a screenshot. > > > > Thanks! > > > > > > Dave Haffner > > > > ------------------------------------------------------------------------ > > > > > ------------------------------------------------------------------------------ > > Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT > > is a gathering of tech-side developers & brand creativity professionals. > Meet > > the minds behind Google Creative Lab, Visual Complexity, Processing, & > > iPhoneDevCamp asthey present alongside digital heavyweights like > Barbarian > > Group, R/GA, & Big Spaceship. http://www.creativitycat.com > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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. > > > > ------------------------------------------------------------------------------ > Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT > is a gathering of tech-side developers & brand creativity professionals. > Meet > the minds behind Google Creative Lab, Visual Complexity, Processing, & > iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian > Group, R/GA, & Big Spaceship. http://www.creativitycat.com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Gary Every "Pay it Forward!" -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.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 lecb79 at gmail.com Fri May 22 22:35:59 2009 From: lecb79 at gmail.com (Eduardo Barreto) Date: Fri, 22 May 2009 17:35:59 -0300 Subject: Cacti Message-ID: Hi All, Are there any app to integrate Cacti in Nagios? I've red about Centreon, can it be used instead of Cacti? Cheers Eduardo Barreto -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.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 jimmyjose2980 at gmail.com Fri May 22 22:52:25 2009 From: jimmyjose2980 at gmail.com (Jimmyboy) Date: Sat, 23 May 2009 02:22:25 +0530 Subject: Fwd: sysUpTime.0: Status showing 'UNKNOWN' In-Reply-To: References: <277020fc0905211303g284552e4hef2d8d4a5cc976a5@mail.gmail.com> <277020fc0905211355n1b00eea8u7a0b7f245b1fcbcc@mail.gmail.com> Message-ID: Hi All, Yesterday, I was unable to get the snmp-based Uptime data of a remote RSM in the Nagios Web Interface. Today, I have setup an L3 switch with VLAN and its IP address, and global SNMP settings (public community only). SNMP settings are as follows: snmp-server community public ro access-list 60 permit any snmp-server host IP public snmp-server enable traps snmp-server enable traps snmp snmp-server enable traps syslog - This switch is in the same subnet as the Nagios machine. - The access-list is set with permit 'any'. Still, I am unable to get the sysUpTime information in nagios web interface. However, on doing an snmpwalk as under succeeds. snmpwalk -v1 -c
sysUptime DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (496887) 1:22:48.87 So, I feel there is something I have missed out on? Any idea what that might be? Thanks, Jim =-=-=-= ---------- Forwarded message ---------- From: Jimmyboy < jimmyjose2980 at gmail.com> Date: Fri, May 22, 2009 at 3:40 AM Subject: Re: [Nagios-users] sysUpTime.0: Status showing 'UNKNOWN' To: frisvolj at lafayette.edu, Sean Carolan I installed SNMP service on a Windows machine and set the NAGIOS configuration files to monitor it for 'sysUptime'. It returns me a successful reply on doing an *snmpwalk*. snmpwalk -v1 -c
sysUptime DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (10375118) 1 day, 4:49:11.18 However, the Nagios web interface shows its status as UNKNOWN. The 'Status Information' against it says this: Usage:check_snmp -H -o [-w warn_range] [-c crit_range] But, this fails. At this point, we can say that Nagios is doing its job through SNMP. So, as you pointed out, may be there are ACLs applied on the RSM, which I need to check out. Thanks, Jim =-=-= On Fri, May 22, 2009 at 2:25 AM, Sean Carolan wrote: > On Thu, May 21, 2009 at 3:45 PM, Jimmyboy wrote: > > Thanks for the reply. > > > > "snmpwalk -v1 -c d!0nts#0w ipaddress" errors out saying bash: !0: event > not > > found > > "snmpwalk -v1 -c public ipaddress" errors out saying Timeout: No Response > > from IP > > > > Is there anything I need to do on the RSM other than setting the > snmp-server > > communities? > > > Yes, you can choose a less weird snmp community name. You have a "!" character > in it which your bash shell is choking on. Pick something > simple with only numbers and letters and you should get better > results. If you're worried about security you can do the following: > > 1. Don't expose the switch to the Internet. If its on your internal > LAN and you aren't forwarding any ports to it from the 'net, you > should be fine. > 2. If the device will allow it you can restrict it to only allow snmp > queries from certain IPs. > > hope this helps > > Sean > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.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 cloved at gmail.com Sat May 23 07:48:49 2009 From: cloved at gmail.com (Lei Chen) Date: Sat, 23 May 2009 13:48:49 +0800 Subject: Error While Using check_ifstatus In-Reply-To: <726803.14199.qm@web59205.mail.re1.yahoo.com> References: <726803.14199.qm@web59205.mail.re1.yahoo.com> Message-ID: 2009/5/22 Martin Fontanez : > Thanks Assaf, > > It looks like I have version 2 > > [root at localhost snmp]# snmpwalk -v3 -c public localhost > snmpwalk: No securityName specified > [root at localhost snmp]# > > [root at localhost snmp]# snmpwalk -v2c -c public localhost system > SNMPv2-MIB::sysDescr.0 = STRING: Linux localhost.localdomain > 2.6.11-121.1.1.el5 #1 SMP Mon Jan 26 13:59:00 EST 2009 i686 > SNMPv2-MIB::sysObjectID.0 = OID: NET-SNMP-MIB::netSnmpAgentOIDs.10 > DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (15121490) 1 day, > 18:00:14.90 > SNMPv2-MIB::sysContact.0 = STRING: Root (configure > /etc/snmp/snmp.local.conf) > SNMPv2-MIB::sysName.0 = STRING: localhost.localdomain > SNMPv2-MIB::sysLocation.0 = STRING: Unknown (edit /etc/snmp/snmpd.conf) > SNMPv2-MIB::sysORLastChange.0 = Timeticks: (65) 0:00:00.65 > SNMPv2-MIB::sysORID.1 = OID: SNMPv2-MIB::snmpMIB > SNMPv2-MIB::sysORID.2 = OID: TCP-MIB::tcpMIB > SNMPv2-MIB::sysORID.3 = OID: IP-MIB::ip > SNMPv2-MIB::sysORID.4 = OID: UDP-MIB::udpMIB > SNMPv2-MIB::sysORID.5 = OID: SNMP-VIEW-BASED-ACM-MIB::vacmBasicGroup > SNMPv2-MIB::sysORID.6 = OID: SNMP-FRAMEWORK-MIB::snmpFrameworkMIBCompliance > SNMPv2-MIB::sysORID.7 = OID: SNMP-MPD-MIB::snmpMPDCompliance > SNMPv2-MIB::sysORID.8 = OID: SNMP-USER-BASED-SM-MIB::usmMIBCompliance > SNMPv2-MIB::sysORDescr.1 = STRING: The MIB module for SNMPv2 entities > SNMPv2-MIB::sysORDescr.2 = STRING: The MIB module for managing TCP > implementations > SNMPv2-MIB::sysORDescr.3 = STRING: The MIB module for managing IP and ICMP > implementations > SNMPv2-MIB::sysORDescr.4 = STRING: The MIB module for managing UDP > implementations > SNMPv2-MIB::sysORDescr.5 = STRING: View-based Access Control Model for SNMP. > SNMPv2-MIB::sysORDescr.6 = STRING: The SNMP Management Architecture MIB. > SNMPv2-MIB::sysORDescr.7 = STRING: The MIB for Message Processing and > Dispatching. > SNMPv2-MIB::sysORDescr.8 = STRING: The management information definitions > for the SNMP User-based Security Model. > SNMPv2-MIB::sysORUpTime.1 = Timeticks: (64) 0:00:00.64 > SNMPv2-MIB::sysORUpTime.2 = Timeticks: (64) 0:00:00.64 > SNMPv2-MIB::sysORUpTime.3 = Timeticks: (64) 0:00:00.64 > SNMPv2-MIB::sysORUpTime.4 = Timeticks: (64) 0:00:00.64 > SNMPv2-MIB::sysORUpTime.5 = Timeticks: (64) 0:00:00.64 > SNMPv2-MIB::sysORUpTime.6 = Timeticks: (65) 0:00:00.65 > SNMPv2-MIB::sysORUpTime.7 = Timeticks: (65) 0:00:00.65 > SNMPv2-MIB::sysORUpTime.8 = Timeticks: (65) 0:00:00.65 > [root at localhost snmp]# > > I tried check_ifstatus with -v 2 option and getting same message: > > [root at localhost etc]# /usr/local/nagios/libexec/check_ifstatus -H localhost > -v 2 -C public -I -u E1 6/0 > CRITICAL: Requested table is empty or does not exist for > 1.3.6.1.2.1.2.2.1.8 with snmp version 2 > I'll guess the message that "requested table is empty or does not exist for > 1.3.6.1.2.1.2.2.1.8" means that there is something that needs configuring > in snmp (???). I am very green with snmp. > Try this to verify the test the IF-MIB::IfOperStatus OID. snmpwalk -v 2c -c public 127.0.0.1 1.3.6.1.2.1.2.2.1.8 > --- On Fri, 5/22/09, Assaf Flatto wrote: > > From: Assaf Flatto > Subject: Re: [Nagios-users] Error While Using check_ifstatus > To: nagios-users at lists.sourceforge.net > Date: Friday, May 22, 2009, 5:57 AM > > > > On Thursday 21 May 2009 14:31:26 Martin Fontanez wrote: >> I am new to Nagios. Trying to get link state info (up/down) on NIC cards >> on my box (realizing I could use check_ping but ICMP is blocked). I am >> using el5 and mii-tools/mii-diag does not work since my kernel is 2.6 or >> >. >> >> I setup check-ifstatus but I am getting this error: >> >> CRITICAL: Requested table is empty or does not exist for >> 1.3.6.1.2.1.2.2.1.8 with snmp version 1 >> >> Wondering if anyone knows of a workaround. > > Are you sure the device you are quering is using SNMP v1 ? > most devices come with SNMP2 or even 3 , check the setting of you snmp query > and the snmp setting on > the device to see what version you need to use to check.. > > -- > 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 > > > > ------------------------------------------------------------------------------ > Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT > is a gathering of tech-side developers & brand creativity professionals. > Meet > the minds behind Google Creative Lab, Visual Complexity, Processing, & > iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian > Group, R/GA, & Big Spaceship. http://www.creativitycat.com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 for Creativity and Technology (CaT), June 3rd, NYC. CaT > is a gathering of tech-side developers & brand creativity professionals. > Meet > the minds behind Google Creative Lab, Visual Complexity, Processing, & > iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian > Group, R/GA, & Big Spaceship. http://www.creativitycat.com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Thanks, Chenlei & ??++ MSN Messenger: chnl at 163.com ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ranjithkodumbu at yahoo.co.in Sat May 23 11:30:53 2009 From: ranjithkodumbu at yahoo.co.in (ranjith kumar) Date: Sat, 23 May 2009 15:00:53 +0530 (IST) Subject: Earn Rs.2000 daily. No Investment. Message-ID: <144988.23282.qm@web95403.mail.in2.yahoo.com> Hello Earn Rs.2000 daily. No Investment. Wanted Online Internet job workers. Job is only through Internet. Work part time. You can earn Rs..750-2000/- daily. These are genuine Internet jobs. No Investment required. Only serious enquires please. For more details visit http://www.earnparttimejobs.com/index.php?id=2023765 Thanks Ranjith ________________________________ Explore and discover exciting holidays and getaways with Yahoo! India Travel Click here! Bollywood news, movie reviews, film trailers and more! Go to http://in.movies.yahoo.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.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 Sat May 23 14:34:02 2009 From: Ayotunde.Itayemi at zain.com (Ayotunde Itayemi) Date: Sat, 23 May 2009 13:34:02 +0100 Subject: Using both NTLM and htpasswd file authentication for NAGIOS web interface Message-ID: <99487797D76C7841AEEDE4A1DCA86C700584814E@VNL-LA01EX04S.vmobile-nigeria.com> Hi All, I would like to use both NTLM authentication and htpasswd authentication to grant access to the NAGIOS web interface. If possible, authenticate against Windows AD first, and if not successful, authenticate against the apache htpasswd file (possibly use the htpasswd file like a fall-back/default authentication mechanism). My /etc/httpd/conf.d/nagios.conf file's content is listed below. I suspect I need to incorporate "AuthType Basic" in there somehow, but I have tried various option (specifying the htppasswd file too, but I usually end up with the authentication not functioning at all) The first access dialog box has the text "Enter username and password for http://mynagios" and if I enter a valid Windows AD credential, I get logged in. If instead, I select cancel on this dialog box, I get a second access dialog box with the text "A username and password are being requested by http://znlnagios. The site says: "NAGIOS". If I supply a valid Windows AD credential, I get logged in also. This also brings me to a related issue, I cannot use the "Downtime" module - and any other module by which I can submit a command. I get the message that I am not authorized to submit the command to Nagios. Yet, I have added the user (MYDOMAIN\username and also username) to the relevant sections of the cgi.cgi file. Thanks. The content of /etc/httpd/conf.d/nagios.conf # cat /etc/httpd/conf.d/nagios.conf NTLMAuth on NTLMAuthoritative on NTLMBasicAuth on NTLMBasicRealm NAGIOS AuthUserFile /usr/local/nagios/etc/htpasswd.users NTLMDomain MY-WINDOWS-DOMAIN NTLMLockfile /tmp/_my.lck NTLMServer my-winaddc1 NTLMBackup my-winaddc2 Require valid-user # Satisfy all Alias /nagios "/usr/local/nagios/share" AuthName NTAuth AuthType NTLM NTLMAuth on NTLMAuthoritative on NTLMBasicAuth on NTLMBasicRealm NAGIOS AuthUserFile /usr/local/nagios/etc/htpasswd.users NTLMDomain MY-WINDOWS-DOMAIN NTLMLockfile /tmp/_my.lck NTLMServer my-winaddc1 NTLMBackup my-winaddc2 Require valid-user Satisfy all -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.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 alexdehaini at gmail.com Sat May 23 14:59:37 2009 From: alexdehaini at gmail.com (Alex Dehaini) Date: Sat, 23 May 2009 12:59:37 +0000 Subject: Using both NTLM and htpasswd file authentication for NAGIOS web interface In-Reply-To: <99487797D76C7841AEEDE4A1DCA86C700584814E@VNL-LA01EX04S.vmobile-nigeria.com> References: <99487797D76C7841AEEDE4A1DCA86C700584814E@VNL-LA01EX04S.vmobile-nigeria.com> Message-ID: <4b008f7d0905230559h3e538766kba93ce993794e159@mail.gmail.com> Hi Tunde, I have never tried this before but I will suggest you try your auth systems one at a time to know they are working before implementing them. Nagios uses apache http authentication by default so you should not have any issues with this. Or maybe I am missing something, please correct if I am. Never tried NTLM authentication with nagios so I can't help in that area but you can look at this link http://www.itefix.no/i2/node/11683 I am sure there are pam or kerberos modules that can talk to a dbase like ldap or AD. Regards, Alex On Sat, May 23, 2009 at 12:34 PM, Ayotunde Itayemi < Ayotunde.Itayemi at zain.com> wrote: > Hi All, > > I would like to use both NTLM authentication and htpasswd authentication to > grant access to the NAGIOS web interface. If possible, authenticate against > Windows AD first, and if not successful, authenticate against the apache > htpasswd file (possibly use the htpasswd file like a fall-back/default > authentication mechanism). > > > > My /etc/httpd/conf.d/nagios.conf file?s content is listed below. I suspect > I need to incorporate ?AuthType Basic? in there somehow, but I have tried > various option (specifying the htppasswd file too, but I usually end up with > the authentication not functioning at all) > > > > The first access dialog box has the text ?Enter username and password for > http://mynagios? and if I enter a valid Windows AD credential, I get > logged in. If instead, I select cancel on this dialog box, I get a second > access dialog box with the text ?A username and password are being requested > by http://znlnagios. The site says: "NAGIOS". If I supply a valid Windows > AD credential, I get logged in also. > > > > This also brings me to a related issue, I cannot use the ?Downtime? module > ? and any other module by which I can submit a command. I get the message > that I am not authorized to submit the command to Nagios. Yet, I have added > the user (MYDOMAIN\username and also username) to the relevant sections of > the cgi.cgi file. > > Thanks. > > > > The content of /etc/httpd/conf.d/nagios.conf > > # cat /etc/httpd/conf.d/nagios.conf > > NTLMAuth on > > NTLMAuthoritative on > > NTLMBasicAuth on > > NTLMBasicRealm NAGIOS > > AuthUserFile /usr/local/nagios/etc/htpasswd.users > > NTLMDomain MY-WINDOWS-DOMAIN > > NTLMLockfile /tmp/_my.lck > > NTLMServer my-winaddc1 > > NTLMBackup my-winaddc2 > > Require valid-user > > # Satisfy all > > > > > > Alias /nagios "/usr/local/nagios/share" > > > > > > AuthName NTAuth > > AuthType NTLM > > NTLMAuth on > > NTLMAuthoritative on > > NTLMBasicAuth on > > NTLMBasicRealm NAGIOS > > AuthUserFile /usr/local/nagios/etc/htpasswd.users > > NTLMDomain MY-WINDOWS-DOMAIN > > NTLMLockfile /tmp/_my.lck > > NTLMServer my-winaddc1 > > NTLMBackup my-winaddc2 > > Require valid-user > > Satisfy all > > > > > > > ------------------------------------------------------------------------------ > Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT > is a gathering of tech-side developers & brand creativity professionals. > Meet > the minds behind Google Creative Lab, Visual Complexity, Processing, & > iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian > Group, R/GA, & Big Spaceship. http://www.creativitycat.com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdehaini at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.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 Sat May 23 15:11:51 2009 From: Ayotunde.Itayemi at zain.com (Ayotunde Itayemi) Date: Sat, 23 May 2009 14:11:51 +0100 Subject: Using both NTLM and htpasswd file authentication for NAGIOS web interface In-Reply-To: <4b008f7d0905230559h3e538766kba93ce993794e159@mail.gmail.com> References: <99487797D76C7841AEEDE4A1DCA86C700584814E@VNL-LA01EX04S.vmobile-nigeria.com> <4b008f7d0905230559h3e538766kba93ce993794e159@mail.gmail.com> Message-ID: <99487797D76C7841AEEDE4A1DCA86C7005848153@VNL-LA01EX04S.vmobile-nigeria.com> Hi, Thanks for the response. Each authentication method works OK alone, but I need to allow regular Windows AD users "read-only" access to the Nagios web interface while allowing admin users (from the htpasswd) access to the same interface. Actually, I wouldn't need to do this if I could get Nagios to allow designated Windows AD users submit commands via the web interface. Thanks. "This mail is from a Gimper" From: Alex Dehaini [mailto:alexdehaini at gmail.com] Sent: Saturday, May 23, 2009 2:00 PM To: Ayotunde Itayemi Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Using both NTLM and htpasswd file authentication for NAGIOS web interface Hi Tunde, I have never tried this before but I will suggest you try your auth systems one at a time to know they are working before implementing them. Nagios uses apache http authentication by default so you should not have any issues with this. Or maybe I am missing something, please correct if I am. Never tried NTLM authentication with nagios so I can't help in that area but you can look at this link http://www.itefix.no/i2/node/11683 I am sure there are pam or kerberos modules that can talk to a dbase like ldap or AD. Regards, Alex On Sat, May 23, 2009 at 12:34 PM, Ayotunde Itayemi wrote: Hi All, I would like to use both NTLM authentication and htpasswd authentication to grant access to the NAGIOS web interface. If possible, authenticate against Windows AD first, and if not successful, authenticate against the apache htpasswd file (possibly use the htpasswd file like a fall-back/default authentication mechanism). My /etc/httpd/conf.d/nagios.conf file's content is listed below. I suspect I need to incorporate "AuthType Basic" in there somehow, but I have tried various option (specifying the htppasswd file too, but I usually end up with the authentication not functioning at all) The first access dialog box has the text "Enter username and password for http://mynagios" and if I enter a valid Windows AD credential, I get logged in. If instead, I select cancel on this dialog box, I get a second access dialog box with the text "A username and password are being requested by http://znlnagios. The site says: "NAGIOS". If I supply a valid Windows AD credential, I get logged in also. This also brings me to a related issue, I cannot use the "Downtime" module - and any other module by which I can submit a command. I get the message that I am not authorized to submit the command to Nagios. Yet, I have added the user (MYDOMAIN\username and also username) to the relevant sections of the cgi.cgi file. Thanks. The content of /etc/httpd/conf.d/nagios.conf # cat /etc/httpd/conf.d/nagios.conf NTLMAuth on NTLMAuthoritative on NTLMBasicAuth on NTLMBasicRealm NAGIOS AuthUserFile /usr/local/nagios/etc/htpasswd.users NTLMDomain MY-WINDOWS-DOMAIN NTLMLockfile /tmp/_my.lck NTLMServer my-winaddc1 NTLMBackup my-winaddc2 Require valid-user # Satisfy all Alias /nagios "/usr/local/nagios/share" AuthName NTAuth AuthType NTLM NTLMAuth on NTLMAuthoritative on NTLMBasicAuth on NTLMBasicRealm NAGIOS AuthUserFile /usr/local/nagios/etc/htpasswd.users NTLMDomain MY-WINDOWS-DOMAIN NTLMLockfile /tmp/_my.lck NTLMServer my-winaddc1 NTLMBackup my-winaddc2 Require valid-user Satisfy all ------------------------------------------------------------------------ ------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdehaini at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.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 Sat May 23 15:42:03 2009 From: Ayotunde.Itayemi at zain.com (Ayotunde Itayemi) Date: Sat, 23 May 2009 14:42:03 +0100 Subject: Using both NTLM and htpasswd file authentication for NAGIOS web interface In-Reply-To: <4b008f7d0905230631v7cbf75c6mb7b3fa3645033d45@mail.gmail.com> References: <99487797D76C7841AEEDE4A1DCA86C700584814E@VNL-LA01EX04S.vmobile-nigeria.com> <4b008f7d0905230559h3e538766kba93ce993794e159@mail.gmail.com> <99487797D76C7841AEEDE4A1DCA86C7005848153@VNL-LA01EX04S.vmobile-nigeria.com> <4b008f7d0905230631v7cbf75c6mb7b3fa3645033d45@mail.gmail.com> Message-ID: <99487797D76C7841AEEDE4A1DCA86C700584815A@VNL-LA01EX04S.vmobile-nigeria.com> I don't mind the users authenticating from one source, but the submit commands don't appear to work when authenticating against Windows AD (see my mail below). The reason I am using the NTLM auth module is to get "single sign-on" so that users are not prompted for their username/passwords once they are already logged into the Windows domain (which works). If I go with the apache password text file, then I will have another credential database to maintain (user account maintenance) and it means my users will have to learn another set of passwords. I also don't want to go the way of setting up a full SAMBA installation just to proxy the authentication to the domain controller. Thanks. "This mail is from a Gimper" From: Alex Dehaini [mailto:alexdehaini at gmail.com] Sent: Saturday, May 23, 2009 2:32 PM To: Ayotunde Itayemi Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Using both NTLM and htpasswd file authentication for NAGIOS web interface You want to send this to the nagios developer mailing list. Seems you are spoiling your users - why can't they all authenticate from one source - apache? Regards, Alex On Sat, May 23, 2009 at 1:11 PM, Ayotunde Itayemi wrote: Hi, Thanks for the response. Each authentication method works OK alone, but I need to allow regular Windows AD users "read-only" access to the Nagios web interface while allowing admin users (from the htpasswd) access to the same interface. Actually, I wouldn't need to do this if I could get Nagios to allow designated Windows AD users submit commands via the web interface. Thanks. "This mail is from a Gimper" From: Alex Dehaini [mailto:alexdehaini at gmail.com] Sent: Saturday, May 23, 2009 2:00 PM To: Ayotunde Itayemi Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Using both NTLM and htpasswd file authentication for NAGIOS web interface Hi Tunde, I have never tried this before but I will suggest you try your auth systems one at a time to know they are working before implementing them. Nagios uses apache http authentication by default so you should not have any issues with this. Or maybe I am missing something, please correct if I am. Never tried NTLM authentication with nagios so I can't help in that area but you can look at this link http://www.itefix.no/i2/node/11683 I am sure there are pam or kerberos modules that can talk to a dbase like ldap or AD. Regards, Alex On Sat, May 23, 2009 at 12:34 PM, Ayotunde Itayemi wrote: Hi All, I would like to use both NTLM authentication and htpasswd authentication to grant access to the NAGIOS web interface. If possible, authenticate against Windows AD first, and if not successful, authenticate against the apache htpasswd file (possibly use the htpasswd file like a fall-back/default authentication mechanism). My /etc/httpd/conf.d/nagios.conf file's content is listed below. I suspect I need to incorporate "AuthType Basic" in there somehow, but I have tried various option (specifying the htppasswd file too, but I usually end up with the authentication not functioning at all) The first access dialog box has the text "Enter username and password for http://mynagios" and if I enter a valid Windows AD credential, I get logged in. If instead, I select cancel on this dialog box, I get a second access dialog box with the text "A username and password are being requested by http://znlnagios. The site says: "NAGIOS". If I supply a valid Windows AD credential, I get logged in also. This also brings me to a related issue, I cannot use the "Downtime" module - and any other module by which I can submit a command. I get the message that I am not authorized to submit the command to Nagios. Yet, I have added the user (MYDOMAIN\username and also username) to the relevant sections of the cgi.cgi file. Thanks. The content of /etc/httpd/conf.d/nagios.conf # cat /etc/httpd/conf.d/nagios.conf NTLMAuth on NTLMAuthoritative on NTLMBasicAuth on NTLMBasicRealm NAGIOS AuthUserFile /usr/local/nagios/etc/htpasswd.users NTLMDomain MY-WINDOWS-DOMAIN NTLMLockfile /tmp/_my.lck NTLMServer my-winaddc1 NTLMBackup my-winaddc2 Require valid-user # Satisfy all Alias /nagios "/usr/local/nagios/share" AuthName NTAuth AuthType NTLM NTLMAuth on NTLMAuthoritative on NTLMBasicAuth on NTLMBasicRealm NAGIOS AuthUserFile /usr/local/nagios/etc/htpasswd.users NTLMDomain MY-WINDOWS-DOMAIN NTLMLockfile /tmp/_my.lck NTLMServer my-winaddc1 NTLMBackup my-winaddc2 Require valid-user Satisfy all ------------------------------------------------------------------------ ------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdehaini at gmail.com -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdehaini at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.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 alexdehaini at gmail.com Sat May 23 15:31:50 2009 From: alexdehaini at gmail.com (Alex Dehaini) Date: Sat, 23 May 2009 13:31:50 +0000 Subject: Using both NTLM and htpasswd file authentication for NAGIOS web interface In-Reply-To: <99487797D76C7841AEEDE4A1DCA86C7005848153@VNL-LA01EX04S.vmobile-nigeria.com> References: <99487797D76C7841AEEDE4A1DCA86C700584814E@VNL-LA01EX04S.vmobile-nigeria.com> <4b008f7d0905230559h3e538766kba93ce993794e159@mail.gmail.com> <99487797D76C7841AEEDE4A1DCA86C7005848153@VNL-LA01EX04S.vmobile-nigeria.com> Message-ID: <4b008f7d0905230631v7cbf75c6mb7b3fa3645033d45@mail.gmail.com> You want to send this to the nagios developer mailing list. Seems you are spoiling your users - why can't they all authenticate from one source - apache? Regards, Alex On Sat, May 23, 2009 at 1:11 PM, Ayotunde Itayemi wrote: > Hi, > > Thanks for the response. Each authentication method works OK alone, but I > need to allow regular Windows AD users ?read-only? access to the Nagios web > interface while allowing admin users (from the htpasswd) access to the same > interface. Actually, I wouldn?t need to do this if I could get Nagios to > allow designated Windows AD users submit commands via the web interface. > > Thanks. > > "This mail is from a Gimper" > > > > *From:* Alex Dehaini [mailto:alexdehaini at gmail.com] > *Sent:* Saturday, May 23, 2009 2:00 PM > *To:* Ayotunde Itayemi > *Cc:* nagios-users at lists.sourceforge.net > *Subject:* Re: [Nagios-users] Using both NTLM and htpasswd file > authentication for NAGIOS web interface > > > > Hi Tunde, > > I have never tried this before but I will suggest you try your auth systems > one at a time to know they are working before implementing them. > > Nagios uses apache http authentication by default so you should not have > any issues with this. Or maybe I am missing something, please correct if I > am. > > Never tried NTLM authentication with nagios so I can't help in that area > but you can look at this link > > http://www.itefix.no/i2/node/11683 > > I am sure there are pam or kerberos modules that can talk to a dbase like > ldap or AD. > > Regards, > Alex > > > > On Sat, May 23, 2009 at 12:34 PM, Ayotunde Itayemi < > Ayotunde.Itayemi at zain.com> wrote: > > Hi All, > > I would like to use both NTLM authentication and htpasswd authentication to > grant access to the NAGIOS web interface. If possible, authenticate against > Windows AD first, and if not successful, authenticate against the apache > htpasswd file (possibly use the htpasswd file like a fall-back/default > authentication mechanism). > > > > My /etc/httpd/conf.d/nagios.conf file?s content is listed below. I suspect > I need to incorporate ?AuthType Basic? in there somehow, but I have tried > various option (specifying the htppasswd file too, but I usually end up with > the authentication not functioning at all) > > > > The first access dialog box has the text ?Enter username and password for > http://mynagios? and if I enter a valid Windows AD credential, I get > logged in. If instead, I select cancel on this dialog box, I get a second > access dialog box with the text ?A username and password are being requested > by http://znlnagios. The site says: "NAGIOS". If I supply a valid Windows > AD credential, I get logged in also. > > > > This also brings me to a related issue, I cannot use the ?Downtime? module > ? and any other module by which I can submit a command. I get the message > that I am not authorized to submit the command to Nagios. Yet, I have added > the user (MYDOMAIN\username and also username) to the relevant sections of > the cgi.cgi file. > > Thanks. > > > > The content of /etc/httpd/conf.d/nagios.conf > > # cat /etc/httpd/conf.d/nagios.conf > > NTLMAuth on > > NTLMAuthoritative on > > NTLMBasicAuth on > > NTLMBasicRealm NAGIOS > > AuthUserFile /usr/local/nagios/etc/htpasswd.users > > NTLMDomain MY-WINDOWS-DOMAIN > > NTLMLockfile /tmp/_my.lck > > NTLMServer my-winaddc1 > > NTLMBackup my-winaddc2 > > Require valid-user > > # Satisfy all > > > > > > Alias /nagios "/usr/local/nagios/share" > > > > > > AuthName NTAuth > > AuthType NTLM > > NTLMAuth on > > NTLMAuthoritative on > > NTLMBasicAuth on > > NTLMBasicRealm NAGIOS > > AuthUserFile /usr/local/nagios/etc/htpasswd.users > > NTLMDomain MY-WINDOWS-DOMAIN > > NTLMLockfile /tmp/_my.lck > > NTLMServer my-winaddc1 > > NTLMBackup my-winaddc2 > > Require valid-user > > Satisfy all > > > > > > > > ------------------------------------------------------------------------------ > Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT > is a gathering of tech-side developers & brand creativity professionals. > Meet > the minds behind Google Creative Lab, Visual Complexity, Processing, & > iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian > Group, R/GA, & Big Spaceship. http://www.creativitycat.com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > > -- > Alex Dehaini > Developer > Site - www.alexdehaini.com > Email - alexdehaini at gmail.com > -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdehaini at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.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 Sat May 23 22:50:18 2009 From: subscription at kkeane.com (Kevin Keane) Date: Sat, 23 May 2009 13:50:18 -0700 Subject: Using both NTLM and htpasswd file authentication for NAGIOS web interface In-Reply-To: <99487797D76C7841AEEDE4A1DCA86C7005848153@VNL-LA01EX04S.vmobile-nigeria.com> References: <99487797D76C7841AEEDE4A1DCA86C700584814E@VNL-LA01EX04S.vmobile-nigeria.com> <4b008f7d0905230559h3e538766kba93ce993794e159@mail.gmail.com> <99487797D76C7841AEEDE4A1DCA86C7005848153@VNL-LA01EX04S.vmobile-nigeria.com> Message-ID: <4A18618A.3050405@kkeane.com> This is really more of an Apache question than a Nagios question. You can set up Apache to use two separate authentication sources. Basically, you set it up to authenticate using htaccess, and if that fails, it "falls through" to AD authentication - or vice versa. How to configure this fall-through should be documented with the Apache modules you are using for authentication. Most, if not all, modules support it in some form or other. Another option, if your admins are also AD users, might be to have everybody, including admins, log on using Windows AD, and distinguishing permissions within Nagios. Ayotunde Itayemi wrote: > > Hi, > > Thanks for the response. Each authentication method works OK alone, > but I need to allow regular Windows AD users ?read-only? access to the > Nagios web interface while allowing admin users (from the htpasswd) > access to the same interface. Actually, I wouldn?t need to do this if > I could get Nagios to allow designated Windows AD users submit > commands via the web interface. > > Thanks. > > "This mail is from a Gimper" > > *From:* Alex Dehaini [mailto:alexdehaini at gmail.com] > *Sent:* Saturday, May 23, 2009 2:00 PM > *To:* Ayotunde Itayemi > *Cc:* nagios-users at lists.sourceforge.net > *Subject:* Re: [Nagios-users] Using both NTLM and htpasswd file > authentication for NAGIOS web interface > > Hi Tunde, > > I have never tried this before but I will suggest you try your auth > systems one at a time to know they are working before implementing them. > > Nagios uses apache http authentication by default so you should not > have any issues with this. Or maybe I am missing something, please > correct if I am. > > Never tried NTLM authentication with nagios so I can't help in that > area but you can look at this link > > http://www.itefix.no/i2/node/11683 > > I am sure there are pam or kerberos modules that can talk to a dbase > like ldap or AD. > > Regards, > Alex > > > > On Sat, May 23, 2009 at 12:34 PM, Ayotunde Itayemi > > wrote: > > Hi All, > > I would like to use both NTLM authentication and htpasswd > authentication to grant access to the NAGIOS web interface. If > possible, authenticate against Windows AD first, and if not > successful, authenticate against the apache htpasswd file (possibly > use the htpasswd file like a fall-back/default authentication mechanism). > > My /etc/httpd/conf.d/nagios.conf file?s content is listed below. I > suspect I need to incorporate ?AuthType Basic? in there somehow, but I > have tried various option (specifying the htppasswd file too, but I > usually end up with the authentication not functioning at all) > > The first access dialog box has the text ?Enter username and password > for http://mynagios? and if I enter a valid Windows AD credential, I > get logged in. If instead, I select cancel on this dialog box, I get a > second access dialog box with the text ?A username and password are > being requested by http://znlnagios. The site says: "NAGIOS". If I > supply a valid Windows AD credential, I get logged in also. > > This also brings me to a related issue, I cannot use the ?Downtime? > module ? and any other module by which I can submit a command. I get > the message that I am not authorized to submit the command to Nagios. > Yet, I have added the user (MYDOMAIN\username and also username) to > the relevant sections of the cgi.cgi file. > > Thanks. > > The content of /etc/httpd/conf.d/nagios.conf > > # cat /etc/httpd/conf.d/nagios.conf > > NTLMAuth on > > NTLMAuthoritative on > > NTLMBasicAuth on > > NTLMBasicRealm NAGIOS > > AuthUserFile /usr/local/nagios/etc/htpasswd.users > > NTLMDomain MY-WINDOWS-DOMAIN > > NTLMLockfile /tmp/_my.lck > > NTLMServer my-winaddc1 > > NTLMBackup my-winaddc2 > > Require valid-user > > # Satisfy all > > > > Alias /nagios "/usr/local/nagios/share" > > > > AuthName NTAuth > > AuthType NTLM > > NTLMAuth on > > NTLMAuthoritative on > > NTLMBasicAuth on > > NTLMBasicRealm NAGIOS > > AuthUserFile /usr/local/nagios/etc/htpasswd.users > > NTLMDomain MY-WINDOWS-DOMAIN > > NTLMLockfile /tmp/_my.lck > > NTLMServer my-winaddc1 > > NTLMBackup my-winaddc2 > > Require valid-user > > Satisfy all > > > -- 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 for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sat May 23 23:43:19 2009 From: marc at ena.com (Marc Powell) Date: Sat, 23 May 2009 16:43:19 -0500 Subject: Using both NTLM and htpasswd file authentication for NAGIOS web interface In-Reply-To: <4b008f7d0905230631v7cbf75c6mb7b3fa3645033d45@mail.gmail.com> References: <99487797D76C7841AEEDE4A1DCA86C700584814E@VNL-LA01EX04S.vmobile-nigeria.com> <4b008f7d0905230559h3e538766kba93ce993794e159@mail.gmail.com> <99487797D76C7841AEEDE4A1DCA86C7005848153@VNL-LA01EX04S.vmobile-nigeria.com> <4b008f7d0905230631v7cbf75c6mb7b3fa3645033d45@mail.gmail.com> Message-ID: On May 23, 2009, at 8:31 AM, Alex Dehaini wrote: > You want to send this to the nagios developer mailing list. Seems > you are spoiling your users - why can't they all authenticate from > one source - apache? This has nothing to do with nagios-devel. Nagios does not know or care about any authentication mechanisms used, only that REMOTE_USER is set. -- Marc ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sat May 23 23:49:05 2009 From: marc at ena.com (Marc Powell) Date: Sat, 23 May 2009 16:49:05 -0500 Subject: Using both NTLM and htpasswd file authentication for NAGIOS web interface In-Reply-To: <99487797D76C7841AEEDE4A1DCA86C7005848153@VNL-LA01EX04S.vmobile-nigeria.com> References: <99487797D76C7841AEEDE4A1DCA86C700584814E@VNL-LA01EX04S.vmobile-nigeria.com> <4b008f7d0905230559h3e538766kba93ce993794e159@mail.gmail.com> <99487797D76C7841AEEDE4A1DCA86C7005848153@VNL-LA01EX04S.vmobile-nigeria.com> Message-ID: <7DDFD98C-9C59-46BF-B762-9C4ACD079259@ena.com> On May 23, 2009, at 8:11 AM, Ayotunde Itayemi wrote: > Hi, > Thanks for the response. Each authentication method works OK alone, > but I need to allow regular Windows AD users ?read-only? access to > the Nagios web interface while allowing admin users (from the > htpasswd) access to the same interface. Actually, I wouldn?t need to > do this if I could get Nagios to allow designated Windows AD users > submit commands via the web interface. Nagios doesn't know or care if it's AD or htaccess, as long as your authentication modules sets the REMOTE_USER environment variable. Who does nagios show you 'Logged in as'? If it's blank, your auth mechanism isn't populating the variable. If there's a username shown, does that name exactly match an authorized contact for that host or service or specifically granted permissions to submit commands in cgi.cfg? Do you have 'can_submit_commands 1' in the contact definitions? -- Marc ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 24 00:01:15 2009 From: jon at netdork.net (Jon Angliss) Date: Sat, 23 May 2009 17:01:15 -0500 Subject: sysUpTime.0: Status showing 'UNKNOWN' References: Message-ID: <98sg159lgdqgsbddgtr78reilcg4ngb7fq@4ax.com> On Fri, 22 May 2009 00:13:18 +0530, Jimmyboy wrote: >Hello *Experts*, > >I have installed and configured Nagios 3.0.6 on Ubuntu 8.10 (in a Virtual >Environment), and am using its web interface. > >I am monitoring a Windows machine & a Route-Switch Module (RSM). The RSM's >ping status is shown as 'OK', however, the Uptime status is shown as >'UNKNOWN'. The Status Information column says "*SNMP Problem- No data >received from host*". > > *The snmp public community set on the RSM is*: >snmp-server community ********* RO 35 > >*The directive used on Nagios for it is*: >check_command check_snmp!-C public -o sysUpTime.0 (where *public* is >replaced by the actual public community as above). > >To verify whether the snmp modules are correctly installed, I did a 'locate >snmpget' & 'locate snmpwalk' on my Nagios machine. It returned me the >following. >/usr/bin/snmp >/usr/bin/snmpget-next >/usr/bin/snmpwalk > >Is there anything I am missing out on? Show us your service and command definitions. I suspect the call to the command is passing values in incorrectly. Have you tried using the OID instead of the string name? You could try increasing debugging: http://nagios.sourceforge.net/docs/3_0/configmain.html#debug_level -- Jonathan Angliss ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 24 00:02:22 2009 From: jon at netdork.net (Jon Angliss) Date: Sat, 23 May 2009 17:02:22 -0500 Subject: Cacti References: Message-ID: On Fri, 22 May 2009 17:35:59 -0300, Eduardo Barreto wrote: >Hi All, > >Are there any app to integrate Cacti in Nagios? I've red about Centreon, can >it be used instead of Cacti? I guess that depends on what you mean by "integrate". What are you trying to achieve? -- Jonathan Angliss ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 24 00:15:28 2009 From: jon at netdork.net (Jon Angliss) Date: Sat, 23 May 2009 17:15:28 -0500 Subject: Using a different notification command after a certain downtime References: <4A16DB50.4030903@gmx.de> Message-ID: <9lsg15hk4bgdkambhm1m4mq8f0mtp51hlf@4ax.com> On Fri, 22 May 2009 19:05:20 +0200, "Georg M. Sorst" wrote: >Hi list! > >I am currently integrating Skype into our monitoring to provide SMS >notifications. It's working pretty fine and if you're interested you can >check out my documentation in the Nagios wiki [1]. > >However, I had one tiny problem with the configuration that I would like >to sort out if possible. The problem is: When the HTTPs are down for >more than 20 minutes I want to be notified by SMS, but I still want to >use the regular mail notifications (currently set to occur after I >believe 3 Minutes). My solution to this was to duplicate the service >definitions for HTTP to provide different check intervals / max check >attempts (coming out at 10 minutes and 20 minutes respectively) and >contact groups / contacts (the contacts in the first group use mail >notifications, the contacts in the second group use SMS notifications, >but are essentially the same users as in the first group, just >duplicated). Have a look at the wiki page if this description is unclear. > >So, in essence my question is if there is any way to tell Nagios to >"switch" to a different notification command after a certain downtime or >any other way to avoid this duplication. > >Thanks and best regards, >Georg > > >[1] http://community.nagios.org/wiki/index.php/SkypeSmsNotification Instead of duplicating the service, you can use service escalations, as defined in the docs [2]. This will esentially do the same thing you have with the duplicated commands, however you'll still need new contacts to send the notifications to the SMS rather than the regular emails. The other way to handle it would be a custom notification script which you use for notifications, and pass in the arguments for the SMS number, the email address, the usual macros, and the notification count [3]. Then you can throw some logic in the script that does something like this: if ($HOSTNOTIFICATIONNUMBER > 5) { send_sms_message(); } send_email_message(); [2]: http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#serviceescalation [3]: http://nagios.sourceforge.net/docs/3_0/macrolist.html -- Jonathan Angliss ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From waynnlue at gmail.com Mon May 25 07:55:02 2009 From: waynnlue at gmail.com (Waynn Lue) Date: Sun, 24 May 2009 22:55:02 -0700 Subject: check_by_ssh help Message-ID: I'm trying to set up check_by_ssh to run a php script on a remote machine that acts as a Nagios plugin. The script runs a few ls commands to figure out the number of directories in a subdirectories, then gives output and return codes accordingly (if it's past a certain threshold, I wantit to error). I've setup an SSH key so that I can ssh into the machine to run the ls command. host1 has the nagios install, so it's where I run check_by_ssh from. host2 is where the php script is installed. Here's the command_line definition in the command definition /usr/local/nagios/libexec/check_by_ssh -H host2 -l user -C "$ARG1$"' Here's the check_command in the service definition check_by_ssh_host2!/usr/local/bin/php /root/scripts/php_script.php I changed the php script to just do echo "DIRS CRITICAL\n"; return 2; But all I get is "(null)" in the email sent from nagios, which implies to me that it's not even running the script. When I run the libexec/check_by_ssh line from the command line, it correctly works. How can I debug why it isn't working within the Nagios framework? As a gut check, how do I check what $USER the script is running as? I'm assuming "nagios" currently, which is how I've set up the SSH keys. Thanks for any help! Waynn -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.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 Cyril.Vieville at ebuilder.se Mon May 25 17:06:33 2009 From: Cyril.Vieville at ebuilder.se (Cyril Vieville) Date: Mon, 25 May 2009 17:06:33 +0200 Subject: timeperiod and exclude property Message-ID: Hi, I got a problem on Nagios timeperiods. I wanted to use the exclude property to exclude holidays from the check period but it doesn?t work. I can only make it work if I comment the exclude lines. My timeperiods file below : define timeperiod{ timeperiod_name 24x7 alias 24 Hours A Day, 7 Days A Week sunday 00:00-24:00 monday 00:00-24:00 tuesday 00:00-24:00 wednesday 00:00-24:00 thursday 00:00-24:00 friday 00:00-24:00 saturday 00:00-24:00 } # 'swedenholidays' timeperiod definition define timeperiod{ name swedenholidays timeperiod_name swedenholidays alias Sweden Holidays january 1 00:00-24:00 ; New Year january 6 00:00-24:00 ; Epiphany 2009-04-10 00:00-24:00 ; Good Friday 2009 2009-04-13 00:00-24:00 ; Easter Monday 2009 2010-04-02 00:00-24:00 ; Good Friday 2010 2010-04-05 00:00-24:00 ; Easter Monday 2010 2011-04-22 00:00-24:00 ; Good Friday 2011 2011-04-25 00:00-24:00 ; Easter Monday 2011 may 1 00:00-24:00 ; Labour Day 2009-05-21 00:00-24:00 ; Ascension Day 2009 2010-05-13 00:00-24:00 ; Ascension Day 2010 2011-02-06 00:00-24:00 ; Ascension Day 2011 june 6 00:00-24:00 ; Swedish National Holiday 2009-06-19 00:00-24:00 ; Midsummer Eve 2009 2010-06-25 00:00-24:00 ; Midsummer Eve 2010 2011-06-24 00:00-24:00 ; Midsummer Eve 2011 december 24 00:00-24:00 ; Christmas Eve december 25 00:00-24:00 ; Christmas december 26 00:00-24:00 ; St Stephens Day december 31 00:00-24:00 ; New Years Eve } # 'swedenworkhours' timeperiod definition define timeperiod{ timeperiod_name swedenworkhours alias Sweden TimeZone Work Hours monday 09:00-18:00 tuesday 09:00-18:00 wednesday 09:00-18:00 thursday 09:00-18:00 friday 09:00-18:00 exclude swedenholidays } # 'srilankaholidays' timeperiod definition define timeperiod{ name srilankaholidays timeperiod_name srilankaholidays alias Sri Lanka Holidays 2009-01-10 00:00-24:00 ; Duruthu Full Moon Poya Day 2009-01-14 00:00-24:00 ; Tamil Thai Pongal Day 2009-02-09 00:00-24:00 ; Navam Full Moon Poya Day 2009-02-23 00:00-24:00 ; Mahasivarathri Day 2009-03-10 00:00-24:00 ; Medin Full Moon Poya Day / Milad-un-Nabi 2009-04-09 00:00-24:00 ; Bak Full Moon Poya Day 2009-04-10 00:00-24:00 ; Good Friday 2009-04-13 00:00-24:00 ; Tamil New Year Eve 2009-04-14 00:00-24:00 ; Tamil New Year 2009-05-08 00:00-24:00 ; Vesak Full Moon Poya Day 2009-05-09 00:00-24:00 ; Day Following Vesak Full Moon Poya Day 2009-06-07 00:00-24:00 ; Poson Full Moon Poya Day 2009-07-06 00:00-24:00 ; Esala Full Moon Poya Day 2009-08-05 00:00-24:00 ; Nikini Full Moon Poya Day 2009-09-04 00:00-24:00 ; Binara Full Moon Poya Day 2009-09-21 00:00-24:00 ; Id-Ul-Fitr 2009-10-03 00:00-24:00 ; Vap Full Moon Poya Day 2009-10-17 00:00-24:00 ; Deepavali Festival Day 2009-11-02 00:00-24:00 ; Il Full Moon Poya Day 2009-11-28 00:00-24:00 ; Id-Ul-Alha 2009-12-01 00:00-24:00 ; Unduvap Full Moon Poya Day 2009-12-31 00:00-24:00 ; Duruthu Full Moon Poya Day 2010-01-14 00:00-24:00 ; Tamil Thai Pongal Day 2010-01-30 00:00-24:00 ; Duruthu Full Moon Poya Day 2010-02-12 00:00-24:00 ; Mahasivarathri Day 2010-02-26 00:00-24:00 ; Milad-un-Nabi 2010-02-28 00:00-24:00 ; Navam Full Moon Poya Day 2010-03-30 00:00-24:00 ; Medin Full Moon Poya Day 2010-04-02 00:00-24:00 ; Good Friday 2010-04-13 00:00-24:00 ; Tamil New Year Eve 2010-04-14 00:00-24:00 ; Tamil New Year 2010-04-28 00:00-24:00 ; Bak Full Moon Poya Day 2010-05-27 00:00-24:00 ; Vesak Full Moon Poya Day 2010-05-28 00:00-24:00 ; Day Following Vesak Full Moon Poya Day 2010-06-26 00:00-24:00 ; Poson Full Moon Poya Day 2010-07-26 00:00-24:00 ; Esala Full Moon Poya Day 2010-08-24 00:00-24:00 ; Nikini Full Moon Poya Day 2010-09-09 00:00-24:00 ; Id-Ul-Fitr 2010-09-23 00:00-24:00 ; Binara Full Moon Poya Day 2010-10-23 00:00-24:00 ; Vap Full Moon Poya Day 2010-11-05 00:00-24:00 ; Deepavali Festival Day 2010-11-16 00:00-24:00 ; Id-Ul-Alha 2010-11-21 00:00-24:00 ; Il Full Moon Poya Day 2010-12-21 00:00-24:00 ; Unduvap Full Moon Poya Day 2011-04-22 00:00-24:00 ; Good Friday 2011 february 4 00:00-24:00 ; Independance Day may 1 00:00-24:00 ; May Day december 25 00:00-24:00 ; Christmas } # 'srilankaworkhours' timeperiod definition define timeperiod{ timeperiod_name srilankaworkhours alias Sri Lanka TimeZone Work Hours monday 04:30-17:30 tuesday 04:30-17:30 wednesday 04:30-17:30 thursday 04:30-17:30 friday 04:30-17:30 exclude srilankaholidays } # 'commonholidays' timeperiod definition define timeperiod{ name commonholidays timeperiod_name commonholidays alias Sweden and Sri Lanka Common Holidays 2009-04-10 00:00-24:00 ; Good Friday 2009 2010-04-02 00:00-24:00 ; Good Friday 2010 2011-04-22 00:00-24:00 ; Good Friday 2011 2009-12-31 00:00-24:00 ; New Years Eve / Duruthu Full Moon Poya Day may 1 00:00-24:00 ; Labour Day / May Day december 25 00:00-24:00 ; Christmas } define timeperiod{ timeperiod_name outworkhours alias Out Of Office Hours use commonholidays sunday 00:00-24:00 monday 00:00-04:29,18:01-24:00 tuesday 00:00-04:29,18:01-24:00 wednesday 00:00-04:29,18:01-24:00 thursday 00:00-04:29,18:01-24:00 friday 00:00-04:29,18:01-24:00 saturday 00:00-24:00 } If someone has an idea to solve this problem ... I tried a lot of things ... Thank you for your help Cyril Vi?ville -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.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 lecb79 at gmail.com Mon May 25 17:54:39 2009 From: lecb79 at gmail.com (Eduardo Barreto) Date: Mon, 25 May 2009 12:54:39 -0300 Subject: Monitoring MSSQL Message-ID: Hi All, I've heard about check_mssql.sh, is it the solution to monitor mssql, are there anyother plugin? Does anybody have a HOWTO to install this plugin? Thanks in advance, Eduardo Barreto -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.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 mgagne at iweb.com Tue May 26 00:22:03 2009 From: mgagne at iweb.com (=?ISO-8859-1?Q?Mathieu_Gagn=E9?=) Date: Mon, 25 May 2009 18:22:03 -0400 Subject: Notify via Growl? In-Reply-To: <653A4042-CB5A-4605-84CF-FBA717ADBD4D@frontierflying.com> References: <4A14435C.9070403@iweb.com> <653A4042-CB5A-4605-84CF-FBA717ADBD4D@frontierflying.com> Message-ID: <4A1B1A0B.6000003@iweb.com> Hi, On 5/20/09 5:39 PM, Israel Brewster wrote: > > Which is basically the same thing as hacking the Python script except > for a) having to start from scratch, and b) having to work in a language > I have little experience with :-) I was sort of hoping someone had > already done the above steps and would be willing to share :-D Oh well, > it won't take more than a couple of hours to whip the Python into shape, > and has the advantage of being self-contained, aside from some standard > Python modules (so no installing from CPAN or the like). Thanks for the > suggestion though :-) I missed the part about Python, sorry. :D However I wish to share with you and the rest of us this Perl script I wrote to notify Growl. It is based on the example provided by Net::Growl. Obviously, Net::Growl is required. A small documentation is included too. I hope it's bug free and will be useful to some of you. :) -- Mathieu -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: notify-growl URL: -------------- next part -------------- ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.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 stuart.browne at ausregistry.com.au Tue May 26 01:08:26 2009 From: stuart.browne at ausregistry.com.au (Stuart Browne) Date: Tue, 26 May 2009 09:08:26 +1000 Subject: Monitoring MSSQL In-Reply-To: References: Message-ID: <8CEF048B9EC83748B1517DC64EA130FB3C097E0DBA@off-win2003-01.ausregistrygroup.local> The nagios Plugins has a 'check_mysql' compiled binary which does basic checks, and has plenty of built-in help to get it working. From: Eduardo Barreto [mailto:lecb79 at gmail.com] Sent: Tuesday, 26 May 2009 01:55 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Monitoring MSSQL Hi All, I've heard about check_mssql.sh, is it the solution to monitor mssql, are there anyother plugin? Does anybody have a HOWTO to install this plugin? Thanks in advance, Eduardo Barreto -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.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 chad.files at novasyshealth.com Mon May 25 16:24:21 2009 From: chad.files at novasyshealth.com (Chad Files) Date: Mon, 25 May 2009 09:24:21 -0500 Subject: Error Displaying CGI Pages Message-ID: <4A1AAA15.9020109@novasyshealth.com> I am getting the "Error: Could not read object configuration data" when I view any of the CGI pages in my Nagios installation. This started after I moved my entire OS (Gentoo Linux) installation to a new drive. The nagios daemon is running, there are no errors in the config files, all of the nagios files have the correct permissions, and there is nothing in the log file saying what might be wrong. It appears the CGI scripts are looking for something that does not exist. I have searched all over looking for a solution and have not found anything. Does anybody have any ideas on what might be wrong? /Chad ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From treed at ultraviolet.org Tue May 26 02:33:04 2009 From: treed at ultraviolet.org (Tracy Reed) Date: Mon, 25 May 2009 17:33:04 -0700 Subject: plugin exiting with 127 code Message-ID: <20090526003304.GF29698@tracyreed.org> I think I have had this problem before and at that time it was a rogue nagios process. But I have shut down nagios, inspected the process list, ensured that no other nagios processes were still running, and restarted. And the problem recurs. The plugin is definitely there and usually the check passes with no problem. But sometimes it fails with this 127 code. I have run the test manually from the command line many times and it never has a problem. Any idea what can cause this? May 25 13:02:01 mail nagios: SERVICE ALERT: boycottnovell.com;wordpress;CRITICAL;SOFT;2;GET /?stories HTTP/1.0 May 25 13:04:01 mail nagios: SERVICE ALERT: boycottnovell.com;wordpress;OK;SOFT;3;GET /?stories HTTP/1.0 May 25 13:14:01 mail nagios: Warning: Return code of 127 for check of service 'wordpress' on host 'boycottnovell.com' was out of bounds. Make sure the plugin you're trying to run actually exists. May 25 13:14:01 mail nagios: SERVICE ALERT: boycottnovell.com;wordpress;CRITICAL;SOFT;1;(Return code of 127 is out of bounds - plugin may be missing) May 25 13:16:01 mail nagios: SERVICE ALERT: boycottnovell.com;wordpress;OK;SOFT;2;GET /?stories HTTP/1.0 May 25 13:21:51 mail nagios: SERVICE ALERT: boycottnovell.com;wiki;CRITICAL;SOFT;1;GET /wiki/index.php?title=Main_Page HTTP/1.0 May 25 13:23:51 mail nagios: SERVICE ALERT: boycottnovell.com;wiki;CRITICAL;SOFT;2;GET /wiki/index.php?title=Main_Page HTTP/1.0 May 25 13:25:41 mail nagios: SERVICE ALERT: boycottnovell.com;wiki;OK;SOFT;3;GET /wiki/index.php?title=Main_Page HTTP/1.0 May 25 13:26:01 mail nagios: Warning: Return code of 127 for check of service 'wordpress' on host 'boycottnovell.com' was out of bounds. Make sure the plugin you're trying to run actually exists. May 25 13:26:01 mail nagios: SERVICE ALERT: boycottnovell.com;wordpress;CRITICAL;SOFT;1;(Return code of 127 is out of bounds - plugin may be missing) May 25 13:28:01 mail nagios: SERVICE ALERT: boycottnovell.com;wordpress;OK;SOFT;2;GET /?stories HTTP/1.0 May 25 13:38:01 mail nagios: Warning: Return code of 127 for check of service 'wordpress' on host 'boycottnovell.com' was out of bounds. Make sure the plugin you're trying to run actually exists. May 25 13:38:01 mail nagios: SERVICE ALERT: boycottnovell.com;wOrdpress;Critical;Soft;1;(Return code of 127 is out of bounds - plugin may be missing) Thanks! -- Tracy Reed http://tracyreed.org -------------- 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 for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.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 mgagne at iweb.com Tue May 26 03:16:22 2009 From: mgagne at iweb.com (=?ISO-8859-1?Q?Mathieu_Gagn=E9?=) Date: Mon, 25 May 2009 21:16:22 -0400 Subject: Error Displaying CGI Pages In-Reply-To: <4A1AAA15.9020109@novasyshealth.com> References: <4A1AAA15.9020109@novasyshealth.com> Message-ID: <4A1B42E6.106@iweb.com> Hi, On 5/25/09 10:24 AM, Chad Files wrote: > I am getting the "Error: Could not read object configuration data" when > I view any of the CGI pages in my Nagios installation. > > This started after I moved my entire OS (Gentoo Linux) installation to a > new drive. The nagios daemon is running, there are no errors in the > config files, all of the nagios files have the correct permissions, and > there is nothing in the log file saying what might be wrong. > > It appears the CGI scripts are looking for something that does not > exist. I have searched all over looking for a solution and have not > found anything. Does anybody have any ideas on what might be wrong? > Make sure the CGI scripts can read the following files: * /usr/local/nagios/etc/cgi.cfg * /usr/local/nagios/etc/nagios.cfg * /usr/local/nagios/var/objects.cache * /usr/local/nagios/var/status.dat Especially check for ownerships and permissions. Also make sure the path to those files are correct in nagios.cfg: * object_cache_file * status_file -- Mathieu ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stuart.browne at ausregistry.com.au Tue May 26 03:22:00 2009 From: stuart.browne at ausregistry.com.au (Stuart Browne) Date: Tue, 26 May 2009 11:22:00 +1000 Subject: plugin exiting with 127 code In-Reply-To: <20090526003304.GF29698@tracyreed.org> References: <20090526003304.GF29698@tracyreed.org> Message-ID: <8CEF048B9EC83748B1517DC64EA130FB3C097E0E11@off-win2003-01.ausregistrygroup.local> Generally, checks will run as the 'nagios' user (nagios_user in nagios.cfg). If the check needs to write to some temporary files, or is in a place where that user cannot read from, it may just be a 'Permission Denied' issue. When you run it from the command line, do you run it as the 'nagios' user? Stuart -----Original Message----- From: Tracy Reed [mailto:treed at ultraviolet.org] Sent: Tuesday, 26 May 2009 10:33 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] plugin exiting with 127 code I think I have had this problem before and at that time it was a rogue nagios process. But I have shut down nagios, inspected the process list, ensured that no other nagios processes were still running, and restarted. And the problem recurs. The plugin is definitely there and usually the check passes with no problem. But sometimes it fails with this 127 code. I have run the test manually from the command line many times and it never has a problem. Any idea what can cause this? May 25 13:02:01 mail nagios: SERVICE ALERT: boycottnovell.com;wordpress;CRITICAL;SOFT;2;GET /?stories HTTP/1.0 May 25 13:04:01 mail nagios: SERVICE ALERT: boycottnovell.com;wordpress;OK;SOFT;3;GET /?stories HTTP/1.0 May 25 13:14:01 mail nagios: Warning: Return code of 127 for check of service 'wordpress' on host 'boycottnovell.com' was out of bounds. Make sure the plugin you're trying to run actually exists. May 25 13:14:01 mail nagios: SERVICE ALERT: boycottnovell.com;wordpress;CRITICAL;SOFT;1;(Return code of 127 is out of bounds - plugin may be missing) May 25 13:16:01 mail nagios: SERVICE ALERT: boycottnovell.com;wordpress;OK;SOFT;2;GET /?stories HTTP/1.0 May 25 13:21:51 mail nagios: SERVICE ALERT: boycottnovell.com;wiki;CRITICAL;SOFT;1;GET /wiki/index.php?title=Main_Page HTTP/1.0 May 25 13:23:51 mail nagios: SERVICE ALERT: boycottnovell.com;wiki;CRITICAL;SOFT;2;GET /wiki/index.php?title=Main_Page HTTP/1.0 May 25 13:25:41 mail nagios: SERVICE ALERT: boycottnovell.com;wiki;OK;SOFT;3;GET /wiki/index.php?title=Main_Page HTTP/1.0 May 25 13:26:01 mail nagios: Warning: Return code of 127 for check of service 'wordpress' on host 'boycottnovell.com' was out of bounds. Make sure the plugin you're trying to run actually exists. May 25 13:26:01 mail nagios: SERVICE ALERT: boycottnovell.com;wordpress;CRITICAL;SOFT;1;(Return code of 127 is out of bounds - plugin may be missing) May 25 13:28:01 mail nagios: SERVICE ALERT: boycottnovell.com;wordpress;OK;SOFT;2;GET /?stories HTTP/1.0 May 25 13:38:01 mail nagios: Warning: Return code of 127 for check of service 'wordpress' on host 'boycottnovell.com' was out of bounds. Make sure the plugin you're trying to run actually exists. May 25 13:38:01 mail nagios: SERVICE ALERT: boycottnovell.com;wOrdpress;Critical;Soft;1;(Return code of 127 is out of bounds - plugin may be missing) Thanks! -- Tracy Reed http://tracyreed.org ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue May 26 05:31:27 2009 From: jon at netdork.net (Jon Angliss) Date: Mon, 25 May 2009 22:31:27 -0500 Subject: Monitoring MSSQL References: <8CEF048B9EC83748B1517DC64EA130FB3C097E0DBA@off-win2003-01.ausregistrygroup.local> Message-ID: On Tue, 26 May 2009 09:08:26 +1000, Stuart Browne wrote: >The nagios Plugins has a 'check_mysql' compiled binary which does basic checks, and has plenty of built-in help to get it working. Assuming the OP really meant M>S ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue May 26 05:33:24 2009 From: jon at netdork.net (Jon Angliss) Date: Mon, 25 May 2009 22:33:24 -0500 Subject: Monitoring MSSQL References: Message-ID: On Mon, 25 May 2009 12:54:39 -0300, Eduardo Barreto wrote: >Hi All, > >I've heard about check_mssql.sh, is it the solution to monitor mssql, are >there anyother plugin? Does anybody have a HOWTO to install this plugin? What do you want to monitor specifically? Usually there isn't a "howto" specifically for a plugin as general usage is well documented by using the --help or reading the README files included. I'm assuming you do mean Microsoft SQL, and not MySQL? http://www.monitoringexchange.org/cgi-bin/search.cgi?d=1&query=mssql&Go=Go -- Jonathan Angliss ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue May 26 06:27:02 2009 From: gaurav at subisu.net.np (Gaurav Ghimire) Date: Tue, 26 May 2009 10:12:02 +0545 Subject: plugin exiting with 127 code In-Reply-To: <20090526003304.GF29698@tracyreed.org> References: <20090526003304.GF29698@tracyreed.org> Message-ID: <4A1B6F96.3000809@subisu.net.np> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Tracy Reed wrote: > I think I have had this problem before and at that time it was a rogue > nagios process. But I have shut down nagios, inspected the process > list, ensured that no other nagios processes were still running, and restarted. And > the problem recurs. The plugin is definitely there and usually the > check passes with no problem. But sometimes it fails with this 127 > code. I have run the test manually from the command line many times > and it never has a problem. Any idea what can cause this? > > May 25 13:02:01 mail nagios: SERVICE ALERT: > boycottnovell.com;wordpress;CRITICAL;SOFT;2;GET /?stories HTTP/1.0 > May 25 13:04:01 mail nagios: SERVICE ALERT: > boycottnovell.com;wordpress;OK;SOFT;3;GET /?stories HTTP/1.0 > May 25 13:14:01 mail nagios: Warning: Return code of 127 for check of > service 'wordpress' on host 'boycottnovell.com' was out of > bounds. Make sure the plugin you're trying to run actually exists. > May 25 13:14:01 mail nagios: SERVICE ALERT: > boycottnovell.com;wordpress;CRITICAL;SOFT;1;(Return code of 127 is out > of bounds - plugin may be missing) > May 25 13:16:01 mail nagios: SERVICE ALERT: > boycottnovell.com;wordpress;OK;SOFT;2;GET /?stories HTTP/1.0 > May 25 13:21:51 mail nagios: SERVICE ALERT: > boycottnovell.com;wiki;CRITICAL;SOFT;1;GET > /wiki/index.php?title=Main_Page HTTP/1.0 > May 25 13:23:51 mail nagios: SERVICE ALERT: > boycottnovell.com;wiki;CRITICAL;SOFT;2;GET > /wiki/index.php?title=Main_Page HTTP/1.0 > May 25 13:25:41 mail nagios: SERVICE ALERT: > boycottnovell.com;wiki;OK;SOFT;3;GET /wiki/index.php?title=Main_Page > HTTP/1.0 > May 25 13:26:01 mail nagios: Warning: Return code of 127 for check of > service 'wordpress' on host 'boycottnovell.com' was out of > bounds. Make sure the plugin you're trying to run actually exists. > May 25 13:26:01 mail nagios: SERVICE ALERT: > boycottnovell.com;wordpress;CRITICAL;SOFT;1;(Return code of 127 is out > of bounds - plugin may be missing) > May 25 13:28:01 mail nagios: SERVICE ALERT: > boycottnovell.com;wordpress;OK;SOFT;2;GET /?stories HTTP/1.0 > May 25 13:38:01 mail nagios: Warning: Return code of 127 for check of > service 'wordpress' on host 'boycottnovell.com' was out of > bounds. Make sure the plugin you're trying to run actually exists. > May 25 13:38:01 mail nagios: SERVICE ALERT: > boycottnovell.com;wOrdpress;Critical;Soft;1;(Return code of 127 is out > of bounds - plugin may be missing) > > Thanks! Check with the location of the plugin. Resource.cfg and the command definitions are where you need to see. - -- Gaurav Ghimire System Administrator Subisu Cablenet (P.) Ltd. 148 Thirbum Sadak Baluwatar, Kathmandu Nepal -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkobb5MACgkQnfv7imVnL2uMlACggONWcKl6LTm4tCE6M4VY6SMP S+oAnid1q9ZOmzGFrMqF3ByXeilaVSqv =Z8s3 -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 26 06:39:57 2009 From: marc at ena.com (Marc Powell) Date: Mon, 25 May 2009 23:39:57 -0500 Subject: plugin exiting with 127 code In-Reply-To: <20090526003304.GF29698@tracyreed.org> References: <20090526003304.GF29698@tracyreed.org> Message-ID: <5D4EA87B-0D2D-4D48-9802-94EFE5D93143@ena.com> On May 25, 2009, at 7:33 PM, Tracy Reed wrote: > The plugin is definitely there and usually the > check passes with no problem. But sometimes it fails with this 127 > code. I have run the test manually from the command line many times > and it never has a problem. Any idea what can cause this? > > May 25 13:02:01 mail nagios: SERVICE ALERT: > boycottnovell.com;wordpress;CRITICAL;SOFT;2;GET /?stories HTTP/1.0 > May 25 13:04:01 mail nagios: SERVICE ALERT: > boycottnovell.com;wordpress;OK;SOFT;3;GET /?stories HTTP/1.0 > May 25 13:14:01 mail nagios: Warning: Return code of 127 for check of > service 'wordpress' on host 'boycottnovell.com' was out of > bounds. Make sure the plugin you're trying to run actually exists. What plugin is this and what is it's command definition? If you're absolutely certain that the plugin exists in the path specified and is accessible by the nagios user, it's likely that some part of it (library, file path, external program, etc) isn't present, isn't in the minimum path provided to the plugin or isn't accessible by the nagios user. If this is a script, all internally referenced files should use fully qualified paths. -- Marc ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stuart.browne at ausregistry.com.au Tue May 26 06:49:21 2009 From: stuart.browne at ausregistry.com.au (Stuart Browne) Date: Tue, 26 May 2009 14:49:21 +1000 Subject: Monitoring MSSQL In-Reply-To: References: <8CEF048B9EC83748B1517DC64EA130FB3C097E0DBA@off-win2003-01.ausregistrygroup.local> Message-ID: <8CEF048B9EC83748B1517DC64EA130FB3C097E0EE6@off-win2003-01.ausregistrygroup.local> Oh crud! Sorry. Brain wasn't awake :( -----Original Message----- From: Jon Angliss [mailto:jon at netdork.net] Sent: Tuesday, 26 May 2009 13:31 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Monitoring MSSQL On Tue, 26 May 2009 09:08:26 +1000, Stuart Browne wrote: >The nagios Plugins has a 'check_mysql' compiled binary which does basic checks, and has plenty of built-in help to get it working. Assuming the OP really meant M>S ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From treed at ultraviolet.org Tue May 26 08:39:25 2009 From: treed at ultraviolet.org (Tracy Reed) Date: Mon, 25 May 2009 23:39:25 -0700 Subject: plugin exiting with 127 code In-Reply-To: <4A1B6F96.3000809@subisu.net.np> References: <20090526003304.GF29698@tracyreed.org> <4A1B6F96.3000809@subisu.net.np> Message-ID: <20090526063925.GN29698@tracyreed.org> On Tue, May 26, 2009 at 10:12:02AM +0545, Gaurav Ghimire spake thusly: > Check with the location of the plugin. Resource.cfg and the command definitions are where you need to see. The majority of the time the plugin runs correctly and returns a correct result so I am sure the plugin is in the correct place. I checked it just now and it is working. I just copied this from the nagio service status page: wordpress OK 05-25-2009 23:27:51 0d 0h 9m 17s 1/3 GET /?stories HTTP/1.0 But we can see that 9m 17s ago it failed. Nothing has been done to the system in the last 10 minutes. If the plugin were not there or were somehow incorrectly defined or configured I think it would not work at all. The plugin in question is check_http. The command is defined like so: define command{ command_name check_boycottnovell_wordpress command_line $USER1$/check_http -v -v -v -I 216.105.40.114 -H boycottnovell.com -u /?stories -s "Exploring the reality behind exclusionary deals with Microsoft and their subtle" -w 3 -c 4 } resource.cfg contains: # Sets $USER1$ to be the path to the plugins $USER1$=/usr/local/nagios/libexec and check_http is there: [root at mail objects]# ls -la /usr/local/nagios/libexec/check_http -rwxr-xr-x 1 nagios nagios 471814 Apr 15 12:05 /usr/local/nagios/libexec/check_http -- Tracy Reed http://tracyreed.org -------------- 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 for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.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 treed at ultraviolet.org Tue May 26 08:43:02 2009 From: treed at ultraviolet.org (Tracy Reed) Date: Mon, 25 May 2009 23:43:02 -0700 Subject: plugin exiting with 127 code In-Reply-To: <8CEF048B9EC83748B1517DC64EA130FB3C097E0E11@off-win2003-01.ausregistrygroup.local> References: <20090526003304.GF29698@tracyreed.org> <8CEF048B9EC83748B1517DC64EA130FB3C097E0E11@off-win2003-01.ausregistrygroup.local> Message-ID: <20090526064302.GP29698@tracyreed.org> On Tue, May 26, 2009 at 11:22:00AM +1000, Stuart Browne spake thusly: > When you run it from the command line, do you run it as the 'nagios' user? Yes, I have run it as the nagios user and it works fine. Please see my reply to Gaurav for more details. -- Tracy Reed http://tracyreed.org -------------- 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 for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.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 treed at ultraviolet.org Tue May 26 08:40:45 2009 From: treed at ultraviolet.org (Tracy Reed) Date: Mon, 25 May 2009 23:40:45 -0700 Subject: plugin exiting with 127 code In-Reply-To: <5D4EA87B-0D2D-4D48-9802-94EFE5D93143@ena.com> References: <20090526003304.GF29698@tracyreed.org> <5D4EA87B-0D2D-4D48-9802-94EFE5D93143@ena.com> Message-ID: <20090526064044.GO29698@tracyreed.org> On Mon, May 25, 2009 at 11:39:57PM -0500, Marc Powell spake thusly: > What plugin is this and what is it's command definition? If you're > absolutely certain that the plugin exists in the path specified and is Please see my reply to Gaurav where I answered all of these questions. Thanks! -- Tracy Reed http://tracyreed.org -------------- 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 for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.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 26 11:21:38 2009 From: sri.lumpa at free.fr (MAD) Date: Tue, 26 May 2009 11:21:38 +0200 (CEST) Subject: timeperiod and exclude property In-Reply-To: References: Message-ID: <2117905697.2312391243329698850.JavaMail.root@zimbra16-e3.priv.proxad.net> You could may be work it out by transforming your "exclude" into a "use" and create "empty" days for your holidays timeperiods, i.e. days starting and finishing at the same hour (25 december 00:00 to 00:00 for example). Here is an example with your Sweden timeperiods. This should work. Marc-Andr? ----- Mail Original ----- De: "Cyril Vieville" ?: nagios-users at lists.sourceforge.net Envoy?: Lundi 25 Mai 2009 17h06:33 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne Objet: [Nagios-users] timeperiod and exclude property I got a problem on Nagios timeperiods. I wanted to use the exclude property to exclude holidays from the check period but it doesn?t work. I can only make it work if I comment the exclude lines. My timeperiods file below : [...] # 'swedenholidays' timeperiod definition define timeperiod{ name swedenholidays timeperiod_name swedenholidays alias Sweden Holidays january 1 00:00-00:00 ; New Year january 6 00:00-00:00 ; Epiphany 2009-04-10 00:00-00:00 ; Good Friday 2009 2009-04-13 00:00-00:00 ; Easter Monday 2009 2010-04-02 00:00-00:00 ; Good Friday 2010 2010-04-05 00:00-00:00 ; Easter Monday 2010 2011-04-22 00:00-00:00 ; Good Friday 2011 2011-04-25 00:00-00:00 ; Easter Monday 2011 may 1 00:00-00:00 ; Labour Day 2009-05-21 00:00-00:00 ; Ascension Day 2009 2010-05-13 00:00-00:00 ; Ascension Day 2010 2011-02-06 00:00-00:00 ; Ascension Day 2011 june 6 00:00-00:00 ; Swedish National Holiday 2009-06-19 00:00-00:00 ; Midsummer Eve 2009 2010-06-25 00:00-00:00 ; Midsummer Eve 2010 2011-06-24 00:00-00:00 ; Midsummer Eve 2011 december 24 00:00-00:00 ; Christmas Eve december 25 00:00-00:00 ; Christmas december 26 00:00-00:00 ; St Stephens Day december 31 00:00-00:00 ; New Years Eve } # 'swedenworkhours' timeperiod definition define timeperiod{ timeperiod_name swedenworkhours alias Sweden TimeZone Work Hours monday 09:00-18:00 tuesday 09:00-18:00 wednesday 09:00-18:00 thursday 09:00-18:00 friday 09:00-18:00 use swedenholidays } ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Cyril.Vieville at ebuilder.se Tue May 26 11:38:25 2009 From: Cyril.Vieville at ebuilder.se (Cyril Vieville) Date: Tue, 26 May 2009 11:38:25 +0200 Subject: timeperiod and exclude property In-Reply-To: <2117905697.2312391243329698850.JavaMail.root@zimbra16-e3.priv.proxad.net> References: <2117905697.2312391243329698850.JavaMail.root@zimbra16-e3.priv.proxad.net> Message-ID: Thank you Marc-Andr?, it?s what I wanted to do but I thought that maybe someone could find the way to make it work as it?s more ... professional I guess. Is it a known bug or a solved issue whose solution is known ? Cyril Vi?ville -----Original Message----- From: MAD [mailto:sri.lumpa at free.fr] Sent: den 26 maj 2009 11:22 To: Cyril Vieville Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] timeperiod and exclude property You could may be work it out by transforming your "exclude" into a "use" and create "empty" days for your holidays timeperiods, i.e. days starting and finishing at the same hour (25 december 00:00 to 00:00 for example). Here is an example with your Sweden timeperiods. This should work. Marc-Andr? ----- Mail Original ----- De: "Cyril Vieville" ?: nagios-users at lists.sourceforge.net Envoy?: Lundi 25 Mai 2009 17h06:33 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne Objet: [Nagios-users] timeperiod and exclude property I got a problem on Nagios timeperiods. I wanted to use the exclude property to exclude holidays from the check period but it doesn?t work. I can only make it work if I comment the exclude lines. My timeperiods file below : [...] # 'swedenholidays' timeperiod definition define timeperiod{ name swedenholidays timeperiod_name swedenholidays alias Sweden Holidays january 1 00:00-00:00 ; New Year january 6 00:00-00:00 ; Epiphany 2009-04-10 00:00-00:00 ; Good Friday 2009 2009-04-13 00:00-00:00 ; Easter Monday 2009 2010-04-02 00:00-00:00 ; Good Friday 2010 2010-04-05 00:00-00:00 ; Easter Monday 2010 2011-04-22 00:00-00:00 ; Good Friday 2011 2011-04-25 00:00-00:00 ; Easter Monday 2011 may 1 00:00-00:00 ; Labour Day 2009-05-21 00:00-00:00 ; Ascension Day 2009 2010-05-13 00:00-00:00 ; Ascension Day 2010 2011-02-06 00:00-00:00 ; Ascension Day 2011 june 6 00:00-00:00 ; Swedish National Holiday 2009-06-19 00:00-00:00 ; Midsummer Eve 2009 2010-06-25 00:00-00:00 ; Midsummer Eve 2010 2011-06-24 00:00-00:00 ; Midsummer Eve 2011 december 24 00:00-00:00 ; Christmas Eve december 25 00:00-00:00 ; Christmas december 26 00:00-00:00 ; St Stephens Day december 31 00:00-00:00 ; New Years Eve } # 'swedenworkhours' timeperiod definition define timeperiod{ timeperiod_name swedenworkhours alias Sweden TimeZone Work Hours monday 09:00-18:00 tuesday 09:00-18:00 wednesday 09:00-18:00 thursday 09:00-18:00 friday 09:00-18:00 use swedenholidays } ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yokoyoko at rd.aisin.co.jp Tue May 26 11:17:47 2009 From: yokoyoko at rd.aisin.co.jp (yokoyoko at rd.aisin.co.jp) Date: Tue, 26 May 2009 18:17:47 +0900 Subject: (ndoutils) DB create error Message-ID: Hi, everybody :-) I have a problem about ndoutils. Please help me ! < Problem > ./installdb -u root -p yokoMySql -h localhost -d ndoutils DBD::mysql::db do failed: Table 'ndoutils.nagios_dbversion' doesn't exist at ./installdb line 51. No installation script found! at ./installdb line 62 So, I cannot create DB. < System > OS : Red Hat Enterprise Linux 5 Nagios : Ver. 3.10 ndoutils : 1.4b7 Best Regard --------------------------------------------------------- Yoshinari Yokota --------------------------------------------------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.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 alexdehaini at gmail.com Tue May 26 11:43:01 2009 From: alexdehaini at gmail.com (Alex Dehaini) Date: Tue, 26 May 2009 09:43:01 +0000 Subject: Using both NTLM and htpasswd file authentication for NAGIOS web interface In-Reply-To: <7DDFD98C-9C59-46BF-B762-9C4ACD079259@ena.com> References: <99487797D76C7841AEEDE4A1DCA86C700584814E@VNL-LA01EX04S.vmobile-nigeria.com> <4b008f7d0905230559h3e538766kba93ce993794e159@mail.gmail.com> <99487797D76C7841AEEDE4A1DCA86C7005848153@VNL-LA01EX04S.vmobile-nigeria.com> <7DDFD98C-9C59-46BF-B762-9C4ACD079259@ena.com> Message-ID: <4b008f7d0905260243g5d4e8569m36026fd947fa9d15@mail.gmail.com> Thanks Marc On Sat, May 23, 2009 at 9:49 PM, Marc Powell wrote: > > On May 23, 2009, at 8:11 AM, Ayotunde Itayemi wrote: > > > Hi, > > Thanks for the response. Each authentication method works OK alone, > > but I need to allow regular Windows AD users ?read-only? access to > > the Nagios web interface while allowing admin users (from the > > htpasswd) access to the same interface. Actually, I wouldn?t need to > > do this if I could get Nagios to allow designated Windows AD users > > submit commands via the web interface. > > Nagios doesn't know or care if it's AD or htaccess, as long as your > authentication modules sets the REMOTE_USER environment variable. Who > does nagios show you 'Logged in as'? If it's blank, your auth > mechanism isn't populating the variable. If there's a username shown, > does that name exactly match an authorized contact for that host or > service or specifically granted permissions to submit commands in > cgi.cfg? Do you have 'can_submit_commands 1' in the contact definitions? > > -- > Marc > > > > ------------------------------------------------------------------------------ > Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT > is a gathering of tech-side developers & brand creativity professionals. > Meet > the minds behind Google Creative Lab, Visual Complexity, Processing, & > iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian > Group, R/GA, & Big Spaceship. http://www.creativitycat.com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdehaini at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.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 26 12:03:56 2009 From: sri.lumpa at free.fr (MAD) Date: Tue, 26 May 2009 12:03:56 +0200 (CEST) Subject: (ndoutils) DB create error In-Reply-To: References: Message-ID: <1278455220.2325141243332235974.JavaMail.root@zimbra16-e3.priv.proxad.net> Are you sure there is a database called ndoutils? If not, you'll have to create it ("create database ndoutils" or something similar). Marc-Andr? ----- Mail Original ----- De: yokoyoko at rd.aisin.co.jp ?: nagios-users at lists.sourceforge.net Envoy?: Mardi 26 Mai 2009 11h17:47 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne Objet: [Nagios-users] (ndoutils) DB create error Hi, everybody :-) I have a problem about ndoutils. Please help me ! < Problem > ./installdb -u root -p yokoMySql -h localhost -d ndoutils DBD::mysql::db do failed: Table 'ndoutils.nagios_dbversion' doesn't exist at ./installdb line 51. No installation script found! at ./installdb line 62 So, I cannot create DB. < System > OS : Red Hat Enterprise Linux 5 Nagios : Ver. 3.10 ndoutils : 1.4b7 Best Regard --------------------------------------------------------- Yoshinari Yokota --------------------------------------------------------- ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue May 26 13:08:12 2009 From: assaf.flatto at ssp-intl.com (Assaf Flatto) Date: Tue, 26 May 2009 11:08:12 +0000 Subject: (ndoutils) DB create error In-Reply-To: References: Message-ID: <200905261108.12677.assaf.flatto@ssp-intl.com> Hello did you create a the DB with the mysqladmin -create command before you executed the tables creation ? Assaf On Tuesday 26 May 2009 09:17:47 yokoyoko at rd.aisin.co.jp wrote: > Hi, everybody :-) > > I have a problem about ndoutils. > Please help me ! > > < Problem > > > ./installdb -u root -p yokoMySql -h localhost -d ndoutils > > DBD::mysql::db do failed: Table 'ndoutils.nagios_dbversion' doesn't exist > at ./installdb line 51. > No installation script found! at ./installdb line 62 > > So, I cannot create DB. > > < System > > > OS : Red Hat Enterprise Linux 5 > Nagios : Ver. 3.10 > ndoutils : 1.4b7 > > Best Regard > --------------------------------------------------------- > Yoshinari Yokota > --------------------------------------------------------- -- 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 ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From david.haffner at ge.com Tue May 26 14:22:27 2009 From: david.haffner at ge.com (Haffner, David (GE, Corporate, consultant)) Date: Tue, 26 May 2009 08:22:27 -0400 Subject: sidebar does not display correctly In-Reply-To: References: <9A3AB61DD01B8E409B30DE2F1E11D62D099F43C3@CINMLVEM13.e2k.ad.ge.com><4A170370.6050901@kkeane.com> Message-ID: <9A3AB61DD01B8E409B30DE2F1E11D62D099F4897@CINMLVEM13.e2k.ad.ge.com> I don't see any errors in the nagios.log file or dmesg. Anywhere else I should look? If it is ignoring the styles, should i try to replace the file? Dave Haffner _____ From: Gary Every [mailto:gevery at gmail.com] Sent: Friday, May 22, 2009 4:19 PM To: Kevin Keane Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] sidebar does not display correctly Do the logs show any 404's when looking for main.css ? On Fri, May 22, 2009 at 12:56 PM, Kevin Keane wrote: side.html It looks like it actually is displaying correctly but ignoring the styles for some reason. Haffner, David (GE, Corporate, consultant) wrote: > Hi all, > I've been having a horrible time getting the sidebar to display > correctly. Can anyone point me to a file or directory or something > that needs to be tweeked? > I've got it running on RHEL4. Everything functions fine, it's > just that the sidebar displays wrong. Here's a screenshot. > > Thanks! > > > Dave Haffner > > ------------------------------------------------------------------------ > > ---------------------------------------------------------------------------- -- > Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT > is a gathering of tech-side developers & brand creativity professionals. Meet > the minds behind Google Creative Lab, Visual Complexity, Processing, & > iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian > Group, R/GA, & Big Spaceship. http://www.creativitycat.com > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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. ---------------------------------------------------------------------------- -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Gary Every "Pay it Forward!" -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 4431 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.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 assaf.flatto at ssp-intl.com Tue May 26 18:27:25 2009 From: assaf.flatto at ssp-intl.com (Assaf Flatto) Date: Tue, 26 May 2009 16:27:25 +0000 Subject: nagios graph parsing issue Message-ID: <200905261627.25502.assaf.flatto@ssp-intl.com> Hello List I am having an issue with parsing data for nagios graph and it's driving me up the wall . Here is why : from the nagiosgraph log : Tue May 26 16:21:30 2009 insert.pl debug - processdata data = [ '1243351278', knob', 'Page file use', 'Paging file usage is 0.84 %', 'Paging file usage is %.2f %%=0.836426%;80.000000;90.000000; ' ]; Tue May 26 16:21:30 2009 insert.pl warn - perfdata not recognized: date||host||desc||out||data for: servicedescr:Page file use output:Paging file usage is 0.84 % perfdata:Paging file usage is %.2f %%=0.836426%;80.000000;90.000000; the definition in the map file : # Service type: ntcount # check command: check_nt -H $HOSTADDRESS$ -t 20 -p 1248 -v COUNTER -l $ARG1$ -w $ARG2$ -c $ARG3$ # output:Paging file usage is 53.07 % # perfdata:'Paging file usage is %.2f %%=2.074550%;20.000000;90.000000; /prefdata:.*Paging file usage is %.2f %%=(\d+)%;(\d+);(\d+);/ #/output: Paging file usage is (\d+)/ and push @s, [ page, [ used , GAUGE, $1 ] ]; yet - as you can understand the graph is not created . I have manged to get other prefdata of thread count to work , but any attempt i did on this one comes out negative. I know that since i am staring at this for along while i am probably missing something , can you guys help me ? Thanks -- Assaf Flatto SSP Ops Team Linux System Administrator 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 ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Tue May 26 18:12:45 2009 From: patrick.morris at hp.com (Patrick Morris) Date: Tue, 26 May 2009 09:12:45 -0700 Subject: nagios graph parsing issue In-Reply-To: <200905261627.25502.assaf.flatto@ssp-intl.com> References: <200905261627.25502.assaf.flatto@ssp-intl.com> Message-ID: <1306BDE5DED04CBCBFC77BA485AF6767@Jet> Is that a direct copy and paste? If so, you've typed "prefdata" instead or "perfdata." ----- Original Message ----- From: "Assaf Flatto" To: "Nagios User list" Sent: Tuesday, May 26, 2009 9:27 AM Subject: [Nagios-users] nagios graph parsing issue Hello List I am having an issue with parsing data for nagios graph and it's driving me up the wall . Here is why : from the nagiosgraph log : Tue May 26 16:21:30 2009 insert.pl debug - processdata data = [ '1243351278', knob', 'Page file use', 'Paging file usage is 0.84 %', 'Paging file usage is %.2f %%=0.836426%;80.000000;90.000000; ' ]; Tue May 26 16:21:30 2009 insert.pl warn - perfdata not recognized: date||host||desc||out||data for: servicedescr:Page file use output:Paging file usage is 0.84 % perfdata:Paging file usage is %.2f %%=0.836426%;80.000000;90.000000; the definition in the map file : # Service type: ntcount # check command: check_nt -H $HOSTADDRESS$ -t 20 -p 1248 -v COUNTER -l $ARG1$ -w $ARG2$ -c $ARG3$ # output:Paging file usage is 53.07 % # perfdata:'Paging file usage is %.2f %%=2.074550%;20.000000;90.000000; /prefdata:.*Paging file usage is %.2f %%=(\d+)%;(\d+);(\d+);/ #/output: Paging file usage is (\d+)/ and push @s, [ page, [ used , GAUGE, $1 ] ]; yet - as you can understand the graph is not created . I have manged to get other prefdata of thread count to work , but any attempt i did on this one comes out negative. I know that since i am staring at this for along while i am probably missing something , can you guys help me ? Thanks -- Assaf Flatto SSP Ops Team Linux System Administrator 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 ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue May 26 19:26:10 2009 From: assaf.flatto at ssp-intl.com (Assaf Flatto) Date: Tue, 26 May 2009 17:26:10 +0000 Subject: nagios graph parsing issue In-Reply-To: <1306BDE5DED04CBCBFC77BA485AF6767@Jet> References: <200905261627.25502.assaf.flatto@ssp-intl.com> Message-ID: <200905261726.10408.assaf.flatto@ssp-intl.com> I changed it to perfdata , but still it is reporting perfdata not recognized: I modified it to be like this # Service type: ntcount # check command: check_nt -H $HOSTADDRESS$ -t 20 -p 1248 -v COUNTER -l $ARG1$ -w $ARG2$ -c $ARG3$ # output:Paging file usage is 53.07 % # perfdata:'Paging file usage is %.2f %%=2.074550%;20.000000;90.000000; /perfdata: Paging file usage is %.2f %%=([.0-9]+)%;([.0-9]+);([.0-9]+)/ #/output: Paging file usage is (\d+)/ and push @s, [ page, [ used , GAUGE, $1 ] ]; But still no luck. Assaf On Tuesday 26 May 2009 16:12:45 Patrick Morris wrote: > Is that a direct copy and paste? If so, you've typed "prefdata" instead or > "perfdata." > > ----- Original Message ----- > From: "Assaf Flatto" > To: "Nagios User list" > Sent: Tuesday, May 26, 2009 9:27 AM > Subject: [Nagios-users] nagios graph parsing issue > > > Hello List > > I am having an issue with parsing data for nagios graph and it's driving me > up the wall . > Here is why : > from the nagiosgraph log : > > Tue May 26 16:21:30 2009 insert.pl debug - processdata data = [ > '1243351278', > knob', > 'Page file use', > 'Paging file usage is 0.84 %', > 'Paging file usage is %.2f %%=0.836426%;80.000000;90.000000; > ' > ]; > Tue May 26 16:21:30 2009 insert.pl warn - perfdata not recognized: > date||host||desc||out||data for: > servicedescr:Page file use > output:Paging file usage is 0.84 % > perfdata:Paging file usage is %.2f %%=0.836426%;80.000000;90.000000; > > > the definition in the map file : > > # Service type: ntcount > # check command: check_nt -H $HOSTADDRESS$ -t 20 -p 1248 -v COUNTER -l > $ARG1$ -w $ARG2$ -c $ARG3$ > # output:Paging file usage is 53.07 % > # perfdata:'Paging file usage is %.2f %%=2.074550%;20.000000;90.000000; > /prefdata:.*Paging file usage is %.2f %%=(\d+)%;(\d+);(\d+);/ > #/output: Paging file usage is (\d+)/ > and push @s, [ page, > [ used , GAUGE, $1 ] ]; > > yet - as you can understand the graph is not created . > > I have manged to get other prefdata of thread count to work , but any > attempt i did on this one > comes out negative. > > I know that since i am staring at this for along while i am probably > missing something , can you > guys help me ? > > Thanks -- 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 ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From skreuzer at exit2shell.com Tue May 26 20:41:11 2009 From: skreuzer at exit2shell.com (Steven Kreuzer) Date: Tue, 26 May 2009 14:41:11 -0400 Subject: Time period Oddity Message-ID: <543AF111-E5A2-4D28-A29C-CCA04A8E8C2E@exit2shell.com> I have run into an issue regarding time periods and I am completely stumped. I have created a time period called market-hours that goes from 9:30am to 4pm. In addition, I created a time period called market-holidays that contain a list of days that the stock market is closed. I excluded the market-holidays timeperiod from the market-hours time period. I have a series of checks that I want executed only during when the stock market is open. I added a new check into nagios, and its being scheduled for tomorrow at 9:30am. I took out the exclude portion of the market-hours time period and then the new check gets scheduled to be checked without 5 minutes of the current time. This is nagios 3.0.6 A copy of the relevant sections of the config can be found at: http://pastebin.com/me1941f5 Has anyone seen this issue before? Also, can someone explain that the difference is between "name" and "timeperiod_name"? The documentation and example config seem to both make reference to the "name" directive for timeperiod but it doesn't seem to be documented anywhere. Thanks -- Steven Kreuzer http://www.exit2shell.com/~skreuzer ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 26 21:28:11 2009 From: simon.kainz at tugraz.at (Simon Kainz) Date: Tue, 26 May 2009 21:28:11 +0200 Subject: sidebar does not display correctly In-Reply-To: <9A3AB61DD01B8E409B30DE2F1E11D62D099F4897@CINMLVEM13.e2k.ad.ge.com> References: <9A3AB61DD01B8E409B30DE2F1E11D62D099F43C3@CINMLVEM13.e2k.ad.ge.com><4A170370.6050901@kkeane.com> <9A3AB61DD01B8E409B30DE2F1E11D62D099F4897@CINMLVEM13.e2k.ad.ge.com> Message-ID: <20090526212811.19673ztrop7cbzy8@webmail.tugraz.at> Quoting "Haffner, David (GE, Corporate, consultant)" : > I don't see any errors in the nagios.log file or dmesg. Anywhere else I > should look? > Yes, you should take a look in you webservers log files. I assume you use apache, so look under /var/log/apache2/error.log if you havent changed your apache logging setup. > If it is ignoring the styles, should i try to replace the file? > Do you mean replacing the sidebar html file or the css includes ? Regards, Simon > Dave Haffner > > > _____ > > From: Gary Every [mailto:gevery at gmail.com] > Sent: Friday, May 22, 2009 4:19 PM > To: Kevin Keane > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] sidebar does not display correctly > > > Do the logs show any 404's when looking for main.css ? > > > On Fri, May 22, 2009 at 12:56 PM, Kevin Keane > wrote: > > > side.html > > It looks like it actually is displaying correctly but ignoring the > styles for some reason. > > > Haffner, David (GE, Corporate, consultant) wrote: >> Hi all, >> I've been having a horrible time getting the sidebar to display >> correctly. Can anyone point me to a file or directory or something >> that needs to be tweeked? >> I've got it running on RHEL4. Everything functions fine, it's >> just that the sidebar displays wrong. Here's a screenshot. >> >> Thanks! >> >> >> Dave Haffner >> > >> ------------------------------------------------------------------------ >> >> > ---------------------------------------------------------------------------- > -- >> Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT >> is a gathering of tech-side developers & brand creativity professionals. > Meet >> the minds behind Google Creative Lab, Visual Complexity, Processing, & >> iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian >> Group, R/GA, & Big Spaceship. http://www.creativitycat.com >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: 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. > > > ---------------------------------------------------------------------------- > -- > Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT > is a gathering of tech-side developers & brand creativity professionals. > Meet > the minds behind Google Creative Lab, Visual Complexity, Processing, & > iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian > Group, R/GA, & Big Spaceship. http://www.creativitycat.com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > > > -- > Gary Every > "Pay it Forward!" > > > ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chad.files at novasyshealth.com Tue May 26 15:51:20 2009 From: chad.files at novasyshealth.com (Chad Files) Date: Tue, 26 May 2009 08:51:20 -0500 Subject: Error Displaying CGI Pages In-Reply-To: <4A1B42E6.106@iweb.com> References: <4A1AAA15.9020109@novasyshealth.com> <4A1B42E6.106@iweb.com> Message-ID: <4A1BF3D8.4040304@novasyshealth.com> I figured it out. I have a symbolic link from my log directory to another partition. The permissions are correct but for whatever reason Nagios' CGI portion does not like the symlink. Deleting the symlink and recreating it makes the CGI scripts work again. Go figure. The permanent fix here is to change the paths in the config files. On 05/25/2009 08:16 PM Mathieu Gagn? said the following: > Especially check for ownerships and permissions. ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue May 26 22:25:21 2009 From: Ayotunde.Itayemi at zain.com (Ayotunde Itayemi) Date: Tue, 26 May 2009 21:25:21 +0100 Subject: Custom report showing weekly Average/Max values for CPU/RAM/SWAP/Availability Message-ID: <99487797D76C7841AEEDE4A1DCA86C7005848983@VNL-LA01EX04S.vmobile-nigeria.com> Hi All, I am currently monitoring several parameters on my clients (CPU, RAM, Disk, availability, SWAP, etc) I am also collecting performance data from the plug-ins which is being used by PNP4nagios to create graphs. I have a request from "management" for a single report (weekly on Monday mornings at 9am) which shows the average and maximum values of each of these parameters (at least CPU, RAM, SWAP) and Availability using a single row per server. The duration for the report is the previous one week (Monday 00:00 to Sunday 11:59PM) I think it should be possible if one knows the right tables to query and possibly how to string the right query together, but with very little idea of the tables, their relationships (not to mention that I am not a DBA) it's a very tall order for me. Does anyone have a query that does a similar thing or even some script or application? Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-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 26 23:03:48 2009 From: marc at ena.com (Marc Powell) Date: Tue, 26 May 2009 16:03:48 -0500 Subject: Custom report showing weekly Average/Max values for CPU/RAM/SWAP/Availability In-Reply-To: <99487797D76C7841AEEDE4A1DCA86C7005848983@VNL-LA01EX04S.vmobile-nigeria.com> References: <99487797D76C7841AEEDE4A1DCA86C7005848983@VNL-LA01EX04S.vmobile-nigeria.com> Message-ID: <6696ED74-A925-4C96-A1AD-DD2BB42B6B2B@ena.com> On May 26, 2009, at 3:25 PM, Ayotunde Itayemi wrote: > Hi All, > I am currently monitoring several parameters on my clients (CPU, > RAM, Disk, availability, SWAP, etc) > I am also collecting performance data from the plug-ins which is > being used by PNP4nagios to create graphs. > > I have a request from ?management? for a single report (weekly on > Monday mornings at 9am) which shows the average and maximum values > of each of these parameters (at least CPU, RAM, SWAP) I don't use PNP but I expect this will be work for you unless it has built-in reporting for this (I don't believe it does). I would encourage you to learn more about how RRDTool works by reading the Documentation and Tutorials at http://oss.oetiker.ch/rrdtool/index.en.html . That will give you a good basis for the concepts you will need to do do this. To obtain the textual values for these parameters, you'll need to use the command-line rrdtool program to fetch the values from the rrd files directly. rrdtool can fetch the AVERAGE value at each stored point during the week and you'll need to add those up and divide by the number of values to determine the single average value (man rrdfetch). You could also pick the MAX value from that output or maybe PNP also includes a MAX rra you can fetch. > and Availability using a single row per server. The duration for the > report is the previous one week (Monday 00:00 to Sunday 11:59PM) Nagios Email Reporter might be the ticket here. > > I think it should be possible if one knows the right tables to query > and possibly how to string the right query together, but with very > little idea of the tables, their relationships (not to mention that > I am not a DBA) it?s a very tall order for me. There are no databases or tables to query unless you're using NDOUtils and even then, getting this information wouldn't be trivial, IMHO. -- Marc ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 27 11:02:59 2009 From: Jerome.Meyer at baldata.ch (Meyer Jerome) Date: Wed, 27 May 2009 11:02:59 +0200 Subject: default parameter for check_total_procs Message-ID: <46EEEA5FAED9CA479556002BA9C27FD705D3747D@iw50.iwbnet.ch> Hi So, I'm back again... Now I've configured the service for check the processes with check_total_procs without parameters and it's running: define service{ service_description Total_Processes check_command check_nrpe!check_total_procs ... } Could anyone tell me which are the default parameters that use the command check_total_procs ? Regards, jm -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-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 assaf.flatto at ssp-intl.com Wed May 27 12:20:32 2009 From: assaf.flatto at ssp-intl.com (Assaf Flatto) Date: Wed, 27 May 2009 10:20:32 +0000 Subject: default parameter for check_total_procs In-Reply-To: <46EEEA5FAED9CA479556002BA9C27FD705D3747D@iw50.iwbnet.ch> References: <46EEEA5FAED9CA479556002BA9C27FD705D3747D@iw50.iwbnet.ch> Message-ID: <200905271020.32350.assaf.flatto@ssp-intl.com> Welcome back then , By default that check is an execution of check_procs with only the warning and critical thresholds , so it counts all processes running on your machine , The thresholds are configured in the nrpe.cfg on the remote machine . To find out more run the check_procs with --help . Assaf On Wednesday 27 May 2009 09:02:59 Meyer Jerome wrote: > Hi > > > > So, I'm back again... > > Now I've configured the service for check the processes with > check_total_procs without parameters and it's running: > > > > define service{ > > service_description Total_Processes > > check_command check_nrpe!check_total_procs > > ... > > } > > > > Could anyone tell me which are the default parameters that use the > command check_total_procs ? > > > > > > Regards, > > jm -- 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 ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 27 11:56:28 2009 From: Jerome.Meyer at baldata.ch (Meyer Jerome) Date: Wed, 27 May 2009 11:56:28 +0200 Subject: default parameter for check_total_procs In-Reply-To: <200905271020.32350.assaf.flatto@ssp-intl.com> References: <46EEEA5FAED9CA479556002BA9C27FD705D3747D@iw50.iwbnet.ch> <200905271020.32350.assaf.flatto@ssp-intl.com> Message-ID: <46EEEA5FAED9CA479556002BA9C27FD705D374B6@iw50.iwbnet.ch> Thanks for you help... now all is ok! Jerome > -----Urspr?ngliche Nachricht----- > Von: Assaf Flatto [mailto:assaf.flatto at ssp-intl.com] > Gesendet: Mittwoch, 27. Mai 2009 12:21 > An: nagios-users at lists.sourceforge.net > Betreff: Re: [Nagios-users] default parameter for check_total_procs > > Welcome back then , > > By default that check is an execution of check_procs with only the warning > and critical thresholds , > so it counts all processes running on your machine , > > The thresholds are configured in the nrpe.cfg on the remote machine . > > To find out more run the check_procs with --help . > > Assaf > > > On Wednesday 27 May 2009 09:02:59 Meyer Jerome wrote: > > Hi > > > > > > > > So, I'm back again... > > > > Now I've configured the service for check the processes with > > check_total_procs without parameters and it's running: > > > > > > > > define service{ > > > > service_description Total_Processes > > > > check_command check_nrpe!check_total_procs > > > > ... > > > > } > > > > > > > > Could anyone tell me which are the default parameters that use the > > command check_total_procs ? > > > > > > > > > > > > Regards, > > > > jm > > > > -- > 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 > > > > ----------------------------------------------------------------------------- > - > Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT > is a gathering of tech-side developers & brand creativity professionals. Meet > the minds behind Google Creative Lab, Visual Complexity, Processing, & > iPhoneDevCamp as they present alongside digital heavyweights like Barbarian > Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 27 12:01:10 2009 From: Ayotunde.Itayemi at zain.com (Ayotunde Itayemi) Date: Wed, 27 May 2009 11:01:10 +0100 Subject: Custom report showing weekly Average/Max valuesfor CPU/RAM/SWAP/Availability In-Reply-To: <6696ED74-A925-4C96-A1AD-DD2BB42B6B2B@ena.com> References: <99487797D76C7841AEEDE4A1DCA86C7005848983@VNL-LA01EX04S.vmobile-nigeria.com> <6696ED74-A925-4C96-A1AD-DD2BB42B6B2B@ena.com> Message-ID: <99487797D76C7841AEEDE4A1DCA86C7005848A92@VNL-LA01EX04S.vmobile-nigeria.com> Hi, Thanks for the response. I will look into the RRDTool command line option. Yes, I am using NDOUTILS. I have actually examined a few of the tables and it looks like the base values that can be manipulated are in there (somewhere :-). I have looked at the NAGIOS email reporter and it's not what I want. In fact, I have implemented the same thing it does myself - i.e., query the standard NAGIOS cgis. The issue with this output is that what you get from the CGIs are not the performance data values, but the percentage of the time a particular measurement is over the warning/critical threshold. By the way, are there comprehensive entity-relationship type diagrams for the tables making up the NDOUTILS tables anywhere? Thanks. "This mail is from a Gimper" -----Original Message----- From: Marc Powell [mailto:marc at ena.com] Sent: Tuesday, May 26, 2009 10:04 PM To: Nagios Users Mailinglist Subject: Re: [Nagios-users] Custom report showing weekly Average/Max valuesfor CPU/RAM/SWAP/Availability On May 26, 2009, at 3:25 PM, Ayotunde Itayemi wrote: > Hi All, > I am currently monitoring several parameters on my clients (CPU, > RAM, Disk, availability, SWAP, etc) > I am also collecting performance data from the plug-ins which is > being used by PNP4nagios to create graphs. > > I have a request from "management" for a single report (weekly on > Monday mornings at 9am) which shows the average and maximum values > of each of these parameters (at least CPU, RAM, SWAP) I don't use PNP but I expect this will be work for you unless it has built-in reporting for this (I don't believe it does). I would encourage you to learn more about how RRDTool works by reading the Documentation and Tutorials at http://oss.oetiker.ch/rrdtool/index.en.html . That will give you a good basis for the concepts you will need to do do this. To obtain the textual values for these parameters, you'll need to use the command-line rrdtool program to fetch the values from the rrd files directly. rrdtool can fetch the AVERAGE value at each stored point during the week and you'll need to add those up and divide by the number of values to determine the single average value (man rrdfetch). You could also pick the MAX value from that output or maybe PNP also includes a MAX rra you can fetch. > and Availability using a single row per server. The duration for the > report is the previous one week (Monday 00:00 to Sunday 11:59PM) Nagios Email Reporter might be the ticket here. > > I think it should be possible if one knows the right tables to query > and possibly how to string the right query together, but with very > little idea of the tables, their relationships (not to mention that > I am not a DBA) it's a very tall order for me. There are no databases or tables to query unless you're using NDOUtils and even then, getting this information wouldn't be trivial, IMHO. -- Marc ------------------------------------------------------------------------ ------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alexdehaini at gmail.com Wed May 27 12:17:26 2009 From: alexdehaini at gmail.com (Alex Dehaini) Date: Wed, 27 May 2009 10:17:26 +0000 Subject: Custom report showing weekly Average/Max valuesfor CPU/RAM/SWAP/Availability In-Reply-To: <99487797D76C7841AEEDE4A1DCA86C7005848A92@VNL-LA01EX04S.vmobile-nigeria.com> References: <99487797D76C7841AEEDE4A1DCA86C7005848983@VNL-LA01EX04S.vmobile-nigeria.com> <6696ED74-A925-4C96-A1AD-DD2BB42B6B2B@ena.com> <99487797D76C7841AEEDE4A1DCA86C7005848A92@VNL-LA01EX04S.vmobile-nigeria.com> Message-ID: <4b008f7d0905270317t7bafb645ra4c247a621bd4c53@mail.gmail.com> What exactly are you looking for? On Wed, May 27, 2009 at 10:01 AM, Ayotunde Itayemi < Ayotunde.Itayemi at zain.com> wrote: > Hi, > Thanks for the response. I will look into the RRDTool command line > option. > Yes, I am using NDOUTILS. I have actually examined a few of the tables > and it looks like the base values that can be manipulated are in there > (somewhere :-). > I have looked at the NAGIOS email reporter and it's not what I want. In > fact, I have implemented the same thing it does myself - i.e., query the > standard NAGIOS cgis. The issue with this output is that what you get > from the CGIs are not the performance data values, but the percentage of > the time a particular measurement is over the warning/critical > threshold. > By the way, are there comprehensive entity-relationship type diagrams > for the tables making up the NDOUTILS tables anywhere? > > Thanks. > "This mail is from a Gimper" > > -----Original Message----- > From: Marc Powell [mailto:marc at ena.com] > Sent: Tuesday, May 26, 2009 10:04 PM > To: Nagios Users Mailinglist > Subject: Re: [Nagios-users] Custom report showing weekly Average/Max > valuesfor CPU/RAM/SWAP/Availability > > On May 26, 2009, at 3:25 PM, Ayotunde Itayemi wrote: > > > Hi All, > > I am currently monitoring several parameters on my clients (CPU, > > RAM, Disk, availability, SWAP, etc) > > I am also collecting performance data from the plug-ins which is > > being used by PNP4nagios to create graphs. > > > > I have a request from "management" for a single report (weekly on > > Monday mornings at 9am) which shows the average and maximum values > > of each of these parameters (at least CPU, RAM, SWAP) > > I don't use PNP but I expect this will be work for you unless it has > built-in reporting for this (I don't believe it does). I would > encourage you to learn more about how RRDTool works by reading the > Documentation and Tutorials at > http://oss.oetiker.ch/rrdtool/index.en.html > . That will give you a good basis for the concepts you will need to do > do this. To obtain the textual values for these parameters, you'll > need to use the command-line rrdtool program to fetch the values from > the rrd files directly. rrdtool can fetch the AVERAGE value at each > stored point during the week and you'll need to add those up and > divide by the number of values to determine the single average value > (man rrdfetch). You could also pick the MAX value from that output or > maybe PNP also includes a MAX rra you can fetch. > > > and Availability using a single row per server. The duration for the > > report is the previous one week (Monday 00:00 to Sunday 11:59PM) > > Nagios Email Reporter might be the ticket here. > > > > > I think it should be possible if one knows the right tables to query > > and possibly how to string the right query together, but with very > > little idea of the tables, their relationships (not to mention that > > I am not a DBA) it's a very tall order for me. > > There are no databases or tables to query unless you're using NDOUtils > and even then, getting this information wouldn't be trivial, IMHO. > > -- > Marc > > > ------------------------------------------------------------------------ > ------ > Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT > is a gathering of tech-side developers & brand creativity professionals. > Meet > the minds behind Google Creative Lab, Visual Complexity, Processing, & > iPhoneDevCamp as they present alongside digital heavyweights like > Barbarian > Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 for Creativity and Technology (CaT), June 3rd, NYC. CaT > is a gathering of tech-side developers & brand creativity professionals. > Meet > the minds behind Google Creative Lab, Visual Complexity, Processing, & > iPhoneDevCamp as they present alongside digital heavyweights like Barbarian > Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdehaini at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-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 N.Patil at lntinfotech.com Wed May 27 11:50:17 2009 From: N.Patil at lntinfotech.com (N Patil) Date: Wed, 27 May 2009 15:20:17 +0530 Subject: How to monitor linux host ? In-Reply-To: <200905271020.32350.assaf.flatto@ssp-intl.com> References: <200905271020.32350.assaf.flatto@ssp-intl.com> Message-ID: I have already setup nagios which is working fine. It can monitor my localhost and window box perfectly with default configs provided. Can anyone help me to setup/monitor unix host? I have these things ready with me template.cfg, define host{ name redhat-server ; The name of this host template use generic-host ; This template inherits other values from the generic-host template check_period 24x7 ; By default, Linux hosts are checked round the clock check_interval 5 ; Actively check the host every 5 minutes retry_interval 1 ; Schedule host check retries at 1 minute intervals max_check_attempts 10 ; Check each Linux host 10 times (max) check_command check-host-alive ; Default command to check Linux hosts notification_period workhours ; Linux admins hate to be woken up, so we only notify during the day ; Note that the notification_period variable is being overridden from ; the value that is inherited from the generic-host template! notification_interval 120 ; Resend notifications every 2 hours notification_options d,u,r ; Only send notifications for specific host states contact_groups admins ; Notifications get sent to the admins by default register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE! } redhat5.cfg, define host{ use redhat-server host_name redhat5.remotehost.com alias Redhat5 Remote Host address 172.17.38.201 contact_groups admins } # HOST GROUP DEFINITION # Define an optional hostgroup for Linux machines define hostgroup{ hostgroup_name redhat-servers ; The name of the hostgroup alias Linux Servers ; Long name of the group members redhat5.remotehost.com ; Comma separated list of hosts that belong to this group } define service{ use generic-service service_description Root Partition contact_groups admins check_command check_nrpe!check_disk } define service{ use generic-service ; Name of service template to use host_name redhat5.remotehost.com service_description Current Users check_command check_nrpe!check_users!20!50 } Thanks, Nilesh ______________________________________________________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-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 s.a.johansen at usit.uio.no Wed May 27 12:52:45 2009 From: s.a.johansen at usit.uio.no (=?ISO-8859-1?Q?St=E5le_Asker=F8d_Johansen?=) Date: Wed, 27 May 2009 12:52:45 +0200 Subject: Uptime info from the command line Message-ID: <4A1D1B7D.5010904@usit.uio.no> Hi list. We are running version 3. At the moment we are putting together a simple interface for the management to view central data for a smaller number of webservices. For this we want to use some data from Nagios and graphs from Munin. Is it possible to extract the following data from a running Nagios using the command line? Maybe from the CGIs directly: 1) Uptime percentage for a given service for a given time period, taking scheduled downtime into account. 2) Is the service in a state of scheduled downtime at the moment, or not? This can probably be done with lynx/wget/curl and awk, but I'd rather depend on as little as possible. Running avail.cgi gives ?Error: Could not read object configuration data!? (embedded in HTML, as I would expect) -- St?le Johansen, University of Oslo, Norway. ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 27 15:13:55 2009 From: marc at ena.com (Marc Powell) Date: Wed, 27 May 2009 08:13:55 -0500 Subject: Custom report showing weekly Average/Max valuesfor CPU/RAM/SWAP/Availability In-Reply-To: <99487797D76C7841AEEDE4A1DCA86C7005848A92@VNL-LA01EX04S.vmobile-nigeria.com> References: <99487797D76C7841AEEDE4A1DCA86C7005848983@VNL-LA01EX04S.vmobile-nigeria.com> <6696ED74-A925-4C96-A1AD-DD2BB42B6B2B@ena.com> <99487797D76C7841AEEDE4A1DCA86C7005848A92@VNL-LA01EX04S.vmobile-nigeria.com> Message-ID: <7F041E76-6E3E-492D-BF82-FCF1D668ADE0@ena.com> On May 27, 2009, at 5:01 AM, Ayotunde Itayemi wrote: > By the way, are there comprehensive entity-relationship type diagrams > for the tables making up the NDOUTILS tables anywhere? This is the most comprehensive documentation I am aware of -- http://nagios.sourceforge.net/docs/ndoutils/NDOUtils_DB_Model.pdf -- Marc ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tinzauro at ha-solutions.net Wed May 27 15:59:17 2009 From: tinzauro at ha-solutions.net (Terry L. Inzauro) Date: Wed, 27 May 2009 08:59:17 -0500 Subject: unusual behavior Message-ID: <4A1D4735.4050008@ha-solutions.net> List, I have an odd occurrence that I cant seem to work out. I have a host with various services defined that belongs to a hostgroup and such. The other day, the host had some IP issues that cause nagios to report that the services were down. After the host came back up, there was one service (check_dig) that still reported as being down. All other services were fine (check_ssh, check_users, check_load, check_ping, check_procs). The only workaround that allowed the check_dig to return to normal was to change the 'host_name' and 'alias' in the host definition. host_name host-mgmt alias host.dom.tld It seemed that there was a cached or stale entry stored somewhere....Any ideas as to why this would be? regards, _Terry ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 27 16:11:15 2009 From: ae at op5.se (Andreas Ericsson) Date: Wed, 27 May 2009 16:11:15 +0200 Subject: unusual behavior In-Reply-To: <4A1D4735.4050008@ha-solutions.net> References: <4A1D4735.4050008@ha-solutions.net> Message-ID: <4A1D4A03.8050601@op5.se> Terry L. Inzauro wrote: > List, > > I have an odd occurrence that I cant seem to work out. > > I have a host with various services defined that belongs to a hostgroup and such. The other day, the host had some IP issues > that cause nagios to report that the services were down. After the host came back up, there was one service (check_dig) that > still reported as being down. All other services were fine (check_ssh, check_users, check_load, check_ping, check_procs). > > The only workaround that allowed the check_dig to return to normal was to change the 'host_name' and 'alias' in the host > definition. > > host_name host-mgmt > alias host.dom.tld > > It seemed that there was a cached or stale entry stored somewhere....Any ideas as to why this would be? > Does the host get its IP from DHCP? If yes, I'd assume the check_dig-based service check tried to verify that the host itself had a certain IP but it got a different one when you brought it back up, although why you'd want to resolve the name of a host with dynamic ip-assignment is beyond me. -- 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 for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jdmfontz at yahoo.com Wed May 27 15:49:09 2009 From: jdmfontz at yahoo.com (Martin Fontanez) Date: Wed, 27 May 2009 06:49:09 -0700 (PDT) Subject: Error While Using check_ifstatus Message-ID: <319551.11240.qm@web59206.mail.re1.yahoo.com> Lei, Thanks. Here is the output: [root at localhost init.d]# snmpwalk -v 2c -c public 127.0.0.1 1.3.6.1.2.1.2.2.1.8 IF-MIB::ifOperStatus = No Such Object available on this agent at this OID [root at localhost init.d]# Wondering if you got a link to a good net-snmp tutorial. Martin --- On Sat, 5/23/09, Lei Chen wrote: > From: Lei Chen > Subject: Re: [Nagios-users] Error While Using check_ifstatus > To: "Martin Fontanez" > Cc: nagios-users at lists.sourceforge.net, "Assaf Flatto" > Date: Saturday, May 23, 2009, 1:48 AM > 2009/5/22 Martin Fontanez : > > Thanks Assaf, > > > > It looks like I have version 2 > > > > [root at localhost snmp]# snmpwalk -v3 -c public > localhost > > snmpwalk: No securityName specified > > [root at localhost snmp]# > > > > [root at localhost snmp]# snmpwalk -v2c -c public > localhost system > > SNMPv2-MIB::sysDescr.0 = STRING: Linux > localhost.localdomain > > 2.6.11-121.1.1.el5 #1 SMP Mon Jan 26 13:59:00 EST 2009 > i686 > > SNMPv2-MIB::sysObjectID.0 = OID: > NET-SNMP-MIB::netSnmpAgentOIDs.10 > > DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: > (15121490) 1 day, > > 18:00:14.90 > > SNMPv2-MIB::sysContact.0 = STRING: Root > (configure > > /etc/snmp/snmp.local.conf) > > SNMPv2-MIB::sysName.0 = STRING: localhost.localdomain > > SNMPv2-MIB::sysLocation.0 = STRING: Unknown (edit > /etc/snmp/snmpd.conf) > > SNMPv2-MIB::sysORLastChange.0 = Timeticks: (65) > 0:00:00.65 > > SNMPv2-MIB::sysORID.1 = OID: SNMPv2-MIB::snmpMIB > > SNMPv2-MIB::sysORID.2 = OID: TCP-MIB::tcpMIB > > SNMPv2-MIB::sysORID.3 = OID: IP-MIB::ip > > SNMPv2-MIB::sysORID.4 = OID: UDP-MIB::udpMIB > > SNMPv2-MIB::sysORID.5 = OID: > SNMP-VIEW-BASED-ACM-MIB::vacmBasicGroup > > SNMPv2-MIB::sysORID.6 = OID: > SNMP-FRAMEWORK-MIB::snmpFrameworkMIBCompliance > > SNMPv2-MIB::sysORID.7 = OID: > SNMP-MPD-MIB::snmpMPDCompliance > > SNMPv2-MIB::sysORID.8 = OID: > SNMP-USER-BASED-SM-MIB::usmMIBCompliance > > SNMPv2-MIB::sysORDescr.1 = STRING: The MIB module for > SNMPv2 entities > > SNMPv2-MIB::sysORDescr.2 = STRING: The MIB module for > managing TCP > > implementations > > SNMPv2-MIB::sysORDescr.3 = STRING: The MIB module for > managing IP and ICMP > > implementations > > SNMPv2-MIB::sysORDescr.4 = STRING: The MIB module for > managing UDP > > implementations > > SNMPv2-MIB::sysORDescr.5 = STRING: View-based Access > Control Model for SNMP. > > SNMPv2-MIB::sysORDescr.6 = STRING: The SNMP Management > Architecture MIB. > > SNMPv2-MIB::sysORDescr.7 = STRING: The MIB for Message > Processing and > > Dispatching. > > SNMPv2-MIB::sysORDescr.8 = STRING: The management > information definitions > > for the SNMP User-based Security Model. > > SNMPv2-MIB::sysORUpTime.1 = Timeticks: (64) > 0:00:00.64 > > SNMPv2-MIB::sysORUpTime.2 = Timeticks: (64) > 0:00:00.64 > > SNMPv2-MIB::sysORUpTime.3 = Timeticks: (64) > 0:00:00.64 > > SNMPv2-MIB::sysORUpTime.4 = Timeticks: (64) > 0:00:00.64 > > SNMPv2-MIB::sysORUpTime.5 = Timeticks: (64) > 0:00:00.64 > > SNMPv2-MIB::sysORUpTime.6 = Timeticks: (65) > 0:00:00.65 > > SNMPv2-MIB::sysORUpTime.7 = Timeticks: (65) > 0:00:00.65 > > SNMPv2-MIB::sysORUpTime.8 = Timeticks: (65) > 0:00:00.65 > > [root at localhost snmp]# > > > > I tried check_ifstatus with -v 2? option and > getting same message: > > > > [root at localhost etc]# > /usr/local/nagios/libexec/check_ifstatus -H localhost > > -v 2 -C public -I -u E1 6/0 > > CRITICAL: Requested table is empty or does not exist > for > > 1.3.6.1.2.1.2.2.1.8? with snmp version 2 > > I'll guess the message that "requested table is empty > or does not exist for > > 1.3.6.1.2.1.2.2.1.8"? means that there is > something that needs configuring > > in snmp (???).? I am very green with snmp. > > > Try this to verify the test the? IF-MIB::IfOperStatus > OID. > snmpwalk -v 2c -c public 127.0.0.1 1.3.6.1.2.1.2.2.1.8 > > --- On Fri, 5/22/09, Assaf Flatto > wrote: > > > > From: Assaf Flatto > > Subject: Re: [Nagios-users] Error While Using > check_ifstatus > > To: nagios-users at lists.sourceforge.net > > Date: Friday, May 22, 2009, 5:57 AM > > > > > > > > On Thursday 21 May 2009 14:31:26 Martin Fontanez > wrote: > >> I am new to Nagios.? Trying to get link state > info (up/down) on NIC cards > >> on my box (realizing I could use check_ping but > ICMP is blocked).? I am > >> using el5 and mii-tools/mii-diag does not work > since my kernel is 2.6 or > >> >. > >> > >> I setup check-ifstatus but I am getting this > error: > >> > >> CRITICAL: Requested table is empty or does not > exist for > >> 1.3.6.1.2.1.2.2.1.8? with snmp version 1 > >> > >> Wondering if anyone knows of a workaround. > > > > Are you sure the device you are quering is using SNMP > v1 ? > > most devices come with SNMP2 or even 3 , check the > setting of you snmp query > > and the snmp setting on > > the device to see what version you need to use to > check.. > > > > -- > > 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 > > > > > > > > > ------------------------------------------------------------------------------ > > Register Now for Creativity and Technology (CaT), June > 3rd, NYC. CaT > > is a gathering of tech-side developers & brand > creativity professionals. > > Meet > > the minds behind Google Creative Lab, Visual > Complexity, Processing, & > > iPhoneDevCamp asthey present alongside digital > heavyweights like Barbarian > > Group, R/GA, & Big Spaceship. http://www.creativitycat.com > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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 for Creativity and Technology (CaT), June > 3rd, NYC. CaT > > is a gathering of tech-side developers & brand > creativity professionals. > > Meet > > the minds behind Google Creative Lab, Visual > Complexity, Processing, & > > iPhoneDevCamp asthey present alongside digital > heavyweights like Barbarian > > Group, R/GA, & Big Spaceship. http://www.creativitycat.com > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) > and OS when reporting > > any issue. > > ::: Messages without supporting info will risk being > sent to /dev/null > > > > > > -- > Thanks, > Chenlei & ??++ > MSN Messenger: chnl at 163.com > ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed May 27 15:47:49 2009 From: cristoir at gmail.com (Christopher McAtackney) Date: Wed, 27 May 2009 14:47:49 +0100 Subject: Removing NRPE Daemon Message-ID: Hi all, I was wondering how to remove the NRPE daemon completely from my Ubuntu machine? It was compiled without SSL support, and is an older version, so I'd like to stick 2.12 on w/ SSL. I tried just make'ing and install'ing 2.12, but NRPE 2.8.1 is still running. Do I have to kill it somehow before installing the new version? Cheers, Chris ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed May 27 17:25:25 2009 From: assaf.flatto at ssp-intl.com (Assaf Flatto) Date: Wed, 27 May 2009 15:25:25 +0000 Subject: Removing NRPE Daemon In-Reply-To: References: Message-ID: <200905271525.26045.assaf.flatto@ssp-intl.com> When you did the make install - did you also make sure that the proper init script was copied and the new binaries were copied over the old one ? What i think you have is two installs of nrpe located in different locations and the init script is calling the old one . check the paths and locations and see what is called when you start the nrpe daemon . Assaf On Wednesday 27 May 2009 13:47:49 Christopher McAtackney wrote: > Hi all, > > I was wondering how to remove the NRPE daemon completely from my > Ubuntu machine? It was compiled without SSL support, and is an older > version, so I'd like to stick 2.12 on w/ SSL. > > I tried just make'ing and install'ing 2.12, but NRPE 2.8.1 is still > running. Do I have to kill it somehow before installing the new > version? > > Cheers, > Chris > > --------------------------------------------------------------------------- >--- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is > a gathering of tech-side developers & brand creativity professionals. Meet > the minds behind Google Creative Lab, Visual Complexity, Processing, & > iPhoneDevCamp as they present alongside digital heavyweights like Barbarian > Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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 ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed May 27 16:32:40 2009 From: cristoir at gmail.com (Christopher McAtackney) Date: Wed, 27 May 2009 15:32:40 +0100 Subject: Removing NRPE Daemon In-Reply-To: <200905271525.26045.assaf.flatto@ssp-intl.com> References: <200905271525.26045.assaf.flatto@ssp-intl.com> Message-ID: Hi Assaf, where can I find the init script for the NRPE daemon? Cheers, Chris 2009/5/27 Assaf Flatto : > When you did the make install - did you also make sure that the ?proper init script was copied and > the new binaries were copied over the old one ? > > What i think you have is two installs of nrpe located in different locations and the init script is > calling the old one . > > check the paths and locations and see what is called when you start the nrpe daemon . > > Assaf > > On Wednesday 27 May 2009 13:47:49 Christopher McAtackney wrote: >> Hi all, >> >> I was wondering how to remove the NRPE daemon completely from my >> Ubuntu machine? It was compiled without SSL support, and is an older >> version, so I'd like to stick 2.12 on w/ SSL. >> >> I tried just make'ing and install'ing 2.12, but NRPE 2.8.1 is still >> running. Do I have to kill it somehow before installing the new >> version? >> >> Cheers, >> Chris >> >> --------------------------------------------------------------------------- >>--- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is >> a gathering of tech-side developers & brand creativity professionals. Meet >> the minds behind Google Creative Lab, Visual Complexity, Processing, & >> iPhoneDevCamp as they present alongside digital heavyweights like Barbarian >> Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> >> ::: 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 > > > > ------------------------------------------------------------------------------ > Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT > is a gathering of tech-side developers & brand creativity professionals. Meet > the minds behind Google Creative Lab, Visual Complexity, Processing, & > iPhoneDevCamp as they present alongside digital heavyweights like Barbarian > Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From christian-r.david at alcan.com Wed May 27 16:13:46 2009 From: christian-r.david at alcan.com (christian-r.david at alcan.com) Date: Wed, 27 May 2009 16:13:46 +0200 Subject: (no subject) Message-ID: Hello, Just a simple question: I use nagios ver. 3.0.6 on a debian system 5.0.1 I have modified "timeperiods.cfg" like this: # The complement of workhours define timeperiod{ name ferie timeperiod_name ferie alias liste des jours feries sunday 00:00-24:00 ; Tous les dimanches # wednesday 14:50-15:00,15:10-15:20 2009-05-27 15:25-15:40,15:50-16:10 january 1 00:00-24:00 ; Tous les jours feries may 1 00:00-24:00 may 8 00:00-24:00 july 14 00:00-24:00 august 15 00:00-24:00 november 1 00:00-24:00 november 11 00:00-24:00 december 25 00:00-24:00 monday 2 september 00:00-24:00 ; Fete d'Issoire } # The complement of workhours define timeperiod{ name other timeperiod_name other alias liste des feries flottants 2009-06-01 00:00-24:00 ; Pentecote 2010-04-05 00:00-24:00 ; Paques 2010-05-13 00:00-24:00 ; Ascension 2010-05-24 00:00-24:00 ; Pentecote 2011-04-25 00:00-24:00 ; Paques 2011-06-02 00:00-24:00 ; Ascension 2011-06-13 00:00-24:00 ; Pentecote } define timeperiod{ name Guard-oncall timeperiod_name Guard-oncall alias Surveillance Poste Garde use ferie,other } I reload the config and all is ok but if i verify the time periods on the web page: it's wrong! (Embedded image moved to file: pic05059.jpg) All the date are wrong -> month - 2. Example: Easter 2010 is 2010-04-05 but it appears on the web page 2010-02-05 Any idea?!... Best regards. And sorry for my bad english. Christian DAVID Process (PMR) ALCAN GLOBAL A?RONAUTIQUE, TRANSPORT ET INDUSTRIE Europe-Usine d'Issoire Tel: + 33 (0)4 73 55 50 50 (interne 5467) Fax: + 33 (0)4 73 55 51 93 Mailto: christian-r.david at alcan.com Avis : Ce message et toute pi?ce jointe sont la propri?t? d'Alcan et sont destin?s seulement aux personnes ou ? l'entit? ? qui le message est adress?. Si vous avez re?u ce message par erreur, veuillez le d?truire et en aviser l'exp?diteur par courriel. Si vous n'?tes pas le destinataire du message, vous n'?tes pas autoris? ? utiliser, ? copier ou ? divulguer le contenu du message ou ses pi?ces jointes en tout ou en partie. Notice: This message and any attachments are the property of Alcan and are intended solely for the named recipients or entity to whom this message is addressed. If you have received this message in error please inform the sender via e-mail and destroy the message. If you are not the intended recipient you are not allowed to use, copy or disclose the contents or attachments in whole or in part. -------------- next part -------------- A non-text attachment was scrubbed... Name: pic05059.jpg Type: image/jpeg Size: 143926 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-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 jdmfontz at yahoo.com Wed May 27 16:59:30 2009 From: jdmfontz at yahoo.com (Martin Fontanez) Date: Wed, 27 May 2009 07:59:30 -0700 (PDT) Subject: Error While Using check_ifstatus Message-ID: <204797.80563.qm@web59203.mail.re1.yahoo.com> Here is resolution: Updated /etc/snmpd.conf file to contain the following line: rocommunity public then restarted snmpd and here is the new output: [root at localhost snmp]# snmpwalk -v 2c -c public 127.0.0.1 1.3.6.1.2.1.2.2.1.8 IF-MIB::ifOperStatus.1 = INTEGER: up(1) IF-MIB::ifOperStatus.2 = INTEGER: up(1) IF-MIB::ifOperStatus.3 = INTEGER: down(2) IF-MIB::ifOperStatus.4 = INTEGER: up(1) [root at localhost snmp]# The nagios check_ifstatus works ok now. Thanks everyone. Cheers, Martin --- On Wed, 5/27/09, Martin Fontanez wrote: > From: Martin Fontanez > Subject: Re: [Nagios-users] Error While Using check_ifstatus > To: "Lei Chen" > Cc: nagios-users at lists.sourceforge.net > Date: Wednesday, May 27, 2009, 9:49 AM > > Lei, > > Thanks.? Here is the output: > > [root at localhost init.d]# snmpwalk -v 2c -c public 127.0.0.1 > 1.3.6.1.2.1.2.2.1.8 > IF-MIB::ifOperStatus = No Such Object available on this > agent at this OID > [root at localhost init.d]# > > > Wondering if you got a link to a good net-snmp tutorial. > > Martin > > > > --- On Sat, 5/23/09, Lei Chen > wrote: > > > From: Lei Chen > > Subject: Re: [Nagios-users] Error While Using > check_ifstatus > > To: "Martin Fontanez" > > Cc: nagios-users at lists.sourceforge.net, > "Assaf Flatto" > > Date: Saturday, May 23, 2009, 1:48 AM > > 2009/5/22 Martin Fontanez : > > > Thanks Assaf, > > > > > > It looks like I have version 2 > > > > > > [root at localhost snmp]# snmpwalk -v3 -c public > > localhost > > > snmpwalk: No securityName specified > > > [root at localhost snmp]# > > > > > > [root at localhost snmp]# snmpwalk -v2c -c public > > localhost system > > > SNMPv2-MIB::sysDescr.0 = STRING: Linux > > localhost.localdomain > > > 2.6.11-121.1.1.el5 #1 SMP Mon Jan 26 13:59:00 EST > 2009 > > i686 > > > SNMPv2-MIB::sysObjectID.0 = OID: > > NET-SNMP-MIB::netSnmpAgentOIDs.10 > > > DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: > > (15121490) 1 day, > > > 18:00:14.90 > > > SNMPv2-MIB::sysContact.0 = STRING: Root > > (configure > > > /etc/snmp/snmp.local.conf) > > > SNMPv2-MIB::sysName.0 = STRING: > localhost.localdomain > > > SNMPv2-MIB::sysLocation.0 = STRING: Unknown > (edit > > /etc/snmp/snmpd.conf) > > > SNMPv2-MIB::sysORLastChange.0 = Timeticks: (65) > > 0:00:00.65 > > > SNMPv2-MIB::sysORID.1 = OID: SNMPv2-MIB::snmpMIB > > > SNMPv2-MIB::sysORID.2 = OID: TCP-MIB::tcpMIB > > > SNMPv2-MIB::sysORID.3 = OID: IP-MIB::ip > > > SNMPv2-MIB::sysORID.4 = OID: UDP-MIB::udpMIB > > > SNMPv2-MIB::sysORID.5 = OID: > > SNMP-VIEW-BASED-ACM-MIB::vacmBasicGroup > > > SNMPv2-MIB::sysORID.6 = OID: > > SNMP-FRAMEWORK-MIB::snmpFrameworkMIBCompliance > > > SNMPv2-MIB::sysORID.7 = OID: > > SNMP-MPD-MIB::snmpMPDCompliance > > > SNMPv2-MIB::sysORID.8 = OID: > > SNMP-USER-BASED-SM-MIB::usmMIBCompliance > > > SNMPv2-MIB::sysORDescr.1 = STRING: The MIB module > for > > SNMPv2 entities > > > SNMPv2-MIB::sysORDescr.2 = STRING: The MIB module > for > > managing TCP > > > implementations > > > SNMPv2-MIB::sysORDescr.3 = STRING: The MIB module > for > > managing IP and ICMP > > > implementations > > > SNMPv2-MIB::sysORDescr.4 = STRING: The MIB module > for > > managing UDP > > > implementations > > > SNMPv2-MIB::sysORDescr.5 = STRING: View-based > Access > > Control Model for SNMP. > > > SNMPv2-MIB::sysORDescr.6 = STRING: The SNMP > Management > > Architecture MIB. > > > SNMPv2-MIB::sysORDescr.7 = STRING: The MIB for > Message > > Processing and > > > Dispatching. > > > SNMPv2-MIB::sysORDescr.8 = STRING: The > management > > information definitions > > > for the SNMP User-based Security Model. > > > SNMPv2-MIB::sysORUpTime.1 = Timeticks: (64) > > 0:00:00.64 > > > SNMPv2-MIB::sysORUpTime.2 = Timeticks: (64) > > 0:00:00.64 > > > SNMPv2-MIB::sysORUpTime.3 = Timeticks: (64) > > 0:00:00.64 > > > SNMPv2-MIB::sysORUpTime.4 = Timeticks: (64) > > 0:00:00.64 > > > SNMPv2-MIB::sysORUpTime.5 = Timeticks: (64) > > 0:00:00.64 > > > SNMPv2-MIB::sysORUpTime.6 = Timeticks: (65) > > 0:00:00.65 > > > SNMPv2-MIB::sysORUpTime.7 = Timeticks: (65) > > 0:00:00.65 > > > SNMPv2-MIB::sysORUpTime.8 = Timeticks: (65) > > 0:00:00.65 > > > [root at localhost snmp]# > > > > > > I tried check_ifstatus with -v 2? option and > > getting same message: > > > > > > [root at localhost etc]# > > /usr/local/nagios/libexec/check_ifstatus -H localhost > > > -v 2 -C public -I -u E1 6/0 > > > CRITICAL: Requested table is empty or does not > exist > > for > > > 1.3.6.1.2.1.2.2.1.8? with snmp version 2 > > > I'll guess the message that "requested table is > empty > > or does not exist for > > > 1.3.6.1.2.1.2.2.1.8"? means that there is > > something that needs configuring > > > in snmp (???).? I am very green with snmp. > > > > > Try this to verify the test the? > IF-MIB::IfOperStatus > > OID. > > snmpwalk -v 2c -c public 127.0.0.1 > 1.3.6.1.2.1.2.2.1.8 > > > --- On Fri, 5/22/09, Assaf Flatto > > wrote: > > > > > > From: Assaf Flatto > > > Subject: Re: [Nagios-users] Error While Using > > check_ifstatus > > > To: nagios-users at lists.sourceforge.net > > > Date: Friday, May 22, 2009, 5:57 AM > > > > > > > > > > > > On Thursday 21 May 2009 14:31:26 Martin Fontanez > > wrote: > > >> I am new to Nagios.? Trying to get link > state > > info (up/down) on NIC cards > > >> on my box (realizing I could use check_ping > but > > ICMP is blocked).? I am > > >> using el5 and mii-tools/mii-diag does not > work > > since my kernel is 2.6 or > > >> >. > > >> > > >> I setup check-ifstatus but I am getting this > > error: > > >> > > >> CRITICAL: Requested table is empty or does > not > > exist for > > >> 1.3.6.1.2.1.2.2.1.8? with snmp version 1 > > >> > > >> Wondering if anyone knows of a workaround. > > > > > > Are you sure the device you are quering is using > SNMP > > v1 ? > > > most devices come with SNMP2 or even 3 , check > the > > setting of you snmp query > > > and the snmp setting on > > > the device to see what version you need to use > to > > check.. > > > > > > -- > > > 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 > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > Register Now for Creativity and Technology (CaT), > June > > 3rd, NYC. CaT > > > is a gathering of tech-side developers & > brand > > creativity professionals. > > > Meet > > > the minds behind Google Creative Lab, Visual > > Complexity, Processing, & > > > iPhoneDevCamp asthey present alongside digital > > heavyweights like Barbarian > > > Group, R/GA, & Big Spaceship. http://www.creativitycat.com > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: 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 for Creativity and Technology (CaT), > June > > 3rd, NYC. CaT > > > is a gathering of tech-side developers & > brand > > creativity professionals. > > > Meet > > > the minds behind Google Creative Lab, Visual > > Complexity, Processing, & > > > iPhoneDevCamp asthey present alongside digital > > heavyweights like Barbarian > > > Group, R/GA, & Big Spaceship. http://www.creativitycat.com > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: Please include Nagios version, plugin version > (-v) > > and OS when reporting > > > any issue. > > > ::: Messages without supporting info will risk > being > > sent to /dev/null > > > > > > > > > > > -- > > Thanks, > > Chenlei & ??++ > > MSN Messenger: chnl at 163.com > > > > > ? ? ? > > ------------------------------------------------------------------------------ > Register Now for Creativity and Technology (CaT), June 3rd, > NYC. CaT > is a gathering of tech-side developers & brand > creativity professionals. Meet > the minds behind Google Creative Lab, Visual Complexity, > Processing, & > iPhoneDevCamp as they present alongside digital > heavyweights like Barbarian > Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed May 27 18:14:03 2009 From: assaf.flatto at ssp-intl.com (Assaf Flatto) Date: Wed, 27 May 2009 16:14:03 +0000 Subject: Removing NRPE Daemon In-Reply-To: References: Message-ID: <200905271614.03312.assaf.flatto@ssp-intl.com> try /etc/init.d/ directory - which is the usual place for init scripts How do you start the nrpe daemon ? Assaf On Wednesday 27 May 2009 14:32:40 Christopher McAtackney wrote: > Hi Assaf, where can I find the init script for the NRPE daemon? > > Cheers, > Chris > > 2009/5/27 Assaf Flatto : > > When you did the make install - did you also make sure that the ?proper > > init script was copied and the new binaries were copied over the old one > > ? > > > > What i think you have is two installs of nrpe located in different > > locations and the init script is calling the old one . > > > > check the paths and locations and see what is called when you start the > > nrpe daemon . > > > > Assaf > > > > On Wednesday 27 May 2009 13:47:49 Christopher McAtackney wrote: > >> Hi all, > >> > >> I was wondering how to remove the NRPE daemon completely from my > >> Ubuntu machine? It was compiled without SSL support, and is an older > >> version, so I'd like to stick 2.12 on w/ SSL. > >> > >> I tried just make'ing and install'ing 2.12, but NRPE 2.8.1 is still > >> running. Do I have to kill it somehow before installing the new > >> version? > >> > >> Cheers, > >> Chris > >> > >> ------------------------------------------------------------------------ > >>--- --- Register Now for Creativity and Technology (CaT), June 3rd, NYC. > >> CaT is a gathering of tech-side developers & brand creativity > >> professionals. Meet the minds behind Google Creative Lab, Visual > >> Complexity, Processing, & iPhoneDevCamp as they present alongside > >> digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. > >> http://p.sf.net/sfu/creativitycat-com > >> _______________________________________________ > >> Nagios-users mailing list > >> Nagios-users at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/nagios-users > >> > >> ::: 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 > > > > > > > > ------------------------------------------------------------------------- > >----- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT > > is a gathering of tech-side developers & brand creativity professionals. > > Meet the minds behind Google Creative Lab, Visual Complexity, Processing, > > & iPhoneDevCamp as they present alongside digital heavyweights like > > Barbarian Group, R/GA, & Big Spaceship. > > http://p.sf.net/sfu/creativitycat-com > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ::: 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 ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From AHKAPLAN at PARTNERS.ORG Wed May 27 22:44:11 2009 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Wed, 27 May 2009 16:44:11 -0400 Subject: Importing 2.6 config files into a 3.1.0 server Message-ID: Hi there -- Is it possible to import into a 3.1.0 server the configuration files that are currently on a 2.6 server? If so, what steps and/or tools are necessary in order to accomplish this task? Thanks. The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Partners Compliance HelpLine at http://www.partners.org/complianceline . If the e-mail was sent to you in error but does not contain patient information, please contact the sender and properly dispose of the e-mail. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-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 AHKAPLAN at PARTNERS.ORG Wed May 27 22:53:41 2009 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Wed, 27 May 2009 16:53:41 -0400 Subject: Importing 2.6 config files into a 3.1.0 server Message-ID: Hi there -- Is it possible to import into a 3.1.0 server the configuration files that are currently on a 2.6 server? If so, what steps and/or tools are necessary in order to accomplish this task? Thanks. The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Partners Compliance HelpLine at http://www.partners.org/complianceline . If the e-mail was sent to you in error but does not contain patient information, please contact the sender and properly dispose of the e-mail. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-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 israel at frontierflying.com Wed May 27 23:56:03 2009 From: israel at frontierflying.com (Israel Brewster) Date: Wed, 27 May 2009 13:56:03 -0800 Subject: Importing 2.6 config files into a 3.1.0 server In-Reply-To: References: Message-ID: Step 1: copy the config files from the 2.6 server to the 3.1.0 server step 2: Make sure it works, and fix any errors that nagios -v reports It's that easy :) ----------------------------------------------- Israel Brewster Computer Support Technician II Frontier Flying Service Inc. 5245 Airport Industrial Rd Fairbanks, AK 99709 (907) 450-7250 x293 ----------------------------------------------- On May 27, 2009, at 12:53 PM, Kaplan, Andrew H. wrote: > Hi there -- > > Is it possible to import into a 3.1.0 server the configuration files > that are currently on a 2.6 server? > If so, what steps and/or tools are necessary in order to accomplish > this task? Thanks. > > > > > The information in this e-mail is intended only for the person to > whom it is > addressed. If you believe this e-mail was sent to you in error and > the e-mail > contains patient information, please contact the Partners Compliance > HelpLine at > http://www.partners.org/complianceline . If the e-mail was sent to > you in error > but does not contain patient information, please contact the sender > and properly > dispose of the e-mail. > ------------------------------------------------------------------------------ > Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT > is a gathering of tech-side developers & brand creativity > professionals. Meet > the minds behind Google Creative Lab, Visual Complexity, Processing, & > iPhoneDevCamp as they present alongside digital heavyweights like > Barbarian > Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-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 Thu May 28 00:05:13 2009 From: jaiho8 at gmail.com (Jai Ram) Date: Wed, 27 May 2009 18:05:13 -0400 Subject: Error while accessing the web Interface Message-ID: <9cfff3f00905271505p21be6c86le84a83802f50358@mail.gmail.com> Hello, I have installed nagios on solaris 10. By default the local host is monitored and everything works fine. But when I try to access the Trends, statusmap,alert histogram from the web interface I am having the below error. I checked all the permissions and every thing looks fine. Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, you at yourhost.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 server.mydomain.com Port 80 And from the error log I find the below errors [Wed May 27 18:00:45 2009] [error] [client 10.187.152.223] Premature end of script headers: trends.cgi, referer: http://server.mydomain.com/nagios/side.html [Wed May 27 18:00:48 2009] [error] [client 10.187.152.223] ld.so.1: statusmap.cgi: fatal: libfreetype.so.6: open failed: No such file or directory, referer: http://server.mydomain.com/nagios/side.html [Wed May 27 18:00:48 2009] [error] [client 10.187.152.223] Premature end of script headers: statusmap.cgi, referer: http://server.mydomain.com/nagios/side.html [Wed May 27 18:00:49 2009] [error] [client 10.187.152.223] ld.so.1: histogram.cgi: fatal: libfreetype.so.6: open failed: No such file or directory, referer: http://server.mydomain.com/nagios/side.html Thanks in advance Jai Ram. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-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 Thu May 28 03:20:23 2009 From: jon at netdork.net (Jon Angliss) Date: Wed, 27 May 2009 20:20:23 -0500 Subject: Error while accessing the web Interface References: <9cfff3f00905271505p21be6c86le84a83802f50358@mail.gmail.com> Message-ID: On Wed, 27 May 2009 18:05:13 -0400, Jai Ram wrote: >Hello, > > >I have installed nagios on solaris 10. By default the local host is >monitored and everything works fine. But when I try to access the Trends, >statusmap,alert histogram from the web interface I am having the below >error. I checked all the permissions and every thing looks fine. [..] >[Wed May 27 18:00:49 2009] [error] [client 10.187.152.223] ld.so.1: >histogram.cgi: fatal: libfreetype.so.6: open failed: No such file or >directory, referer: http://server.mydomain.com/nagios/side.html If you're using a package system, you're missing a library to be installed. A quick google for libfreetype.so.6 hints that you might need SUNWfreetype2. -- Jonathan Angliss ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From N.Patil at lntinfotech.com Thu May 28 06:38:05 2009 From: N.Patil at lntinfotech.com (N Patil) Date: Thu, 28 May 2009 10:08:05 +0530 Subject: Error while accessing the web Interface In-Reply-To: References: Message-ID: I am facing same problem but in my case i have installed nagios on RHEL5 and I do know that I require gd libraries. As nagios is already installed do we need to recompile everything again ? like ./configure and some prefix ? \ Thanks, Nilesh Jon Angliss 05/28/2009 06:50 AM To nagios-users at lists.sourceforge.net cc Subject Re: [Nagios-users] Error while accessing the web Interface On Wed, 27 May 2009 18:05:13 -0400, Jai Ram wrote: >Hello, > > >I have installed nagios on solaris 10. By default the local host is >monitored and everything works fine. But when I try to access the Trends, >statusmap,alert histogram from the web interface I am having the below >error. I checked all the permissions and every thing looks fine. [..] >[Wed May 27 18:00:49 2009] [error] [client 10.187.152.223] ld.so.1: >histogram.cgi: fatal: libfreetype.so.6: open failed: No such file or >directory, referer: http://server.mydomain.com/nagios/side.html If you're using a package system, you're missing a library to be installed. A quick google for libfreetype.so.6 hints that you might need SUNWfreetype2. -- Jonathan Angliss ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-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 N.Patil at lntinfotech.com Thu May 28 07:50:22 2009 From: N.Patil at lntinfotech.com (N Patil) Date: Thu, 28 May 2009 11:20:22 +0530 Subject: Test mail - new user In-Reply-To: References: Message-ID: ______________________________________________________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-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 stuart.browne at ausregistry.com.au Thu May 28 08:04:43 2009 From: stuart.browne at ausregistry.com.au (Stuart Browne) Date: Thu, 28 May 2009 16:04:43 +1000 Subject: Nagios 3.1.0 / is_volatile Message-ID: <8CEF048B9EC83748B1517DC64EA130FB3C09A48C58@off-win2003-01.ausregistrygroup.local> Hi, I'm trying to get a passive-checked is_volatile service working. Currently, it accepts the passive result, changes to 'WARNING', but that's the end of it. It doesn't return back to an OK state. Service definition exploded out from templates as follows: define service { parallelize_check 1 freshness_threshold 1 active_checks_enabled 0 passive_checks_enabled 1 obsess_over_service 0 check_freshness 0 notifications_enabled 1 event_handler_enabled 1 flap_detection_enabled 0 failure_prediction_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 is_volatile 1 check_period 24x7 max_check_attempts 1 normal_check_interval 1 retry_check_interval 1 contact_groups admins notification_options w,u,c,r notification_interval 30 notification_period 24x7 check_command check_dummy!0!Nobody Accessed Server Room host_name cam-lock service_description Server Room Access } Has anybody else seen this sort of behaviour before, or am I just missing something with the service configuration? Nagios server quick-sheet: 2 x Dual-Core 3Ghz Xeon 2GB Memory 65GB RAID1 SAS Storage RedHat Enterprise 5 Nagios v3.1.0 (built as RPM, but no source patches) -> 202 Hosts -> 733 Services Any other details needed? Stuart J. Browne ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Sebastian.Ries at dtnet.de Thu May 28 08:20:23 2009 From: Sebastian.Ries at dtnet.de (Sebastian Ries) Date: Thu, 28 May 2009 08:20:23 +0200 Subject: NRPE on OpenSolaris Message-ID: <1243491623.32334.4.camel@bofh.dtnet.de> Hi I'm not that familar with OpenSolaris but we have 2 test machines running on Opensolaris 2008.11 Is there a comfortable way to run nrpe daemon on Opensolaris to monitor these? And are there plugins to monitor zfs mirrors? Regards Sebastian Ries -- ------------------------------------------------------------ DT Netsolution GmbH - Talaeckerstr. 30 - D-70437 Stuttgart Tel: +49-711-849910-36 Fax: +49-711-849910-936 WEB: http://www.dtnet.de/ email: Sebastian.Ries at dtnet.de ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu May 28 11:25:09 2009 From: assaf.flatto at ssp-intl.com (Assaf Flatto) Date: Thu, 28 May 2009 09:25:09 +0000 Subject: NRPE on OpenSolaris In-Reply-To: <1243491623.32334.4.camel@bofh.dtnet.de> References: <1243491623.32334.4.camel@bofh.dtnet.de> Message-ID: <200905280925.09367.assaf.flatto@ssp-intl.com> On Thursday 28 May 2009 06:20:23 Sebastian Ries wrote: > Hi > > I'm not that familar with OpenSolaris but we have 2 test machines > running on Opensolaris 2008.11 > > Is there a comfortable way to run nrpe daemon on Opensolaris to monitor > these? > > And are there plugins to monitor zfs mirrors? > > Regards > Sebastian Ries I have not dealt with Solaris for a while and did not use openSolaris at all but the NRPE can be installed from source , same as on any *nix , but of course you'll have to find the proper software dependencies . as for the zfs , try this page http://www.monitoringexchange.org/cgi-bin/search.cgi?d=1&query=zfs&Go=Go Assaf -- 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 ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 28 14:18:06 2009 From: marc at ena.com (Marc Powell) Date: Thu, 28 May 2009 07:18:06 -0500 Subject: Nagios 3.1.0 / is_volatile In-Reply-To: <8CEF048B9EC83748B1517DC64EA130FB3C09A48C58@off-win2003-01.ausregistrygroup.local> References: <8CEF048B9EC83748B1517DC64EA130FB3C09A48C58@off-win2003-01.ausregistrygroup.local> Message-ID: <4E2D9504-8F1D-4E71-ADAA-1D07D143FD2A@ena.com> On May 28, 2009, at 1:04 AM, Stuart Browne wrote: > Hi, > > I'm trying to get a passive-checked is_volatile service working. > > Currently, it accepts the passive result, changes to 'WARNING', but > that's the end of it. > > It doesn't return back to an OK state. is_volatile doesn't reset the state back to OK. It just controls whether notifications should be processed for every non-OK result received. If you want to reset it to OK you can submit a passive check through the GUI or as part of your notification script, by enabling active checks with check_period none and forcing an active check using your check_dummy through the GUI or enabling active checks and have check_dummy regularly return an OK state. There may be other solutions... -- Marc ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 28 14:21:08 2009 From: marc at ena.com (Marc Powell) Date: Thu, 28 May 2009 07:21:08 -0500 Subject: Error while accessing the web Interface In-Reply-To: References: Message-ID: On May 27, 2009, at 11:38 PM, N Patil wrote: > > I am facing same problem but in my case i have installed nagios on > RHEL5 and I do know that I require gd libraries. > As nagios is already installed do we need to recompile everything > again ? like ./configure and some prefix ? Yes, if you installed the gd/gd-devel libraries and dependencies after compiling nagios or if they were not found. './configure --help' will show you the flags you need to pass (--with-gd-...) -- Marc ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu May 28 15:22:50 2009 From: cristoir at gmail.com (Christopher McAtackney) Date: Thu, 28 May 2009 14:22:50 +0100 Subject: Removing NRPE Daemon In-Reply-To: <200905271614.03312.assaf.flatto@ssp-intl.com> References: <200905271525.26045.assaf.flatto@ssp-intl.com> <200905271614.03312.assaf.flatto@ssp-intl.com> Message-ID: Turns out the problem was that the old NRPE daemon process hadn't been killed before trying to install to the new one. Killing it and reinstalling solved the problem. Cheers, Chris 2009/5/27 Assaf Flatto : > try /etc/init.d/ directory ?- which is the usual place for init scripts > > How do you start the nrpe daemon ? > > Assaf > > > On Wednesday 27 May 2009 14:32:40 Christopher McAtackney wrote: >> Hi Assaf, where can I find the init script for the NRPE daemon? >> >> Cheers, >> Chris >> >> 2009/5/27 Assaf Flatto : >> > When you did the make install - did you also make sure that the ?proper >> > init script was copied and the new binaries were copied over the old one >> > ? >> > >> > What i think you have is two installs of nrpe located in different >> > locations and the init script is calling the old one . >> > >> > check the paths and locations and see what is called when you start the >> > nrpe daemon . >> > >> > Assaf >> > >> > On Wednesday 27 May 2009 13:47:49 Christopher McAtackney wrote: >> >> Hi all, >> >> >> >> I was wondering how to remove the NRPE daemon completely from my >> >> Ubuntu machine? It was compiled without SSL support, and is an older >> >> version, so I'd like to stick 2.12 on w/ SSL. >> >> >> >> I tried just make'ing and install'ing 2.12, but NRPE 2.8.1 is still >> >> running. Do I have to kill it somehow before installing the new >> >> version? >> >> >> >> Cheers, >> >> Chris >> >> >> >> ------------------------------------------------------------------------ >> >>--- --- Register Now for Creativity and Technology (CaT), June 3rd, NYC. >> >> CaT is a gathering of tech-side developers & brand creativity >> >> professionals. Meet the minds behind Google Creative Lab, Visual >> >> Complexity, Processing, & iPhoneDevCamp as they present alongside >> >> digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. >> >> http://p.sf.net/sfu/creativitycat-com >> >> _______________________________________________ >> >> Nagios-users mailing list >> >> Nagios-users at lists.sourceforge.net >> >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> >> >> >> ::: 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 >> > >> > >> > >> > ------------------------------------------------------------------------- >> >----- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT >> > is a gathering of tech-side developers & brand creativity professionals. >> > Meet the minds behind Google Creative Lab, Visual Complexity, Processing, >> > & iPhoneDevCamp as they present alongside digital heavyweights like >> > Barbarian Group, R/GA, & Big Spaceship. >> > http://p.sf.net/sfu/creativitycat-com >> > _______________________________________________ >> > Nagios-users mailing list >> > Nagios-users at lists.sourceforge.net >> > https://lists.sourceforge.net/lists/listinfo/nagios-users >> > >> > ::: 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 > > > > ------------------------------------------------------------------------------ > Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT > is a gathering of tech-side developers & brand creativity professionals. Meet > the minds behind Google Creative Lab, Visual Complexity, Processing, & > iPhoneDevCamp as they present alongside digital heavyweights like Barbarian > Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From N.Patil at lntinfotech.com Thu May 28 15:04:04 2009 From: N.Patil at lntinfotech.com (N Patil) Date: Thu, 28 May 2009 18:34:04 +0530 Subject: Error while accessing the web Interface In-Reply-To: References: Message-ID: Will I loose all my current settings if I reconfigure again? Thanks, Nilesh Marc Powell 05/28/2009 05:51 PM To Nagios Users Mailinglist cc Subject Re: [Nagios-users] Error while accessing the web Interface On May 27, 2009, at 11:38 PM, N Patil wrote: > > I am facing same problem but in my case i have installed nagios on > RHEL5 and I do know that I require gd libraries. > As nagios is already installed do we need to recompile everything > again ? like ./configure and some prefix ? Yes, if you installed the gd/gd-devel libraries and dependencies after compiling nagios or if they were not found. './configure --help' will show you the flags you need to pass (--with-gd-...) -- Marc ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-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 sp at tdchosting.dk Thu May 28 15:49:31 2009 From: sp at tdchosting.dk (Steffen Poulsen) Date: Thu, 28 May 2009 15:49:31 +0200 Subject: How to make check_ntp NOT report its offset performance data using scientific notation? Message-ID: <995380CA30455549A6B8C57CE5A47AE512795F7FEB@TDCHEXBE01.int.tdch.dk> We were wondering, is there any possible way we can avoid having check_nrpe report its offset performance data in scientific notation? We would like to graph the offset under all circumstances, but sometimes it is unfortunately reported as: offset=2.577755367e-05 And this gives us some trouble, as we would of course like to avoid having this graphed as 2.577 seconds (we are currently using NagiosGrapher for graphing). If NagiosGrapher can be tweaked to accept the scientific notation reported, that would be another useful strategy - please enlighten us if you know how to achieve this .. :-) --- Just for curiosity, what we currently do when graphing is accepting only the checks that do not use scientific notation: 2009-05-28 15:32:54 PIPE: fqdn check_ntp offset=2.577755367e-05 offset=2.577755367e-05 2009-05-28 15:32:54 REGEX: 1 blocks for 'check_ntp' found. 2009-05-28 15:32:54 REGEX: graph_value=difference 2009-05-28 15:32:54 REGEX: output=perfdata 2009-05-28 15:32:54 REGEX: regex=m/offset=([-+\d]+\.\d+)(s| |$)/i 2009-05-28 15:32:54 REGEX: perfdata=offset=2.577755367e-05 2009-05-28 15:32:54 REGEX: NO MATCH. Best regards, Steffen Poulsen -- Venlig hilsen / Best regards Steffen Poulsen UNIX System Administrator TDC Hosting A/S Phone: +45 70 26 25 27 E-mail: sp at tdchosting.dk Web: www.tdchosting.dk -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-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 28 15:59:56 2009 From: marc at ena.com (Marc Powell) Date: Thu, 28 May 2009 08:59:56 -0500 Subject: Error while accessing the web Interface In-Reply-To: References: Message-ID: On May 28, 2009, at 8:04 AM, N Patil wrote: > > Will I loose all my current settings if I reconfigure again? No, but you can always back up the etc and var directories of you don't trust... -- Marc ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From N.Patil at lntinfotech.com Thu May 28 15:50:54 2009 From: N.Patil at lntinfotech.com (N Patil) Date: Thu, 28 May 2009 19:20:54 +0530 Subject: Error while configuring NRPE on solaris In-Reply-To: References: Message-ID: Hi everyone, I have successfully installed configure NRPE on Solaris 10 but when I run, /usr/local/nagios/libexec/check_nrpe -H localhost CHECK_NRPE: Error - Could not complete SSL handshake. I have compiled with, ./configure --with-ssl-lib=/usr/sfw/lib --with-ssl-inc=/usr/sfw/include --with-ssl=/usr/sfw I can also see following error on console as well as in /var/adm/messages logs, May 28 19:08:26 solaris10.remotehost.com inetd[24233]: [ID 702911 daemon.error] Failed to set credentials for the inetd_start method of instance svc:/network/nrpe/tcp:default (chdir: No such file or directory) May 28 19:15:27 solaris10.remotehost.com inetd[24241]: [ID 702911 daemon.error] Failed to set credentials for the inetd_start method of instance svc:/network/nrpe/tcp:default (chdir: No such file or directory) I have already tried few solutions after googling but no use. Please help me to resolve this problem. Thanks, Nilesh Larsen & Toubro Infotech Ltd. www.Lntinfotech.com This Document is classified as: L&T Infotech Proprietary L&T Infotech Confidential L&T Infotech Internal Use Only L&T Infotech General Business This Email may contain confidential or privileged information for the intended recipient (s) If you are not the intended recipient, please do not use or disseminate the information, notify the sender and delete it from your system. ______________________________________________________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-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 assaf.flatto at ssp-intl.com Thu May 28 17:20:27 2009 From: assaf.flatto at ssp-intl.com (Assaf Flatto) Date: Thu, 28 May 2009 15:20:27 +0000 Subject: How to make check_ntp NOT report its offset performance data using scientific notation? In-Reply-To: <995380CA30455549A6B8C57CE5A47AE512795F7FEB@TDCHEXBE01.int.tdch.dk> References: <995380CA30455549A6B8C57CE5A47AE512795F7FEB@TDCHEXBE01.int.tdch.dk> Message-ID: <200905281520.27840.assaf.flatto@ssp-intl.com> Hello Can you post your a section of your nagiosgraph.log that shows that data retrieved for the ntp check and the related section from the map file ? Those two things will help a lot . Assaf On Thursday 28 May 2009 13:49:31 Steffen Poulsen wrote: > We were wondering, is there any possible way we can avoid having check_nrpe > report its offset performance data in scientific notation? > > We would like to graph the offset under all circumstances, but sometimes it > is unfortunately reported as: > > offset=2.577755367e-05 > > And this gives us some trouble, as we would of course like to avoid having > this graphed as 2.577 seconds (we are currently using NagiosGrapher for > graphing). > > If NagiosGrapher can be tweaked to accept the scientific notation reported, > that would be another useful strategy - please enlighten us if you know how > to achieve this .. :-) > > --- > > Just for curiosity, what we currently do when graphing is accepting only > the checks that do not use scientific notation: > > 2009-05-28 15:32:54 PIPE: fqdn check_ntp offset=2.577755367e-05 > offset=2.577755367e-05 2009-05-28 15:32:54 REGEX: 1 blocks for 'check_ntp' > found. > 2009-05-28 15:32:54 REGEX: graph_value=difference > 2009-05-28 15:32:54 REGEX: output=perfdata > 2009-05-28 15:32:54 REGEX: regex=m/offset=([-+\d]+\.\d+)(s| |$)/i > 2009-05-28 15:32:54 REGEX: perfdata=offset=2.577755367e-05 > 2009-05-28 15:32:54 REGEX: NO MATCH. > > Best regards, > Steffen Poulsen > > -- > > Venlig hilsen / Best regards > > Steffen Poulsen > UNIX System Administrator > TDC Hosting A/S > Phone: +45 70 26 25 27 > E-mail: sp at tdchosting.dk > Web: www.tdchosting.dk -- 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 ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From abiemeralds at yahoo.com Thu May 28 16:24:23 2009 From: abiemeralds at yahoo.com (emma abi) Date: Thu, 28 May 2009 07:24:23 -0700 (PDT) Subject: Can't do Serial Checks with Nagios 3.0.6 Message-ID: <49650.41797.qm@web53907.mail.re2.yahoo.com> hello Ethan, Really I want to appreciate your work on Nagios it is really a wonderful solution. I have a challenge with monitoring with Nagios 3.0.6. My network diagram is somehow complex and I want Nagios to monitoring it accurately for me. All my remote sites are connected to a Hub while they take Internet access from the head office that is remote. I am at the monitoring office which is different from both the head office and the remotes sites. Since they get their internet access from the headoffice, I want nagios to monitoring it in such a way that once the head office goes down, all remote regardless of the fact that they are not connected to he headoffice directly. How do I do this. I have done a parent/child relationship btw the headoffice and the remotes but the remote still remain up when the headoffice goes down. I have done host dependencies but it is still thesame thing. please help. I am using sles10 SP2 with nagios 3.0.6 with nagiosql, NdoUtils and Nagvis1.4. Expecting your reply cos it is really challenging. thanks ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dmorris at digitalmorris.com Thu May 28 15:41:01 2009 From: dmorris at digitalmorris.com (Derek J. Morris) Date: Thu, 28 May 2009 09:41:01 -0400 (EDT) Subject: Vautour Style on Nagios 3.1.0 Message-ID: <27136.65.107.105.56.1243518061.squirrel@mail.digitalmorris.com> I am having an issue installing this neat style to the UI of Nagios 3.1.0. I wont render correctly when I install it, the sidebar is just text with white backgroud and there is no top bar either. Anybody come across this? ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 28 16:30:40 2009 From: marc at ena.com (Marc Powell) Date: Thu, 28 May 2009 09:30:40 -0500 Subject: How to make check_ntp NOT report its offset performance data using scientific notation? In-Reply-To: <995380CA30455549A6B8C57CE5A47AE512795F7FEB@TDCHEXBE01.int.tdch.dk> References: <995380CA30455549A6B8C57CE5A47AE512795F7FEB@TDCHEXBE01.int.tdch.dk> Message-ID: <61591F4C-87D0-465F-8DEF-80B870EB04DD@ena.com> On May 28, 2009, at 8:49 AM, Steffen Poulsen wrote: > We were wondering, is there any possible way we can avoid having > check_nrpe report its offset performance data in scientific notation? In check_ntp.c, change (around line 820) and recompile -- } else { asprintf(&result_line, "%s %s %.10g secs", result_line, _("Offset"), offset); to } else { asprintf(&result_line, "%s %s %.10f secs", result_line, _("Offset"), offset); YMMV. http://www.cplusplus.com/reference/clibrary/cstdio/printf/ -- Marc ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu May 28 16:51:36 2009 From: jaiho8 at gmail.com (Jai Ram) Date: Thu, 28 May 2009 10:51:36 -0400 Subject: Error while accessing the web Interface In-Reply-To: References: <9cfff3f00905271505p21be6c86le84a83802f50358@mail.gmail.com> Message-ID: <9cfff3f00905280751l5898510cud13f1a3710a94489@mail.gmail.com> Hello, I do have the package SUNWfreetype2 package installed. Am I missing anything. *ldd histogram.cgi* libgd.so.2 => /opt/sfw/lib/libgd.so.2 libiconv.so.2 => /usr/local/lib/libiconv.so.2 libpng12.so.0 => /usr/lib/libpng12.so.0 libjpeg.so.62 => /usr/lib/libjpeg.so.62 libz.so.1 => /usr/lib/libz.so.1 libm.so.2 => /usr/lib/libm.so.2 librt.so.1 => /usr/lib/librt.so.1 libglib-2.0.so.0 => /usr/local/lib/libglib-2.0.so.0 libc.so.1 => /usr/lib/libc.so.1 libXpm.so.4 => /usr/lib/libXpm.so.4 libX11.so.4 => /usr/lib/libX11.so.4 *libfreetype.so.6 => /usr/sfw/lib/libfreetype.so.6* libpng.so.3 => /usr/lib/libpng.so.3 libgcc_s.so.1 => /usr/sfw/lib/libgcc_s.so.1 libaio.so.1 => /usr/lib/libaio.so.1 libmd.so.1 => /usr/lib/libmd.so.1 libXext.so.0 => /usr/lib/libXext.so.0 libsocket.so.1 => /usr/lib/libsocket.so.1 libnsl.so.1 => /usr/lib/libnsl.so.1 libdl.so.1 => /usr/lib/libdl.so.1 libmp.so.2 => /usr/lib/libmp.so.2 libscf.so.1 => /usr/lib/libscf.so.1 libdoor.so.1 => /usr/lib/libdoor.so.1 libuutil.so.1 => /usr/lib/libuutil.so.1 libgen.so.1 => /usr/lib/libgen.so.1 Thanks Jai. On Wed, May 27, 2009 at 9:20 PM, Jon Angliss wrote: > On Wed, 27 May 2009 18:05:13 -0400, Jai Ram wrote: > > >Hello, > > > > > >I have installed nagios on solaris 10. By default the local host is > >monitored and everything works fine. But when I try to access the Trends, > >statusmap,alert histogram from the web interface I am having the below > >error. I checked all the permissions and every thing looks fine. > > [..] > > >[Wed May 27 18:00:49 2009] [error] [client 10.187.152.223] ld.so.1: > >histogram.cgi: fatal: libfreetype.so.6: open failed: No such file or > >directory, referer: http://server.mydomain.com/nagios/side.html > > If you're using a package system, you're missing a library to be > installed. A quick google for libfreetype.so.6 hints that you might > need SUNWfreetype2. > > -- > Jonathan Angliss > > > > > ------------------------------------------------------------------------------ > Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT > is a gathering of tech-side developers & brand creativity professionals. > Meet > the minds behind Google Creative Lab, Visual Complexity, Processing, & > iPhoneDevCamp as they present alongside digital heavyweights like Barbarian > Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Thanks Jai Ram. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-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 brian.hopkins at gilbarco.com Thu May 28 17:16:19 2009 From: brian.hopkins at gilbarco.com (Hopkins, Brian) Date: Thu, 28 May 2009 08:16:19 -0700 Subject: Host and Service Dependencies Message-ID: <426A2F6993D461409ED261A2089EB55D036D06BB@dhrseasvxb05.messaging.danaherad.com> We are currently running into the issue with Nagios that when a host goes down we are getting alerted about all the services on that same host being down as well. Is there a easy way to fix this so that if the host is down we don't get the notifications about all the services on that host? The only thing I know to do is setup all the services on each host to be dependent on the host itself so that if it goes down we won't get alerted, this will just be a lot of work as I will have to update each cfg file for each of our hosts and there are about 200 of them. Any help is appreciated. Thanks Brian Hopkins Gilbarco Veeder-Root System Administrator 336-547-5213 brian.hopkins at gilbarco.com Please be advised that this email may contain confidential information. If you are not the intended recipient, please do not read, copy or re-transmit this email. If you have received this email in error, please notify us by email by replying to the sender and by telephone (call us collect at +1 202-828-0850) and delete this message and any attachments. Thank you in advance for your cooperation and assistance. In addition, Danaher and its subsidiaries disclaim that the content of this email constitutes an offer to enter into, or the acceptance of, any contract or agreement or any amendment thereto; provided that the foregoing disclaimer does not invalidate the binding effect of any digital or other electronic reproduction of a manual signature that is included in any attachment to this email. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-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 assaf.flatto at ssp-intl.com Thu May 28 19:04:22 2009 From: assaf.flatto at ssp-intl.com (Assaf Flatto) Date: Thu, 28 May 2009 17:04:22 +0000 Subject: Host and Service Dependencies In-Reply-To: <426A2F6993D461409ED261A2089EB55D036D06BB@dhrseasvxb05.messaging.danaherad.com> References: <426A2F6993D461409ED261A2089EB55D036D06BB@dhrseasvxb05.messaging.danaherad.com> Message-ID: <200905281704.22446.assaf.flatto@ssp-intl.com> you could try an all encompassing dependency : define servicedependency{ host_name * service_description PING dependent_service_description *,!PING execution_failure_criteria c,p,u notification_failure_criteria c,u,p } This will make every host (*) have all it's services dependent on the PING service . It might not do the trick you want , but it's a place to start. I'd suggest reading these places also : http://nagios.telecity1.uk.ssp/docs/dependencies.html http://nagios.telecity1.uk.ssp/docs/objecttricks.html Assaf On Thursday 28 May 2009 15:16:19 Hopkins, Brian wrote: > We are currently running into the issue with Nagios that when a host > goes down we are getting alerted about all the services on that same > host being down as well. Is there a easy way to fix this so that if the > host is down we don't get the notifications about all the services on > that host? The only thing I know to do is setup all the services on > each host to be dependent on the host itself so that if it goes down we > won't get alerted, this will just be a lot of work as I will have to > update each cfg file for each of our hosts and there are about 200 of > them. > > Any help is appreciated. > > Thanks > > Brian Hopkins > Gilbarco Veeder-Root > System Administrator > 336-547-5213 > brian.hopkins at gilbarco.com > > > > > Please be advised that this email may contain confidential information. > If you are not the intended recipient, please do not read, copy or > re-transmit this email. If you have received this email in error, > please notify us by email by replying to the sender and by telephone > (call us collect at +1 202-828-0850) and delete this message and any > attachments. Thank you in advance for your cooperation and assistance. > > In addition, Danaher and its subsidiaries disclaim that the content of > this email constitutes an offer to enter into, or the acceptance of, > any > contract or agreement or any amendment thereto; provided that the > foregoing disclaimer does not invalidate the binding effect of any > digital or other electronic reproduction of a manual signature that is > included in any attachment to this email. -- 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 ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 28 18:16:04 2009 From: epearce at amberpoint.com (Eric Pearce) Date: Thu, 28 May 2009 09:16:04 -0700 Subject: Error while configuring NRPE on solaris References: Message-ID: This is a nice write-up: http://www.utahsysadmin.com/2008/03/14/configuring-nagios-plugins-nrpe-on-solaris-10/ ----- Original Message ----- From: N Patil To: Nagios Users Mailinglist Sent: Thursday, May 28, 2009 6:50 AM Subject: [Nagios-users] Error while configuring NRPE on solaris Hi everyone, I have successfully installed configure NRPE on Solaris 10 but when I run, /usr/local/nagios/libexec/check_nrpe -H localhost CHECK_NRPE: Error - Could not complete SSL handshake. I have compiled with, ./configure --with-ssl-lib=/usr/sfw/lib --with-ssl-inc=/usr/sfw/include --with-ssl=/usr/sfw I can also see following error on console as well as in /var/adm/messages logs, May 28 19:08:26 solaris10.remotehost.com inetd[24233]: [ID 702911 daemon.error] Failed to set credentials for the inetd_start method of instance svc:/network/nrpe/tcp:default (chdir: No such file or directory) May 28 19:15:27 solaris10.remotehost.com inetd[24241]: [ID 702911 daemon.error] Failed to set credentials for the inetd_start method of instance svc:/network/nrpe/tcp:default (chdir: No such file or directory) I have already tried few solutions after googling but no use. Please help me to resolve this problem. Thanks, Nilesh Larsen & Toubro Infotech Ltd. www.Lntinfotech.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-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 28 18:20:05 2009 From: epearce at amberpoint.com (Eric Pearce) Date: Thu, 28 May 2009 09:20:05 -0700 Subject: Error while accessing the web Interface References: <9cfff3f00905271505p21be6c86le84a83802f50358@mail.gmail.com> <9cfff3f00905280751l5898510cud13f1a3710a94489@mail.gmail.com> Message-ID: I'd suggest adding /usr/sfw/lib to the library path with 'crle' : # crle -u -l /usr/sfw/lib -e ----- Original Message ----- From: Jai Ram To: Jon Angliss Cc: nagios-users at lists.sourceforge.net Sent: Thursday, May 28, 2009 7:51 AM Subject: Re: [Nagios-users] Error while accessing the web Interface Hello, I do have the package SUNWfreetype2 package installed. Am I missing anything. ldd histogram.cgi libgd.so.2 => /opt/sfw/lib/libgd.so.2 libiconv.so.2 => /usr/local/lib/libiconv.so.2 libpng12.so.0 => /usr/lib/libpng12.so.0 libjpeg.so.62 => /usr/lib/libjpeg.so.62 libz.so.1 => /usr/lib/libz.so.1 libm.so.2 => /usr/lib/libm.so.2 librt.so.1 => /usr/lib/librt.so.1 libglib-2.0.so.0 => /usr/local/lib/libglib-2.0.so.0 libc.so.1 => /usr/lib/libc.so.1 libXpm.so.4 => /usr/lib/libXpm.so.4 libX11.so.4 => /usr/lib/libX11.so.4 libfreetype.so.6 => /usr/sfw/lib/libfreetype.so.6 libpng.so.3 => /usr/lib/libpng.so.3 libgcc_s.so.1 => /usr/sfw/lib/libgcc_s.so.1 libaio.so.1 => /usr/lib/libaio.so.1 libmd.so.1 => /usr/lib/libmd.so.1 libXext.so.0 => /usr/lib/libXext.so.0 libsocket.so.1 => /usr/lib/libsocket.so.1 libnsl.so.1 => /usr/lib/libnsl.so.1 libdl.so.1 => /usr/lib/libdl.so.1 libmp.so.2 => /usr/lib/libmp.so.2 libscf.so.1 => /usr/lib/libscf.so.1 libdoor.so.1 => /usr/lib/libdoor.so.1 libuutil.so.1 => /usr/lib/libuutil.so.1 libgen.so.1 => /usr/lib/libgen.so.1 Thanks Jai. On Wed, May 27, 2009 at 9:20 PM, Jon Angliss wrote: On Wed, 27 May 2009 18:05:13 -0400, Jai Ram wrote: >Hello, > > >I have installed nagios on solaris 10. By default the local host is >monitored and everything works fine. But when I try to access the Trends, >statusmap,alert histogram from the web interface I am having the below >error. I checked all the permissions and every thing looks fine. [..] >[Wed May 27 18:00:49 2009] [error] [client 10.187.152.223] ld.so.1: >histogram.cgi: fatal: libfreetype.so.6: open failed: No such file or >directory, referer: http://server.mydomain.com/nagios/side.html If you're using a package system, you're missing a library to be installed. A quick google for libfreetype.so.6 hints that you might need SUNWfreetype2. -- Jonathan Angliss ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Thanks Jai Ram. ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-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 mckinnon at caltech.edu Thu May 28 18:21:52 2009 From: mckinnon at caltech.edu (Aaron McKinnon) Date: Thu, 28 May 2009 09:21:52 -0700 Subject: HTTP and Web Form based Auth Message-ID: <4A1EBA20.6060106@caltech.edu> How are folks checking site functionality with sites that use auth *other* than basic (apache) auth? I didn't find any plugins that support populating forms and posting. Thanks. -Aaron ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu May 28 20:08:33 2009 From: jaiho8 at gmail.com (Jai Ram) Date: Thu, 28 May 2009 14:08:33 -0400 Subject: Error while accessing the web Interface In-Reply-To: References: <9cfff3f00905271505p21be6c86le84a83802f50358@mail.gmail.com> <9cfff3f00905280751l5898510cud13f1a3710a94489@mail.gmail.com> Message-ID: <9cfff3f00905281108n49a2741dnc16274e239e9da37@mail.gmail.com> Thanks Eric, It's working fine after adding crle -u -l /usr/sfw/lib. I would appreciate if you can advise me in regards to the below error. When I try to access trends,statusmap or alert histogram from the web interface I am facing the below error. Whoops! *Error: Could not read object configuration data!* Here are some things you should check in order to resolve this error: 1. Verify configuration options using the *-v* command-line option to check for errors. 2. Check the Nagios log file for messages relating to startup or status data errors. 3. Make sure you've compiled the main program and the CGIs to use the same object data storage options (i.e. default text file or template-based file). Make sure you read the documentation on installing, configuring and running Nagios thoroughly before continuing. If all else fails, try sending a message to one of the mailing lists. More information can be found at http://www.nagios.org. Thanks Jai. On Thu, May 28, 2009 at 12:20 PM, Eric Pearce wrote: > I'd suggest adding /usr/sfw/lib to the library path with 'crle' : > > # crle -u -l /usr/sfw/lib > > -e > > ----- Original Message ----- > *From:* Jai Ram > *To:* Jon Angliss > *Cc:* nagios-users at lists.sourceforge.net > *Sent:* Thursday, May 28, 2009 7:51 AM > *Subject:* Re: [Nagios-users] Error while accessing the web Interface > > Hello, > > I do have the package SUNWfreetype2 package installed. Am I missing > anything. > > *ldd histogram.cgi* > libgd.so.2 => /opt/sfw/lib/libgd.so.2 > libiconv.so.2 => /usr/local/lib/libiconv.so.2 > libpng12.so.0 => /usr/lib/libpng12.so.0 > libjpeg.so.62 => /usr/lib/libjpeg.so.62 > libz.so.1 => /usr/lib/libz.so.1 > libm.so.2 => /usr/lib/libm.so.2 > librt.so.1 => /usr/lib/librt.so.1 > libglib-2.0.so.0 => /usr/local/lib/libglib-2.0.so.0 > libc.so.1 => /usr/lib/libc.so.1 > libXpm.so.4 => /usr/lib/libXpm.so.4 > libX11.so.4 => /usr/lib/libX11.so.4 > *libfreetype.so.6 => /usr/sfw/lib/libfreetype.so.6* > libpng.so.3 => /usr/lib/libpng.so.3 > libgcc_s.so.1 => /usr/sfw/lib/libgcc_s.so.1 > libaio.so.1 => /usr/lib/libaio.so.1 > libmd.so.1 => /usr/lib/libmd.so.1 > libXext.so.0 => /usr/lib/libXext.so.0 > libsocket.so.1 => /usr/lib/libsocket.so.1 > libnsl.so.1 => /usr/lib/libnsl.so.1 > libdl.so.1 => /usr/lib/libdl.so.1 > libmp.so.2 => /usr/lib/libmp.so.2 > libscf.so.1 => /usr/lib/libscf.so.1 > libdoor.so.1 => /usr/lib/libdoor.so.1 > libuutil.so.1 => /usr/lib/libuutil.so.1 > libgen.so.1 => /usr/lib/libgen.so.1 > > > > Thanks > Jai. > > On Wed, May 27, 2009 at 9:20 PM, Jon Angliss wrote: > >> On Wed, 27 May 2009 18:05:13 -0400, Jai Ram wrote: >> >> >Hello, >> > >> > >> >I have installed nagios on solaris 10. By default the local host is >> >monitored and everything works fine. But when I try to access the Trends, >> >statusmap,alert histogram from the web interface I am having the below >> >error. I checked all the permissions and every thing looks fine. >> >> [..] >> >> >[Wed May 27 18:00:49 2009] [error] [client 10.187.152.223] ld.so.1: >> >histogram.cgi: fatal: libfreetype.so.6: open failed: No such file or >> >directory, referer: http://server.mydomain.com/nagios/side.html >> >> If you're using a package system, you're missing a library to be >> installed. A quick google for libfreetype.so.6 hints that you might >> need SUNWfreetype2. >> >> -- >> Jonathan Angliss >> >> >> >> >> ------------------------------------------------------------------------------ >> Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT >> is a gathering of tech-side developers & brand creativity professionals. >> Meet >> the minds behind Google Creative Lab, Visual Complexity, Processing, & >> iPhoneDevCamp as they present alongside digital heavyweights like >> Barbarian >> Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > > > -- > Thanks > Jai Ram. > > ------------------------------ > > > ------------------------------------------------------------------------------ > Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT > is a gathering of tech-side developers & brand creativity professionals. > Meet > the minds behind Google Creative Lab, Visual Complexity, Processing, & > iPhoneDevCamp as they present alongside digital heavyweights like Barbarian > > Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com > > ------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > -- Thanks Jai Ram. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-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 paul.weaver at bbc.co.uk Thu May 28 20:17:28 2009 From: paul.weaver at bbc.co.uk (Paul Weaver) Date: Thu, 28 May 2009 19:17:28 +0100 Subject: HTTP and Web Form based Auth In-Reply-To: <4A1EBA20.6060106@caltech.edu> References: <4A1EBA20.6060106@caltech.edu> Message-ID: > How are folks checking site functionality with sites that use auth > *other* than basic (apache) auth? > I didn't find any plugins that support populating forms and posting. I use a perl script and WWW:Mechanize. Here's a snippet of a check which works on a site that stores you username as a cookie, having entered it on a form. This check will keep that cookie, and only log in (the login process can be very slow, but I want to know how quickly the rest of the site is) if the cookie gets invalidated. I have a similar check that always logs in, without using a cookie. Cookies are stored in /tmp/pluginname.hostname.cookies.dat my $mech = WWW::Mechanize->new( autocheck => 1 ); my $jar = $0; $jar =~ s/.*\///g; $jar .= ".$HOST.cookies.dat"; $mech->cookie_jar(HTTP::Cookies->new(file => "/tmp/$jar", autosave => 1)); foreach my $WIRE (split(/,/,$WIRES)) { my $url = "http://$HOST/wbmain/HHwires.aspx?Wire=$WIRE&view=2"; $mech->get($url); # If we need to log in, do so if ($mech->uri() =~ /loginp.aspx/) { $mech->form_number(1); $mech->field("txtname", "user.name"); $mech->field("txtPassword", "password"); $mech->tick("remembermachine"); $mech->click(); $logins++; } my $content = $mech->content; my $result = 0; foreach (split(/\n/, $content)) { $result++ if (/hhviewwiredetail.aspx/); } $results->{$WIRE} = $result; } -- Paul Weaver Systems Development Engineer News Production Facilities, BBC News 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. ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ton.voon at opsera.com Thu May 28 20:37:29 2009 From: ton.voon at opsera.com (Ton Voon) Date: Thu, 28 May 2009 19:37:29 +0100 Subject: HTTP and Web Form based Auth In-Reply-To: References: <4A1EBA20.6060106@caltech.edu> Message-ID: <7353C3E0-1A62-4A89-ACF9-18FCEAE54337@opsera.com> On 28 May 2009, at 19:17, Paul Weaver wrote: >> How are folks checking site functionality with sites that use auth >> *other* than basic (apache) auth? >> I didn't find any plugins that support populating forms and posting. > > I use a perl script and WWW:Mechanize. Great minds think alike.... :) This seems like a suitable time to mention my new plugin: Nagios::Plugin::WWW::Mechanize(http://search.cpan.org/dist/Nagios-Plugin-WWW-Mechanize/ ) I'll be doing a workshop on this in the conference in Sweden. Bring you web site with your credentials and we'll get a plugin written for you in minutes! (Internet connection permitting) http://nordicmeetonnagios.op5.org/program Ton ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From MPetersen at gs1us.org Thu May 28 21:45:51 2009 From: MPetersen at gs1us.org (Petersen, Mark) Date: Thu, 28 May 2009 15:45:51 -0400 Subject: HTTP and Web Form based Auth In-Reply-To: <4A1EBA20.6060106@caltech.edu> References: <4A1EBA20.6060106@caltech.edu> Message-ID: <54B7F7DBCA12D94CA3FE17B68F1461A70635E9E1@LVNJEVS205.UCCORG.org> I use webinject - http://www.webinject.org/plugin.html. Mark > -----Original Message----- > From: Aaron McKinnon [mailto:mckinnon at caltech.edu] > Sent: Thursday, May 28, 2009 11:22 AM > To: Nagios Users Mailinglist > Subject: [Nagios-users] HTTP and Web Form based Auth > > How are folks checking site functionality with sites that use auth > *other* than basic (apache) auth? > I didn't find any plugins that support populating forms and posting. > > Thanks. > > -Aaron > > ----------------------------------------------------------------------- > ------- > Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT > is a gathering of tech-side developers & brand creativity > professionals. Meet > the minds behind Google Creative Lab, Visual Complexity, Processing, & > iPhoneDevCamp as they present alongside digital heavyweights like > Barbarian > Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From prandal at herefordshire.gov.uk Thu May 28 22:18:00 2009 From: prandal at herefordshire.gov.uk (Randal, Phil) Date: Thu, 28 May 2009 21:18:00 +0100 Subject: HTTP and Web Form based Auth In-Reply-To: <54B7F7DBCA12D94CA3FE17B68F1461A70635E9E1@LVNJEVS205.UCCORG.org> References: <4A1EBA20.6060106@caltech.edu> <54B7F7DBCA12D94CA3FE17B68F1461A70635E9E1@LVNJEVS205.UCCORG.org> Message-ID: <7EF0EE5CB3B263488C8C18823239BEBA03CFAC@HC-MBX02.herefordshire.gov.uk> Same here. I did have to apply this patch to get it to work properly with NTLM authentication: # diff -Naur webinject.pl /usr/local/webinject/webinject.pl --- webinject.pl 2006-01-04 18:10:30.000000000 +0000 +++ /usr/local/webinject/webinject.pl 2008-05-14 11:02:21.000000000 +0100 @@ -80,7 +80,7 @@ whackoldfiles(); #delete files leftover from previous run (do this here so they are whacked each run) #contsruct objects - $useragent = LWP::UserAgent->new; + $useragent = LWP::UserAgent->new(keep_alive=>1); $cookie_jar = HTTP::Cookies->new; $useragent->agent('WebInject'); #http useragent that will show up in webserver logs $useragent->max_redirect('0'); #don't follow redirects for GET's (POST's already don't follow, by default) Cheers, Phil -----Original Message----- From: Petersen, Mark [mailto:MPetersen at gs1us.org] Sent: 28 May 2009 20:46 To: Aaron McKinnon; Nagios Users Mailinglist Subject: Re: [Nagios-users] HTTP and Web Form based Auth I use webinject - http://www.webinject.org/plugin.html. Mark > -----Original Message----- > From: Aaron McKinnon [mailto:mckinnon at caltech.edu] > Sent: Thursday, May 28, 2009 11:22 AM > To: Nagios Users Mailinglist > Subject: [Nagios-users] HTTP and Web Form based Auth > > How are folks checking site functionality with sites that use auth > *other* than basic (apache) auth? > I didn't find any plugins that support populating forms and posting. > > Thanks. > > -Aaron > > ----------------------------------------------------------------------- > ------- > Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT > is a gathering of tech-side developers & brand creativity > professionals. Meet the minds behind Google Creative Lab, Visual > Complexity, Processing, & iPhoneDevCamp as they present alongside > digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. > http://p.sf.net/sfu/creativitycat-com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From abiemeralds at yahoo.com Thu May 28 22:21:24 2009 From: abiemeralds at yahoo.com (emma abi) Date: Thu, 28 May 2009 13:21:24 -0700 (PDT) Subject: Fw: Can't do Serial Checks with Nagios 3.0.6 Message-ID: <84289.6619.qm@web53909.mail.re2.yahoo.com> --- On Thu, 5/28/09, emma abi wrote: > From: emma abi > Subject: Can't do Serial Checks with Nagios 3.0.6 > To: nagios-users at lists.sourceforge.net > Date: Thursday, May 28, 2009, 4:24 PM > hello Ethan, > Really I want to appreciate your work on Nagios it is > really a wonderful solution. > I have a challenge with monitoring with Nagios 3.0.6. > My network diagram is somehow complex and I want Nagios to > monitoring it accurately for me. > > All my remote sites are connected to a Hub while they take > Internet access from the head office that is remote. I am at > the monitoring office which is different from both the head > office and the remotes sites. > > Since they get their internet access from the headoffice, I > want nagios to monitoring it in such a way that once the > head office goes down, all remote regardless of the fact > that they are not connected to he headoffice directly. How > do I do this. > > I have done a parent/child relationship btw the headoffice > and the remotes but the remote still remain up when the > headoffice goes down. I have done host dependencies but it > is still thesame thing. > please help. > I am using sles10 SP2 with nagios 3.0.6 with nagiosql, > NdoUtils and Nagvis1.4. > > Expecting your reply cos it is really challenging. > > thanks > > > > ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From N.Patil at lntinfotech.com Fri May 29 06:12:02 2009 From: N.Patil at lntinfotech.com (N Patil) Date: Fri, 29 May 2009 09:42:02 +0530 Subject: Error while configuring NRPE on solaris In-Reply-To: References: Message-ID: Thanks Thomas, Can you please clarify in brief which services ? and how to update services ? Sorry but I have worked on Redhat and now shifting to Solaris. I will need your help in initial setup. Thanks, Nilesh "Thomas Borneman" 05/28/2009 07:55 PM To "N Patil" cc Subject RE: [Nagios-users] Error while configuring NRPE on solaris Did you update services? --- Thomas W. Borneman SGI - Engineering SysAdmin Phone: 715-726-8414 Fax: 715-726-4345 Cell: 715-559-8414 Email: borno at sgi.com From: N Patil [mailto:N.Patil at lntinfotech.com] Sent: Thursday, May 28, 2009 8:51 AM To: Nagios Users Mailinglist Subject: [Nagios-users] Error while configuring NRPE on solaris Hi everyone, I have successfully installed configure NRPE on Solaris 10 but when I run, /usr/local/nagios/libexec/check_nrpe -H localhost CHECK_NRPE: Error - Could not complete SSL handshake. I have compiled with, ./configure --with-ssl-lib=/usr/sfw/lib --with-ssl-inc=/usr/sfw/include --with-ssl=/usr/sfw I can also see following error on console as well as in /var/adm/messages logs, May 28 19:08:26 solaris10.remotehost.com inetd[24233]: [ID 702911 daemon.error] Failed to set credentials for the inetd_start method of instance svc:/network/nrpe/tcp:default (chdir: No such file or directory) May 28 19:15:27 solaris10.remotehost.com inetd[24241]: [ID 702911 daemon.error] Failed to set credentials for the inetd_start method of instance svc:/network/nrpe/tcp:default (chdir: No such file or directory) I have already tried few solutions after googling but no use. Please help me to resolve this problem. Thanks, Nilesh Larsen & Toubro Infotech Ltd. www.Lntinfotech.com This Document is classified as: L&T Infotech Proprietary L&T Infotech Confidential L&T Infotech Internal Use Only L&T Infotech General Business This Email may contain confidential or privileged information for the intended recipient (s) If you are not the intended recipient, please do not use or disseminate the information, notify the sender and delete it from your system. ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-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 N.Patil at lntinfotech.com Fri May 29 06:13:17 2009 From: N.Patil at lntinfotech.com (N Patil) Date: Fri, 29 May 2009 09:43:17 +0530 Subject: Error while configuring NRPE on solaris In-Reply-To: References: Message-ID: Thanks Eric, I have followed the same article but it dint help. This problem is something which occured at the end, i mean while testing connectivity. Thanks, Nilesh "Eric Pearce" 05/28/2009 09:46 PM To "Nagios Users Mailinglist" , "N Patil" cc Subject Re: [Nagios-users] Error while configuring NRPE on solaris This is a nice write-up: http://www.utahsysadmin.com/2008/03/14/configuring-nagios-plugins-nrpe-on-solaris-10/ ----- Original Message ----- From: N Patil To: Nagios Users Mailinglist Sent: Thursday, May 28, 2009 6:50 AM Subject: [Nagios-users] Error while configuring NRPE on solaris Hi everyone, I have successfully installed configure NRPE on Solaris 10 but when I run, /usr/local/nagios/libexec/check_nrpe -H localhost CHECK_NRPE: Error - Could not complete SSL handshake. I have compiled with, ./configure --with-ssl-lib=/usr/sfw/lib --with-ssl-inc=/usr/sfw/include --with-ssl=/usr/sfw I can also see following error on console as well as in /var/adm/messages logs, May 28 19:08:26 solaris10.remotehost.com inetd[24233]: [ID 702911 daemon.error] Failed to set credentials for the inetd_start method of instance svc:/network/nrpe/tcp:default (chdir: No such file or directory) May 28 19:15:27 solaris10.remotehost.com inetd[24241]: [ID 702911 daemon.error] Failed to set credentials for the inetd_start method of instance svc:/network/nrpe/tcp:default (chdir: No such file or directory) I have already tried few solutions after googling but no use. Please help me to resolve this problem. Thanks, Nilesh Larsen & Toubro Infotech Ltd. www.Lntinfotech.com ______________________________________________________________________ ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-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 joydeep at infoservices.in Fri May 29 09:52:57 2009 From: joydeep at infoservices.in (J. Bakshi) Date: Fri, 29 May 2009 13:22:57 +0530 Subject: How to send notification to non-admin group ? Message-ID: <4A1F9459.3000305@infoservices.in> Dear all, Coming back to the list after a long time. Hope you all are well. I monitor a few remote servers with nagios ( 2.12 ). I have individual cfg file for every remote servers under nagios monitoring. I need to add another email notification for a particular server say serverA. Hence in serverA.cfg I have added the following ```````````````````````````````````````````````````````````` define contact{ contact_name nagios-others alias Nagios Others service_notification_period 24x7 host_notification_period 24x7 service_notification_options w,u,c,r host_notification_options d,r service_notification_commands notify-by-email host_notification_commands host-notify-by-email email xxx at example.com # } define contactgroup{ contactgroup_name others alias Nagios AdminOthers members nagios-others } define host{ name serverA ; The name of this host template use generic-host ; This template inherits other values from the generic-host template check_period 24x7 ; By default, Linux hosts are checked round the clock max_check_attempts 30 ; Check each Linux host 30 times (max) check_command check-host-alive ; Default command to check Linux hosts notification_period workhours ; Linux admins hate to be woken up, so we only notify during the day ; Note that the notification_period variable is being overridden from ; the value that is inherited from the generic-host template! notification_interval 130 ; Resend notification every 2 hours notification_options d,u,r ; Only send notifications for specific host states contact_groups admins,others ; Notifications get sent to the admins by default register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE! } ````````````````````````````````````````````````````````````````````````` After starting nagios I have checked that emails come to me as a member of admins group but no to the another email address ( member of others group ) I have checked it several times; " even nagios -v nagios.cfg " reports no problem but still the another email-id is not getting any mail. Kindly enlighten me what is wrong here. Thanks ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From joydeep at infoservices.in Fri May 29 10:17:45 2009 From: joydeep at infoservices.in (J. Bakshi) Date: Fri, 29 May 2009 13:47:45 +0530 Subject: How to send notification to non-admin group ? Message-ID: <4A1F9A29.8030003@infoservices.in> Dear all, Coming back to the list after a long time. Hope you all are well. I monitor a few remote servers with nagios ( 2.12 ). I have individual cfg file for every remote servers under nagios monitoring. I need to add another email notification for a particular server say serverA. Hence in serverA.cfg I have added the following ```````````````````````````````````````````````````````````` define contact{ contact_name nagios-others alias Nagios Others service_notification_period 24x7 host_notification_period 24x7 service_notification_options w,u,c,r host_notification_options d,r service_notification_commands notify-by-email host_notification_commands host-notify-by-email email xxx at example.com # } define contactgroup{ contactgroup_name others alias Nagios AdminOthers members nagios-others } define host{ name serverA ; The name of this host template use generic-host ; This template inherits other values from the generic-host template check_period 24x7 ; By default, Linux hosts are checked round the clock max_check_attempts 30 ; Check each Linux host 30 times (max) check_command check-host-alive ; Default command to check Linux hosts notification_period workhours ; Linux admins hate to be woken up, so we only notify during the day ; Note that the notification_period variable is being overridden from ; the value that is inherited from the generic-host template! notification_interval 130 ; Resend notification every 2 hours notification_options d,u,r ; Only send notifications for specific host states contact_groups admins,others ; Notifications get sent to the admins by default register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE! } ````````````````````````````````````````````````````````````````````````` After starting nagios I have checked that emails come to me as a member of admins group but no to the another email address ( member of others group ) I have checked it several times; " even nagios -v nagios.cfg " reports no problem but still the another email-id is not getting any mail. Kindly enlighten me what is wrong here. Thanks ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ton.voon at opsera.com Fri May 29 10:26:45 2009 From: ton.voon at opsera.com (Ton Voon) Date: Fri, 29 May 2009 09:26:45 +0100 Subject: New perl module: Nagios::Plugin::WWW::Mechanize Message-ID: <06ACB648-D50B-4BA0-A3C1-C7CD5BF7DFF6@opsera.com> Hi! Just to let you all know there is a new perl module on CPAN: Nagios::Plugin::WWW::Mechanize. You can use this to monitor your website, POSTing your login credentials, navigating through your site, and picking out specific content information. The example shows how I use it to capture the number of users that are subscribed to the opsview-users mailing list, after logging into Mailman's authentication system. News story here: http://nagiosplugins.org/node/102 I'll also be running a workshop on this at the Nordic Meet next week. You'll wonder how you lived without this! See you there! Ton ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 29 10:57:13 2009 From: marc at ena.com (Marc Powell) Date: Fri, 29 May 2009 03:57:13 -0500 Subject: How to send notification to non-admin group ? In-Reply-To: <4A1F9A29.8030003@infoservices.in> References: <4A1F9A29.8030003@infoservices.in> Message-ID: On May 29, 2009, at 3:17 AM, J. Bakshi wrote: > Dear all, > > Coming back to the list after a long time. Hope you all are well. > > I monitor a few remote servers with nagios ( 2.12 ). I have > individual cfg file for every remote servers under nagios > monitoring. I > need to add another email notification for a particular server say > serverA. Hence in serverA.cfg I have added the following > > ```````````````````````````````````````````````````````````` > define contact{ > > } > > define contactgroup{ > > } Nothing obviously wrong above... > define host{ > name serverA ; The name of this host template > notification_period workhours ; Linux admins hate to be woken > up, so we only notify during the day This is a restriction. Did it meet your test criteria? > contact_groups admins,others ; Notifications get sent to > the admins by default > register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A > REAL > HOST, JUST A TEMPLATE! This is a template, not a usable definition. Does the host{} definition that uses this template override the contact_groups parameter? Other than those, does nagios.log show notifications to the contact? Nagios was restarted after making these changes? -- Marc ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From joydeep at infoservices.in Fri May 29 11:55:48 2009 From: joydeep at infoservices.in (J. Bakshi) Date: Fri, 29 May 2009 15:25:48 +0530 Subject: How to send notification to non-admin group ? In-Reply-To: References: <4A1F9A29.8030003@infoservices.in> Message-ID: <4A1FB124.2070905@infoservices.in> Marc Powell wrote: > On May 29, 2009, at 3:17 AM, J. Bakshi wrote: > > >> Dear all, >> >> Coming back to the list after a long time. Hope you all are well. >> >> I monitor a few remote servers with nagios ( 2.12 ). I have >> individual cfg file for every remote servers under nagios >> monitoring. I >> need to add another email notification for a particular server say >> serverA. Hence in serverA.cfg I have added the following >> >> ```````````````````````````````````````````````````````````` >> define contact{ >> > > >> } >> >> define contactgroup{ >> > > >> } >> > > Nothing obviously wrong above... > > >> define host{ >> name serverA ; The name of this host template >> > > >> notification_period workhours ; Linux admins hate to be woken >> up, so we only notify during the day >> > > This is a restriction. Did it meet your test criteria? > > >> contact_groups admins,others ; Notifications get sent to >> the admins by default >> register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A >> REAL >> HOST, JUST A TEMPLATE! >> > > This is a template, not a usable definition. Does the host{} > definition that uses this template override the contact_groups > parameter? > > Other than those, does nagios.log show notifications to the contact? > Nagios was restarted after making these changes? > Hello Marc, yes, I have restarted the nagios a no. of times but no success. Regarding the host defination I have already posted it in my previous post. There is a noticeable line like contact_groups admins,others ; Notifications get sent to the admins by default ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ is there anything which prevents my non admin group ? > -- > Marc > > ------------------------------------------------------------------------------ > Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT > is a gathering of tech-side developers & brand creativity professionals. Meet > the minds behind Google Creative Lab, Visual Complexity, Processing, & > iPhoneDevCamp as they present alongside digital heavyweights like Barbarian > Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From werner.flamme at ufz.de Fri May 29 14:53:00 2009 From: werner.flamme at ufz.de (Werner Flamme) Date: Fri, 29 May 2009 14:53:00 +0200 Subject: SAP-CCMS Patterns In-Reply-To: <2e6044170905201312v2a1ca639x20ce13f5c38e2122@mail.gmail.com> References: <2e6044170905201312v2a1ca639x20ce13f5c38e2122@mail.gmail.com> Message-ID: <4A1FDAAC.1000609@ufz.de> Matthew Rivet [20.05.2009 22:12]: > I am in need of the correct pattern strings for SAP-CCMS plugins. I have > tried what I assumed to be the correct patterns but they do not work. > > The patterns I am looking for are: > > Dialog Response Time > > Long Runners > > DB Request Time > > Oracle Buffer Cache Ratio > > LastR3Backup > > Last Trans Backup > > Thanks for the help! Since this is different and depends on the underlying NetWeaver version, the question is not easy to answer. As a start, I suggest you add the following template to your agent.cfg: [TEMPLATE_testme] MONI_SET_NAME = "SAP CCMS Technical Expert Monitors" MONI_NAME = "All Contexts on Local Application Server" PATTERN_0 = "*" Then you use "check_sap_cons testme SID" and you will get a long list of all available items. You may use an asterisk for abbreviation, like [TEMPLATE_systemfull] MONI_SET_NAME = "SAP CCMS Technical Expert Monitors" MONI_NAME = "All Contexts on Local Application Server" PATTERN_0 = "*\SYSTEM\Free space" HTH Werner This works for me on NetWeaver 2004 (6.40). ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 29 16:11:17 2009 From: marc at ena.com (Marc Powell) Date: Fri, 29 May 2009 09:11:17 -0500 Subject: How to send notification to non-admin group ? In-Reply-To: <4A1FB124.2070905@infoservices.in> References: <4A1F9A29.8030003@infoservices.in> <4A1FB124.2070905@infoservices.in> Message-ID: <94122085-94D2-4E1F-8D23-300108EAA083@ena.com> On May 29, 2009, at 4:55 AM, J. Bakshi wrote: >>> contact_groups admins,others ; Notifications get sent to >>> the admins by default >>> register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A >>> REAL >>> HOST, JUST A TEMPLATE! > yes, I have restarted the nagios a no. of times but no success. > Regarding the host defination I have already posted it in my > previous post. What you posted originally was not a host definition but rather a host _template_. The difference is critical and you even explain it in ALL CAPS above. The 'register 0' means that nagios isn't supposed to treat it as a host to check but rather as something that will be referenced in a subsequent host definition with a 'use' statement. Find where you 'use serverA' and look at that definition. If contact_groups is defined there, what's used in the template doesn't matter. > There is a noticeable line like > > contact_groups admins,others ; Notifications get sent to the > admins by default > ^ > ^ > ^ > ^ > ^ > ^ > ^ > ^ > ^ > ^ > ^ > ^ > ^ > ^ > ^ > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ This wouldn't matter if the actual host definition overrides it. That's what I'm trying to determine. > is there anything which prevents my non admin group ? Nothing outside of a configuration or logic error would. admins, non- admins, it's all the same to nagios. -- Marc ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 29 16:31:02 2009 From: nccomp at gmail.com (Andrew Davis) Date: Fri, 29 May 2009 10:31:02 -0400 Subject: Error while configuring NRPE on solaris In-Reply-To: References: Message-ID: <4A1FF1A6.7070306@gmail.com> FYI: I had lots of issues getting NRPE working on Solaris x86 and Sparc and with OpenSolaris. I had lots of compiling a library errors, but after I got past those I continued to have issues getting NRPE to start from inetd/xinetd. I eventually just used check_by_ssh... 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 N Patil wrote: > > Hi everyone, > > I have successfully installed configure NRPE on Solaris 10 but when I > run, > /usr/local/nagios/libexec/check_nrpe -H localhost > CHECK_NRPE: Error - Could not complete SSL handshake. > > I have compiled with, > ./configure --with-ssl-lib=/usr/sfw/lib > --with-ssl-inc=/usr/sfw/include --with-ssl=/usr/sfw > > I can also see following error on console as well as in > /var/adm/messages logs, > May 28 19:08:26 solaris10.remotehost.com inetd[24233]: [ID 702911 > daemon.error] Failed to set credentials for the inetd_start method of > instance svc:/network/nrpe/tcp:default (chdir: No such file or directory) > May 28 19:15:27 solaris10.remotehost.com inetd[24241]: [ID 702911 > daemon.error] Failed to set credentials for the inetd_start method of > instance svc:/network/nrpe/tcp:default (chdir: No such file or directory) > > I have already tried few solutions after googling but no use. > > Please help me to resolve this problem. > > Thanks, > Nilesh > * > Larsen & Toubro Infotech Ltd.*_ > __www.Lntinfotech.com_ > > This Document is classified as: > > L&T Infotech Proprietary L&T Infotech Confidential L&T Infotech > Internal Use Only L&T Infotech General Business > > This Email may contain confidential or privileged information for the > intended recipient (s) If you are not the intended recipient, please > do not use or disseminate the information, notify the sender and > delete it from your system. > ______________________________________________________________________ > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT > is a gathering of tech-side developers & brand creativity professionals. Meet > the minds behind Google Creative Lab, Visual Complexity, Processing, & > iPhoneDevCamp as they present alongside digital heavyweights like Barbarian > Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-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 Fri May 29 16:28:37 2009 From: nccomp at gmail.com (Andrew Davis) Date: Fri, 29 May 2009 10:28:37 -0400 Subject: Vautour Style on Nagios 3.1.0 In-Reply-To: <27136.65.107.105.56.1243518061.squirrel@mail.digitalmorris.com> References: <27136.65.107.105.56.1243518061.squirrel@mail.digitalmorris.com> Message-ID: <4A1FF115.2060904@gmail.com> FWIW: it says specifically that its for Nagios 3.0.x, not 3.1.x We can both hope and assume it would work, but until the dev or another makes it work, there's no guarantees. 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 Derek J. Morris wrote: > I am having an issue installing this neat style to the UI of Nagios 3.1.0. I > wont render correctly when I install it, the sidebar is just text with white > backgroud and there is no top bar either. Anybody come across this? > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-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 29 16:39:51 2009 From: marc at ena.com (Marc Powell) Date: Fri, 29 May 2009 09:39:51 -0500 Subject: General tcp_check question In-Reply-To: <4A1FEF1E.3030506@iris.uh.cu> References: <20090225111348.ii3ff1d0gg0o0o00@mail.lintelindia.com><16b031c0902251309u3ca03806k409392cd24ca3e03@mail.gmail.com> <2A7D8737529C490D9354C619B662090C@linuxbug> <68ECDAE9-1F04-4B5B-A5BC-9DE79AE5F832@ena.com> <4A1FEF1E.3030506@iris.uh.cu> Message-ID: <47112A31-C5DF-4F20-94A1-E8F47B71B086@ena.com> Hi Sergio. Please always send to nagios-users instead of me directly. More below -- On May 29, 2009, at 9:20 AM, Sergio Ariel wrote: > I have read this from an answer you did once (talking about > check_tcp plugin): > >> It's making a TCP connection to port XXXX and seeing if it gets a >> connection, nothing more. -- >> Marc > > I'm trying to use this plugin to check a proxy service in some > secondary servers I have under my main proxy server, I mean, I try > to connect to 3128 port at each of these secondary proxy servers, > but I want to use -e option that check_tcp bring. I don't know what > to send to sever in order it respond me with any page, for example > an error page in which I can read the domain name of the server. > Any advice? Use check_http instead. It's much better suited to this task. For example, I use -- define command { command_name check_caching command_line $USER1$/check_http -H www.ena.com - I $HOSTADDRESS$ --onredirect follow -p 8080 -wt 20 -ct 30 -to 35 -u http://www.ena.com -R \/html } This translates to 'ask the proxy at $HOSTADDRESS$ on port 8080 to get the index page at http://www.ena.com, follow any redirects received and look for the string "/html" in the page.' -- Marc ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri May 29 17:55:15 2009 From: epearce at amberpoint.com (Eric Pearce) Date: Fri, 29 May 2009 08:55:15 -0700 Subject: Error while configuring NRPE on solaris References: Message-ID: >From: N Patil >To: Eric Pearce >Cc: Nagios Users Mailinglist >Sent: Thursday, May 28, 2009 9:13 PM >Subject: Re: [Nagios-users] Error while configuring NRPE on solaris > >Thanks Eric, >I have followed the same article but it dint help. This problem is >something which occured at the end, i mean while testing connectivity. > >Thanks, >Nilesh >May 28 19:15:27 solaris10.remotehost.com inetd[24241]: [ID 702911 >daemon.error] Failed to set credentials for the inetd_start method of > >instance svc:/network/nrpe/tcp:default (chdir: No such file or directory) I'm just guessing, but do you have a home directory for the nagios user (with owner and group set to nagios)? The "chdir" error might come from this. -e ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Steve.Onotsky at broadridge.com Fri May 29 18:03:54 2009 From: Steve.Onotsky at broadridge.com (Onotsky, Steve x55328) Date: Fri, 29 May 2009 12:03:54 -0400 Subject: New perl module: Nagios::Plugin::WWW::Mechanize In-Reply-To: <06ACB648-D50B-4BA0-A3C1-C7CD5BF7DFF6@opsera.com> References: <06ACB648-D50B-4BA0-A3C1-C7CD5BF7DFF6@opsera.com> Message-ID: <30A417B62E7EE448B3864ADC881CEFD608FD0CC9@missemsa01.bsg.ad.adp.com> > -----Original Message----- > From: Ton Voon [mailto:ton.voon at opsera.com] > Sent: May 29, 2009 04:27 > To: Nagios Users Mailinglist > Subject: [Nagios-users] New perl module: Nagios::Plugin::WWW::Mechanize > > Hi! > > Just to let you all know there is a new perl module on CPAN: > Nagios::Plugin::WWW::Mechanize. > > You can use this to monitor your website, POSTing your login > credentials, navigating through your site, and picking out specific > content information. The example shows how I use it to capture the > number of users that are subscribed to the opsview-users mailing list, > after logging into Mailman's authentication system. > > News story here: http://nagiosplugins.org/node/102 Cheers! This is exactly the thing I'd been waiting for. Yes, I know I could use webinject, but I'm much happier with a Perl interface. Thanks! > I'll also be running a workshop on this at the Nordic Meet next week. > You'll wonder how you lived without this! See you there! > > Ton This message and any attachments are intended only for the use of the addressee and may contain information that is privileged and confidential. If the reader of the message is not the intended recipient or an authorized representative of the intended recipient, you are hereby notified that any dissemination of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail and delete the message and any attachments from your system. ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri May 29 18:14:27 2009 From: paul.weaver at bbc.co.uk (Paul Weaver) Date: Fri, 29 May 2009 17:14:27 +0100 Subject: WMI/WQL querying of HP boxes with Insight Manager Message-ID: While it's not specifically a nagios question, it's related to plugins. After an afternoon of tearing my hair out, I've confirmed that I really hate windows. However, after finding a nice little package to query WMI from linux (wmi-client, it's tied into samba), I had hopes of interrorgating the HP Insight Manager we have installed on many boxes. Unfortunatly I can't find any examples of using WQL to query it, and while the information I can get out of windows (number of sticks of physical memory), is great for our cmdb, it's not something I really want to monitor with nagios. Has anyone got any experience with using WMI, specifically in talking to HP? (I want to monitor some boxes that I can't install anything on, even snmp, let alone npre or our own agents) 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. ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From luc at suryo.com Fri May 29 18:37:22 2009 From: luc at suryo.com (Luc I. Suryo) Date: Fri, 29 May 2009 09:37:22 -0700 Subject: Error while configuring NRPE on solaris In-Reply-To: References: Message-ID: <20090529163722.GA395@carrera> fyi I have been using nagios and nrpe 9-10 years now; sparc and x86, started back with solaris 7 and now soalris 10, zero error.... mix solaris, aix, hpux, linux. The server has always been Solaris (sparc or x86), use inetd/xinetd/deamon mode again zero error The one 'problem' i have seen people complain about is ssl and nrpe, read the manual and it should pretty clear what todo, 99.9% is almost the use not having doing some RTFM thingy :) The other one is tcp-wrapper and nrpe, nrpe has a access control buildt-in so I never understood one would need to use tcp-wrapper :) -ls > > >From: N Patil > >To: Eric Pearce > >Cc: Nagios Users Mailinglist > >Sent: Thursday, May 28, 2009 9:13 PM > >Subject: Re: [Nagios-users] Error while configuring NRPE on solaris > > > >Thanks Eric, > >I have followed the same article but it dint help. This problem is > >something which occured at the end, i mean while testing connectivity. > > > >Thanks, > >Nilesh > > >May 28 19:15:27 solaris10.remotehost.com inetd[24241]: [ID 702911 > >daemon.error] Failed to set credentials for the inetd_start method of > > >instance svc:/network/nrpe/tcp:default (chdir: No such file or directory) > > I'm just guessing, but do you have a home directory for the nagios user > (with owner and group set to nagios)? > The "chdir" error might come from this. > -e ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 29 19:44:16 2009 From: srianirudh at gmail.com (Anirudh Srinivasan) Date: Fri, 29 May 2009 13:44:16 -0400 Subject: error while configuring nagios plugins 1.4.9 Message-ID: <699b436a0905291044jc7ed9c1k5673ee33edd69226@mail.gmail.com> Hello Nagios Experts, While installing Nagios Plugins 1.4.9 i see the following errors : # ./configure --libexecdir=/usr/lib/nagios/plugins --with-nagios-user=nagios --with-nagios-group=nagios checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... configure: error: cannot run C compiled programs. If you meant to cross compile, use `--host'. See `config.log' for more details. Then check config .log : The CORE TEST portion shows : ## ----------- ## ## Core tests. ## ## ----------- ## configure:1626: checking for a BSD-compatible install configure:1681: result: /usr/bin/install -c configure:1692: checking whether build environment is sane configure:1735: result: yes configure:1800: checking for gawk configure:1816: found /bin/gawk configure:1826: result: gawk configure:1836: checking whether make sets $(MAKE) configure:1856: result: yes configure:2032: checking build system type configure:2050: result: x86_64-unknown-linux-gnu configure:2058: checking host system type configure:2072: result: x86_64-unknown-linux-gnu configure:2162: checking for gcc configure:2178: found /usr/bin/gcc configure:2188: result: gcc configure:2432: checking for C compiler version configure:2435: gcc --version &5 gcc32 (GCC) 3.2.3 20030502 (Red Hat Linux 3.2.3-47.3) Copyright (C) 2002 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:2438: $? = 0 configure:2440: gcc -v &5 Reading specs from /usr/lib/gcc-lib/x86_64-redhat-linux/3.2.3/specs Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enab le-__cxa_atexit --enable-languages=c,c++ --disable-libgcj --host=x86_64-redhat-linux Thread model: posix gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-47.3) configure:2443: $? = 0 configure:2445: gcc -V &5 gcc32: argument to `-V' is missing configure:2448: $? = 1 configure:2471: checking for C compiler default output file name configure:2474: gcc conftest.c >&5 /usr/bin/ld: skipping incompatible /usr/lib/gcc-lib/i386-redhat-linux/2.96/libgcc.a when searching for -lgcc /usr/bin/ld: skipping incompatible /usr/lib/gcc-lib/i386-redhat-linux/2.96/libgcc.a when searching for -lgcc /usr/bin/ld: warning: i386 architecture of input file `/usr/lib/gcc-lib/i386-redhat-linux/2.96/crtbegin.o' is incompatible with i386:x86-64 output /usr/bin/ld: warning: i386 architecture of input file `/usr/lib/gcc-lib/i386-redhat-linux/2.96/crtend.o' is incompatible with i386:x86-64 output configure:2477: $? = 0 configure:2523: result: a.out configure:2528: checking whether the C compiler works configure:2534: ./a.out ./configure: line 2535: 23494 Segmentation fault ./$ac_file configure:2537: $? = 139 configure:2546: error: cannot run C compiled programs. Any help would be highly appreciated. Thanks in Adv -- Anirudh Srinivasan -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-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 mirde at oppy.com Fri May 29 20:03:36 2009 From: mirde at oppy.com (Mirza Dedic) Date: Fri, 29 May 2009 11:03:36 -0700 Subject: Trying to use NSClient's counters... Message-ID: Hello, I have a few boxes where I would like to check deeper in for performance counters such as our Exchange 2007 Server.. I am trying to run.. #Exchange Connection Count define command{ command_name check_nt_exchange_connection_count command_line $USER1$/check_nt -H $HOSTADDRESS$ -s password -p 12489 -v COUNTER -l "\\MSExchangeIS\\Connection Count" -w 100 -c 250 } #Exchange Delivery Time define command{ command_name check_nt_exchange_delivery_time command_line $USER1$/check_nt -H $HOSTADDRESS$ -s password -p 12489 -v COUNTER -l "\\MSExchangeIS(_Average Delivery Time)\\%%Usage","Average Delivery Time is %.2f%%" -w 2 -c 10 } #Exchange Maximum Users define command{ command_name check_nt_exchange_maximum_users command_line $USER1$/check_nt -H $HOSTADDRESS$ -s password -p 12489 -v COUNTER -l "\\MSExchangeIS\\Connection Count" -w 100 -c 250 } #Exchange Messages Delivered/Minute 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 } But I can't seem to get any proper responses.. what I get is.. 0 This makes no sense? On the NSClient++ log... 2009-05-29 11:02:18: debug:.\NSClientListener.cpp:146: Data: xr1p71c&8&MSExchangeIS Mailbox(_Total)\Messages Delivered/min 2009-05-29 11:02:18: debug:.\NSClientListener.cpp:171: Data: MSExchangeIS Mailbox(_Total)\Messages Delivered/min 2009-05-29 11:02:18: debug:.\NSClient++.cpp:910: Injecting: checkCounter: Counter=MSExchangeIS Mailbox(_Total)\Messages Delivered/min, nsclient 2009-05-29 11:02:18: error:.\CheckSystem.cpp:1019: ERROR: Counter not found: MSExchangeIS Mailbox(_Total)\Messages Delivered/min: The counter path string could not be parsed. 2009-05-29 11:02:18: error:.\CheckSystem.cpp:1021: ERROR: Counter not found: MSExchangeIS Mailbox(_Total)\Messages Delivered/min: The counter path string could not be parsed. 2009-05-29 11:02:18: error:.\CheckSystem.cpp:1050: ERROR: MSExchangeIS Mailbox(_Total)\Messages Delivered/min: PdhAddCounter failed: -1073738816: Unable to parse the counter path. Check the format and syntax of the specified path. (MSExchangeIS Mailbox(_Total)\Messages Delivered/min|MSExchangeIS Mailbox(_Total)\Messages Delivered/min) 2009-05-29 11:02:18: debug:.\NSClient++.cpp:946: Injected Result: WARNING '0' 2009-05-29 11:02:18: debug:.\NSClient++.cpp:947: Injected Performance Result: '' Any idea? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-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 alexus at gmail.com Fri May 29 21:03:48 2009 From: alexus at gmail.com (alexus) Date: Fri, 29 May 2009 15:03:48 -0400 Subject: ../include/config.h:315:18: error: ltdl.h: No suchfile or directory In-Reply-To: <8147CCE3C4A8764DA9980125EE70E8239A20FC@nuexchg.norwich.edu> References: <6ae50c2d0903061107p565cc754h5e31a5b10c222fd6@mail.gmail.com> <8147CCE3C4A8764DA9980125EE70E8239A20FC@nuexchg.norwich.edu> Message-ID: <6ae50c2d0905291203x37f2f5f5i76191ce207f579a6@mail.gmail.com> On Fri, Mar 6, 2009 at 3:22 PM, James Pratt wrote: > > >> -----Original Message----- >> From: alexus [mailto:alexus at gmail.com] >> Sent: Friday, March 06, 2009 2:08 PM >> To: nagios-user Mailinglist >> Subject: [Nagios-users] ../include/config.h:315:18: error: ltdl.h: No > suchfile or >> directory >> >> root at lama /usr/local/src/nagios-3.0.6 586$ ./configure >> LDFLAGS=-L/usr/local/lib CPPFLAGS=-I/usr/local/include >> checking for a BSD-compatible install... /usr/bin/install -c >> checking build system type... x86_64-unknown-freebsd7.1 >> checking host system type... x86_64-unknown-freebsd7.1 >> checking for gcc... gcc >> checking for C compiler default output file name... a.out >> checking whether the C compiler works... yes > > > Err.. you can just send us the error instead of the whole configure > script output... > > ?... Google is your friend: > > http://www.google.com/search?hl=en&q=ltdl.h%3A+No+such+file+or+directory > +%22nagios%22&btnG=Search > > > regards, > jamie > root at lama /usr/local/src/nagios-3.1.0 530$ ./configure LDFLAGS=-L/usr/local/lib CPPFLAGS=-I/usr/local/include checking for a BSD-compatible install... /usr/bin/install -c checking build system type... x86_64-unknown-freebsd7.2 checking host system type... x86_64-unknown-freebsd7.2 checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking whether make sets $(MAKE)... yes checking for strip... /usr/bin/strip checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking whether time.h and sys/time.h may both be included... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking ctype.h usability... yes checking ctype.h presence... yes checking for ctype.h... yes checking dirent.h usability... yes checking dirent.h presence... yes checking for dirent.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking grp.h usability... yes checking grp.h presence... yes checking for grp.h... yes checking libgen.h usability... yes checking libgen.h presence... yes checking for libgen.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking math.h usability... yes checking math.h presence... yes checking for math.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking pthreads.h usability... no checking pthreads.h presence... no checking for pthreads.h... no checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking regex.h usability... yes checking regex.h presence... yes checking for regex.h... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking socket.h usability... no checking socket.h presence... no checking for socket.h... no checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking sys/mman.h usability... yes checking sys/mman.h presence... yes checking for sys/mman.h... yes checking for sys/types.h... (cached) yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking for sys/wait.h... (cached) yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking for sys/stat.h... (cached) yes checking sys/timeb.h usability... yes checking sys/timeb.h presence... yes checking for sys/timeb.h... yes checking sys/un.h usability... yes checking sys/un.h presence... yes checking for sys/un.h... yes checking sys/ipc.h usability... yes checking sys/ipc.h presence... yes checking for sys/ipc.h... yes checking sys/msg.h usability... yes checking sys/msg.h presence... yes checking for sys/msg.h... yes checking sys/poll.h usability... yes checking sys/poll.h presence... yes checking for sys/poll.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking uio.h usability... no checking uio.h presence... no checking for uio.h... no checking for unistd.h... (cached) yes checking for an ANSI C-conforming const... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for struct tm.tm_zone... yes checking for mode_t... yes checking for pid_t... yes checking for size_t... yes checking return type of signal handlers... void checking for uid_t in sys/types.h... yes checking type of array argument to getgroups... gid_t checking for va_copy... yes checking for vsnprintf... yes checking for snprintf... yes checking for asprintf... yes checking for vasprintf... yes checking for C99 vsnprintf... yes checking for initgroups... yes checking for setenv... yes checking for strdup... yes checking for strstr... yes checking for strtoul... yes checking for unsetenv... yes checking for type of socket size... size_t checking for pthread_create in -lcma... no checking for pthread_create in -lpthread... yes checking for library containing nanosleep... none required checking for mail... /usr/bin/mail We'll use default routines (in xdata/xsddefault.*) for status data I/O... We'll use default routines (in xdata/xcddefault.*) for comment data I/O... We'll use default routines (in xdata/xrddefault.*) for retention data I/O... We'll use template-based routines (in xdata/xodtemplate.*) for object data I/O... We'll use default routines (in xdata/xpddefault.*) for performance data I/O... We'll use default routines (in xdata/xdddefault.*) for scheduled downtime data I/O... checking for main in -liconv... yes checking for gdImagePng in -lgd (order 1)... no checking for gdImagePng in -lgd (order 2)... yes GD library was found! checking ltdl.h usability... yes checking ltdl.h presence... yes checking for ltdl.h... yes checking for lt_dlinit in -lltdl... yes checking for extra flags needed to export symbols... -Wl,-export-dynamic checking for linker flags for loadable modules... -shared checking for traceroute... /usr/sbin/traceroute checking for type va_list... yes checking for perl... /usr/bin/perl configure: creating ./config.status config.status: creating Makefile config.status: creating subst config.status: creating pkginfo config.status: creating base/Makefile config.status: creating common/Makefile config.status: creating contrib/Makefile config.status: creating cgi/Makefile config.status: creating html/Makefile config.status: creating module/Makefile config.status: creating xdata/Makefile config.status: creating daemon-init config.status: creating include/config.h config.status: include/config.h is unchanged config.status: creating include/snprintf.h config.status: include/snprintf.h is unchanged config.status: creating include/cgiutils.h config.status: include/cgiutils.h is unchanged Creating sample config files in sample-config/ ... *** Configuration summary for nagios 3.1.0 01-25-2009 ***: General Options: ------------------------- Nagios executable: nagios Nagios user/group: nagios,nagios Command user/group: nagios,nagios Embedded Perl: no Event Broker: yes Install ${prefix}: /usr/local/nagios Lock file: ${prefix}/var/nagios.lock Check result directory: ${prefix}/var/spool/checkresults Init directory: /usr/local/etc/rc.d Apache conf.d directory: /etc/httpd/conf.d Mail program: /usr/bin/mail Host OS: freebsd7.2 Web Interface Options: ------------------------ HTML URL: http://localhost/nagios/ CGI URL: http://localhost/nagios/cgi-bin/ Traceroute (used by WAP): /usr/sbin/traceroute Review the options above for accuracy. If they look okay, type 'make all' to compile the main program and CGIs. root at lama /usr/local/src/nagios-3.1.0 531$ -- http://alexus.org/ ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ck at iphh.net Fri May 29 22:05:38 2009 From: ck at iphh.net (Christoph =?iso-8859-1?q?Kl=FCnter?=) Date: Fri, 29 May 2009 22:05:38 +0200 Subject: Monitoring ipv6 enabled hosts Message-ID: <200905292205.39231.ck@iphh.net> Hi, Since ipv6-enabled hosts usually have two IPs (v4 and v6), i wonder what is the best way to monitor both IPs for one host. I can use the $HOSTADDRESS$ in the service only for either the ipv6 or the ipv4 addresses. At the moment I just have two different hosts. How do you do it ? cheers, Christoph ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jsullivan at mndigital.com Sat May 30 00:52:11 2009 From: jsullivan at mndigital.com (Janet Sullivan) Date: Fri, 29 May 2009 15:52:11 -0700 Subject: Nagios and Cacti integration Message-ID: <639A81928082A94DA5EC95A8E723B94938BC15@SEAMAIL01.musicnet.com> Right now I have PNP graphing Nagios perf data, but I miss the added functionality of Cacti. Are people here feeding Nagios perfdata into Cacti? If so, how are you doing it? Janet Sullivan, Sr. Network Engineer MusicNet, Inc. d/b/a MediaNet Digital, Inc. 2401 Elliott Avenue, Suite 300 Seattle, WA 98121 T (206) 269-6020 * F (206) 269-6100 * jsullivan at mndigital.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-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 yazz.atlas at gmail.com Sat May 30 01:48:41 2009 From: yazz.atlas at gmail.com (Yazz Atlas) Date: Fri, 29 May 2009 16:48:41 -0700 Subject: Problem setting up a Distributed Nagios Message-ID: <4A207459.7010303@gmail.com> I'm having a trouble getting a distributed Nagios setup working. I've been reading the doc's and searching the web and haven't found a solution yet. I'm running on Cento5.3 using the RPM package nagios-2.12-5.el5. My demo setup is I have one Central Nagios and one Distributed Nagios server. I'm expecting the Distributed Nagios to monitor a remote hosts. For this example demo06.example.com and port HTTP:80. If HTTP doesn't respond on send a message using send_nsca (which is in a wrapper script called submit_check_results). So far I can't get the Distributed Nagios to automatically send anything to the Central Nagios. I now have been able to send a message from the command line to the Central Nagios using submit_check_results. If I stop HTTP:80 I only see this in my Distributed Nagios nagios.log: [1243639213] SERVICE ALERT: demo06.example.com;HTTP:80;CRITICAL;HARD;1;Connection refused Now if I run the following by hand it does work. # submit_check_results demo06.example.com 'HTTP:80' 'CRITICAL' 'SOFT' #-- Log on Central Nagios -- [1243630843] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;demo06.example.com;HTTP:80;2;SOFT [1243630851] SERVICE ALERT: demo06.example.com;HTTP:80;CRITICAL;HARD;1;SOFT [1243630851] SERVICE NOTIFICATION: yazz.atlas;demo06.example.com;HTTP:80;CRITICAL;notify-service-by-email;SOFT #-- Distributed nagios.cfg important suff -- ochp_command=submit_host_results ocsp_command=submit_service_results obsess_over_services=1 obsess_over_hosts=1 log_notifications=1 enable_notifications=0 # I tried adding this and it did nothing either. # # global_host_event_handler=submit_host_results # global_service_event_handler=submit_service_results #-- Distributed service configuration -- # I simplifed it as much as I could so you can see everything. # There is some line wrapping from my mail client be warned. define host { host_name demo06.example.com alias demo06 address 172.16.7.135 check_period 24x7 max_check_attempts 10 check_command check-host-alive notification_period 24x7 notification_interval 10 notification_options d,u,r contact_groups nsca notification_period 24x7 notifications_enabled 1 event_handler_enabled 1 flap_detection_enabled 1 failure_prediction_enabled 1 process_perf_data 0 retain_status_information 0 retain_nonstatus_information 0 } define service { host_name demo06.example.com service_description HTTP:80 check_command check_http_apache!8123 check_period 24x7 contact_groups nsca obsess_over_service 1 max_check_attempts 1 normal_check_interval 1 retry_check_interval 1 notification_interval 30 notification_period 24x7 notification_options w,u,c,r,f active_checks_enabled 1 passive_checks_enabled 1 parallelize_check 1 obsess_over_service 1 check_freshness 1 notifications_enabled 1 event_handler_enabled 1 flap_detection_enabled 1 failure_prediction_enabled 1 process_perf_data 0 retain_status_information 0 retain_nonstatus_information 0 is_volatile 0 } define hostgroup{ hostgroup_name Demo alias Demo Server Host Group members demo06.example.com } define servicegroup{ servicegroup_name Demo alias Demo Service Group members demo06.example.com,HTTP:80 } define contactgroup{ contactgroup_name nsca alias nsca members yazz.atlas } define contact{ contact_name yazz.atlas alias Yazz Atlas email yazz.atlas at example.com host_notification_period 24x7 host_notification_options d,r,f host_notification_commands submit_host_results service_notification_period 24x7 service_notification_options u,c,r,f service_notification_commands submit_service_results } define timeperiod{ timeperiod_name 24x7 alias 24 Hours A Day, 7 Days A Week sunday 00:00-24:00 monday 00:00-24:00 tuesday 00:00-24:00 wednesday 00:00-24:00 thursday 00:00-24:00 friday 00:00-24:00 saturday 00:00-24:00 } # Check line wrapping bellow # submit_check_results comes from: # http://nagios.sourceforge.net/docs/2_0/distributed.html # with little modification made. define command{ command_name submit_host_results command_line $USER1$/submit_check_results $HOSTNAME$ '$SERVICEDESC$' $SERVICESTATE$ '$SERVICEOUTPUT$' } define command{ command_name submit_service_results command_line /usr/local/sbin/submit_check_results $HOSTNAME$ '$SERVICEDESC$' $SERVICESTATE$ '$SERVICEOUTPUT$' } define command{ command_name check-host-alive command_line $USER1$/check_ping -H $HOSTADDRESS$ -w 3000.0,80% -c 5000.0,100% -p 1 } define command{ command_name check_http_apache command_line $USER1$/check_http -H $HOSTNAME$ -p $ARG1$ -N } ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sat May 30 01:34:09 2009 From: john at andrunas.net (John Andrunas) Date: Fri, 29 May 2009 16:34:09 -0700 Subject: Schedule downtime for a group of servers Message-ID: <9c4cd14a0905291634r50e0bb51y23a77d9c435af82c@mail.gmail.com> Is there a way to schedule downtime for a group in Nagios. The Windows admin wants a maintenance window for his 30 servers that nagios monitors and I don't feel like doing it manually 30 times over! -- John ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sat May 30 05:46:24 2009 From: amontibello at gmail.com (Anthony Montibello) Date: Fri, 29 May 2009 23:46:24 -0400 Subject: WMI/WQL querying of HP boxes with Insight Manager In-Reply-To: References: Message-ID: WMI takes a while to navigate and learn, You should just read through the nodes using a viewer as well as other detailed resources. Remember not all values in WMI are usefull, many items are RAW and there is a different node to get Formated. Also not all values are readable strings, like IP address under Network is an array while I would have expected it to be a string WMI does interact directly with HArdware, so general queries to Physical disk or Logical Disk may induce turning the Floppy/CD drives. The best resource for monitoring Standard things is to go to Microsofts web site and search there the Microsofts WMI documentation is found on MSDN.microsoft.com in the MSDN library under WMI SDK (or at least that was were it was last time I referenced it) there is specs on all the Standard Windows WMI functions/properties whatever they are called. Also on vista there is a built in WMI viewer if you can figure out how to use it. I personally found it a headache. TOny (Author of NC_NEt a WIndows Monitoring plugin) On Fri, May 29, 2009 at 12:14 PM, Paul Weaver wrote: > While it's not specifically a nagios question, it's related to plugins. > > After an afternoon of tearing my hair out, I've confirmed that I really > hate windows. > > However, after finding a nice little package to query WMI from linux > (wmi-client, it's tied into samba), I had hopes of interrorgating the HP > Insight Manager we have installed on many boxes. > > Unfortunatly I can't find any examples of using WQL to query it, and > while the information I can get out of windows (number of sticks of > physical memory), is great for our cmdb, it's not something I really > want to monitor with nagios. > > Has anyone got any experience with using WMI, specifically in talking to > HP? > > (I want to monitor some boxes that I can't install anything on, even > snmp, let alone npre or our own agents) > > 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. > > > > ------------------------------------------------------------------------------ > Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT > is a gathering of tech-side developers & brand creativity professionals. > Meet > the minds behind Google Creative Lab, Visual Complexity, Processing, & > iPhoneDevCamp as they present alongside digital heavyweights like Barbarian > Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-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 Sat May 30 14:41:32 2009 From: marc at ena.com (Marc Powell) Date: Sat, 30 May 2009 07:41:32 -0500 Subject: Schedule downtime for a group of servers In-Reply-To: <9c4cd14a0905291634r50e0bb51y23a77d9c435af82c@mail.gmail.com> References: <9c4cd14a0905291634r50e0bb51y23a77d9c435af82c@mail.gmail.com> Message-ID: <6D052C38-C817-4D3B-86B5-8420AC334E7B@ena.com> On May 29, 2009, at 6:34 PM, John Andrunas wrote: > Is there a way to schedule downtime for a group in Nagios. The > Windows admin wants a maintenance window for his 30 servers that > nagios monitors and I don't feel like doing it manually 30 times over! Yes but they must all be in a hostgroup. In the Hostgroup Overview (or Summary), click on the hostgroup name in ()'s. -- Marc ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stava at telcotec.se Sat May 30 17:26:30 2009 From: stava at telcotec.se (Lars Stavholm) Date: Sat, 30 May 2009 17:26:30 +0200 Subject: Nagios Neat Message-ID: <4A215026.70708@telcotec.se> Hi All, I'm trying out the Nagios Neat CSS style from monitoringexchange.org, but I can't seem to get the sidebar formatting going for me. Has anyone else seen this problem? Any ideas appreciated /Lars S ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From art at flugstodir.is Sat May 30 18:43:28 2009 From: art at flugstodir.is (=?ISO-8859-1?Q?Arnar_=DE=F3rarinsson?=) Date: Sat, 30 May 2009 16:43:28 +0000 Subject: newbie question... Message-ID: An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-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 Sun May 31 02:05:47 2009 From: marc at ena.com (Marc Powell) Date: Sat, 30 May 2009 19:05:47 -0500 Subject: newbie question... In-Reply-To: References: Message-ID: <1842F3C5-63CC-471F-AAD7-B956C09151B4@ena.com> On May 30, 2009, at 11:43 AM, Arnar ??rarinsson wrote: > Hi all, > How can I make it so that if a host goes down Nagios will only > report the host down and not all the services on that host ? > All I want to get is a host down alert. > Yes I know RTFM... but I have and I can't seem to find this in the > docs. Nagios will only send an e-mail for the single Host down event but will always display both the host and services as down (because they are). This is not configurable behavior and I can't think of any creative way to change the status of the services in that event that isn't a pain... -- Marc ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sun May 31 07:42:46 2009 From: nttbroken at gmail.com (ntt broken) Date: Sun, 31 May 2009 08:42:46 +0300 Subject: NSclient++ error messages (961 and 238). Message-ID: Hello Nagios users! I'm using NSClient++ and right now I have the following error messages: nsclient++.cpp 961 no handler for command 'check_ok' nschelper.cpp 238 no handler for command 'check_ok' NSclient++ Version used in the windows clients (Win 2003): l \NSclient++.cpp(244) NSclient++ version: 0.3.5.2 2008-09-24, platform: w32 How can I correct it and make it work with its full functionality (for example passive checks monitoring)? thank you all! -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-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 Sun May 31 17:23:50 2009 From: marc at ena.com (Marc Powell) Date: Sun, 31 May 2009 10:23:50 -0500 Subject: newbie question... In-Reply-To: <4A229DAB.6030209@gmail.com> References: <1842F3C5-63CC-471F-AAD7-B956C09151B4@ena.com> <4A229DAB.6030209@gmail.com> Message-ID: On May 31, 2009, at 10:09 AM, Nick Hasser wrote: > I haven't had a situation like this yet, so this is more a theoretical > question, but how do you monitor services which are provided by > redundant servers with failover (i.e. services are still up when a > particular physical server is down)? Using the check_cluster plugin is most common. You monitor the individual machines and services and check_cluster reflects the overall state of the service being monitored. http://nagios.sourceforge.net/docs/3_0/clusters.html -- Marc ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null