From t.h.amundsen at usit.uio.no Sun Jul 1 12:08:07 2012 From: t.h.amundsen at usit.uio.no (Trond Hasle Amundsen) Date: Sun, 01 Jul 2012 12:08:07 +0200 Subject: Dell Openmanage In-Reply-To: (Sven Dohmen's message of "Tue, 12 Jun 2012 10:08:23 +0200") References: Message-ID: <15ttxxrssjc.fsf@tux.uio.no> "Sven Dohmen" writes: > Since several months we are using the Dell Openmanage plugin from http:// > folk.uio.no/trondham/software/check_openmanage.html. This has been working fine > untill the last couple weeks. > > For some servers we are getting the following results back: > > W: Controller 0 [PERC 6/i Integrated]: Firmware '6.2.0-0013' is out of date > ------ SYSTEM: PowerEdge R710, SN: > INTERNAL ERROR: Use of uninitialized value within %fw_type in string eq at > (eval 1) line 4976. > INTERNAL ERROR: Use of uninitialized value within %fw_type in pattern match (m/ > /) at (eval 1) line 4980. > > I noticed this only happens when 1 of the drivers is out of date. Is there a > solution for without directly updating the firmware (which is already planned > over several weeks). In case anyone else has this issue.. Sven and I worked on this off-list, and we identified this to be an error related to using the '-o' option over SNMP, on servers equipped with iDRAC6 or iDRAC7 management cards. The plugin check_openmanage has been fixed and a new release (versjon 3.7.6) is available: http://folk.uio.no/trondham/software/check_openmanage.html#download Notice for For RHEL and Fedora users: The new release has been submitted as an update for Fedora and Fedora EPEL. It is currently in testing, and can be updated with: yum --enablerepo=\*testing update nagios-plugins-openmanage Regards, -- Trond H. Amundsen Center for Information Technology Services, University of Oslo ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wolf.halton at gmail.com Mon Jul 2 12:42:25 2012 From: wolf.halton at gmail.com (Wolf Halton) Date: Mon, 2 Jul 2012 06:42:25 -0400 Subject: Nagios Config Help In-Reply-To: <4ff126b1.c6942a0a.6356.356cSMTPIN_ADDED@mx.google.com> References: <4ff126b1.c6942a0a.6356.356cSMTPIN_ADDED@mx.google.com> Message-ID: On Mon, Jul 2, 2012 at 12:39 AM, Nair wrote: > Hi All > > Is there any harm is setting retry check interval plus max check attempt > greater than normal check interval. > > Say like configs below: > > Config#1 > > normal_check_interval=10min > retry_check_interval=5min > max_check_attempt=4 > > Config#2 > > normal_check_interval=5min > retry_check_interval=10min > max_check_attempt=3 > > Thank you in advance. > > Regards > Nair > > > > > > > > Follow *Rediff Deal ho jaye! > * to get exciting offers in your city everyday. > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > Nair, As all good consultants would say, "It depends." There is a small network load for every test so setting shorter intervals increases the load. If you double the number of tests in an hour, you double the load. So if you have a large number of tests on a large number of machines, doubling the frequency of the tests is probably a bad idea. What value do you think would accrue from increasing the frequency of tests? In my network, Nagios is set to start sending email notifications if the failure condition persists more than 3 test periods, i.e., the remote disk root partition is unreachable for longer than 30 minutes. This particular test fails on my ftp server during large file transfers, with the message, plug-in timed out. This has not turned out to be an actual problem, but is an artifact of flooding the network with file-transfer traffic. In this case it is more sensible to let the file transfers go through than to know to an utmost certainty that the drive is not too full. YMMV Wolf -- This Apt Has Super Cow Powers - http://sourcefreedom.com Open-Source Software in Libraries - http://FOSS4Lib.org Advancing Libraries Together - http://LYRASIS.org Apache Open Office Developer wolfhalton at apache.org -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From travisrunyard at gmail.com Mon Jul 2 19:05:39 2012 From: travisrunyard at gmail.com (Travis Runyard) Date: Mon, 2 Jul 2012 10:05:39 -0700 Subject: Nagios Config Help In-Reply-To: <4ff1c979.28a8320a.2097.ffffc820SMTPIN_ADDED@mx.google.com> References: <4ff1c979.28a8320a.2097.ffffc820SMTPIN_ADDED@mx.google.com> Message-ID: The retry check interval should be smaller value than the normal check interval. When a problem is detected, you don't want to delay the check even more, you want to retry the check and find out if there really is a problem. Here is a good reference for you: http://nagios.sourceforge.net/docs/3_0/statetypes.html -TR On Mon, Jul 2, 2012 at 9:12 AM, Nair wrote: > Thanks Wolf for the response. Howwver i am curious to know whether we can > set a retry check interval greater than normal check interval. I dont see > any mention about the same in the docs. > > Thanks > Nair > > > > On Mon, 02 Jul 2012 16:14:37 +0530 wrote > > > > > On Mon, Jul 2, 2012 at 12:39 AM, Nair ** wrote: > > Hi All > > > > Is there any harm is setting retry check interval plus max check attempt > greater than normal check interval. > > > > Say like configs below: > > > > Config#1 > > > > normal_check_interval=10min > > retry_check_interval=5min > > max_check_attempt=4 > > > > Config#2 > > > > normal_check_interval=5min > > retry_check_interval=10min > > max_check_attempt=3 > > > > Thank you in advance. > > > > Regards > > Nair > > > > > > > > > > Follow Rediff Deal ho jaye! to get exciting offers in your city everyday. > > > ------------------------------------------------------------------------------ > > Live Security Virtual Conference > > Exclusive live event will cover all the ways today's security and > > threat landscape has changed and how IT managers can respond. Discussions > > will include endpoint security, mobile security and the latest in malware > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > Nair, > As all good consultants would say, "It depends." > There is a small network load for every test so setting shorter intervals > increases the load. If you double the number of tests in an hour, you > double the load. So if you have a large number of tests on a large number > of machines, doubling the frequency of the tests is probably a bad idea. > What value do you think would accrue from increasing the frequency of > tests? > > In my network, Nagios is set to start sending email notifications if the > failure condition persists more than 3 test periods, i.e., the remote disk > root partition is unreachable for longer than 30 minutes. This particular > test fails on my ftp server during large file transfers, with the message, > plug-in timed out. This has not turned out to be an actual problem, but is > an artifact of flooding the network with file-transfer traffic. In this > case it is more sensible to let the file transfers go through than to know > to an utmost certainty that the drive is not too full. > > > YMMV > > Wolf > > -- > This Apt Has Super Cow Powers - http://sourcefreedom.com > Open-Source Software in Libraries - http://FOSS4Lib.org > > Advancing Libraries Together - http://LYRASIS.org > Apache Open Office Developer wolfhalton at apache.org > > > > ------------------------------------------------------------------------------ > > Live Security Virtual Conference > > Exclusive live event will cover all the ways today's security and > > threat landscape has changed and how IT managers can respond. Discussions > > will include endpoint security, mobile security and the latest in malware > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > > Follow *Rediff Deal ho jaye! > * to get exciting offers in your city everyday. > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From travisrunyard at gmail.com Mon Jul 2 19:06:31 2012 From: travisrunyard at gmail.com (Travis Runyard) Date: Mon, 2 Jul 2012 10:06:31 -0700 Subject: Nagios Config Help In-Reply-To: References: <4ff1c979.28a8320a.2097.ffffc820SMTPIN_ADDED@mx.google.com> Message-ID: Wrong link sorry http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html On Mon, Jul 2, 2012 at 10:05 AM, Travis Runyard wrote: > The retry check interval should be smaller value than the normal check > interval. When a problem is detected, you don't want to delay the check > even more, you want to retry the check and find out if there really is a > problem. Here is a good reference for you: > > http://nagios.sourceforge.net/docs/3_0/statetypes.html > > -TR > > > On Mon, Jul 2, 2012 at 9:12 AM, Nair wrote: > >> Thanks Wolf for the response. Howwver i am curious to know whether we can >> set a retry check interval greater than normal check interval. I dont see >> any mention about the same in the docs. >> >> Thanks >> Nair >> >> >> >> On Mon, 02 Jul 2012 16:14:37 +0530 wrote >> >> > >> >> On Mon, Jul 2, 2012 at 12:39 AM, Nair ** wrote: >> >> Hi All >> >> >> >> Is there any harm is setting retry check interval plus max check attempt >> greater than normal check interval. >> >> >> >> Say like configs below: >> >> >> >> Config#1 >> >> >> >> normal_check_interval=10min >> >> retry_check_interval=5min >> >> max_check_attempt=4 >> >> >> >> Config#2 >> >> >> >> normal_check_interval=5min >> >> retry_check_interval=10min >> >> max_check_attempt=3 >> >> >> >> Thank you in advance. >> >> >> >> Regards >> >> Nair >> >> >> >> >> >> >> >> >> >> Follow Rediff Deal ho jaye! to get exciting offers in your city everyday. >> >> >> ------------------------------------------------------------------------------ >> >> Live Security Virtual Conference >> >> Exclusive live event will cover all the ways today's security and >> >> threat landscape has changed and how IT managers can respond. Discussions >> >> will include endpoint security, mobile security and the latest in malware >> >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ >> >> Nagios-users mailing list >> >> Nagios-users at lists.sourceforge.net >> >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> >> ::: Messages without supporting info will risk being sent to /dev/null >> >> Nair, >> As all good consultants would say, "It depends." >> There is a small network load for every test so setting shorter intervals >> increases the load. If you double the number of tests in an hour, you >> double the load. So if you have a large number of tests on a large number >> of machines, doubling the frequency of the tests is probably a bad idea. >> What value do you think would accrue from increasing the frequency of >> tests? >> >> In my network, Nagios is set to start sending email notifications if the >> failure condition persists more than 3 test periods, i.e., the remote disk >> root partition is unreachable for longer than 30 minutes. This particular >> test fails on my ftp server during large file transfers, with the message, >> plug-in timed out. This has not turned out to be an actual problem, but is >> an artifact of flooding the network with file-transfer traffic. In this >> case it is more sensible to let the file transfers go through than to know >> to an utmost certainty that the drive is not too full. >> >> >> YMMV >> >> Wolf >> >> -- >> This Apt Has Super Cow Powers - http://sourcefreedom.com >> Open-Source Software in Libraries - http://FOSS4Lib.org >> >> Advancing Libraries Together - http://LYRASIS.org >> Apache Open Office Developer wolfhalton at apache.org >> >> >> >> ------------------------------------------------------------------------------ >> >> Live Security Virtual Conference >> >> Exclusive live event will cover all the ways today's security and >> >> threat landscape has changed and how IT managers can respond. Discussions >> >> will include endpoint security, mobile security and the latest in malware >> >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ >> >> Nagios-users mailing list >> >> Nagios-users at lists.sourceforge.net >> >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> >> ::: Messages without supporting info will risk being sent to /dev/null >> >> >> >> >> >> Follow *Rediff Deal ho jaye! >> * to get exciting offers in your city everyday. >> >> >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: 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 -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vmanojv at rediffmail.com Tue Jul 3 07:50:04 2012 From: vmanojv at rediffmail.com (Nair) Date: 3 Jul 2012 05:50:04 -0000 Subject: =?utf-8?q?Nagios_and_IPv6?= Message-ID: <20120703055004.31885.qmail@f5mail-224-146.rediffmail.com> Friends I have Nagios 3.0.x configured to nsca and nrpe checks. I am planning get few IPv6 only hosts. And i use host file or dns for ipv6 host resolution. I could see few pathes with respect to nsca and nrpe for ipv6 support. And i could see some ipv4 hosts having issuing communicating once its patched. Any advice on same? Also do i need to patch nagioa for ipv6 support? Thanks in advance. Nair. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From travisrunyard at gmail.com Tue Jul 3 09:23:20 2012 From: travisrunyard at gmail.com (Travis Runyard) Date: Tue, 3 Jul 2012 00:23:20 -0700 Subject: Nagios Config Help In-Reply-To: <4ff288bd.c29a320a.2e54.ffffce5cSMTPIN_ADDED@mx.google.com> References: <4ff288bd.c29a320a.2e54.ffffce5cSMTPIN_ADDED@mx.google.com> Message-ID: Thats depends on what you feel is acceptable and your environment. I have my normal check at 5, retry at 2 and max attempts at 2. That allows for a decently fast notification for me. I might even change the retry to 1 since i dont manage a huge environment, nagios takes like 2% cpu on a single vcpu vm. On Jul 2, 2012 10:53 PM, "Nair" wrote: > Thanks for your response. Howabout if i have normal check = 5mins and > retry check = 2mins, and max check attempt = 4. means its (2min X 4) bigger > than than than normal check. > > I tried this conif and dont see any issues. > > Whats your opinion on same. > > Thanks in advance. > Nair. > > > > On Mon, 02 Jul 2012 23:52:46 +0530 wrote > >The retry check interval should be smaller value than the normal check > interval. When a problem is detected, you don't want to delay the check > even more, you want to retry the check and find out if there really is a > problem. Here is a good reference for you: > > http://nagios.sourceforge.net/docs/3_0/statetypes.html > -TR > > On Mon, Jul 2, 2012 at 9:12 AM, Nair ** wrote: > > Thanks Wolf for the response. Howwver i am curious to know whether we can > set a retry check interval greater than normal check interval. I dont see > any mention about the same in the docs. > > > > > Thanks > > Nair > > > > > > > > On Mon, 02 Jul 2012 16:14:37 +0530 wrote > > > > > > > On Mon, Jul 2, 2012 at 12:39 AM, Nair wrote: > > > > Hi All > > > > > > > > Is there any harm is setting retry check interval plus max check attempt > greater than normal check interval. > > > > > > > > Say like configs below: > > > > > > > > Config#1 > > > > > > > > normal_check_interval=10min > > > > retry_check_interval=5min > > > > max_check_attempt=4 > > > > > > > > Config#2 > > > > > > > > normal_check_interval=5min > > > > retry_check_interval=10min > > > > max_check_attempt=3 > > > > > > > > Thank you in advance. > > > > > > > > Regards > > > > Nair > > > > > > > > > > > > > > > > > > > > Follow Rediff Deal ho jaye! to get exciting offers in your city everyday. > > > > > ------------------------------------------------------------------------------ > > > > Live Security Virtual Conference > > > > Exclusive live event will cover all the ways today's security and > > > > threat landscape has changed and how IT managers can respond. Discussions > > > > will include endpoint security, mobile security and the latest in malware > > > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > _______________________________________________ > > > > Nagios-users mailing list > > > > Nagios-users at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > > > > ::: Messages without supporting info will risk being sent to /dev/null > > > > Nair, > > As all good consultants would say, "It depends." > > There is a small network load for every test so setting shorter intervals > increases the load. If you double the number of tests in an hour, you > double the load. So if you have a large number of tests on a large number > of machines, doubling the frequency of the tests is probably a bad idea. > What value do you think would accrue from increasing the frequency of > tests? > > > > > In my network, Nagios is set to start sending email notifications if the > failure condition persists more than 3 test periods, i.e., the remote disk > root partition is unreachable for longer than 30 minutes. This particular > test fails on my ftp server during large file transfers, with the message, > plug-in timed out. This has not turned out to be an actual problem, but is > an artifact of flooding the network with file-transfer traffic. In this > case it is more sensible to let the file transfers go through than to know > to an utmost certainty that the drive is not too full. > > > > > > > YMMV > > > > Wolf > > > > -- > > This Apt Has Super Cow Powers - http://sourcefreedom.com > > Open-Source Software in Libraries - http://FOSS4Lib.org > > > > Advancing Libraries Together - http://LYRASIS.org > > Apache Open Office Developer wolfhalton at apache.org > > > > > > > ------------------------------------------------------------------------------ > > > > Live Security Virtual Conference > > > > Exclusive live event will cover all the ways today's security and > > > > threat landscape has changed and how IT managers can respond. Discussions > > > > will include endpoint security, mobile security and the latest in malware > > > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > _______________________________________________ > > > > Nagios-users mailing list > > > > Nagios-users at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > > > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > > Follow Rediff Deal ho jaye! to get exciting offers in your city everyday. > > > ------------------------------------------------------------------------------ > > Live Security Virtual Conference > > Exclusive live event will cover all the ways today's security and > > threat landscape has changed and how IT managers can respond. Discussions > > will include endpoint security, mobile security and the latest in malware > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > ------------------------------------------------------------------------------ > > Live Security Virtual Conference > > Exclusive live event will cover all the ways today's security and > > threat landscape has changed and how IT managers can respond. Discussions > > will include endpoint security, mobile security and the latest in malware > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > > Follow *Rediff Deal ho jaye! > * to get exciting offers in your city everyday. > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frnkblk at iname.com Wed Jul 4 06:37:22 2012 From: frnkblk at iname.com (Frank Bulk) Date: Tue, 3 Jul 2012 23:37:22 -0500 Subject: Nagios and IPv6 In-Reply-To: <20120703055004.31885.qmail@f5mail-224-146.rediffmail.com> References: <20120703055004.31885.qmail@f5mail-224-146.rediffmail.com> Message-ID: <001f01cd599e$b4647640$1d2d62c0$@iname.com> I had to add some check command templates to checkcommands.cfg to force IPv6 to be used (typically the -6 option), otherwise the hostname would resolve to A or AAAA and I wouldn?t know what was working. Frank From: Nair [mailto:vmanojv at rediffmail.com] Sent: Tuesday, July 03, 2012 12:50 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios and IPv6 Friends I have Nagios 3.0.x configured to nsca and nrpe checks. I am planning get few IPv6 only hosts. And i use host file or dns for ipv6 host resolution. I could see few pathes with respect to nsca and nrpe for ipv6 support. And i could see some ipv4 hosts having issuing communicating once its patched. Any advice on same? Also do i need to patch nagioa for ipv6 support? Thanks in advance. Nair. Follow Rediff Deal ho jaye! to get exciting offers in your city everyday. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From panaousis at gmail.com Thu Jul 5 14:32:42 2012 From: panaousis at gmail.com (panaousis m.) Date: Thu, 5 Jul 2012 15:32:42 +0300 Subject: snmp_check plugin Message-ID: hi, I am trying to monitor a device using snmp_check plugin. It works smoothly. The problem that I face is located in the thresholds and ranges part. More specific the returned values are "octetstrings". (here is an example Name/OID: forwardingAveragePowerValue.1; Value (OctetString): 0.683310) Is it possible to use somehow the -w -c options??? many thanks in advance marios -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From leonardo at lbasolutions.com Sun Jul 8 15:10:33 2012 From: leonardo at lbasolutions.com (Leonardo Bacha Abrantes) Date: Sun, 8 Jul 2012 10:10:33 -0300 Subject: two timeperiods per host/service Message-ID: Hey People, Currently in my company there are two nagios running in two different servers because on monitoring the hosts/services 24x7 and the other 11x5. PS: The 11x5 is necessary to generate reports. I would like to configure just one nagios. Is possible to monitore the hosts/services with more than just one timeperiod ? Many thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dey.ranjib at gmail.com Sun Jul 8 15:56:47 2012 From: dey.ranjib at gmail.com (Ranjib Dey) Date: Sun, 8 Jul 2012 19:26:47 +0530 Subject: two timeperiods per host/service In-Reply-To: References: Message-ID: you can not add more than one check period against a host. what you can do is to create duplicate services and use the 11x5 check period against them and do reporting based upon this and modify the original services with a complementary check period (24x7except11x5). regards ranjib On Sun, Jul 8, 2012 at 6:40 PM, Leonardo Bacha Abrantes < leonardo at lbasolutions.com> wrote: > Hey People, > > Currently in my company there are two nagios running in two different > servers because on monitoring the hosts/services 24x7 and the other 11x5. > PS: The 11x5 is necessary to generate reports. > > I would like to configure just one nagios. > Is possible to monitore the hosts/services with more than just one > timeperiod ? > > Many thanks! > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From leonardo at lbasolutions.com Sun Jul 8 17:37:20 2012 From: leonardo at lbasolutions.com (Leonardo Bacha Abrantes) Date: Sun, 8 Jul 2012 12:37:20 -0300 Subject: two timeperiods per host/service In-Reply-To: <4ff9a0b1.91dddc0a.4567.5533SMTPIN_ADDED@mx.google.com> References: <4ff9a0b1.91dddc0a.4567.5533SMTPIN_ADDED@mx.google.com> Message-ID: Hello people, The team's SLA is measured with the nagios' reports of 11x5 (monday until friday on 08:00 until 19:00). And I need to monitoring all services and hosts 24x7. Because of that, I have two nagios running. I don't understand very weel: example: if my host/service is being monitored on 24x7, can I build a report of the 11x5 ?? thanks a lot On Sun, Jul 8, 2012 at 11:59 AM, Nair wrote: > As 24X7 is inclusive of 11x5, why do you need duplicate service > check.Instead why cant you > tune your reporting tool to pick data for 11X5? > > Thank you > Nair > > On Sun, 08 Jul 2012 19:28:23 +0530 wrote > > >you can not add more than one check period against a host. what you can > do is to create > duplicate services and use the 11x5 check period against them and do > reporting based upon this > and modify the original services with a complementary check period > (24x7except11x5). > regardsranjib > > On Sun, Jul 8, 2012 at 6:40 PM, Leonardo Bacha Abrantes ** wrote: > > Hey People, > > Currently in my company there are two nagios running in two different > servers because on > monitoring the hosts/services 24x7 and the other 11x5. > > PS: The 11x5 is necessary to generate reports. > > I would like to configure just one nagios. > > > Is possible to monitore the hosts/services with more than just one > timeperiod ? > > Many thanks! > > > > ------------------------------------------------------------------------------ > > Live Security Virtual Conference > > Exclusive live event will cover all the ways today's security and > > threat landscape has changed and how IT managers can respond. Discussions > > will include endpoint security, mobile security and the latest in malware > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > ------------------------------------------------------------------------------ > > Live Security Virtual Conference > > Exclusive live event will cover all the ways today's security and > > threat landscape has changed and how IT managers can respond. Discussions > > will include endpoint security, mobile security and the latest in malware > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > Follow *Rediff Deal ho jaye! > * to get exciting offers in your city everyday. > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bluethundr at jokefire.com Sun Jul 8 18:39:58 2012 From: bluethundr at jokefire.com (Tim Dunphy) Date: Sun, 08 Jul 2012 16:39:58 -0000 (UTC) Subject: check_logfiles Message-ID: <53123184-9ab3-488d-a1e9-47b7607a8c8f@li289-212> Hello, I am trying to use the check_logfiles plugin that I found on the exchange to find some critical patterns in the logs. Here's the run of the command I am trying [db:~] root% /opt/nagios/libexec/check_logfiles --logfile=/u01/app/oracle/admin/ecom/bdump/alert_ecom1.log --tag=oracle --rotation=linux --criticalpattern='ORA-00600' --warningpattern='ORA-*' OK - no errors or warnings|oracle_lines=0 oracle_warnings=0 oracle_criticals=0 oracle_unknowns=0 This is what is in that logfile - [db07:~] root% grep 'ORA-00600' /u01/app/oracle/admin/ecom/bdump/alert_ecom1.log ORA-00600 - This is only a test.. please disregard But as you can see it's clearly not finding a pattern that I've specified. Does anybody out there have enough experience with this plugin to know what may be going wrong here? Trying to get this figured out. Thanks Tim ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benny at bennyvision.com Mon Jul 9 04:18:00 2012 From: benny at bennyvision.com (C. Bensend) Date: Sun, 8 Jul 2012 21:18:00 -0500 Subject: check_logfiles In-Reply-To: <53123184-9ab3-488d-a1e9-47b7607a8c8f@li289-212> References: <53123184-9ab3-488d-a1e9-47b7607a8c8f@li289-212> Message-ID: <59b51b1079b7529bed9c9f3a66b65ab6.squirrel@webmail.stinkweasel.net> > Here's the run of the command I am trying > > [db:~] root% /opt/nagios/libexec/check_logfiles > --logfile=/u01/app/oracle/admin/ecom/bdump/alert_ecom1.log --tag=oracle > --rotation=linux --criticalpattern='ORA-00600' --warningpattern='ORA-*' > OK - no errors or warnings|oracle_lines=0 oracle_warnings=0 > oracle_criticals=0 oracle_unknowns=0 > > > This is what is in that logfile - > > [db07:~] root% grep 'ORA-00600' > /u01/app/oracle/admin/ecom/bdump/alert_ecom1.log > ORA-00600 - This is only a test.. please disregard Try using the allyoucaneat option to test on the command line... IIRC, check_logfiles will only check a reasonable number of lines in the log file the first time, and from that point on only new ones. If that ORA-00600 is a long ways back, check_logfiles may not grok it. The allyoucaneat option should force the plugin to check *all* lines in the file. Benny -- "Death rays, advanced technology or not, no creature wants to be stabbed in their hoo-hoo." -- Seen on zombiehunters.org ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jul 9 04:38:32 2012 From: ae at op5.se (Andreas Ericsson) Date: Mon, 09 Jul 2012 04:38:32 +0200 Subject: Just a heads up Message-ID: <4FFA4428.1000106@op5.se> Sorry for cross-posting. I just committed and pushed out the worker process changes to the Nagios core. They've passed basic testing and are more than ready for a wider audience. If you're using active checks in your network you should be seeing a huge increase in number of checks executed per second as well as reduced I/O load, memory usage and cpu usage on your Nagios server. Anyone interested in beta-testing should grab the latest svn trunk and get busy. Also... I'll be going on vacation tomorrow, so I'll be slacking enormously on patch review and my other co-maintainer duties. Live with it. It's just for three weeks, so I'm sure you can manage. If it's raining I might go online a short while, but don't count on it. Cheers -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 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. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ From yu.watanabe at jp.fujitsu.com Mon Jul 9 06:38:10 2012 From: yu.watanabe at jp.fujitsu.com (Yu Watanabe) Date: Mon, 9 Jul 2012 13:38:10 +0900 (JST) Subject: Compiling nrpe_nt on old libssl-dev library Message-ID: <62c6e86f8de07822d71749b0986a458c.squirrel@webmail-c.css.fujitsu.com> Hello all. I would like to ask a question to people in this forum. There seems to be a compile issue with nrpe_nt with following versions. OS : Ubuntu10.04 LTS ( libssl-dev ver. libssl-dev ? 0.9.8g-16ubuntu3) nrpe_nt : 2.12 Error : undefined reference to `get_dh512' According to the README, this is caused because the OS library is not properly handling the AES. However, we are trying to find a way to elude this issue. Are there anyone who had successfully compiled nrpe_nt with this version of OS and libssl-dev? It would be helpful if version of the nrpe_nt can be provided as well. Thanks, Yu ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Jul 9 11:38:05 2012 From: ampranti at gmail.com (Andreas Brandino) Date: Mon, 9 Jul 2012 12:38:05 +0300 Subject: Changing Limit Results Message-ID: Hi all, is there a way to change the default to "Limit Results" from 100 to "All" ? Thank you -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dvitorianosilva at gmail.com Mon Jul 9 15:07:36 2012 From: dvitorianosilva at gmail.com (Diego Vitoriano) Date: Mon, 9 Jul 2012 10:07:36 -0300 Subject: Regarding check_ping plugin Message-ID: Hello, guys My name is Diego and I got a couple questions about this plugin. This is the first time I'm using Nagios, so it's not my forte. First I would like to know if it only pings IPs or/and HOSTNAMES? I'm getting this ? *CRITICAL - Network Unreachable (www.google.com.br) *? even though my connection is OK. Second, I would like to know if there's a way to normalize this error. Was checking some commands, but there's nothing about changing the default HOSTNAME/IP it's pinging (). Thanks, -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From czs at szlongjia.com Mon Jul 9 01:06:57 2012 From: czs at szlongjia.com (=?utf-8?B?55SY5pab5bW3?=) Date: Mon, 9 Jul 2012 07:06:57 +0800 Subject: =?utf-8?b?bmFnaW9zLXVzZXJzPSDotKLliqHpnZ7otKLliqE=?= =?utf-8?b?44CB5pe254K55pe25pyf44CB5a6a6YeP5a6a5oCn44CB6ZW/5ZGo5pyf?= =?utf-8?b?55+t5ZGo5pyf77yM5oC76YeP55u45a+5?= Message-ID: <20120709070702544240@szlongjia.com> An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: j9zagmgtl.xls Type: application/vnd.ms-excel Size: 27648 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mguthrie at nagios.com Mon Jul 9 16:29:59 2012 From: mguthrie at nagios.com (Mike Guthrie) Date: Mon, 09 Jul 2012 09:29:59 -0500 Subject: Changing Limit Results In-Reply-To: References: Message-ID: <4FFAEAE7.6060401@nagios.com> Yes, set: result_limit=0 in the cgi.cfg and it will set the default display limit to show all results. On 7/9/2012 4:38 AM, Andreas Brandino wrote: > Hi all, > > is there a way to change the default to "Limit Results" from 100 to > "All" ? > > Thank you > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Mike Guthrie Technical Team ___ Nagios Enterprises, LLC Email: mguthrie at nagios.com Web: www.nagios.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From agriffin at nagios.com Mon Jul 9 16:35:49 2012 From: agriffin at nagios.com (Alex Griffin) Date: Mon, 09 Jul 2012 09:35:49 -0500 Subject: Regarding check_ping plugin In-Reply-To: References: Message-ID: <4FFAEC45.2040408@nagios.com> This is likely due to an IPv6 issue. Add '-4' to your command definition to force IPv4, and see if that helps. Alex Griffin --- Tech Team agriffin at nagios.com On 07/09/2012 08:07 AM, Diego Vitoriano wrote: > Hello, guys > > > My name is Diego and I got a couple questions about this > plugin. This is the first time I'm using Nagios, so it's not my forte. > First I would like to know if it only pings IPs or/and HOSTNAMES? I'm > getting this ?*CRITICAL - Network Unreachable (www.google.com.br > ) *? even though my connection is OK. Second, > I would like to know if there's a way to normalize this error. Was > checking some commands, but there's nothing about changing the default > HOSTNAME/IP it's pinging (). > > > Thanks, > > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mvbsantos at gmail.com Mon Jul 9 16:45:43 2012 From: mvbsantos at gmail.com (Marcus Vinicius) Date: Mon, 9 Jul 2012 11:45:43 -0300 Subject: Regarding check_ping plugin In-Reply-To: References: Message-ID: >From command line, can you resolve DNS for www.google.com? Em 09/07/2012 11:28, "Diego Vitoriano" escreveu: > Hello, guys > > > My name is Diego and I got a couple questions about this plugin. > This is the first time I'm using Nagios, so it's not my forte. First I > would like to know if it only pings IPs or/and HOSTNAMES? I'm getting this ? > *CRITICAL - Network Unreachable (www.google.com.br) *? even though my > connection is OK. Second, I would like to know if there's a way to > normalize this error. Was checking some commands, but there's nothing about > changing the default HOSTNAME/IP it's pinging (). > > > Thanks, > > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yu.watanabe at jp.fujitsu.com Tue Jul 10 08:34:49 2012 From: yu.watanabe at jp.fujitsu.com (Yu Watanabe) Date: Tue, 10 Jul 2012 15:34:49 +0900 (JST) Subject: Compiling nrpe_nt on old libssl-dev library In-Reply-To: <62c6e86f8de07822d71749b0986a458c.squirrel@webmail-c.css.fujitsu.com> References: <62c6e86f8de07822d71749b0986a458c.squirrel@webmail-c.css.fujitsu.com> Message-ID: Sorry nrpe. Not nrpe_nt. Thanks, Yu Yu Watanabe > > Hello all. > > I would like to ask a question to people in this forum. > > There seems to be a compile issue with nrpe_nt with following versions. > > OS : Ubuntu10.04 LTS ( libssl-dev ver. libssl-dev ? 0.9.8g-16ubuntu3) > nrpe_nt : 2.12 > > Error : undefined reference to `get_dh512' > > According to the README, this is caused because > the OS library is not properly handling the AES. > > However, we are trying to find a way to elude this issue. > Are there anyone who had successfully compiled nrpe_nt > with this version of OS and libssl-dev? > > It would be helpful if version of the nrpe_nt can be provided as well. > > Thanks, > Yu > ----------------------------------------------- Yu Watanabe FUJITSU SOCIAL SCIENCE LABORATORY LIMITED System Infrastructure Development Department Telecom Systems Buisness Group 2 Tel. (+81)44-739-1504 ----------------------------------------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sd at o4s.nl Tue Jul 10 10:42:25 2012 From: sd at o4s.nl (Sven Dohmen) Date: Tue, 10 Jul 2012 10:42:25 +0200 Subject: SNMP Trap monitoring for Dell servers (on IDRAC cards) Message-ID: Is there anyone that knows how to configure the snmp trap monitoring for nagios on a debian machine? I have been trying to set it up for a couple weeks now with help from some guides on the internet but i failed each time. In the logs i see the incoming trap appear but after that nothing seems to happen with the trap. I do have snmptt en the snmp trap daemon installed and active but it seems i am missing something. We want to use this to monitor our dell servers on the idrac modules that are build in. Met vriendelijke groet / With kind regards, Sven Dohmen NOC Engineer Open for Support bv Amerikalaan 1 6199 AE Maastricht-Airport Tel +31 (0)43 88 000 88 Fax +31 (0)43 88 000 80 http://www.o4s.nl -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jonathan.gazeley at bristol.ac.uk Tue Jul 10 10:59:22 2012 From: jonathan.gazeley at bristol.ac.uk (Jonathan Gazeley) Date: Tue, 10 Jul 2012 09:59:22 +0100 Subject: Dynamic warning/critical thresholds In-Reply-To: <4FE47CF9.3090301@bristol.ac.uk> References: <4FE47CF9.3090301@bristol.ac.uk> Message-ID: <4FFBEEEA.3050202@bristol.ac.uk> On 22/06/12 15:11, Jonathan Gazeley wrote: > I've got a bunch of Nagios plugins that monitor things like > DNS/HTTP/RADIUS hits per second. > > I've set what I believe to be sensible max/min warning thresholds but > what I really want is dynamic thresholds. If some quantity suddenly > doubles or halves, I'd like an alert. > > For example, if I usually serve 10 DNS lookups per second, and suddenly > it is doing 20 per second, that isn't a "fault" but I would like to know > about it, because it might mean there is a problem with the network in > general. > > Is there a way of doing this? > Any ideas? Thanks, Jonathan ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benny at bennyvision.com Tue Jul 10 15:47:11 2012 From: benny at bennyvision.com (C. Bensend) Date: Tue, 10 Jul 2012 08:47:11 -0500 Subject: Dynamic warning/critical thresholds In-Reply-To: <4FFBEEEA.3050202@bristol.ac.uk> References: <4FE47CF9.3090301@bristol.ac.uk> <4FFBEEEA.3050202@bristol.ac.uk> Message-ID: > On 22/06/12 15:11, Jonathan Gazeley wrote: >> I've got a bunch of Nagios plugins that monitor things like >> DNS/HTTP/RADIUS hits per second. >> >> I've set what I believe to be sensible max/min warning thresholds but >> what I really want is dynamic thresholds. If some quantity suddenly >> doubles or halves, I'd like an alert. >> >> For example, if I usually serve 10 DNS lookups per second, and suddenly >> it is doing 20 per second, that isn't a "fault" but I would like to know >> about it, because it might mean there is a problem with the network in >> general. >> >> Is there a way of doing this? >> > > Any ideas? You've already received two replies, both stating that you'll likely have to write some code to do it. I'm not aware of any common plugins out there that calculate rates of change and alert appropriately. Maybe they exist, but I don't recall seeing any of them. Have you tried any of the plugin sites? -- "Death rays, advanced technology or not, no creature wants to be stabbed in their hoo-hoo." -- Seen on zombiehunters.org ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jonathan.gazeley at bristol.ac.uk Tue Jul 10 16:28:43 2012 From: jonathan.gazeley at bristol.ac.uk (Jonathan Gazeley) Date: Tue, 10 Jul 2012 15:28:43 +0100 Subject: Dynamic warning/critical thresholds In-Reply-To: References: <4FE47CF9.3090301@bristol.ac.uk> <4FFBEEEA.3050202@bristol.ac.uk> Message-ID: <4FFC3C1B.6080507@bristol.ac.uk> On 10/07/12 14:47, C. Bensend wrote: > >> On 22/06/12 15:11, Jonathan Gazeley wrote: >>> I've got a bunch of Nagios plugins that monitor things like >>> DNS/HTTP/RADIUS hits per second. >>> >>> I've set what I believe to be sensible max/min warning thresholds but >>> what I really want is dynamic thresholds. If some quantity suddenly >>> doubles or halves, I'd like an alert. >>> >>> For example, if I usually serve 10 DNS lookups per second, and suddenly >>> it is doing 20 per second, that isn't a "fault" but I would like to know >>> about it, because it might mean there is a problem with the network in >>> general. >>> >>> Is there a way of doing this? >>> >> >> Any ideas? > > You've already received two replies, both stating that you'll > likely have to write some code to do it. I'm not aware of > any common plugins out there that calculate rates of change and > alert appropriately. Maybe they exist, but I don't recall > seeing any of them. > > Have you tried any of the plugin sites? > > Oh, I didn't receive any replies. Presumably the mails got lost in the ether. I'm happy to write code - I just wondered if there was a built-in way of doing this. Thanks for your response, Jonathan ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benny at bennyvision.com Tue Jul 10 16:55:44 2012 From: benny at bennyvision.com (C. Bensend) Date: Tue, 10 Jul 2012 09:55:44 -0500 Subject: Dynamic warning/critical thresholds In-Reply-To: <4FFC3C1B.6080507@bristol.ac.uk> References: <4FE47CF9.3090301@bristol.ac.uk> <4FFBEEEA.3050202@bristol.ac.uk> <4FFC3C1B.6080507@bristol.ac.uk> Message-ID: >> You've already received two replies, both stating that you'll >> likely have to write some code to do it. I'm not aware of >> any common plugins out there that calculate rates of change and >> alert appropriately. Maybe they exist, but I don't recall >> seeing any of them. >> >> Have you tried any of the plugin sites? >> >> > > Oh, I didn't receive any replies. Presumably the mails got lost in the > ether. > > I'm happy to write code - I just wondered if there was a built-in way of > doing this. Not to my knowledge, no - the standard Nagios plugins don't know about rate of change, and I haven't run across many (any?) third- party plugins that do. The difficult part is retaining state - yes, it's simple to use a statefile, but if you have a lot of services you could end up with thousands of state files. It can become pretty ugly to deal with them. Your original message (and consequently, the replies you missed) can be found here: http://marc.info/?l=nagios-users&m=134037453807273&w=2 -- "Death rays, advanced technology or not, no creature wants to be stabbed in their hoo-hoo." -- Seen on zombiehunters.org ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Jul 10 17:46:41 2012 From: dit.dash at gmail.com (dave stern - e-mail.pluribus.unum) Date: Tue, 10 Jul 2012 11:46:41 -0400 Subject: Dynamic warning/critical thresholds In-Reply-To: <4FFC3C1B.6080507@bristol.ac.uk> References: <4FE47CF9.3090301@bristol.ac.uk> <4FFBEEEA.3050202@bristol.ac.uk> <4FFC3C1B.6080507@bristol.ac.uk> Message-ID: As indicated, make a plugin that gets the info and set thresholds so high they're never likely to "ring the red bell". But in addition to this, I'd set it up with something like nagiosgraph to generate graphs that you can watch. This will save/show historical data and show you the norm. Thus you may wish to then set a threshold at a later date based on this empirical data. If you don't want to go to the trouble of nagiosgraph, your plugin can still email you when the rate reaches a threshold you define (again, without setting off nagios warning/critical alarms) On Tue, Jul 10, 2012 at 10:28 AM, Jonathan Gazeley wrote: > On 10/07/12 14:47, C. Bensend wrote: >> >>> On 22/06/12 15:11, Jonathan Gazeley wrote: >>>> I've got a bunch of Nagios plugins that monitor things like >>>> DNS/HTTP/RADIUS hits per second. >>>> >>>> I've set what I believe to be sensible max/min warning thresholds but >>>> what I really want is dynamic thresholds. If some quantity suddenly >>>> doubles or halves, I'd like an alert. >>>> >>>> For example, if I usually serve 10 DNS lookups per second, and suddenly >>>> it is doing 20 per second, that isn't a "fault" but I would like to know >>>> about it, because it might mean there is a problem with the network in >>>> general. >>>> >>>> Is there a way of doing this? >>>> >>> >>> Any ideas? >> >> You've already received two replies, both stating that you'll >> likely have to write some code to do it. I'm not aware of >> any common plugins out there that calculate rates of change and >> alert appropriately. Maybe they exist, but I don't recall >> seeing any of them. >> >> Have you tried any of the plugin sites? >> >> > > Oh, I didn't receive any replies. Presumably the mails got lost in the > ether. > > I'm happy to write code - I just wondered if there was a built-in way of > doing this. > > Thanks for your response, > Jonathan > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From robert at robertvbolton.com Tue Jul 10 19:51:37 2012 From: robert at robertvbolton.com (Robert V. Bolton) Date: Tue, 10 Jul 2012 11:51:37 -0600 Subject: Nagios and IPv6 In-Reply-To: <-5102866516203259590@unknownmsgid> References: <-5102866516203259590@unknownmsgid> Message-ID: I saw in the email thread about you asking if you need to use a patch for Nagios to use IPv6. The answer to your question is no. If you have a IPv6 only host you can use the IPv6 address in the address field. You need to type the entire IPv6 address out, because Nagios doesn?t handle the double colon (::) shorthand very well. You'll need to update your commands to use the IPv6 option such as specifying the -6 flag on some of the checks. If you have a dual stack host with both IPv4 and IPv6 addresses you'll need to use a custom variable in order to specify a IPv6 address. Custom variables are created by using the underscore (_) before the variable name. For example I use _address6 for IPv6 addresses in my configuration files for the host I monitor. In my commands config file I reference the custom variable like so: $_HOSTADDRESS6$. I hope this helps. -- *Robert V. Bolton* Email: robert at robertvbolton.com Web: http://robertvbolton.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fireskyer at emailn.de Wed Jul 11 11:04:20 2012 From: fireskyer at emailn.de (fireskyer at emailn.de) Date: Wed, 11 Jul 2012 11:04:20 +0200 Subject: help with creating an own trap Message-ID: <8ec6c5aced2ede79a52ba109177b8ca7@server1.emailn.de> An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sacampa at gmv.com Wed Jul 11 15:46:14 2012 From: sacampa at gmv.com (Sergio Ariel de la Campa Saiz) Date: Wed, 11 Jul 2012 15:46:14 +0200 Subject: Event timeline view Message-ID: <947E2550A3F9C740936DDCC9936667B90256E2D76FD6@GMVMAIL4.gmv.es> Hi: I was wondering if someone knows about an addon to show all events related to a host or service (problems and recoveries) in a timeline. I mean, I need an addon that takes information from logs for an specific host or service and shows it in a line of time. I was trying Nagios XI Timeline without success. Thanks a lot... [cid:image002.png at 01CD5F7C.4DB31DA0] [cid:image003.gif at 01CD5F7C.058D4460] Sergio Ariel de la Campa Saiz Ingeniero de Infraestructuras / Infrastucture Engineer / GMV Isaac Newton, 11 P.T.M. Tres Cantos E-28760 Madrid Tel. +34 91 807 21 00 Fax +34 91 807 21 99 www.gmv.com [cid:image004.gif at 01CD5F7C.058D4460] [cid:image005.gif at 01CD5F7C.058D4460] [cid:image006.gif at 01CD5F7C.058D4460] [cid:image007.gif at 01CD5F7C.058D4460] ______________________ This message including any attachments may contain confidential information, according to our Information Security Management System, and intended solely for a specific individual to whom they are addressed. Any unauthorised copy, disclosure or distribution of this message is strictly forbidden. If you have received this transmission in error, please notify the sender immediately and delete it. ______________________ Este mensaje, y en su caso, cualquier fichero anexo al mismo, puede contener informacion clasificada por su emisor como confidencial en el marco de su Sistema de Gestion de Seguridad de la Informacion siendo para uso exclusivo del destinatario, quedando prohibida su divulgacion copia o distribucion a terceros sin la autorizacion expresa del remitente. Si Vd. ha recibido este mensaje erroneamente, se ruega lo notifique al remitente y proceda a su borrado. Gracias por su colaboracion. ______________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image003.gif Type: image/gif Size: 5711 bytes Desc: image003.gif URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image004.gif Type: image/gif Size: 1306 bytes Desc: image004.gif URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image005.gif Type: image/gif Size: 1309 bytes Desc: image005.gif URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image006.gif Type: image/gif Size: 1279 bytes Desc: image006.gif URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image007.gif Type: image/gif Size: 1323 bytes Desc: image007.gif URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.png Type: image/png Size: 222 bytes Desc: image002.png URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mail at catsnest.co.uk Wed Jul 11 16:37:12 2012 From: mail at catsnest.co.uk (RichTea) Date: Wed, 11 Jul 2012 15:37:12 +0100 Subject: Event timeline view In-Reply-To: <947E2550A3F9C740936DDCC9936667B90256E2D76FD6@GMVMAIL4.gmv.es> References: <947E2550A3F9C740936DDCC9936667B90256E2D76FD6@GMVMAIL4.gmv.es> Message-ID: On Wed, Jul 11, 2012 at 2:46 PM, Sergio Ariel de la Campa Saiz < sacampa at gmv.com> wrote: > Hi:**** > > ** ** > > I was wondering if someone knows about an addon to show all events related > to a host or service (problems and recoveries) in a timeline. I mean, I > need an addon that takes information from logs for an specific host or > service**** > > and shows it in a line of time.**** > > I was trying Nagios XI Timeline without success. **** > > ** > Sorry i do not have a suggestion about time lines, I do how ever have one about images in email signatures. They are not very nice (that just IMHO). They will not work if you link to images on your local hard drive! ** > > Thanks a lot? **** > > [image: Descripci?n: C:\Users\ssac\Documents\Firma Digital\linea.gif]**** > > [image: Descripci?n: C:\Users\ssac\Documents\Firma Digital\logo_gmv.gif]** > ** > > *Sergio Ariel de la Campa Saiz > *Ingeniero de Infraestructuras /**** > > Infrastucture Engineer /**** > > GMV > Isaac Newton, 11 > P.T.M. Tres Cantos > E-28760 Madrid > Tel. +34 91 807 21 00 > Fax +34 91 807 21 99 > www.gmv.com **** > > [image: Descripci?n: C:\Users\ssac\Documents\Firma Digital\icon_blog.gif] > **** > > **** > > [image: Descripci?n: C:\Users\ssac\Documents\Firma > Digital\icon_facebook.gif] **** > > **** > > [image: Descripci?n: C:\Users\ssac\Documents\Firma > Digital\icon_twitter.gif] **** > > **** > > [image: Descripci?n: C:\Users\ssac\Documents\Firma > Digital\icon_youtube.gif] **** > > > **** > > ** ** > > ** ** > > ** > ------------------------------ > This message including any attachments may contain confidential > information, according to our Information Security Management System, and > intended solely for a specific individual to whom they are addressed. Any > unauthorised copy, disclosure or distribution of this message is strictly > forbidden. If you have received this transmission in error, please notify > the sender immediately and delete it. ** > ------------------------------ > Este mensaje, y en su caso, cualquier fichero anexo al mismo, puede > contener informaci?n clasificada por su emisor como confidencial en el > marco de su Sistema de Gesti?n de Seguridad de la Informaci?n siendo para > uso exclusivo del destinatario, quedando prohibida su divulgaci?n copia o > distribuci?n a terceros sin la autorizaci?n expresa del remitente. Si Vd. > ha recibido este mensaje err?neamente, se ruega lo notifique al remitente y > proceda a su borrado. Gracias por su colaboraci?n.**** ** > ------------------------------ > Esta mensagem, incluindo qualquer ficheiro anexo, pode conter informa??o > confidencial, de acordo com nosso Sistema de Gest?o de Seguran?a da > Informa??o, sendo para uso exclusivo do destinat?rio e estando proibida a > sua divulga??o, c?pia ou distribui??o a terceiros sem autoriza??o expressa > do remetente da mesma. Se recebeu esta mensagem por engano, por favor avise > de imediato o remetente e apague-a. Obrigado pela sua colabora??o. **** > ------------------------------ > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fireskyer at emailn.de Thu Jul 12 12:01:13 2012 From: fireskyer at emailn.de (fireskyer at emailn.de) Date: Thu, 12 Jul 2012 12:01:13 +0200 Subject: Help with creating an own trap Message-ID: <616a5335263a8ef38549f2f9b10fddf1@server1.emailn.de> An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wfournier at comscore.com Thu Jul 12 14:22:23 2012 From: wfournier at comscore.com (Fournier, Wim) Date: Thu, 12 Jul 2012 08:22:23 -0400 Subject: Help with creating an own trap In-Reply-To: <616a5335263a8ef38549f2f9b10fddf1@server1.emailn.de> References: <616a5335263a8ef38549f2f9b10fddf1@server1.emailn.de> Message-ID: Check the following: Is the cmd file a socket and not a regular file? Is it writable? Does nagios receive the check result? (check nagios.log) Does the submitcheckresult script work? Test it from the command line -- Wim Fournier Senior Technical Appl. Administrator | comScore, Inc. (NASDAQ:SCOR) t +31 (0)20 5195476 | f +31 (0)20 6953786 | wfournier at comscore.com ....................................................................................... comScore Measuring the Digital World Nedstat is now part of comScore www.comscore.com www.nedstat.nl From: "fireskyer at emailn.de" > Reply-To: "fireskyer at emailn.de" >, Nagios Users List > Date: Thursday, July 12, 2012 12:01 PM To: "nagios-users at lists.sourceforge.net" > Subject: [Nagios-users] Help with creating an own trap Hello everybody i need help to create an own trap cause it' doesnt work with snmpttconvertmib the trap has non different oids but different enerptrise values tried to build the traps with the help of the trap log from our nagios server: The trap appears in the unknown trap log from snmptt. So the whole proccess from snmptt to nagios wont work. I think sth. is wrong on the config file which belongs to the trap trap.log: Mon Jul 9 11:28:33 2012: Unknown trap (.1.3.6.1.4.1.31440.0.6) received from 192.168.23.10 at: Value 0: 192.168.23.10 Value 1: 192.168.23.10 Value 2: 115:5:24:30.31 Value 3: .1.3.6.1.4.1.31440.0.6 Value 4: 192.168.23.10 Value 5: public Value 6: .1.3.6.1.4.1.31440 Value 7: Value 8: Value 9: Value 10: Ent Value 0: .1.3.6.1.4.1.31440.2.2.1.1.4=1 Mon Jul 9 11:31:25 2012: Unknown trap (.1.3.6.1.4.1.31440.0.6) received from 192.168.23.10 at: Value 0: 192.168.23.10 Value 1: 192.168.23.10 Value 2: 121:10:59:44.32 Value 3: .1.3.6.1.4.1.31440.0.6 Value 4: 192.168.23.10 Value 5: public Value 6: .1.3.6.1.4.1.31440 Value 7: Value 8: Value 9: Value 10: Ent Value 0: .1.3.6.1.4.1.31440.2.2.1.1.4=2 Here is the conf file: Event wateralertBOWSERVER .1.3.6.1.4.1.31440.0.6 "Status Events" Critical FORMAT Bedieneingriff empfohlen EXEC /usr/local/nagios/libexec/submit_check_result localhost "Water Alert" 2 "Water $3 " MATCH $Ent Value 0: 1 Variables: Value 0: 192.168.23.10 Value 1: 192.168.23.10 Value 2: 15:2:45:35.36 Value 3: .1.3.6.1.4.1.31440.0.6 Value 4: 192.168.23.10 Value 5: public Value 6: .1.3.6.1.4.1.31440 Value 7: Value 8: Value 9: Value 10: Ent Value 0: .1.3.6.1.4.1.31440.2.2.1.1.4=1 SDESC ow-server alert EDESC Event wateralertAOWSERVER .1.3.6.1.4.1.31440.0.6 "Status Events" INFORMATIONAL FORMAT alles ok EXEC /usr/local/nagios/libexec/submit_check_result localhost "Water Alert" 2 "Water $3 is ok" MATCH $Ent Value 0: 2 Variables: Value 0: 192.168.23.10 Value 1: 192.168.23.10 Value 2: 33:14:58:42.84 Value 3: .1.3.6.1.4.1.31440.0.6 Value 4: 192.168.23.10 Value 5: public Value 6: .1.3.6.1.4.1.31440 Value 7: Value 8: Value 9: Value 10: Ent Value 0: .1.3.6.1.4.1.31440.2.2.1.1.4=2 SDESC ow-server alert EDESC best regards john ________________________________ Versendet mit Emailn.de - Freemail * Unbegrenzt Speicherplatz * Eigenes Online-B?ro * 24h besten Mailempfang * Spamschutz, Adressbuch Facebook: http://www.facebook.com/Emailn.de ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jfillman at central1.com Thu Jul 12 19:57:22 2012 From: jfillman at central1.com (James Fillman) Date: Thu, 12 Jul 2012 10:57:22 -0700 Subject: Help with OCP_daemon and distributed monitoring Message-ID: <4470426D5F017A46BE3A83292FD5D2B54AB4BAB79C@EVS1.cs.ad.central1.com> I've got a large distributed Nagios installation that uses the OCP_daemon to handle the forwarding of passive service checks to the master server. I've recently upgraded from version 3.0.3 to 3.4.1. After the upgrade, I've found a serious problem that I haven't completely solved yet. When using the OCP_daemon, you configure Nagios to forward passive check results by having it write performance data to a named pipe. While on version 3.0.3, all passive check results where being where being written to the perf data named pipe regardless of whether there was performance data or not. Since the upgrade to 3.4.1, check data only gets written to the pipe if the plugin generates perf data. I need all check results, regardless of state to be written to the pipe and forwarded on to the master. Has anyone else encountered this issue and what was the solution. Here's the relevant config: # Enable Performance data processing. process_performance_data=1 # Files to which Nagios will write data. In this setup # they will be named pipes. #host_perfdata_file=/path/to/host-perfdata.fifo service_perfdata_file=/var/log/nagios/rw/service-perfdata.fifo # This is exactly what will be sent to send_NSCA. Do not change it. host_perfdata_file_template=$HOSTNAME$\t$HOSTSTATEID$\t$HOSTOUTPUT$|$HOSTPERFDATA$ service_perfdata_file_template=$HOSTNAME$\t$SERVICEDESC$\t$SERVICESTATEID$\t$SERVICEOUTPUT$|Data: $SERVICEPERFDATA$ # The write mode should be w, although append should have no effect on a named pipe. host_perfdata_file_mode=p service_perfdata_file_mode=p # We don't want to process any command, so set this to 0 host_perfdata_file_processing_interval=0 service_perfdata_file_processing_interval=0 Thanks, --james -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From phil.randal at hoopleltd.co.uk Fri Jul 13 11:49:30 2012 From: phil.randal at hoopleltd.co.uk (Randal, Phil) Date: Fri, 13 Jul 2012 09:49:30 +0000 Subject: Help with OCP_daemon and distributed monitoring In-Reply-To: <4470426D5F017A46BE3A83292FD5D2B54AB4BAB79C@EVS1.cs.ad.central1.com> References: <4470426D5F017A46BE3A83292FD5D2B54AB4BAB79C@EVS1.cs.ad.central1.com> Message-ID: <7CA580B59C1ABD45B4614ED90D4C7B853D33EE81@HC-EXMBX03.herefordshire.gov.uk> Check out Bug 247 http://tracker.nagios.org/view.php?id=247 The attached patch should fix the issue. Cheers, Phil -- Phil Randal Infrastructure Engineer Hoople Ltd | Thorn Office Centre | Hereford HR2 6JT Tel: 01432 260415 | Email: phil.randal at hoopleltd.co.uk From: James Fillman [mailto:jfillman at central1.com] Sent: 12 July 2012 18:57 To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] Help with OCP_daemon and distributed monitoring I've got a large distributed Nagios installation that uses the OCP_daemon to handle the forwarding of passive service checks to the master server. I've recently upgraded from version 3.0.3 to 3.4.1. After the upgrade, I've found a serious problem that I haven't completely solved yet. When using the OCP_daemon, you configure Nagios to forward passive check results by having it write performance data to a named pipe. While on version 3.0.3, all passive check results where being where being written to the perf data named pipe regardless of whether there was performance data or not. Since the upgrade to 3.4.1, check data only gets written to the pipe if the plugin generates perf data. I need all check results, regardless of state to be written to the pipe and forwarded on to the master. Has anyone else encountered this issue and what was the solution. Here's the relevant config: # Enable Performance data processing. process_performance_data=1 # Files to which Nagios will write data. In this setup # they will be named pipes. #host_perfdata_file=/path/to/host-perfdata.fifo service_perfdata_file=/var/log/nagios/rw/service-perfdata.fifo # This is exactly what will be sent to send_NSCA. Do not change it. host_perfdata_file_template=$HOSTNAME$\t$HOSTSTATEID$\t$HOSTOUTPUT$|$HOSTPERFDATA$ service_perfdata_file_template=$HOSTNAME$\t$SERVICEDESC$\t$SERVICESTATEID$\t$SERVICEOUTPUT$|Data: $SERVICEPERFDATA$ # The write mode should be w, although append should have no effect on a named pipe. host_perfdata_file_mode=p service_perfdata_file_mode=p # We don't want to process any command, so set this to 0 host_perfdata_file_processing_interval=0 service_perfdata_file_processing_interval=0 Thanks, --james "Any opinion expressed in this e-mail or any attached files are those of the individual and not necessarily those of Hoople Ltd. You should be aware that Hoople Ltd. monitors its email service. 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. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Jul 13 15:18:05 2012 From: stanislas.leveau at ac-caen.fr (Stanislas LEVEAU) Date: Fri, 13 Jul 2012 15:18:05 +0200 Subject: Problem with Passive checks sent with NRDP In-Reply-To: <4E6A673F.7080500@ll.mit.edu> References: <4E6A673F.7080500@ll.mit.edu> Message-ID: <5000200D.4070500@ac-caen.fr> Hi, I am trying to use NRDP, I followed the instructions in the four page pdf and nrdp seemed to setup just fine. http://nagios-server/nrdp brings up the web page exactly as the documentation shows. I filled out the webpage, added in my token, hit submit and I received the following: The first TEST is OK : DISABLE_HOST_NOTIFICATIONS;my-server 0 OK Nagios LOG : [1342184689] EXTERNAL COMMAND: DISABLE_HOST_NOTIFICATIONS;my-server The second TEST on a service is NOT OK my-server 0 Everything looks okay!|perfdata my-server Service-swap 1 WARNING: Danger Will Robinson!|perfdata 0 OK - 2 checks processed. Nagios LOG : Nothing And the service is always OKthen that should be WARNING 1 an idea? regards. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kaushalshriyan at gmail.com Fri Jul 13 18:05:07 2012 From: kaushalshriyan at gmail.com (Kaushal Shriyan) Date: Fri, 13 Jul 2012 21:35:07 +0530 Subject: http://demos.nagios.com/ Message-ID: Hi, Can someone please help me understand about various Nagios products as mentioned in http://demos.nagios.com/ and typical use case in any organization. Regards, Kaushal -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From agriffin at nagios.com Fri Jul 13 18:16:25 2012 From: agriffin at nagios.com (Alex Griffin) Date: Fri, 13 Jul 2012 11:16:25 -0500 Subject: http://demos.nagios.com/ In-Reply-To: References: Message-ID: <500049D9.7050809@nagios.com> Nagios Core is the open source product which is discussed on this list. Nagios XI is a commercial product built on top of Core which provides an easier interface and many additional features [1]. Nagios Fusion is for helping you manage multiple installations of Nagios XI and viewing the statuses from all of them in one interface. [1]: http://www.nagios.com/products/nagiosxi/ Alex Griffin --- Tech Team agriffin at nagios.com On 2012-07-13 11:05, Kaushal Shriyan wrote: > Hi, > > Can someone please help me understand about various Nagios products as > mentioned in http://demos.nagios.com/ and typical use case in any > organization. > > Regards, > > Kaushal > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kaushalshriyan at gmail.com Fri Jul 13 19:17:24 2012 From: kaushalshriyan at gmail.com (Kaushal Shriyan) Date: Fri, 13 Jul 2012 22:47:24 +0530 Subject: http://demos.nagios.com/ In-Reply-To: <500049D9.7050809@nagios.com> References: <500049D9.7050809@nagios.com> Message-ID: On Fri, Jul 13, 2012 at 9:46 PM, Alex Griffin wrote: > Nagios Core is the open source product which is discussed on this list. > Nagios XI is a commercial product built on top of Core which provides an > easier interface and many additional features [1]. Nagios Fusion is for > helping you manage multiple installations of Nagios XI and viewing the > statuses from all of them in one interface. > > Hi Alex, is Nagios Fusion commercial and meant for enterprises. Regards, Kaushal -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From agriffin at nagios.com Fri Jul 13 19:22:17 2012 From: agriffin at nagios.com (Alex Griffin) Date: Fri, 13 Jul 2012 12:22:17 -0500 Subject: http://demos.nagios.com/ In-Reply-To: References: <500049D9.7050809@nagios.com> Message-ID: <50005949.5010205@nagios.com> Yes, Nagios Fusion is commercial, but I guess I should clarify that it also works with Nagios Core in addition to Nagios XI. Alex Griffin --- Tech Team agriffin at nagios.com On 2012-07-13 12:17, Kaushal Shriyan wrote: > > > On Fri, Jul 13, 2012 at 9:46 PM, Alex Griffin > wrote: > > Nagios Core is the open source product which is discussed on this list. > Nagios XI is a commercial product built on top of Core which provides an > easier interface and many additional features [1]. Nagios Fusion is for > helping you manage multiple installations of Nagios XI and viewing the > statuses from all of them in one interface. > > > Hi Alex, > is Nagios Fusion commercial and meant for enterprises. > > Regards, > > Kaushal > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mh+nagios-users at zugschlus.de Sat Jul 14 21:02:32 2012 From: mh+nagios-users at zugschlus.de (Marc Haber) Date: Sat, 14 Jul 2012 21:02:32 +0200 Subject: check_ntp_peer reports stratum off-by-one? In-Reply-To: <4F02D7EC020000C40002D7BA@kent.pnn.police.uk> References: <4EFD9A7C020000C40002D6F5@kent.pnn.police.uk> <918C015A-E51F-4F19-A335-677ECA5F97AB@conundrum.com> <4F02D7EC020000C40002D7BA@kent.pnn.police.uk> Message-ID: <20120714190232.GA27264@torres.zugschlus.de> On Tue, Jan 03, 2012 at 10:26:52AM +0000, Paul WILLIS PSE 55499 wrote: > I apologise for lecturing you, I thought you were confused over that aspect. But certainly it is reporting the > stratum of its peer. With -v on one of our servers I get for example in part > parsing stratum from peer bf36: 2 > and bf36 hex is 48950 which is the associationID of our timesource which is stratum 2. > We only have a single timesource so I'm not sure how it deals with multiple host strata. My guess > would be it just takes that of the asterisked timesource. I'm having the same issue and got confused as well: $ ntpq -c pe torres.zugschlus.de remote refid st t when poll reach delay offset jitter ============================================================================== *ptbtime1.ptb.de .PTB. 1 u 1044 1024 377 18.521 -1.513 0.258 +ptbtime2.ptb.de .PTB. 1 u 903 1024 377 18.132 -1.277 0.373 -node01.mserverz 85.10.240.253 3 u 651 1024 377 18.721 -7.067 6.829 zefiris.semidef 192.53.103.108 2 u 490 1024 377 16.496 4.906 0.680 -evie.fra1.as411 78.47.148.174 3 u 974 1024 377 18.879 4.630 0.616 +geiger-online.c 81.94.123.17 2 u 556 1024 377 18.200 4.669 0.694 $ /usr/lib/nagios/plugins/check_ntp_peer -H torres.zugschlus.de --warning=3 --critical=5 --jwarn=1 --jcrit=2 --twarn=5 --tcrit=5 --swarn=2 --scrit=2 NTP OK: Offset -0,001 secs, jitter=0,000000, stratum=1, truechimers=5|offset=-0,001000s;3,000000;5,000000; jitter=0,000000;1,000000;2,000000;0,000000 stratum=1;2;2;0;16 truechimers=5;5;5;0 $ Does this mean that the --swarn und --twarn options actually check the stratum of the "best" peer of the queried server, not the queried server itself? And, while we're at it, why is this: $ /usr/lib/nagios/plugins/check_ntp_peer -H torres.zugschlus.de --twarn=5 --tcrit=4 -v 3 candidate peers available synchronization source found Getting offset, jitter and stratum for peer 20cf parsing offset from peer 20cf: -0,001 NTP CRITICAL: Offset -0,001 secs, truechimers=5|offset=-0,001000s;60,000000;120,000000; truechimers=5;5;4;0 $ critical? 5 truechimers are better than four, why does check_ntp_peer not like that? When I raise --tcrit=5, the status goes to OK. Is the check the wrong way around? Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don't trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 31958061 Nordisch by Nature | How to make an American Quilt | Fax: *49 621 31958062 ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mysqlstudent at gmail.com Sun Jul 15 03:41:05 2012 From: mysqlstudent at gmail.com (Alex) Date: Sat, 14 Jul 2012 21:41:05 -0400 Subject: Converting log format for legacy scripts Message-ID: Hi, I have a few legacy scripts that I'd rather not have to update, and wondered if it was possible to somehow control the output of the hosts that were being monitored? The old scripts were written for version 1.0 of nagios, probably six years ago. The format looks like this: [1342314314] SERVICE;rogue;PROCS-httpd;OK;1/5;HARD;1342314216;1342314396;ACTIVE;1;1;1;1342292439;0;OK;124332003;0;540;0;0;0;1;0;0;1;0;0.00;0;1;1;1;OK - 16 processes running with command name httpd, UID = 48 (webd) Perhaps there's a perl module that will parse the existing format and put each value in a variable that I can then output to the correct format that I need? Any ideas greatly appreciated. Thanks, Alex ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From trm.nagios at gmail.com Sun Jul 15 22:38:02 2012 From: trm.nagios at gmail.com (trm asn) Date: Mon, 16 Jul 2012 02:08:02 +0530 Subject: NSCA : Time out Message-ID: Dear Team, I am getting the below error message while pushing the results to central nagios. I am able to telnet 5667 from Monitor node to central server. in Tcp-Wrapper this ip is allowed . The results are not getting updated due to this. Please help me out to sort this .. Warning: OCSP command '/mnt/vol1/nagios/libexec/eventhandlers/submit_check_result Lnx-ProdDatabase1 'Checks if the SQL Slave thread is running' OK 'OK - Slave io is running'' for service 'Checks if the SQL Slave thread is running' on host ' Lnx-ProdDatabase1' timed out after 10 seconds -- TRM -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fireskyer at emailn.de Mon Jul 16 15:21:44 2012 From: fireskyer at emailn.de (john meyer) Date: Mon, 16 Jul 2012 15:21:44 +0200 Subject: Help with creating an own trap In-Reply-To: References: Message-ID: <96a602c3c493c6477cd6a1e8d2b60155@server1.emailn.de> Hello Wim The whole snmptt process is working I have some other snmp traps based on snmpttcvonverted mib's and there are no problems Only the self builded trap won't work if the trap is sent from the ow-server it will be written in the snmptt unknown file So i think sth is wrong with config trap syntax best regards john --- Urspr?ngliche Nachricht --- Von: "Fournier, Wim" Datum: 12.07.2012 14:22:23 An: Nagios Users List Betreff: Re: [Nagios-users] Help with creating an own trap > Check the following: > Is the cmd file a socket and not a regular file? Is it writable? > Does nagios receive the check result? (check nagios.log) > Does the submitcheckresult script work? Test it from the command line > > -- > > Wim Fournier Senior Technical Appl. Administrator | comScore, Inc. > (NASDAQ:SCOR) > t +31 (0)20 5195476 | f +31 (0)20 6953786 | wfournier at comscore.com > > ....................................................................................... > > comScore > Measuring the Digital World > Nedstat is now part of comScore > www.comscore.com > www.nedstat.nl > > From: "fireskyer at emailn.de" > > > Reply-To: "fireskyer at emailn.de" > >, Nagios Users > List > > > Date: Thursday, July 12, 2012 12:01 PM > To: "nagios-users at lists.sourceforge.net" > > > > Subject: [Nagios-users] Help with creating an own trap > > Hello everybody i need help to create an own trap cause it' doesnt work with > snmpttconvertmib the trap has non different oids but different enerptrise > values tried to build the traps with the help of the trap log from our nagios > server: The trap appears in the unknown trap log from snmptt. So the whole > proccess from snmptt to nagios wont work. I think sth. is wrong on the config > file which belongs to the trap trap.log: Mon Jul 9 11:28:33 2012: Unknown > trap (.1.3.6.1.4.1.31440.0.6) received from 192.168.23.10 at: Value 0: 192.168.23.10 > Value 1: 192.168.23.10 Value 2: 115:5:24:30.31 Value 3: .1.3.6.1.4.1.31440.0.6 > Value 4: 192.168.23.10 Value 5: public Value 6: .1.3.6.1.4.1.31440 Value > 7: Value 8: Value 9: Value 10: Ent Value 0: .1.3.6.1.4.1.31440.2.2.1.1.4=1 > Mon Jul 9 11:31:25 2012: Unknown trap (.1.3.6.1.4.1.31440.0.6) received from > 192.168.23.10 at: Value 0: 192.168.23.10 Value 1: 192.168.23.10 Value 2: > 121:10:59:44.32 Value 3: .1.3.6.1.4.1.31440.0.6 Value 4: 192.168.23.10 Value > 5: public Value 6: .1.3.6.1.4.1.31440 Value 7: Value 8: Value 9: Value 10: > Ent Value 0: .1.3.6.1.4.1.31440.2.2.1.1.4=2 Here is the conf file: Event > wateralertBOWSERVER .1.3.6.1.4.1.31440.0.6 "Status Events" Critical > FORMAT Bedieneingriff empfohlen EXEC /usr/local/nagios/libexec/submit_check_result > localhost "Water Alert" 2 "Water $3 " MATCH $Ent Value > 0: 1 Variables: Value 0: 192.168.23.10 Value 1: 192.168.23.10 Value 2: 15:2:45:35.36 > Value 3: .1.3.6.1.4.1.31440.0.6 Value 4: 192.168.23.10 Value 5: public Value > 6: .1.3.6.1.4.1.31440 Value 7: Value 8: Value 9: Value 10: Ent Value 0: .1.3.6.1.4.1.31440.2.2.1.1.4=1 > SDESC ow-server alert EDESC Event wateralertAOWSERVER .1.3.6.1.4.1.31440.0.6 > "Status Events" INFORMATIONAL FORMAT alles ok EXEC /usr/local/nagios/libexec/submit_check_result > localhost "Water Alert" 2 "Water $3 is ok" MATCH $Ent > Value 0: 2 Variables: Value 0: 192.168.23.10 Value 1: 192.168.23.10 Value > 2: 33:14:58:42.84 Value 3: .1.3.6.1.4.1.31440.0.6 Value 4: 192.168.23.10 > Value 5: public Value 6: .1.3.6.1.4.1.31440 Value 7: Value 8: Value 9: Value > 10: Ent Value 0: .1.3.6.1.4.1.31440.2.2.1.1.4=2 SDESC ow-server alert EDESC > best regards john > > ________________________________ > > Versendet mit Emailn.de - Freemail > > * Unbegrenzt Speicherplatz > * Eigenes Online-B?ro > * 24h besten Mailempfang > * Spamschutz, Adressbuch > > Facebook: http://www.facebook.com/Emailn.de > > ------------------------------------------------------------------------------ > > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > > will include endpoint security, mobile security and the latest in malware > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wfournier at comscore.com Mon Jul 16 16:13:05 2012 From: wfournier at comscore.com (Fournier, Wim) Date: Mon, 16 Jul 2012 10:13:05 -0400 Subject: Help with creating an own trap In-Reply-To: <96a602c3c493c6477cd6a1e8d2b60155@server1.emailn.de> References: <96a602c3c493c6477cd6a1e8d2b60155@server1.emailn.de> Message-ID: Did you - make sure reverse DNS works for the host you are sending from? - create a config file for snmptt for this trap? - restart snmptt if it's not being run from snmptrapd? - add your new snmptt config file to the ini file? - try the debugging options in snmptt? Hope this helps. Good luck ;o) -- Wim Fournier Senior Technical Appl. Administrator | comScore, Inc. (NASDAQ:SCOR) t +31 (0)20 5195476 | f +31 (0)20 6953786 | wfournier at comscore.com ........................................................................... ............ comScore Measuring the Digital World Nedstat is now part of comScore www.comscore.com www.nedstat.nl On 7/16/12 3:21 PM, "john meyer" wrote: >Hello Wim > >The whole snmptt process is working > >I have some other snmp traps based on snmpttcvonverted mib's and there >are no problems > >Only the self builded trap won't work > >if the trap is sent from the ow-server it will be written in the snmptt >unknown file > > >So i think sth is wrong with config trap syntax > >best regards john > > > > > > > > >--- Urspr?ngliche Nachricht --- >Von: "Fournier, Wim" >Datum: 12.07.2012 14:22:23 >An: Nagios Users List >Betreff: Re: [Nagios-users] Help with creating an own trap > >> Check the following: >> Is the cmd file a socket and not a regular file? Is it writable? >> Does nagios receive the check result? (check nagios.log) >> Does the submitcheckresult script work? Test it from the command line >> >> -- >> >> Wim Fournier Senior Technical Appl. Administrator | comScore, Inc. >> (NASDAQ:SCOR) >> t +31 (0)20 5195476 | f +31 (0)20 6953786 | >>wfournier at comscore.com >> >> >>......................................................................... >>.............. >> >> comScore >> Measuring the Digital World >> Nedstat is now part of comScore >> www.comscore.com >> www.nedstat.nl >> >> From: "fireskyer at emailn.de" >>> >> >> Reply-To: "fireskyer at emailn.de" >> >, Nagios Users >> List >>>.net>> >> >> Date: Thursday, July 12, 2012 12:01 PM >> To: >>"nagios-users at lists.sourceforge.net>.net>" >> >>>.net>> >> >> Subject: [Nagios-users] Help with creating an own trap >> >> Hello everybody i need help to create an own trap cause it' doesnt work >>with >> snmpttconvertmib the trap has non different oids but different >>enerptrise >> values tried to build the traps with the help of the trap log from our >>nagios >> server: The trap appears in the unknown trap log from snmptt. So the >>whole >> proccess from snmptt to nagios wont work. I think sth. is wrong on the >>config >> file which belongs to the trap trap.log: Mon Jul 9 11:28:33 2012: >>Unknown >> trap (.1.3.6.1.4.1.31440.0.6) received from 192.168.23.10 at: Value 0: >>192.168.23.10 >> Value 1: 192.168.23.10 Value 2: 115:5:24:30.31 Value 3: >>.1.3.6.1.4.1.31440.0.6 >> Value 4: 192.168.23.10 Value 5: public Value 6: .1.3.6.1.4.1.31440 Value >> 7: Value 8: Value 9: Value 10: Ent Value 0: >>.1.3.6.1.4.1.31440.2.2.1.1.4=1 >> Mon Jul 9 11:31:25 2012: Unknown trap (.1.3.6.1.4.1.31440.0.6) received >>from >> 192.168.23.10 at: Value 0: 192.168.23.10 Value 1: 192.168.23.10 Value 2: >> 121:10:59:44.32 Value 3: .1.3.6.1.4.1.31440.0.6 Value 4: 192.168.23.10 >>Value >> 5: public Value 6: .1.3.6.1.4.1.31440 Value 7: Value 8: Value 9: Value >>10: >> Ent Value 0: .1.3.6.1.4.1.31440.2.2.1.1.4=2 Here is the conf file: Event >> wateralertBOWSERVER .1.3.6.1.4.1.31440.0.6 "Status Events" Critical >> FORMAT Bedieneingriff empfohlen EXEC >>/usr/local/nagios/libexec/submit_check_result >> localhost "Water Alert" 2 "Water $3 " MATCH $Ent Value >> 0: 1 Variables: Value 0: 192.168.23.10 Value 1: 192.168.23.10 Value 2: >>15:2:45:35.36 >> Value 3: .1.3.6.1.4.1.31440.0.6 Value 4: 192.168.23.10 Value 5: public >>Value >> 6: .1.3.6.1.4.1.31440 Value 7: Value 8: Value 9: Value 10: Ent Value 0: >>.1.3.6.1.4.1.31440.2.2.1.1.4=1 >> SDESC ow-server alert EDESC Event wateralertAOWSERVER >>.1.3.6.1.4.1.31440.0.6 >> "Status Events" INFORMATIONAL FORMAT alles ok EXEC >>/usr/local/nagios/libexec/submit_check_result >> localhost "Water Alert" 2 "Water $3 is ok" MATCH $Ent >> Value 0: 2 Variables: Value 0: 192.168.23.10 Value 1: 192.168.23.10 >>Value >> 2: 33:14:58:42.84 Value 3: .1.3.6.1.4.1.31440.0.6 Value 4: 192.168.23.10 >> Value 5: public Value 6: .1.3.6.1.4.1.31440 Value 7: Value 8: Value 9: >>Value >> 10: Ent Value 0: .1.3.6.1.4.1.31440.2.2.1.1.4=2 SDESC ow-server alert >>EDESC >> best regards john >> >> ________________________________ >> >> Versendet mit Emailn.de - Freemail >> >> * Unbegrenzt Speicherplatz >> * Eigenes Online-B?ro >> * 24h besten Mailempfang >> * Spamschutz, Adressbuch >> >> Facebook: http://www.facebook.com/Emailn.de >> >> >>------------------------------------------------------------------------- >>----- >> >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. >>Discussions >> >> will include endpoint security, mobile security and the latest in >>malware >> >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >>reporting >> any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > > >-------------------------------------------------------------------------- >---- >Live Security Virtual Conference >Exclusive live event will cover all the ways today's security and >threat landscape has changed and how IT managers can respond. Discussions >will include endpoint security, mobile security and the latest in malware >threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when >reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From trm.nagios at gmail.com Mon Jul 16 21:44:09 2012 From: trm.nagios at gmail.com (trm asn) Date: Tue, 17 Jul 2012 01:14:09 +0530 Subject: NSCA : Time out In-Reply-To: References: Message-ID: On Mon, Jul 16, 2012 at 2:08 AM, trm asn wrote: > Dear Team, > > I am getting the below error message while pushing the results to central > nagios. I am able to telnet 5667 from Monitor node to central server. in > Tcp-Wrapper this ip is allowed . > > The results are not getting updated due to this. Please help me out to > sort this .. > > Warning: OCSP command > '/mnt/vol1/nagios/libexec/eventhandlers/submit_check_result > Lnx-ProdDatabase1 'Checks if the SQL Slave thread is running' OK 'OK - > Slave io is running'' for service 'Checks if the SQL Slave thread is > running' on host ' Lnx-ProdDatabase1' timed out after 10 seconds . > Still not able to figure out , where is the actual problem is. i) I am able to telnet to central server's 5667 port . ii) I am able to test it from commandline .. echo "testhost TestService 0 OK" | /mnt/vol1/nagios/libexec/send_nsca -H x.x.x.x -p 5667 -c /mnt/vol1/nagios/etc/send_nsca.cfg 0 data packet(s) sent to host successfully. Is there anywhere else , I need to lookout to get the result submitted to the central server. /\ TRM -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From it.toonz at gmail.com Tue Jul 17 05:55:04 2012 From: it.toonz at gmail.com (IT.Toonz) Date: Tue, 17 Jul 2012 09:25:04 +0530 Subject: New disk status showing "UNKNOWN" Message-ID: <006001cd63cf$f52b2d00$df818700$@gmail.com> Hi, We have been using Nagios 3.2.3 (Fully automated Nagios) for over 2 years now, it is working wonderfully well..... Recently we added a new "G" drive to one of our monitored storage's and added that drive's entry in the cfg file but we are getting UNKNOWN status. We restarted the server, restarted Nagios, pre-flight checks are not showing any errors. Command is correct, if we replace the parameters with another drive, like "F", the "F" drive gets correctly monitored. Server is Windows 2008 64bit R2, NSClient++ - 0.3.8.76 rest of the drives was already monitored. We checked the drive permissions and noticed that creator owner didn't have any permission, so we added that, but still no change. >From the nsclient logs. 2012-07-17 08:57:43: error:modules\CheckSystem\CheckSystem.cpp:810: Unhandled exception describing PID: 4: Failed to open process: 4: 2012-07-17 09:07:43: message:modules\CheckSystem\CheckSystem.cpp:813: Failed to open process: 4: Please advice! anth -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 48594 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.jpg Type: image/jpeg Size: 49830 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image003.jpg Type: image/jpeg Size: 64670 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From BChan at Shawcor.com Tue Jul 17 05:53:47 2012 From: BChan at Shawcor.com (Brian Chan) Date: Mon, 16 Jul 2012 23:53:47 -0400 Subject: AUTO: Chan, Brian is away from the office (returning 17/07/2012) Message-ID: I am out of the office until 17/07/2012. I will respond to your message when I return. If this is a request for support, click here to open an ITRequest--:> mailto:itrequest at shawcor.com Alternatively, all questions can be directed to the Help Desk at 416-744-5557 Brian Chan Note: This is an automated response to your message "Nagios-users Digest, Vol 74, Issue 5" sent on 07/16/2012 23:53:16. This is the only notification you will receive while this person is away. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fireskyer at emailn.de Tue Jul 17 08:53:42 2012 From: fireskyer at emailn.de (john meyer) Date: Tue, 17 Jul 2012 08:53:42 +0200 Subject: Nagios-users] SNMP Trap monitoring for Dell servers (on IDRACcards) Message-ID: <99b7b71f38f05ee1463ac6f1f43a957e@server1.emailn.de> Hello Sven Which Docus did u use? Which version do you have Does the snmptt stuff working on a local ( localhost) level? if you can give me more infos i'm trying to help you best regards john ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at flatto.net Tue Jul 17 09:44:05 2012 From: nagios at flatto.net (Assaf Flatto) Date: Tue, 17 Jul 2012 08:44:05 +0100 Subject: NSCA : Time out In-Reply-To: References: Message-ID: <500517C5.9080303@flatto.net> On 16/07/12 20:44, trm asn wrote: > > > On Mon, Jul 16, 2012 at 2:08 AM, trm asn > wrote: > > Dear Team, > > I am getting the below error message while pushing the results to > central nagios. I am able to telnet 5667 from Monitor node to > central server. in Tcp-Wrapper this ip is allowed . > > The results are not getting updated due to this. Please help me > out to sort this .. > > Warning: OCSP command > '/mnt/vol1/nagios/libexec/eventhandlers/submit_check_result > Lnx-ProdDatabase1 'Checks if the SQL Slave thread is running' OK > 'OK - Slave io is running'' for service 'Checks if the SQL Slave > thread is running' on host ' Lnx-ProdDatabase1' timed out after 10 > seconds . > > > Still not able to figure out , where is the actual problem is. > > i) I am able to telnet to central server's 5667 port . > ii) I am able to test it from commandline .. > echo "testhost TestService 0 OK" | > /mnt/vol1/nagios/libexec/send_nsca -H x.x.x.x -p 5667 -c > /mnt/vol1/nagios/etc/send_nsca.cfg > 0 data packet(s) sent to host successfully. > > Is there anywhere else , I need to lookout to get the result submitted > to the central server. > > /\ > TRM i have found that some time NSCA becomes stale on the server side and a restart of the service helps to restore it to action. Also , are you writing to the syslog ? if so check the log size and if the file system has not filled up ( on both sides of the interaction) . did you check the nsca log file ( usually syslog ) ? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fireskyer at emailn.de Tue Jul 17 11:12:43 2012 From: fireskyer at emailn.de (john meyer) Date: Tue, 17 Jul 2012 11:12:43 +0200 Subject: Help with creating an own trap Message-ID: Hello Wim an DNS Reverse lookup is not needed cause the trap  will be determined by the OID all other things which you've mentioned are working perfectly best regards john ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fireskyer at emailn.de Tue Jul 17 11:27:38 2012 From: fireskyer at emailn.de (john meyer) Date: Tue, 17 Jul 2012 11:27:38 +0200 Subject: SNMP Trap monitoring for Dell servers (on IDRACcards) Message-ID: Hello Sven Which Docus did u use? Which version do you have Does the snmptt stuff working on a local ( localhost) level? if you can give me more infos i'm trying to help you best regards john ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wfournier at comscore.com Tue Jul 17 11:26:14 2012 From: wfournier at comscore.com (Fournier, Wim) Date: Tue, 17 Jul 2012 05:26:14 -0400 Subject: Help with creating an own trap In-Reply-To: References: Message-ID: Then the only thing left is debugging: http://snmptt.sourceforge.net/docs/faqs.shtml#SNMPTT_is_not_working -- Wim Fournier Senior Technical Appl. Administrator | comScore, Inc. (NASDAQ:SCOR) t +31 (0)20 5195476 | f +31 (0)20 6953786 | wfournier at comscore.com ........................................................................... ............ comScore Measuring the Digital World Nedstat is now part of comScore www.comscore.com www.nedstat.nl On 7/17/12 11:12 AM, "john meyer" wrote: >Hello Wim > >an DNS Reverse lookup is not needed cause the trap  will be >determined by the OID > >all other things which you've mentioned are working perfectly > > >best regards john > > > >-------------------------------------------------------------------------- >---- >Live Security Virtual Conference >Exclusive live event will cover all the ways today's security and >threat landscape has changed and how IT managers can respond. Discussions >will include endpoint security, mobile security and the latest in malware >threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when >reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fireskyer at emailn.de Tue Jul 17 13:21:51 2012 From: fireskyer at emailn.de (john meyer) Date: Tue, 17 Jul 2012 13:21:51 +0200 Subject: Help with creating an own trap Message-ID: <01c12cbd0733f012348fd1a747f6a35b@server1.emailn.de> Hello Vim Everything is checked the whole snmptt functions are working but especially not this own created trap best regards john I have upgraded to Nagios Core 3.4.1 last week. There are a couple of issues I noticed. 1. notification for service check failures are being sent when the host is in downtime. 2. downtime are not being remove when it is expired. For issue #1, here is what I did to test. schedule downtime for host dsmgtbal800 and make service TEST_SERVICE critical to see if a notification will be sent. Here is the syslog entry for submitting the downtime. Jul 16 09:19:16 dsmgtbal800 nagios: EXTERNAL COMMAND: SCHEDULE_HOST_DOWNTIME;dsmgtbal800;1342444731;1342445451;1;0;7200;chung;testing notification Here is the hostdowntime entry in status.dat. hostdowntime { host_name=dsmgtbal800 downtime_id=13047 entry_time=1342444756 start_time=1342444731 end_time=1342445451 triggered_by=0 fixed=1 duration=720 is_in_effect=1 author=chung comment=testing notification } Here are the debug file entries with debug_level=32. [1342444913.262290] [032.0] [pid=721] ** Service Notification Attempt ** Host: 'dsmgtbal800', Service: 'TEST_SERVICE', Type: 0, Options: 0, Current Stat e: 2, Last Notification: Wed Dec 31 19:00:00 1969 [1342444913.262371] [032.0] [pid=721] Notification viability test passed. [1342444913.262378] [032.1] [pid=721] Current notification number: 1 (incremented) [1342444913.262384] [032.2] [pid=721] Creating list of contacts to be notified. [1342444913.262437] [032.1] [pid=721] Service notification will NOT be escalated. [1342444913.262451] [032.1] [pid=721] Adding normal contacts for service to notification list. [1342444913.262459] [032.2] [pid=721] ** Checking service notification viability for contact 'chung-email'... [1342444913.262474] [032.2] [pid=721] ** Service notification viability for contact 'chung-email' PASSED. [1342444913.262481] [032.2] [pid=721] Adding contact 'chung-email' to notification list. [1342444913.262526] [032.2] [pid=721] ** Notifying contact 'chung-email' For issue #2, the host downtime entry in status.dat is still there after the downtime expired. Anyone else having these issues? ________________________________ IMPORTANT: The information contained in this email and/or its attachments is confidential. If you are not the intended recipient, please notify the sender immediately by reply and immediately delete this message and all its attachments. Any review, use, reproduction, disclosure or dissemination of this message or any attachment by an unintended recipient is strictly prohibited. Neither this message nor any attachment is intended as or should be construed as an offer, solicitation or recommendation to buy or sell any security or other financial instrument. Neither the sender, his or her employer nor any of their respective affiliates makes any warranties as to the completeness or accuracy of any of the information contained herein or that this message or any of its attachments is free of viruses. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.elsen at gmail.com Tue Jul 17 16:36:46 2012 From: mark.elsen at gmail.com (Mark Elsen) Date: Tue, 17 Jul 2012 16:36:46 +0200 Subject: notification bug in Nagios Core 3.4.1 In-Reply-To: <2427F5B068AF3443B33296D524928D25017C9E31@xchmbbal504.ds.susq.com> References: <2427F5B068AF3443B33296D524928D25017C9E31@xchmbbal504.ds.susq.com> Message-ID: > I have upgraded to Nagios Core 3.4.1 last week. There are a couple of > issues I noticed. > > 1. notification for service check failures are being sent when the host is > in downtime. > 2. downtime are not being remove when it is expired. > > >.... http://tracker.nagios.org/view.php?id=338 M. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From travisrunyard at gmail.com Tue Jul 17 19:42:53 2012 From: travisrunyard at gmail.com (Travis Runyard) Date: Tue, 17 Jul 2012 10:42:53 -0700 Subject: New disk status showing "UNKNOWN" In-Reply-To: <006001cd63cf$f52b2d00$df818700$@gmail.com> References: <006001cd63cf$f52b2d00$df818700$@gmail.com> Message-ID: Try installing version .0.3.9 of the NSClient and make sure the service is running as the System user. http://files.nsclient.org/x-0.3.x_STABLE/NSClient%2B%2B-0.3.9-x64.msi -Travis On Mon, Jul 16, 2012 at 8:55 PM, IT.Toonz wrote: > Hi, > > We have been using Nagios 3.2.3 (Fully automated Nagios) for over 2 years > now, it is working wonderfully well..... > > Recently we added a new ?G? drive to one of our monitored storage?s and > added that drive?s entry in the cfg file but we are getting UNKNOWN status. > We restarted the server, restarted Nagios, pre-flight checks are not > showing any errors. Command is correct, if we replace the parameters with > another drive, like ?F?, the ?F? drive gets correctly monitored. > > **** > > Server is Windows 2008 64bit R2, NSClient++ - 0.3.8.76 rest of the drives > was already monitored. We checked the drive permissions and noticed that > creator owner didn't have any permission, so we added that, but still no > change.**** > > ** ** > > From the nsclient logs?**** > > 2012-07-17 08:57:43: error:modules\CheckSystem\CheckSystem.cpp:810: > Unhandled exception describing PID: 4: Failed to open process: 4: **** > > 2012-07-17 09:07:43: message:modules\CheckSystem\CheckSystem.cpp:813: > Failed to open process: 4:**** > > ** ** > > **** > > ** ** > > Please advice!**** > > anth**** > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- A non-text attachment was scrubbed... Name: image002.jpg Type: image/jpeg Size: 49830 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image003.jpg Type: image/jpeg Size: 64670 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 48594 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sd at o4s.nl Wed Jul 18 08:03:44 2012 From: sd at o4s.nl (Sven Dohmen) Date: Wed, 18 Jul 2012 08:03:44 +0200 Subject: SNMP Trap monitoring for Dell servers (onIDRACcards) In-Reply-To: References: Message-ID: > Message: 2 > Date: Tue, 17 Jul 2012 08:53:42 +0200 > From: "john meyer" > Subject: [Nagios-users] Nagios-users] SNMP Trap monitoring for Dell > servers (on IDRACcards) > To: nagios-users at lists.sourceforge.net. > Message-ID: <99b7b71f38f05ee1463ac6f1f43a957e at server1.emailn.de> > Content-Type: text/plain; charset="iso-8859-1" > > > Hello Sven > > Which Docus did u use? > > Which version do you have > > Does the snmptt stuff working on a local ( localhost) level? > > if you can give me more infos i'm trying to help you > > best regards john Hello John, I used http://www.whiskey-tango-foxtrott.de/wiki/doku.php?id=linux:debian:snmpd as one of the docu's. Since I am not sure what you mean with the version, i am assuming you are talking about the debian machine. That is the last stable release of it. This goes for the snmptt and trapd aswell. Since the last mail i did figure out some stuff. It seems i dont even need snmptt to get the traps to work. I started the trapdeamon with the following command: snmptrapd -Oa -C -c /etc/snmp/snmptrapd.conf -Lf /tmp/log.log In the logs i noticed then that the traps where sending there own id (1001) along with the rest: 2012-07-17 08:20:44 192.168.103.5(via UDP: [192.168.0.5]:32768->[192.168.0.11]) TRAP, SNMP v1, community public SNMPv2-SMI::enterprises.3183.1.1 Enterprise Specific Trap (1001) Uptime: 434 days, 14:21:57.89 SNMPv2-SMI::enterprises.3183.1.1.1 = STRING: "DELLK..T.S..O05J...ZH6.. !....................XEN01.." So i opened the snmptrapd.conf and i added the following lines: traphandle SNMPv2-SMI::enterprises.3183.1.1.0.1001 /usr/lib/nagios/plugins/handle-dell-openmanage-trap 1001 The script itself just checks the id and then gives nagios the notification that in this case its a test trap. What still is bothering me though is that there is no way to monitor the raid controller or hard disks from the idrac itself. Does anyone perhaps have a solution for that without the use of dell openmanage or the openmanage essentials software? Met vriendelijke groet / With kind regards, Sven Dohmen NOC Engineer Open for Support bv Amerikalaan 1 6199 AE Maastricht-Airport Tel +31 (0)43 88 000 88 Fax +31 (0)43 88 000 80 http://www.o4s.nl -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fireskyer at emailn.de Wed Jul 18 09:43:02 2012 From: fireskyer at emailn.de (john meyer) Date: Wed, 18 Jul 2012 09:43:02 +0200 Subject: SNMP Trap monitoring for Dell servers (onIDRACcards) Message-ID: <79b7fa933086256b4bae1e05379f2453@server1.emailn.de> Hello Sven It's not clear what is working and whats not in your post. So first off all some questions and instructions and put on all debug logs in the snmptt config: 1. Does the trap appear in the unknown log? ( show me the whole trap) 2. does the trap appear in the debug snmptt handler log? 3. check your syslog and your /var/log/messages log 4. Does the check work with the default snmptt handler? 5. why you want to check with an other handler beside the default one? 6. do you work with the script submit check result? to send the trap to nagios? and if so does the local check work? Hi, We have been using Nagios 3.2.3 (Fully automated Nagios) for over 2 years now, it is working wonderfully well..... Recently we added a new "G" drive to one of our monitored storage's and added that drive's entry in the cfg file but we are getting UNKNOWN status. We restarted the server, restarted Nagios, pre-flight checks are not showing any errors. Command is correct, if we replace the parameters with another drive, like "F", the "F" drive gets correctly monitored. Server is Windows 2008 64bit R2, NSClient++ - 0.3.8.76 rest of the drives was already monitored. We checked the drive permissions and noticed that creator owner didn't have any permission, so we added that, but still no change. >From the nsclient logs. 2012-07-17 08:57:43: error:modules\CheckSystem\CheckSystem.cpp:810: Unhandled exception describing PID: 4: Failed to open process: 4: 2012-07-17 09:07:43: message:modules\CheckSystem\CheckSystem.cpp:813: Failed to open process: 4: Please advice! anth -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 48594 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.jpg Type: image/jpeg Size: 49830 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image003.jpg Type: image/jpeg Size: 64670 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sd at o4s.nl Wed Jul 18 12:45:02 2012 From: sd at o4s.nl (Sven Dohmen) Date: Wed, 18 Jul 2012 12:45:02 +0200 Subject: SNMP Trap monitoring for Dell servers In-Reply-To: References: Message-ID: > Hello Sven > > It's not clear what is working and whats not in your post. > > > So first off all some questions and instructions and put on all debug logs in the snmptt config: > > > 1. Does the trap appear in the unknown log? ( show me the whole trap) > 2. does the trap appear in the debug snmptt handler log? > 3. check your syslog and your /var/log/messages log > 4. Does the check work with the default snmptt handler? > 5. why you want to check with an other handler beside the default one? > 6. do you work with the script submit check result? to send the trap to nagios? > and if so does the local check work? > > > It depends on which options does your script offer. > > if you do an test check this howto ( http://www.radium-networks.com/blog/nagios-snmp-3069/) and reconstruct the example on your system > > > best regards john Hello John, Sorry if i was unclear but i got the complete monitoring of the traps working on the idrac cards. I explained this in the previous mailing what i did to fix it. The snmptt handler is completely skipped in my case as i let nagios handle them directly after they are recieved by snmptrapd. The only missing part is are the raid controllers/disks but it seems these are not available in the idrac. Met vriendelijke groet / With kind regards, Sven Dohmen NOC Engineer Open for Support bv Amerikalaan 1 6199 AE Maastricht-Airport Tel +31 (0)43 88 000 88 Fax +31 (0)43 88 000 80 http://www.o4s.nl -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fireskyer at emailn.de Wed Jul 18 13:11:34 2012 From: fireskyer at emailn.de (john meyer) Date: Wed, 18 Jul 2012 13:11:34 +0200 Subject: SNMP Trap monitoring for Dell servers (onIDRACcards) Message-ID: I think the way over the bmc ( ipmi ) Would be better fit .... maybe the idrac has an own bmc and could be queried over ipmi best regards john ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ftlnagios at gmail.com Wed Jul 18 13:36:35 2012 From: ftlnagios at gmail.com (FTL Nagios) Date: Wed, 18 Jul 2012 12:36:35 +0100 Subject: Nagios Report Info - UP Reasons - Confused Message-ID: <003901cd64d9$9723f790$c56be6b0$@gmail.com> Hi all, Could somebody please explain the Nagios report outputs to me? It's the UP time one that I don't understand: For eg - taken from 1 of my servers this week State Type / Reason Time % Total Time % Known Time UP Unscheduled 6d 22h 0m 4s 100.000% 100.000% Scheduled 0d 1h 59m 56s 1.190% 1.190% Total 7d 0h 0m 0s 100.000% 100.000% What is "Unscheduled" uptime? Surely the 6d 22h.. is scheduled uptime??? Its Up and Nagios knows its up? And on the flip side of it, what is the 1h 59m etc that is classed as "scheduled" uptime? Probably being really stupid here! Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From it.toonz at gmail.com Wed Jul 18 14:02:51 2012 From: it.toonz at gmail.com (IT.Toonz) Date: Wed, 18 Jul 2012 17:32:51 +0530 Subject: New disk status showing "UNKNOWN" In-Reply-To: References: <006001cd63cf$f52b2d00$df818700$@gmail.com> Message-ID: <000001cd64dd$447d3a20$cd77ae60$@gmail.com> Will update thanks! We did try with NSCP-0.4.0.172-x64 but got "Connection refused" error. Should we enable "Interact with desktop"? Thanks Ananth. From: Travis Runyard [mailto:travisrunyard at gmail.com] Sent: Tuesday, July 17, 2012 11:13 PM To: Nagios Users List Subject: Re: [Nagios-users] New disk status showing "UNKNOWN" Try installing version .0.3.9 of the NSClient and make sure the service is running as the System user. http://files.nsclient.org/x-0.3.x_STABLE/NSClient%2B%2B-0.3.9-x64.msi -Travis On Mon, Jul 16, 2012 at 8:55 PM, IT.Toonz wrote: Hi, We have been using Nagios 3.2.3 (Fully automated Nagios) for over 2 years now, it is working wonderfully well..... Recently we added a new "G" drive to one of our monitored storage's and added that drive's entry in the cfg file but we are getting UNKNOWN status. We restarted the server, restarted Nagios, pre-flight checks are not showing any errors. Command is correct, if we replace the parameters with another drive, like "F", the "F" drive gets correctly monitored. Server is Windows 2008 64bit R2, NSClient++ - 0.3.8.76 rest of the drives was already monitored. We checked the drive permissions and noticed that creator owner didn't have any permission, so we added that, but still no change. >From the nsclient logs. 2012-07-17 08:57:43: error:modules\CheckSystem\CheckSystem.cpp:810: Unhandled exception describing PID: 4: Failed to open process: 4: 2012-07-17 09:07:43: message:modules\CheckSystem\CheckSystem.cpp:813: Failed to open process: 4: Please advice! anth ---------------------------------------------------------------------------- -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 48594 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.jpg Type: image/jpeg Size: 49830 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image003.jpg Type: image/jpeg Size: 64670 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sd at o4s.nl Wed Jul 18 14:25:30 2012 From: sd at o4s.nl (Sven Dohmen) Date: Wed, 18 Jul 2012 14:25:30 +0200 Subject: SNMP Trap monitoring for Dell servers In-Reply-To: References: Message-ID: > I think the way over the bmc ( ipmi ) > > Would be better fit .... > > maybe the idrac has an own bmc and could be queried over ipmi > > > > best regards john I figured out the ipmi monitoring aswell but also there is no raid monitoring on the dell servers. You can only check if the cable is still attached but not if a drive is failing. I know that on the sun servers this is possible with ipmi but dell decided to go the other way it seems. Thanks for the help though. Met vriendelijke groet / With kind regards, Sven Dohmen NOC Engineer Open for Support bv Amerikalaan 1 6199 AE Maastricht-Airport Tel +31 (0)43 88 000 88 Fax +31 (0)43 88 000 80 http://www.o4s.nl -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From AdcockJ at leoncountyfl.gov Wed Jul 18 14:43:14 2012 From: AdcockJ at leoncountyfl.gov (Jon Adcock) Date: Wed, 18 Jul 2012 08:43:14 -0400 Subject: Flexible Timeout Values? Message-ID: <50067722.D962.0075.0@leoncountyfl.gov> Is there a way to define a Nagios check timeout value based on the time of day? To put it another way, I would like for a given check to have a 10 second timeout for most of the day, but that same check have a 20 second timeout during our server backup window. I know that we can make a copy of each check, and run the original with -t 10, and the copy with -t 20, and run each service check with the proper 'check_period' value, but I'm trying to avoid doubling the number of service checks. We're running Nagios Core v3.4.1. Jon Adcock Network Systems Administrator Leon County MIS 301 S. Monroe St. Tallahassee, FL 32301 Office: (850) 606-5518 adcockj at leoncountyfl.gov -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/jpg Size: 2261 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From a.cappelli at asidev.com Wed Jul 18 14:33:28 2012 From: a.cappelli at asidev.com (Andrea Cappelli) Date: Wed, 18 Jul 2012 14:33:28 +0200 Subject: Monitoring Mikrotik router Message-ID: <5006AD18.9060206@asidev.com> Hi list, I would monitor a not so large Mikrotik network (about 100 host) via SNMP, but I have some questions 1) Where can I find OID for my devices (different version of RouterOS) and how use it? 2) How can I define my checks? I would monitor some thing (Ping, PPP active users, bandwith on all interfaces, CPU, etc) 3) How can I create a "wheatermap" of these hosts Anyone as address a similar task? Thank you in advance -- Andrea Cappelli Asidev s.r.l. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.elsen at gmail.com Wed Jul 18 15:02:34 2012 From: mark.elsen at gmail.com (Mark Elsen) Date: Wed, 18 Jul 2012 15:02:34 +0200 Subject: Monitoring Mikrotik router In-Reply-To: <5006AD18.9060206@asidev.com> References: <5006AD18.9060206@asidev.com> Message-ID: On Wed, Jul 18, 2012 at 2:33 PM, Andrea Cappelli wrote: > Hi list, > I would monitor a not so large Mikrotik network (about 100 host) via > SNMP, but I have some questions > > 1) Where can I find OID for my devices (different version of RouterOS) > and how use it? > SNMP MIBS, for particular equipment and or subsequent software versions are usually made available by the vendor of the particular network equipment being used. 2) How can I define my checks? I would monitor some thing (Ping, PPP > active users, bandwith on all interfaces, CPU, etc) > Largely depends on the 'possibilities' of the MIBS obtained and or wether the relevant snmp-variables for your observing targets are provided. M. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fireskyer at emailn.de Wed Jul 18 15:17:47 2012 From: fireskyer at emailn.de (john meyer) Date: Wed, 18 Jul 2012 15:17:47 +0200 Subject: SNMP Trap monitoring for Dell servers Message-ID: Hello Sven Maybe it's a good idea to tell me which hardware you use in an more exactly way cause for example there is an plugin aviable for equallogic arrays ...: http://exchange.nagios.org/directory/Plugins/Hardware/Server-Hardware/Dell/Check-the-status-of-Dell-EqualLogic-storage/details well ......... I can't promise anything but maybe we could find a solution best regards john ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From robert at robertvbolton.com Wed Jul 18 19:11:17 2012 From: robert at robertvbolton.com (Robert V. Bolton) Date: Wed, 18 Jul 2012 11:11:17 -0600 Subject: Storing Configuration Files in Database Message-ID: I'm exploring using NDOUtils or another database back-end with Nagios, but I don't think I understand how they work. After reading the NDOUtils documentation I noticed that it said that the Nagios daemon doesn't read the configuration information that is stored in the database. Is there something out there I can use with Nagios that will allow the daemon to read the configurations from a database and allow me to get rid of the flat configuration files? -- *Robert V. Bolton* Email: robert at robertvbolton.com Web: http://robertvbolton.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kaushalshriyan at gmail.com Wed Jul 18 19:25:29 2012 From: kaushalshriyan at gmail.com (Kaushal Shriyan) Date: Wed, 18 Jul 2012 22:55:29 +0530 Subject: specific service alert for a specific user Message-ID: Hi, is there a way to trigger email/sms alert for a specific service to a specific user. for example host a has 6 services, out of 6 services, can i trigger email/sms alert for service 5 to user john for example? Regards Kaushal -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From robert at robertvbolton.com Wed Jul 18 20:00:55 2012 From: robert at robertvbolton.com (Robert V. Bolton) Date: Wed, 18 Jul 2012 12:00:55 -0600 Subject: specific service alert for a specific user In-Reply-To: References: Message-ID: On Wed, Jul 18, 2012 at 11:25 AM, Kaushal Shriyan wrote:-- > Hi, > > is there a way to trigger email/sms alert for a specific service to a > specific user. for example host a has 6 services, out of 6 services, can i > trigger email/sms alert for service 5 to user john for example? > > Regards > > Kaushal Kaushal, You can create a contact group called John that has a contact named John as it's only member. Then in the configuration you would specify the alert groups for each service separated by a comma. -- *Robert V. Bolton* Email: robert at robertvbolton.com Web: http://robertvbolton.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From agriffin at nagios.com Wed Jul 18 20:31:45 2012 From: agriffin at nagios.com (Alex Griffin) Date: Wed, 18 Jul 2012 13:31:45 -0500 Subject: Storing Configuration Files in Database In-Reply-To: References: Message-ID: <50070111.7080900@nagios.com> Nagios Core will still read its configuration from text files, but there's always something like NagiosQL for managing your configuration with a database backend. It will automatically write out the text files when changes to the database are applied. Alex Griffin --- Tech Team agriffin at nagios.com On 2012-07-18 12:11, Robert V. Bolton wrote: > I'm exploring using NDOUtils or another database back-end with Nagios, > but I don't think I understand how they work. After reading the NDOUtils > documentation I noticed that it said that the Nagios daemon doesn't read > the configuration information that is stored in the database. Is there > something out there I can use with Nagios that will allow the daemon to > read the configurations from a database and allow me to get rid of the > flat configuration files? > > -- > *Robert V. Bolton* > Email: robert at robertvbolton.com > Web: http://robertvbolton.com > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From travisrunyard at gmail.com Wed Jul 18 21:42:33 2012 From: travisrunyard at gmail.com (Travis Runyard) Date: Wed, 18 Jul 2012 12:42:33 -0700 Subject: New disk status showing "UNKNOWN" In-Reply-To: <000001cd64dd$447d3a20$cd77ae60$@gmail.com> References: <006001cd63cf$f52b2d00$df818700$@gmail.com> <000001cd64dd$447d3a20$cd77ae60$@gmail.com> Message-ID: I have never needed to. Connection refused probably means there are other issues you will need to resolve before proceeding forward with the drive checking problem. On Wed, Jul 18, 2012 at 5:02 AM, IT.Toonz wrote: > Will update thanks! **** > > ** ** > > We did try with NSCP-0.4.0.172-x64 but got ?Connection refused? error.**** > > ** ** > > Should we enable ?Interact with desktop??**** > > ** ** > > Thanks**** > > Ananth.**** > > ** ** > > *From:* Travis Runyard [mailto:travisrunyard at gmail.com] > *Sent:* Tuesday, July 17, 2012 11:13 PM > *To:* Nagios Users List > *Subject:* Re: [Nagios-users] New disk status showing "UNKNOWN"**** > > ** ** > > Try installing version .0.3.9 of the NSClient and make sure the service is > running as the System user.**** > > ** ** > > http://files.nsclient.org/x-0.3.x_STABLE/NSClient%2B%2B-0.3.9-x64.msi**** > > ** ** > > -Travis**** > > On Mon, Jul 16, 2012 at 8:55 PM, IT.Toonz wrote:**** > > Hi, > > We have been using Nagios 3.2.3 (Fully automated Nagios) for over 2 years > now, it is working wonderfully well..... > > Recently we added a new ?G? drive to one of our monitored storage?s and > added that drive?s entry in the cfg file but we are getting UNKNOWN status. > We restarted the server, restarted Nagios, pre-flight checks are not > showing any errors. Command is correct, if we replace the parameters with > another drive, like ?F?, the ?F? drive gets correctly monitored.**** > > Server is Windows 2008 64bit R2, NSClient++ - 0.3.8.76 rest of the drives > was already monitored. We checked the drive permissions and noticed that > creator owner didn't have any permission, so we added that, but still no > change.**** > > **** > > From the nsclient logs?**** > > 2012-07-17 08:57:43: error:modules\CheckSystem\CheckSystem.cpp:810: > Unhandled exception describing PID: 4: Failed to open process: 4: **** > > 2012-07-17 09:07:43: message:modules\CheckSystem\CheckSystem.cpp:813: > Failed to open process: 4:**** > > **** > > **** > > **** > > Please advice!**** > > anth**** > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null**** > > ** ** > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- A non-text attachment was scrubbed... Name: image003.jpg Type: image/jpeg Size: 64670 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 48594 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.jpg Type: image/jpeg Size: 49830 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cwfox at us.fujitsu.com Wed Jul 18 23:12:40 2012 From: cwfox at us.fujitsu.com (Camron W. Fox) Date: Wed, 18 Jul 2012 11:12:40 -1000 Subject: TEST to Nagios Message-ID: <500726C8.9060502@us.fujitsu.com> TEST TEST TEST -- Camron W. Fox Hilo Office High Performance Computing Group Fujitsu Management Services of America, Inc. E-mail: cwfox at us.fujitsu.com Phone: (808) 934-4102 Cell: (808) 937-5026 ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kaushalshriyan at gmail.com Thu Jul 19 01:17:35 2012 From: kaushalshriyan at gmail.com (Kaushal Shriyan) Date: Thu, 19 Jul 2012 04:47:35 +0530 Subject: specific service alert for a specific user In-Reply-To: References: Message-ID: On Wed, Jul 18, 2012 at 11:30 PM, Robert V. Bolton wrote: > On Wed, Jul 18, 2012 at 11:25 AM, Kaushal Shriyan < > kaushalshriyan at gmail.com> wrote:-- > >> Hi, >> >> is there a way to trigger email/sms alert for a specific service to a >> specific user. for example host a has 6 services, out of 6 services, can i >> trigger email/sms alert for service 5 to user john for example? >> >> Regards >> >> Kaushal > > > Kaushal, > > You can create a contact group called John that has a contact named John > as it's only member. Then in the configuration you would specify the alert > groups for each service separated by a comma. > > Thanks Robert, it worked like a charm. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From it.toonz at gmail.com Thu Jul 19 05:52:58 2012 From: it.toonz at gmail.com (IT.Toonz) Date: Thu, 19 Jul 2012 09:22:58 +0530 Subject: New disk status showing "UNKNOWN" In-Reply-To: References: <006001cd63cf$f52b2d00$df818700$@gmail.com> <000001cd64dd$447d3a20$cd77ae60$@gmail.com> Message-ID: <010d01cd6562$015ee8d0$041cba70$@gmail.com> Hi Travis, Still same problem. Connection refused got ok after some time. If I hash the command for H or any other drive and replace the G drive parameters with H, I get the status correctly for H drive. So issue seems to be with the drive permissions or some other, which is not allowing nsclient to capture the status. Please advice. Regards Ananth. From: Travis Runyard [mailto:travisrunyard at gmail.com] Sent: Thursday, July 19, 2012 1:13 AM To: Nagios Users List Subject: Re: [Nagios-users] New disk status showing "UNKNOWN" I have never needed to. Connection refused probably means there are other issues you will need to resolve before proceeding forward with the drive checking problem. On Wed, Jul 18, 2012 at 5:02 AM, IT.Toonz wrote: Will update thanks! We did try with NSCP-0.4.0.172-x64 but got "Connection refused" error. Should we enable "Interact with desktop"? Thanks Ananth. From: Travis Runyard [mailto:travisrunyard at gmail.com] Sent: Tuesday, July 17, 2012 11:13 PM To: Nagios Users List Subject: Re: [Nagios-users] New disk status showing "UNKNOWN" Try installing version .0.3.9 of the NSClient and make sure the service is running as the System user. http://files.nsclient.org/x-0.3.x_STABLE/NSClient%2B%2B-0.3.9-x64.msi -Travis On Mon, Jul 16, 2012 at 8:55 PM, IT.Toonz wrote: Hi, We have been using Nagios 3.2.3 (Fully automated Nagios) for over 2 years now, it is working wonderfully well..... Recently we added a new "G" drive to one of our monitored storage's and added that drive's entry in the cfg file but we are getting UNKNOWN status. We restarted the server, restarted Nagios, pre-flight checks are not showing any errors. Command is correct, if we replace the parameters with another drive, like "F", the "F" drive gets correctly monitored. Server is Windows 2008 64bit R2, NSClient++ - 0.3.8.76 rest of the drives was already monitored. We checked the drive permissions and noticed that creator owner didn't have any permission, so we added that, but still no change. >From the nsclient logs. 2012-07-17 08:57:43: error:modules\CheckSystem\CheckSystem.cpp:810: Unhandled exception describing PID: 4: Failed to open process: 4: 2012-07-17 09:07:43: message:modules\CheckSystem\CheckSystem.cpp:813: Failed to open process: 4: Please advice! anth ---------------------------------------------------------------------------- -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ---------------------------------------------------------------------------- -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- A non-text attachment was scrubbed... Name: image004.jpg Type: image/jpeg Size: 64802 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image005.jpg Type: image/jpeg Size: 48594 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image006.jpg Type: image/jpeg Size: 49830 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image007.jpg Type: image/jpeg Size: 64670 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sd at o4s.nl Thu Jul 19 08:03:05 2012 From: sd at o4s.nl (Sven Dohmen) Date: Thu, 19 Jul 2012 08:03:05 +0200 Subject: SNMP Trap monitoring for Dell servers In-Reply-To: References: Message-ID: Hello John, We are using poweredge servers ranging from the R3x0 series till R8x0 series. For the equallogic's and blade chassis we have some very nice plugins like the one you linked. The monitoring of the raid sets/disks is only needed for the poweredge servers as for the others we dont need the openmanage software anyway. Currently i am testing a debian server with the openmanage software to see how unstable it is but i am stuck at the key retrieval so i cannot say if we ever would start using the openmanage anyway. Met vriendelijke groet / With kind regards, Sven Dohmen NOC Engineer Open for Support bv Amerikalaan 1 6199 AE Maastricht-Airport Tel +31 (0)43 88 000 88 Fax +31 (0)43 88 000 80 http://www.o4s.nl -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fireskyer at emailn.de Thu Jul 19 09:06:04 2012 From: fireskyer at emailn.de (john meyer) Date: Thu, 19 Jul 2012 09:06:04 +0200 Subject: SNMP Trap monitoring for Dell servers Message-ID: Maybe you might be interested in this link you can checkout the i drac log over ipmi .... http://serverfault.com/questions/53441/poweredge-raid-monitoring-and-debian best regards john ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jul 19 14:51:31 2012 From: holger at CIS.FU-Berlin.DE (Holger =?iso-8859-1?Q?Wei=DF?=) Date: Thu, 19 Jul 2012 14:51:31 +0200 Subject: check_ntp_peer reports stratum off-by-one? In-Reply-To: <20120714190232.GA27264@torres.zugschlus.de> References: <4EFD9A7C020000C40002D6F5@kent.pnn.police.uk> <918C015A-E51F-4F19-A335-677ECA5F97AB@conundrum.com> <4F02D7EC020000C40002D7BA@kent.pnn.police.uk> <20120714190232.GA27264@torres.zugschlus.de> Message-ID: <20120719125130.GI24006341@CIS.FU-Berlin.DE> * Marc Haber [2012-07-14 21:02]: > $ ntpq -c pe torres.zugschlus.de > remote refid st t when poll reach delay offset jitter > ============================================================================== > *ptbtime1.ptb.de .PTB. 1 u 1044 1024 377 18.521 -1.513 0.258 > +ptbtime2.ptb.de .PTB. 1 u 903 1024 377 18.132 -1.277 0.373 > -node01.mserverz 85.10.240.253 3 u 651 1024 377 18.721 -7.067 6.829 > zefiris.semidef 192.53.103.108 2 u 490 1024 377 16.496 4.906 0.680 > -evie.fra1.as411 78.47.148.174 3 u 974 1024 377 18.879 4.630 0.616 > +geiger-online.c 81.94.123.17 2 u 556 1024 377 18.200 4.669 0.694 > $ /usr/lib/nagios/plugins/check_ntp_peer -H torres.zugschlus.de --warning=3 --critical=5 --jwarn=1 --jcrit=2 --twarn=5 --tcrit=5 --swarn=2 --scrit=2 > NTP OK: Offset -0,001 secs, jitter=0,000000, stratum=1, truechimers=5|offset=-0,001000s;3,000000;5,000000; jitter=0,000000;1,000000;2,000000;0,000000 stratum=1;2;2;0;16 truechimers=5;5;5;0 > $ > > Does this mean that the --swarn und --twarn options actually check the > stratum of the "best" peer of the queried server, not the queried > server itself? The --swarn and --scrit options (not --twarn), yes.? > And, while we're at it, why is this: > > $ /usr/lib/nagios/plugins/check_ntp_peer -H torres.zugschlus.de --twarn=5 --tcrit=4 -v > 3 candidate peers available > synchronization source found > Getting offset, jitter and stratum for peer 20cf > parsing offset from peer 20cf: -0,001 > NTP CRITICAL: Offset -0,001 secs, truechimers=5|offset=-0,001000s;60,000000;120,000000; truechimers=5;5;4;0 > $ > > critical? --tcrit=4 is equivalent to --tcrit=0:4 and tells the plugin to raise a critical alert if the number of truechimers is outside the range {0..4}. The (arguably somewhat confusing?) syntax for specifying thresholds is documented here: http://nagiosplug.sf.net/developer-guidelines.html#THRESHOLDFORMAT So, you want to specify --twarn=6: --tcrit=5: or --twarn=@5 --tcrit=@4. Holger ? http://permalink.gmane.org/gmane.network.nagios.plugins/4333 ? In his talks, Ton used to quiz the audience about the results of various threshold specifications in order to demonstrate the need for a new threshold syntax, as proposed here: http://nagiosplugins.org/rfc/new_threshold_syntax ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tnelsonp at comcast.net Fri Jul 20 09:29:36 2012 From: tnelsonp at comcast.net (nelson) Date: Fri, 20 Jul 2012 07:29:36 +0000 (UTC) Subject: Installing n2rrd with Nagios on Centos 6.2 Message-ID: I am in the process of building a Centos 6.2 system to run Nagios and n2rrd. It is a virtual machine / sandbox. Centos 6.2 is installed as is Nagios 3.4.1 and Nagios Plugins 1.4.15. Nagios and the Nagios Plugins were installed following the Fedora Quick Start instructions at http://nagios.sourceforge.net/docs/3_0/quickstart-fedora.html Nagios was started and I was able to access the Nagios web pages on Apache successfully. It is the basic, just after installation, configuration, but it tells me it is working. The next step was to download and install n2rrd. I downloaded nagios-n2rrd- 1.4.5-1.src.rpm, and started following the instructions at http://n2rrd- wiki.diglinks.com/display/n2rrd/RPM+Source to perform the install. Step 2 rpm -i nagios-n2rrd-1.4.5-1.src.rpm created /root/rpmbuild/SPECS, SOURCES, etc. Step3 and 4 verify the PATHs for ../SPECS/n2rrd.spec and ../SOURCES/... Step 5 executes the rpmbuild -ba /root/rpmbuild/SPECS/n2rrd.spec My first attempt at rpmbuild revealed that I had some problems with some PATHs specified in n2rrd.spec. Nagios is installed entirely in /usr/local/nagios. No problem, now that I know. I made the appropriate (I believe) changes to n2rrd.spec: #nagios related %define nagios_conf_dir /usr/local/nagios/etc %define nagios_data_dir /usr/local/nagios/share %define nagios_lib_dir /usr/local/nagios %define nagios_log_dir /usr/local/nagios/var I'll admit I guessed on the nagios_lib_dir. I fired up a Nagios installation I had on Fedora 14 to compare directory structures and defining it as /usr/local /nagios did not seem unreasonable. I kicked off the rpmbuild -ba /root/rpmbuild/SPECS/n2rrd.spec again and the messages look a bit better. Near the end of the output, I am seeing the following: Processing files: nagios-n2rrd-1.4.5-1.noarch Provides: config(nagios-n2rrd) = 1.4.5-1 Requires(interp): /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh Requires: /usr/bin/perl perl(Getopt::Std) perl(IO::Socket) perl(RRDs) perl(strict) perl(vars) Processing files: nagios-n2rrd-rrd2graph-1.4.5-1.noarch Provides: config(nagios-n2rrd-rrd2graph) = 1.4.5-1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/perl perl(CGI) perl(File::Basename) perl(File::Find) perl(File::Temp) perl(RRDs) perl(strict) perl(vars) Checking for unpackaged file(s): /usr/lib/rpm/check-files /root/rpmbuild /BUILDROOT/nagios-n2rrd-1.4.5-1.i386 I believe the above messages are statements produced by the execution rather than errors. These statements are followed by some errors: error: Installed (but unpackaged) file(s) found: /etc/nagios/n2rrd.cfg /usr/share/nagios/css3menu/256base-save-over.png /usr/share/nagios/css3menu/256subdown.png /usr/share/nagios/css3menu/256subdown1.png /usr/share/nagios/css3menu/EPS.png . . . /usr/share/nagios/css3menu/zoom-graph.png /usr/share/nagios/css3menu/zoom.png RPM build errors: Installed (but unpackaged) file(s) found: /etc/nagios/n2rrd.cfg /usr/share/nagios/css3menu/256base-save-over.png /usr/share/nagios/css3menu/256subdown.png . . . /usr/share/nagios/css3menu/zoom-graph.png /usr/share/nagios/css3menu/zoom.png My questions are: 1 - Can someone confirm the above messages (Requires...) are statements rather than errors? 2 - What did I do wrong to generate the 'Installed (but unpackaged) file(s) found:' errors? 3 - Is there some 'big picture' item or bit of knowledge that I am missing that caused me to make these errors? Yes, I am beyond the limit of my expertise here. Any thoughts or comments would be welcomed, even 'this is the wrong place for this message.' Thank you. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From phil.randal at hoopleltd.co.uk Fri Jul 20 11:46:33 2012 From: phil.randal at hoopleltd.co.uk (Randal, Phil) Date: Fri, 20 Jul 2012 09:46:33 +0000 Subject: Installing n2rrd with Nagios on Centos 6.2 In-Reply-To: References: Message-ID: <7CA580B59C1ABD45B4614ED90D4C7B853D362594@HC-EXMBX03.herefordshire.gov.uk> Can't help but think that using pnp4nagios would be easier :-) Phil -- Phil Randal Infrastructure Engineer Hoople Ltd | Thorn Office Centre | Hereford HR2 6JT Tel: 01432 260415 | Email: phil.randal at hoopleltd.co.uk -----Original Message----- From: nelson [mailto:tnelsonp at comcast.net] Sent: 20 July 2012 08:30 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Installing n2rrd with Nagios on Centos 6.2 I am in the process of building a Centos 6.2 system to run Nagios and n2rrd. It is a virtual machine / sandbox. Centos 6.2 is installed as is Nagios 3.4.1 and Nagios Plugins 1.4.15. Nagios and the Nagios Plugins were installed following the Fedora Quick Start instructions at http://nagios.sourceforge.net/docs/3_0/quickstart-fedora.html Nagios was started and I was able to access the Nagios web pages on Apache successfully. It is the basic, just after installation, configuration, but it tells me it is working. The next step was to download and install n2rrd. I downloaded nagios-n2rrd- 1.4.5-1.src.rpm, and started following the instructions at http://n2rrd- wiki.diglinks.com/display/n2rrd/RPM+Source to perform the install. Step 2 rpm -i nagios-n2rrd-1.4.5-1.src.rpm created /root/rpmbuild/SPECS, SOURCES, etc. Step3 and 4 verify the PATHs for ../SPECS/n2rrd.spec and ../SOURCES/... Step 5 executes the rpmbuild -ba /root/rpmbuild/SPECS/n2rrd.spec My first attempt at rpmbuild revealed that I had some problems with some PATHs specified in n2rrd.spec. Nagios is installed entirely in /usr/local/nagios. No problem, now that I know. I made the appropriate (I believe) changes to n2rrd.spec: #nagios related %define nagios_conf_dir /usr/local/nagios/etc %define nagios_data_dir /usr/local/nagios/share %define nagios_lib_dir /usr/local/nagios %define nagios_log_dir /usr/local/nagios/var I'll admit I guessed on the nagios_lib_dir. I fired up a Nagios installation I had on Fedora 14 to compare directory structures and defining it as /usr/local /nagios did not seem unreasonable. I kicked off the rpmbuild -ba /root/rpmbuild/SPECS/n2rrd.spec again and the messages look a bit better. Near the end of the output, I am seeing the following: Processing files: nagios-n2rrd-1.4.5-1.noarch Provides: config(nagios-n2rrd) = 1.4.5-1 Requires(interp): /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh Requires: /usr/bin/perl perl(Getopt::Std) perl(IO::Socket) perl(RRDs) perl(strict) perl(vars) Processing files: nagios-n2rrd-rrd2graph-1.4.5-1.noarch Provides: config(nagios-n2rrd-rrd2graph) = 1.4.5-1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/perl perl(CGI) perl(File::Basename) perl(File::Find) perl(File::Temp) perl(RRDs) perl(strict) perl(vars) Checking for unpackaged file(s): /usr/lib/rpm/check-files /root/rpmbuild /BUILDROOT/nagios-n2rrd-1.4.5-1.i386 I believe the above messages are statements produced by the execution rather than errors. These statements are followed by some errors: error: Installed (but unpackaged) file(s) found: /etc/nagios/n2rrd.cfg /usr/share/nagios/css3menu/256base-save-over.png /usr/share/nagios/css3menu/256subdown.png /usr/share/nagios/css3menu/256subdown1.png /usr/share/nagios/css3menu/EPS.png . . . /usr/share/nagios/css3menu/zoom-graph.png /usr/share/nagios/css3menu/zoom.png RPM build errors: Installed (but unpackaged) file(s) found: /etc/nagios/n2rrd.cfg /usr/share/nagios/css3menu/256base-save-over.png /usr/share/nagios/css3menu/256subdown.png . . . /usr/share/nagios/css3menu/zoom-graph.png /usr/share/nagios/css3menu/zoom.png My questions are: 1 - Can someone confirm the above messages (Requires...) are statements rather than errors? 2 - What did I do wrong to generate the 'Installed (but unpackaged) file(s) found:' errors? 3 - Is there some 'big picture' item or bit of knowledge that I am missing that caused me to make these errors? Yes, I am beyond the limit of my expertise here. Any thoughts or comments would be welcomed, even 'this is the wrong place for this message.' Thank you. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ?Any opinion expressed in this e-mail or any attached files are those of the individual and not necessarily those of Hoople Ltd. You should be aware that Hoople Ltd. monitors its email service. 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. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From linuxtovishesh at gmail.com Fri Jul 20 13:41:35 2012 From: linuxtovishesh at gmail.com (vishesh kumar) Date: Fri, 20 Jul 2012 17:11:35 +0530 Subject: shell script not working properly as Nagios plugin Message-ID: Hi Members, I wrote below script to monitor ssh traffic +++++++++++++++++++++++++++++++++++++++++++ a=$(/usr/bin/sudo /sbin/iptables -vL|/bin/grep ':ssh'|/bin/awk '{print $1}') if [ $a -gt 3 ]; then echo "SSH aatempt is TOO High | $a" exit 2 else if [ $a -gt 2 ]; then echo "SSH aatempt is Average | $a" exit 1 else echo "No SSH attempts | $a" exit 0 fi fi exit 3 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ This script is working fine on shell and returning "SSH attempt is too high" . But when i run it via nagios the output returned OK and print "No SSH attempts". What I can notice that variable a not holding any value while running via nagios , while its working fine when running via shell. Can you please drive me in right direction ? Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at flatto.net Fri Jul 20 14:17:43 2012 From: nagios at flatto.net (Assaf Flatto) Date: Fri, 20 Jul 2012 13:17:43 +0100 Subject: shell script not working properly as Nagios plugin In-Reply-To: References: Message-ID: <50094C67.40207@flatto.net> On 20/07/12 12:41, vishesh kumar wrote: > Hi Members, > > I wrote below script to monitor ssh traffic > > +++++++++++++++++++++++++++++++++++++++++++ > a=$(/usr/bin/sudo /sbin/iptables -vL|/bin/grep ':ssh'|/bin/awk '{print > $1}') > if [ $a -gt 3 ]; then > echo "SSH aatempt is TOO High | $a" > exit 2 > else > if [ $a -gt 2 ]; then > echo "SSH aatempt is Average | $a" > exit 1 > else > echo "No SSH attempts | $a" > exit 0 > fi > fi > exit 3 > +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ > > This script is working fine on shell and returning "SSH attempt is too > high" . But when i run it via nagios the output returned OK and print > "No SSH attempts". > > What I can notice that variable a not holding any value while running > via nagios , while its working fine when running via shell. > > Can you please drive me in right direction ? > > > Thanks > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null Is your nagios user defined as allowed to use sudo ? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From linuxtovishesh at gmail.com Fri Jul 20 14:26:32 2012 From: linuxtovishesh at gmail.com (vishesh kumar) Date: Fri, 20 Jul 2012 17:56:32 +0530 Subject: shell script not working properly as Nagios plugin In-Reply-To: <50094C67.40207@flatto.net> References: <50094C67.40207@flatto.net> Message-ID: Yes , Its defined and script running fine when i run it via bash from user nagios . On Fri, Jul 20, 2012 at 5:47 PM, Assaf Flatto wrote: > ** > On 20/07/12 12:41, vishesh kumar wrote: > > Hi Members, > > I wrote below script to monitor ssh traffic > > +++++++++++++++++++++++++++++++++++++++++++ > a=$(/usr/bin/sudo /sbin/iptables -vL|/bin/grep ':ssh'|/bin/awk '{print > $1}') > if [ $a -gt 3 ]; then > echo "SSH aatempt is TOO High | $a" > exit 2 > else > if [ $a -gt 2 ]; then > echo "SSH aatempt is Average | $a" > exit 1 > else > echo "No SSH attempts | $a" > exit 0 > fi > fi > exit 3 > +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ > > This script is working fine on shell and returning "SSH attempt is too > high" . But when i run it via nagios the output returned OK and print "No > SSH attempts". > > What I can notice that variable a not holding any value while running via > nagios , while its working fine when running via shell. > > Can you please drive me in right direction ? > > > Thanks > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > _______________________________________________ > Nagios-users mailing listNagios-users at lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > Is your nagios user defined as allowed to use sudo ? > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- http://linuxmantra.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Thomas.Voigt at netkom.de Fri Jul 20 14:03:03 2012 From: Thomas.Voigt at netkom.de (Voigt, Thomas) Date: Fri, 20 Jul 2012 14:03:03 +0200 Subject: shell script not working properly as Nagios plugin In-Reply-To: References: Message-ID: <3FDCE9918EDF88488C30BDF0F787236A13E6DEFBC6@SME1019.dom1.e-ssi.net> Hi, is your nagios user allowed to run the sudo command from the first line in your script? Please login as and execute the command /usr/bin/sudo /sbin/iptables -vL|/bin/grep ':ssh'|/bin/awk '{print $1}' directly. Do you see any output? -- Regards Thomas Voigt ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From work at paul.dubuc.org Fri Jul 20 14:30:54 2012 From: work at paul.dubuc.org (Paul Dubuc) Date: Fri, 20 Jul 2012 08:30:54 -0400 Subject: Installing n2rrd with Nagios on Centos 6.2 In-Reply-To: <7CA580B59C1ABD45B4614ED90D4C7B853D362594@HC-EXMBX03.herefordshire.gov.uk> References: <7CA580B59C1ABD45B4614ED90D4C7B853D362594@HC-EXMBX03.herefordshire.gov.uk> Message-ID: <50094F7E.9000506@paul.dubuc.org> I'll second that! Randal, Phil wrote: > Can't help but think that using pnp4nagios would be easier :-) > > Phil > > -- > Phil Randal > Infrastructure Engineer > Hoople Ltd | Thorn Office Centre | Hereford HR2 6JT > Tel: 01432 260415 | Email: phil.randal at hoopleltd.co.uk > > -----Original Message----- > From: nelson [mailto:tnelsonp at comcast.net] > Sent: 20 July 2012 08:30 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Installing n2rrd with Nagios on Centos 6.2 > > I am in the process of building a Centos 6.2 system to run Nagios and n2rrd. It is a virtual machine / sandbox. Centos 6.2 is installed as is Nagios 3.4.1 and Nagios Plugins 1.4.15. Nagios and the Nagios Plugins were installed following the Fedora Quick Start instructions at > http://nagios.sourceforge.net/docs/3_0/quickstart-fedora.html Nagios was > started and I was able to access the Nagios web pages on Apache successfully. > It is the basic, just after installation, configuration, but it tells me it is working. > > The next step was to download and install n2rrd. I downloaded nagios-n2rrd- 1.4.5-1.src.rpm, and started following the instructions at http://n2rrd- wiki.diglinks.com/display/n2rrd/RPM+Source to perform the install. > > Step 2 rpm -i nagios-n2rrd-1.4.5-1.src.rpm created /root/rpmbuild/SPECS, SOURCES, etc. > > Step3 and 4 verify the PATHs for ../SPECS/n2rrd.spec and ../SOURCES/... > > Step 5 executes the rpmbuild -ba /root/rpmbuild/SPECS/n2rrd.spec > > My first attempt at rpmbuild revealed that I had some problems with some PATHs specified in n2rrd.spec. Nagios is installed entirely in /usr/local/nagios. > No problem, now that I know. I made the appropriate (I believe) changes to > n2rrd.spec: > > #nagios related > %define nagios_conf_dir /usr/local/nagios/etc > %define nagios_data_dir /usr/local/nagios/share > %define nagios_lib_dir /usr/local/nagios > %define nagios_log_dir /usr/local/nagios/var > > I'll admit I guessed on the nagios_lib_dir. I fired up a Nagios installation I had on Fedora 14 to compare directory structures and defining it as /usr/local /nagios did not seem unreasonable. > > I kicked off the rpmbuild -ba /root/rpmbuild/SPECS/n2rrd.spec again and the messages look a bit better. Near the end of the output, I am seeing the > following: > > Processing files: nagios-n2rrd-1.4.5-1.noarch > Provides: config(nagios-n2rrd) = 1.4.5-1 > Requires(interp): /bin/sh > Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= > 4.6.0-1 > > rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh > Requires: /usr/bin/perl perl(Getopt::Std) perl(IO::Socket) perl(RRDs) > perl(strict) perl(vars) > Processing files: nagios-n2rrd-rrd2graph-1.4.5-1.noarch > Provides: config(nagios-n2rrd-rrd2graph) = 1.4.5-1 > Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= > 4.6.0-1 > > rpmlib(PayloadFilesHavePrefix) <= 4.0-1 > Requires: /usr/bin/perl perl(CGI) perl(File::Basename) perl(File::Find) > perl(File::Temp) perl(RRDs) perl(strict) perl(vars) Checking for unpackaged file(s): /usr/lib/rpm/check-files /root/rpmbuild > /BUILDROOT/nagios-n2rrd-1.4.5-1.i386 > > I believe the above messages are statements produced by the execution rather than errors. These statements are followed by some errors: > > error: Installed (but unpackaged) file(s) found: > /etc/nagios/n2rrd.cfg > /usr/share/nagios/css3menu/256base-save-over.png > /usr/share/nagios/css3menu/256subdown.png > /usr/share/nagios/css3menu/256subdown1.png > /usr/share/nagios/css3menu/EPS.png > . > . > . > /usr/share/nagios/css3menu/zoom-graph.png > /usr/share/nagios/css3menu/zoom.png > > > RPM build errors: > Installed (but unpackaged) file(s) found: > /etc/nagios/n2rrd.cfg > /usr/share/nagios/css3menu/256base-save-over.png > /usr/share/nagios/css3menu/256subdown.png > . > . > . > /usr/share/nagios/css3menu/zoom-graph.png > /usr/share/nagios/css3menu/zoom.png > > > My questions are: > > 1 - Can someone confirm the above messages (Requires...) are statements rather > than errors? > > 2 - What did I do wrong to generate the 'Installed (but unpackaged) file(s) > found:' errors? > > 3 - Is there some 'big picture' item or bit of knowledge that I am missing that > caused me to make these errors? > > Yes, I am beyond the limit of my expertise here. Any thoughts or comments would be welcomed, even 'this is the wrong place for this message.' > > Thank you. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Clark at masergy.com Fri Jul 20 14:33:59 2012 From: Mike.Clark at masergy.com (Mike Clark) Date: Fri, 20 Jul 2012 07:33:59 -0500 Subject: shell script not working properly as Nagios plugin In-Reply-To: References: Message-ID: <8A4C8E742859C047B46E586637A10CC814B23AB637@MAILBOXSERVER.add0.masergy.com> Second that response. From: vishesh kumar [mailto:linuxtovishesh at gmail.com] Sent: Friday, July 20, 2012 6:42 AM To: Nagios Users List Subject: [Nagios-users] shell script not working properly as Nagios plugin Hi Members, I wrote below script to monitor ssh traffic +++++++++++++++++++++++++++++++++++++++++++ a=$(/usr/bin/sudo /sbin/iptables -vL|/bin/grep ':ssh'|/bin/awk '{print $1}') if [ $a -gt 3 ]; then echo "SSH aatempt is TOO High | $a" exit 2 else if [ $a -gt 2 ]; then echo "SSH aatempt is Average | $a" exit 1 else echo "No SSH attempts | $a" exit 0 fi fi exit 3 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ This script is working fine on shell and returning "SSH attempt is too high" . But when i run it via nagios the output returned OK and print "No SSH attempts". What I can notice that variable a not holding any value while running via nagios , while its working fine when running via shell. Can you please drive me in right direction ? Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From linuxtovishesh at gmail.com Fri Jul 20 14:58:24 2012 From: linuxtovishesh at gmail.com (vishesh kumar) Date: Fri, 20 Jul 2012 18:28:24 +0530 Subject: shell script not working properly as Nagios plugin In-Reply-To: <3FDCE9918EDF88488C30BDF0F787236A13E6DEFBC6@SME1019.dom1.e-ssi.net> References: <3FDCE9918EDF88488C30BDF0F787236A13E6DEFBC6@SME1019.dom1.e-ssi.net> Message-ID: Thanks for reply , I am able to run command as nagios and its returning right value 120 to me ---------------------------------------------------------------------------------------------------------- [nagios at monitor ~]$ /usr/bin/sudo /sbin/iptables -vL|/bin/grep ':ssh'|/bin/awk '{print $1}' 120 ---------------------- On Fri, Jul 20, 2012 at 5:33 PM, Voigt, Thomas wrote: > Hi, > > is your nagios user allowed to run the sudo command from the first line in > your script? > > Please login as and execute the command > > /usr/bin/sudo /sbin/iptables -vL|/bin/grep ':ssh'|/bin/awk '{print $1}' > > directly. Do you see any output? > > -- > Regards > > Thomas Voigt > > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- http://linuxmantra.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mh+nagios-users at zugschlus.de Sun Jul 22 16:28:40 2012 From: mh+nagios-users at zugschlus.de (Marc Haber) Date: Sun, 22 Jul 2012 16:28:40 +0200 Subject: check_ntp_peer reports stratum off-by-one? In-Reply-To: <20120719125130.GI24006341@CIS.FU-Berlin.DE> References: <4EFD9A7C020000C40002D6F5@kent.pnn.police.uk> <918C015A-E51F-4F19-A335-677ECA5F97AB@conundrum.com> <4F02D7EC020000C40002D7BA@kent.pnn.police.uk> <20120714190232.GA27264@torres.zugschlus.de> <20120719125130.GI24006341@CIS.FU-Berlin.DE> Message-ID: <20120722142840.GA6931@torres.zugschlus.de> Hi, On Thu, Jul 19, 2012 at 02:51:31PM +0200, Holger Wei? wrote: > * Marc Haber [2012-07-14 21:02]: > > $ ntpq -c pe torres.zugschlus.de > > remote refid st t when poll reach delay offset jitter > > ============================================================================== > > *ptbtime1.ptb.de .PTB. 1 u 1044 1024 377 18.521 -1.513 0.258 > > +ptbtime2.ptb.de .PTB. 1 u 903 1024 377 18.132 -1.277 0.373 > > -node01.mserverz 85.10.240.253 3 u 651 1024 377 18.721 -7.067 6.829 > > zefiris.semidef 192.53.103.108 2 u 490 1024 377 16.496 4.906 0.680 > > -evie.fra1.as411 78.47.148.174 3 u 974 1024 377 18.879 4.630 0.616 > > +geiger-online.c 81.94.123.17 2 u 556 1024 377 18.200 4.669 0.694 > > $ /usr/lib/nagios/plugins/check_ntp_peer -H torres.zugschlus.de --warning=3 --critical=5 --jwarn=1 --jcrit=2 --twarn=5 --tcrit=5 --swarn=2 --scrit=2 > > NTP OK: Offset -0,001 secs, jitter=0,000000, stratum=1, truechimers=5|offset=-0,001000s;3,000000;5,000000; jitter=0,000000;1,000000;2,000000;0,000000 stratum=1;2;2;0;16 truechimers=5;5;5;0 > > $ > > > > Does this mean that the --swarn und --twarn options actually check the > > stratum of the "best" peer of the queried server, not the queried > > server itself? > > The --swarn and --scrit options (not --twarn), yes.? > ? http://permalink.gmane.org/gmane.network.nagios.plugins/4333 I would be in favour of sending a second query to get the results right. Correcting the documentation to reflect what the software really does is only the second best solution. The current combination of documentation and software behavior is confusing at best. > > And, while we're at it, why is this: > > > > $ /usr/lib/nagios/plugins/check_ntp_peer -H torres.zugschlus.de --twarn=5 --tcrit=4 -v > > 3 candidate peers available > > synchronization source found > > Getting offset, jitter and stratum for peer 20cf > > parsing offset from peer 20cf: -0,001 > > NTP CRITICAL: Offset -0,001 secs, truechimers=5|offset=-0,001000s;60,000000;120,000000; truechimers=5;5;4;0 > > $ > > > > critical? > > --tcrit=4 is equivalent to --tcrit=0:4 and tells the plugin to raise a > critical alert if the number of truechimers is outside the range {0..4}. Now that you mention it, things are clear. And it is also mentioned in the --help. But, is the example, "-m :5 -n :3" not the other way round? Thanks for helping. Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don't trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 31958061 Nordisch by Nature | How to make an American Quilt | Fax: *49 621 31958062 ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kaushalshriyan at gmail.com Tue Jul 24 13:35:47 2012 From: kaushalshriyan at gmail.com (Kaushal Shriyan) Date: Tue, 24 Jul 2012 17:05:47 +0530 Subject: set customized email/sms alert Message-ID: Hi, Is there a way i can set customized email/sms alert for a specific service/host with specific subject line? Regards, Kaushal -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kaushalshriyan at gmail.com Wed Jul 25 05:51:58 2012 From: kaushalshriyan at gmail.com (Kaushal Shriyan) Date: Wed, 25 Jul 2012 09:21:58 +0530 Subject: set customized email/sms alert In-Reply-To: References: Message-ID: On Tue, Jul 24, 2012 at 5:05 PM, Kaushal Shriyan wrote: > Hi, > > Is there a way i can set customized email/sms alert for a specific > service/host with specific subject line? > > Regards, > > Kaushal > Hi, Can someone please reply on my earlier post to this Mailing list. Regards, Kaushal -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.ribeiro at altitudeinfra.fr Wed Jul 25 08:43:14 2012 From: david.ribeiro at altitudeinfra.fr (David Ribeiro) Date: Wed, 25 Jul 2012 08:43:14 +0200 (CEST) Subject: set customized email/sms alert In-Reply-To: References: Message-ID: <164236099.47601.1343198594939.JavaMail.root@zm-mbs02.altitudetelecom.fr> Yep you can, you should create a different contact and a different notification type. After, you should apply this contact with this notification type to the service or host you want. Regards, David Ribeiro De: "Kaushal Shriyan" ?: "nagios Mailinglist" Envoy?: Mercredi 25 Juillet 2012 05:51:58 Objet: Re: [Nagios-users] set customized email/sms alert On Tue, Jul 24, 2012 at 5:05 PM, Kaushal Shriyan < kaushalshriyan at gmail.com > wrote: Hi, Is there a way i can set customized email/sms alert for a specific service/host with specific subject line? Regards, Kaushal Hi, Can someone please reply on my earlier post to this Mailing list. Regards, Kaushal ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null Ce message et toutes les pieces jointes (ci-apres le "message" ) sont confidentiels et etablis a l'intention exclusive de ses destinataires. Toute utilisation de ce message non conforme a sa destination, toute diffusion ou toute publication, totale ou partielle, est interdite, sauf autorisation expresse. Si vous recevez ce message par erreur, merci de le detruire sans en conserver de copie et d'en avertir immediatement l'expediteur. Internet ne permettant pas de garantir l'integrite de ce message, AltitudeInfrastructure decline toute responsabilite au titre de ce message s'il a ete modifie, altere, deforme ou falsifie. This message and any attachments (the "message") are confidential and intended solely for the addressees. Any use not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval. If you receive this message in error, please delete it without storing any evidence and immediately notify the sender. Internet can not guarantee the integrity of this message, neither AltitudeInfrastructure shall be liable for the message if modified, altered, changed or falsified. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From linuxoid at gmail.com Wed Jul 25 15:23:01 2012 From: linuxoid at gmail.com (Ruslan Valiyev) Date: Wed, 25 Jul 2012 15:23:01 +0200 Subject: check_ntp_time sometimes reports Offset unknown Message-ID: Hi all, Sometimes the output from check_ntp_time is "Offset unknown" while the ntp server is fine. It can stay like that for a while and then comes back to normal. Here's a sample output while the problem was present on the server: *[root at bravura plugins]# ./check_ntp_time -v -H windows.foo.com* sending request to peer 0 response from peer 0: offset 1.376408458 sending request to peer 0 response from peer 0: offset 1.375704885 sending request to peer 0 response from peer 0: offset 1.375001431 sending request to peer 0 response from peer 0: offset 1.374346972 discarding peer 0: flags=3 overall average offset: 0 NTP CRITICAL: Offset unknown| *OS:* Red Hat Enterprise Linux Server release 6.2 (Santiago) 64-bit *nagios-plugins:* check_ntp_time v1.4.16-29-g3c10 (nagios-plugins 1.4.16) Any ideas? Regards, Ruslan -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Jul 25 15:51:50 2012 From: werner.flamme at ufz.de (Werner Flamme) Date: Wed, 25 Jul 2012 15:51:50 +0200 Subject: check_ntp_time sometimes reports Offset unknown In-Reply-To: References: Message-ID: <500FF9F6.5030902@ufz.de> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Ruslan Valiyev [25.07.2012 15:23]: > Hi all, > > Sometimes the output from check_ntp_time is "Offset unknown" while > the ntp server is fine. > *OS:* Red Hat Enterprise Linux Server release 6.2 (Santiago) > 64-bit *nagios-plugins:* check_ntp_time v1.4.16-29-g3c10 > (nagios-plugins 1.4.16) > > Any ideas? Since it works, I will not say "RedHat? Check SELinux!" now :-) We get "Offset unknown" whenever a host's ntp server is re-syncing with another ntp server. Officially, there is only one ntp server inhouse, so this shouldn't happen, but... ;-) Regards, Werner -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAlAP+fYACgkQk33Krq8b42NWVwCeIc6gbtWQ77qZw2ch2rx6tVwf uwEAn3agfDRIHoZS4dJqNDsjtb7n7a01 =ZBv+ -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jonathan.gazeley at bristol.ac.uk Wed Jul 25 16:32:01 2012 From: jonathan.gazeley at bristol.ac.uk (Jonathan Gazeley) Date: Wed, 25 Jul 2012 15:32:01 +0100 Subject: Nagios servicegroup dependencies Message-ID: <50100361.5080708@bristol.ac.uk> Hi list, I have a question about servicegroups and dependencies. I have a number of hosts and services and I am already host parents, host groups, host dependencies, service groups and service dependencies. Imagine I have 2 database servers, and I have a web server that depends on the database service. I want the HTTP service to depend on the MySQL service *group* rather than on individual MySQL services. So long as there is at least one database server up, the database service keeps on working. How can I express this? The same goes for groups of DHCP, DNS, NTP, RADIUS servers... :) Thanks, Jonathan ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From agriffin at nagios.com Wed Jul 25 16:44:53 2012 From: agriffin at nagios.com (Alex Griffin) Date: Wed, 25 Jul 2012 09:44:53 -0500 Subject: Nagios servicegroup dependencies In-Reply-To: <50100361.5080708@bristol.ac.uk> References: <50100361.5080708@bristol.ac.uk> Message-ID: <50100665.4020307@nagios.com> I don't think that this can be done with just Nagios dependencies. You could set up BPI to accomplish this though. Check it out here: http://exchange.nagios.org/directory/Addons/Components/Nagios-Business-Process-Intelligence-%28BPI%29/details Alex Griffin --- Tech Team agriffin at nagios.com Jonathan Gazeley wrote: > Hi list, > > I have a question about servicegroups and dependencies. I have a number > of hosts and services and I am already host parents, host groups, host > dependencies, service groups and service dependencies. > > Imagine I have 2 database servers, and I have a web server that depends > on the database service. I want the HTTP service to depend on the MySQL > service *group* rather than on individual MySQL services. So long as > there is at least one database server up, the database service keeps on > working. How can I express this? > > The same goes for groups of DHCP, DNS, NTP, RADIUS servers... :) > > Thanks, > Jonathan > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Jul 25 17:01:47 2012 From: stanislas.leveau at ac-caen.fr (Stanislas LEVEAU) Date: Wed, 25 Jul 2012 17:01:47 +0200 Subject: Problem with Passive checks sent with NRDP In-Reply-To: <5000200D.4070500@ac-caen.fr> References: <4E6A673F.7080500@ll.mit.edu> <5000200D.4070500@ac-caen.fr> Message-ID: <50100A5B.7030704@ac-caen.fr> Hi, thank you for reassuring me, is that someone has a success running NRDP? Regards Le 13/07/2012 15:18, Stanislas LEVEAU a ?crit : > Hi, > > I am trying to use NRDP, > > > I followed the instructions in the four page pdf and nrdp seemed to > setup just fine. http://nagios-server/nrdp brings up the web page > exactly as the documentation shows. I filled out the webpage, added in > my token, hit submit and I received the following: > > The first TEST is OK : DISABLE_HOST_NOTIFICATIONS;my-server > > > 0 > OK > > > Nagios LOG : [1342184689] EXTERNAL COMMAND: > DISABLE_HOST_NOTIFICATIONS;my-server > > > The second TEST on a service is NOT OK > > > > > my-server > 0 > Everything looks okay!|perfdata > > > my-server > Service-swap > 1 > WARNING: Danger Will Robinson!|perfdata > > > > > > > 0 > OK > - > > 2 checks processed. > > > > > Nagios LOG : Nothing > > And the service is always OKthen that should be WARNING 1 > > > an idea? > regards. > > > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Stanislas LEVEAU *Stanislas LEVEAU** *Rectorat de Caen 168, rue Caponi?re B.P. 6184 14061 CAEN Cedex Direction des Syst?mes d'Information de l'Acad?mie de Caen D?partement des infrastructures stanislas.leveau at ac-caen.fr Tel : 02.31.30.17.86 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alarripa at albertolarripa.com Wed Jul 25 18:39:23 2012 From: alarripa at albertolarripa.com (Alberto Larripa) Date: Wed, 25 Jul 2012 18:39:23 +0200 Subject: check_ntp_time sometimes reports Offset unknown Message-ID: Do you have installed the last versi?n of the check_ntpd plugin in you client-server machine?, this problem sometimes occur if you don't have the last version. See you ---------------------------------------------------------------------------- Alberto Larripa Sysadmin and DBA Administrator Company: University of navarra www.albertolarripa.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From linuxoid at gmail.com Wed Jul 25 20:00:04 2012 From: linuxoid at gmail.com (Ruslan Valiyev) Date: Wed, 25 Jul 2012 20:00:04 +0200 Subject: check_ntp_time sometimes reports Offset unknown In-Reply-To: <7E3DF27A-9A1C-4206-868F-74E8EB82BA69@gmail.com> References: <7E3DF27A-9A1C-4206-868F-74E8EB82BA69@gmail.com> Message-ID: Sorry, I typed wrong. I meant, the machine executing check_ntp_time is a RHEL server, while the host I'm checking (-H) is a Windows server. Ruslan On Jul 25, 2012, at 7:59 PM, Ruslan Valiyev wrote: > Actually, the machine I am running this plugin from is a Windows 2008 server. > > > Ruslan > > On Jul 25, 2012, at 6:39 PM, Alberto Larripa wrote: > >> Do you have installed the last versi?n of the check_ntpd plugin in you client-server machine?, this problem sometimes occur if you don't have the last version. >> >> See you >> >> ---------------------------------------------------------------------------- >> Alberto Larripa >> Sysadmin and DBA Administrator >> Company: University of navarra >> www.albertolarripa.com >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/_______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: 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 -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From linuxoid at gmail.com Wed Jul 25 19:59:10 2012 From: linuxoid at gmail.com (Ruslan Valiyev) Date: Wed, 25 Jul 2012 19:59:10 +0200 Subject: check_ntp_time sometimes reports Offset unknown In-Reply-To: References: Message-ID: <7E3DF27A-9A1C-4206-868F-74E8EB82BA69@gmail.com> Actually, the machine I am running this plugin from is a Windows 2008 server. Ruslan On Jul 25, 2012, at 6:39 PM, Alberto Larripa wrote: > Do you have installed the last versi?n of the check_ntpd plugin in you client-server machine?, this problem sometimes occur if you don't have the last version. > > See you > > ---------------------------------------------------------------------------- > Alberto Larripa > Sysadmin and DBA Administrator > Company: University of navarra > www.albertolarripa.com > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/_______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jonathan.gazeley at bristol.ac.uk Thu Jul 26 13:11:41 2012 From: jonathan.gazeley at bristol.ac.uk (Jonathan Gazeley) Date: Thu, 26 Jul 2012 12:11:41 +0100 Subject: Nagios servicegroup dependencies In-Reply-To: <50100665.4020307@nagios.com> References: <50100361.5080708@bristol.ac.uk> <50100665.4020307@nagios.com> Message-ID: <501125ED.9030104@bristol.ac.uk> Thanks - BPI looks useful. Cheers, Jonathan On 25/07/12 15:44, Alex Griffin wrote: > I don't think that this can be done with just Nagios dependencies. You > could set up BPI to accomplish this though. Check it out here: > > > http://exchange.nagios.org/directory/Addons/Components/Nagios-Business-Process-Intelligence-%28BPI%29/details > > Alex Griffin > --- > Tech Team > agriffin at nagios.com > > Jonathan Gazeley wrote: >> Hi list, >> >> I have a question about servicegroups and dependencies. I have a number >> of hosts and services and I am already host parents, host groups, host >> dependencies, service groups and service dependencies. >> >> Imagine I have 2 database servers, and I have a web server that depends >> on the database service. I want the HTTP service to depend on the MySQL >> service *group* rather than on individual MySQL services. So long as >> there is at least one database server up, the database service keeps on >> working. How can I express this? >> >> The same goes for groups of DHCP, DNS, NTP, RADIUS servers... :) >> >> Thanks, >> Jonathan >> >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sentimental.bryan at gmail.com Thu Jul 26 22:08:11 2012 From: sentimental.bryan at gmail.com (bryan hunt) Date: Thu, 26 Jul 2012 21:08:11 +0100 Subject: Check load plugin configuration on a local machine. Message-ID: <1343333291.24147.38.camel@dsktp> I've got a 24 core box over here, obviously I need to tweak the configuration of the check_load plugin as it seems designed for a single core machine by default. define service{ use generic-service host_name localhost service_description Current Load check_command check_load!20!18!16!22!19!18 } My understanding is that this breaks down as follows 1, 5, 15 minute load average. I've set it to the following. Warning thresholds. (17 is 70% of 24) 20!18!16 So warn if it is currently 20, or averaging 17. Critical thresholds. 22!19!18 Only one core, not maxed out, bad. Average above 22, bad. Anyhow, my question is. Is this a sane configuration. It's pretty generous with load. My usual load average is actually: 1.88 2.08 2.16 Any advice appreciated, Bryan Hunt ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jul 27 13:42:37 2012 From: werner.flamme at ufz.de (Werner Flamme) Date: Fri, 27 Jul 2012 13:42:37 +0200 Subject: alert RSS feed possible? Message-ID: <50127EAD.4070200@ufz.de> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I just wonder if it is possible to show f. e. current CRITICAL results in an RSS feed. Is there any possibility that a nagios 3.x server provides a newsfeed? Maybe every sent notification can be forwarded to this feed? TIA Werner - -- -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAlASfq0ACgkQk33Krq8b42OJvgCfTTIpkIHQbbxYjmQgGnMYcOzd p90An10xXBGmSwGSlvuVNULceY8ba0cy =mlK3 -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From estanley at nagios.com Fri Jul 27 14:01:32 2012 From: estanley at nagios.com (Eric Stanley) Date: Fri, 27 Jul 2012 07:01:32 -0500 Subject: Check load plugin configuration on a local machine. In-Reply-To: <1343333291.24147.38.camel@dsktp> References: <1343333291.24147.38.camel@dsktp> Message-ID: <5012831C.8000903@nagios.com> Bryan, You're on the right track understanding check_load. There are 3 values for warning level and 3 values for the critical level, one each for the 1-minute, 5-minute, and 15-minute load averages. For the check_load plugin, a warning or critical state is achieved if any one (not all three) of the load average thresholds is exceeded. Depending on what you're trying to measure, you may want to change your thresholds. Since the load is the number of processes ready to run (including those running), the ideal situation is that you have one process ready to run on each core at all times. In other words, on a 24 core box, if your 1-, 5- and 15-minutes load averages are all 24, you're perfectly utilizing all of your CPU capacity. Assuming you're monitoring for excessive load, you'll probably want to set your thresholds higher than the number of cores. Based on experience, I've set warning thresholds for systems I monitor to 9n, 6n, and 3n for 1-, 5-, and 15-minute load averages respectively and the critical thresholds to 15n, 10n, and 5n, where n is the number of cores. These may seem like very high thresholds, especially for the shorter duration averages, but I can tolerate short spikes in load. It's long term excessive loads that concern me. Again, this is based on experience; prior to implementing these settings, I was getting a lot of alerts and much less sleep. :-) Hope that helps. Eric On 7/26/2012 3:08 PM, bryan hunt wrote: > I've got a 24 core box over here, obviously I need to tweak the > configuration of the check_load plugin as it seems designed for a single > core machine by default. > > define service{ > use generic-service > host_name localhost > service_description Current Load > check_command check_load!20!18!16!22!19!18 > } > > > > My understanding is that this breaks down as follows > > 1, 5, 15 minute load average. > > I've set it to the following. > > Warning thresholds. (17 is 70% of 24) > 20!18!16 > > So warn if it is currently 20, or averaging 17. > > Critical thresholds. > 22!19!18 > > Only one core, not maxed out, bad. Average above 22, bad. > > Anyhow, my question is. Is this a sane configuration. It's pretty > generous with load. My usual load average is actually: > > 1.88 2.08 2.16 > > Any advice appreciated, > > Bryan Hunt > > > > > > > > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Eric Stanley ___ Developer Nagios Enterprises, LLC Email: estanley at nagios.com Web: www.nagios.com ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mad at b-care.net Fri Jul 27 14:35:00 2012 From: mad at b-care.net (MAD) Date: Fri, 27 Jul 2012 14:35:00 +0200 Subject: alert RSS feed possible? In-Reply-To: <50127EAD.4070200@ufz.de> References: <50127EAD.4070200@ufz.de> Message-ID: <50128AF4.9070405@b-care.net> Hi, I wrote this a long time ago, so it can clearly be improved. Create a Nagios commands called notify-host-rss and notify-service-rss like this : defined command { command_name notify-host-rss command_line $USER1$/notification_rss.pl -n '$NOTIFICATIONTYPE$' -H "$HOSTNAME$" -e $HOSTSTATE$ -o "$HOSTOUTPUT$" -m 30 -f '$CONTACTEMAIL$' } defined command { command_name notify-service-rss command_line $USER1$/notification_rss.pl -n '$NOTIFICATIONTYPE$' -H "$HOSTNAME$" -s "$SERVICEDESC$" -e $SERVICESTATE$ -o "$SERVICEOUTPUT$" -m 30 -f '$CONTACTEMAIL$' } And define a contact called RSS with the path to the RSS file on your system as its email. Something like define contact { ... contact_name RSS email /var/www/html/rss/nagios.rss host_notification_commands notify-host-rss service_notification_commands notify-service-rss ... } Associate your RSS contact to whatever hosts/services you want and reload your Nagios. On 07/27/2012 01:42 PM, Werner Flamme wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi, > > I just wonder if it is possible to show f. e. current CRITICAL results > in an RSS feed. Is there any possibility that a nagios 3.x server > provides a newsfeed? > > Maybe every sent notification can be forwarded to this feed? > > TIA > Werner > > - -- > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v2.0.18 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ > > iEYEARECAAYFAlASfq0ACgkQk33Krq8b42OJvgCfTTIpkIHQbbxYjmQgGnMYcOzd > p90An10xXBGmSwGSlvuVNULceY8ba0cy > =mlK3 > -----END PGP SIGNATURE----- > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: notification_rss.pl Type: application/x-perl Size: 2818 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jul 27 19:29:21 2012 From: werner.flamme at ufz.de (Werner Flamme) Date: Fri, 27 Jul 2012 19:29:21 +0200 Subject: alert RSS feed possible? In-Reply-To: <50128AF4.9070405@b-care.net> References: <50127EAD.4070200@ufz.de> <50128AF4.9070405@b-care.net> Message-ID: <5012CFF1.200@ufz.de> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Ah, thank you! After I saw the name of the attachment, I could even find your posting from 2009 (28th of July, BTW, so my question was one day too early) :-) We may just replace our notify-host and notify-service commands accordingly, since I want every message to pop up in the feed. Maybe I just write a shell script that does the standard procedure we use now plus the RSS announcement afterwards. The command line will be quite long otherways ;-) Thank you very much! Regards, Werner MAD [27.07.2012 14:35]: > Hi, > > I wrote this a long time ago, so it can clearly be improved. > > Create a Nagios commands called notify-host-rss and > notify-service-rss like this : > > defined command { command_name notify-host-rss command_line > $USER1$/notification_rss.pl -n '$NOTIFICATIONTYPE$' -H "$HOSTNAME$" > -e $HOSTSTATE$ -o "$HOSTOUTPUT$" -m 30 -f '$CONTACTEMAIL$' } > > defined command { command_name notify-service-rss command_line > $USER1$/notification_rss.pl -n '$NOTIFICATIONTYPE$' -H "$HOSTNAME$" > -s "$SERVICEDESC$" -e $SERVICESTATE$ -o "$SERVICEOUTPUT$" -m 30 -f > '$CONTACTEMAIL$' } > > And define a contact called RSS with the path to the RSS file on > your system as its email. Something like define contact { ... > contact_name RSS email /var/www/html/rss/nagios.rss > host_notification_commands notify-host-rss > service_notification_commands notify-service-rss ... } > > Associate your RSS contact to whatever hosts/services you want and > reload your Nagios. > > > On 07/27/2012 01:42 PM, Werner Flamme wrote: Hi, > > I just wonder if it is possible to show f. e. current CRITICAL > results in an RSS feed. Is there any possibility that a nagios 3.x > server provides a newsfeed? > > Maybe every sent notification can be forwarded to this feed? > > TIA Werner > >> >> ------------------------------------------------------------------------------ >> >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security >> and threat landscape has changed and how IT managers can respond. >> Discussions will include endpoint security, mobile security and >> the latest in malware threats. >> http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ Nagios-users >> mailing list Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users ::: >> Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. ::: Messages without supporting info will >> risk being sent to /dev/null >> >> >> ------------------------------------------------------------------------------ >> >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. >> Discussions will include endpoint security, mobile security and >> the latest in malware threats. >> http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> >> >> _______________________________________________ Nagios-users >> mailing list Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users ::: >> Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. ::: Messages without supporting info will >> risk being sent to /dev/null - -- Werner Flamme, Abt. WKDV Helmholtz-Zentrum f?r Umweltforschung GmbH - UFZ Helmholtz Centre for Environmental Research - UFZ Permoserstr. 15 - 04318 Leipzig / Germany Tel./phone: +49 341 235-1921 - Fax +49 341 235-451921 Information nach ?? 37a HGB, 35a GmbHG: Sitz der Gesellschaft: Leipzig Registergericht: Amtsgericht Leipzig, Handelsregister Nr. B 4703 Vorsitzender des Aufsichtsrats: MinDirig Wilfried Kraus Wissenschaftlicher Gesch?ftsf?hrer: Prof. Dr. Georg Teutsch (Scientific Managing Director) Administrative Gesch?ftsf?hrerin: Dr. Heike Gra?mann (Administrative Managing Director) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAlASz/EACgkQk33Krq8b42MsnACfdYmTgLDOLkm9cacRIhmdPeS0 UoAAmwUD9dOm8IIlltFalHp8imxKZLZe =D7YF -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rodrigo.gesswein at gmail.com Sun Jul 29 01:23:22 2012 From: rodrigo.gesswein at gmail.com (Rodrigo Gesswein) Date: Sat, 28 Jul 2012 19:23:22 -0400 Subject: Attemps displays... Message-ID: Dear Nargios Users: I'm running Nagios 3.3.1 and I have a small question. It's possible or not to show in status.cgi only services that have Attempt 4/4 and avoid the others ? An example, if a plug-in goes time-out in attempt 1/4 a warning or critical will be presented to the user, the idea is to avoid this. Thank you Rodrigo ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Nierlein at consol.de Sun Jul 29 10:30:26 2012 From: Sven.Nierlein at consol.de (Sven Nierlein) Date: Sun, 29 Jul 2012 10:30:26 +0200 Subject: Attemps displays... In-Reply-To: References: Message-ID: <5014F4A2.5000802@consol.de> On 7/29/12 1:23, Rodrigo Gesswein wrote: > Dear Nargios Users: > > I'm running Nagios 3.3.1 and I have a small question. It's possible or > not to show in status.cgi only services that have Attempt 4/4 and > avoid the others ? An example, if a plug-in goes time-out in attempt > 1/4 a warning or critical will be presented to the user, the idea is > to avoid this. > > Thank you > Rodrigo Have a look at the Thruk Gui which allows you to filter by "Current Attempt". -> http://thruk.org/ You could also filter by "Hard State". Sven ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mh+nagios-users at zugschlus.de Sun Jul 29 10:51:02 2012 From: mh+nagios-users at zugschlus.de (Marc Haber) Date: Sun, 29 Jul 2012 10:51:02 +0200 Subject: How to deal with hosts that are not always on Message-ID: <20120729085102.GA24668@torres.zugschlus.de> Hi, I have a number of hosts that are not always turned on, such as my Notebook, my home server (which sleeps if not used) and a number of test VMs. To get a reasonable volume of checks in my test installation of Nagios, I would like to have those machines monitored by it. Obviously, I have notifications for those hosts turned off. This, however, leads to non-zero numbers in the critical, warning and unknown fields in the CGI, which gives a wrong impression of my health status since it is normal and expected that those hosts/services are down. Is there any solution for this dilemma? Can I have Nagios monitor hosts without reporting them as down when they are down? I know this may sound strange, but I would like to have statistics about how long the machines have been up and when. Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don't trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 31958061 Nordisch by Nature | How to make an American Quilt | Fax: *49 621 31958062 ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yu.watanabe at jp.fujitsu.com Mon Jul 30 02:55:05 2012 From: yu.watanabe at jp.fujitsu.com (Yu Watanabe) Date: Mon, 30 Jul 2012 09:55:05 +0900 Subject: Codes for NRPE Message-ID: <201207300055.AA05502@S2007337.jp.fujitsu.com> Hello all. I tried to access for the old versions for NRPE but it seems that its depricated. http://sourceforge.net/projects/nrpe/files/ Is there any ways to access the old versions? Thanks, Yu ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Jul 30 06:14:58 2012 From: Edwin.Zoeller at ama-assn.org (Edwin Zoeller) Date: Mon, 30 Jul 2012 04:14:58 +0000 Subject: Codes for NRPE In-Reply-To: <201207300055.AA05502@S2007337.jp.fujitsu.com> References: <201207300055.AA05502@S2007337.jp.fujitsu.com> Message-ID: What version are you looking for? ----- Original Message ----- From: Yu Watanabe [mailto:yu.watanabe at jp.fujitsu.com] Sent: Sunday, July 29, 2012 07:55 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Codes for NRPE Hello all. I tried to access for the old versions for NRPE but it seems that its depricated. http://sourceforge.net/projects/nrpe/files/ Is there any ways to access the old versions? Thanks, Yu ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yu.watanabe at jp.fujitsu.com Mon Jul 30 08:25:34 2012 From: yu.watanabe at jp.fujitsu.com (Yu Watanabe) Date: Mon, 30 Jul 2012 15:25:34 +0900 Subject: Codes for NRPE In-Reply-To: References: Message-ID: <201207300625.AA05504@S2007337.jp.fujitsu.com> Hi. I was looking for versions that can be compatible with following libssl version. libssl-dev ? 0.9.8g-16ubuntu3 So , I was thinking older than v 2.12 might do so. Thanks, Yu Edwin Zoeller ????????: >What version are you looking for? > >----- Original Message ----- >From: Yu Watanabe [mailto:yu.watanabe at jp.fujitsu.com] >Sent: Sunday, July 29, 2012 07:55 PM >To: nagios-users at lists.sourceforge.net >Subject: [Nagios-users] Codes for NRPE > >Hello all. > >I tried to access for the old versions for NRPE but it seems that its depricated. > >http://sourceforge.net/projects/nrpe/files/ > >Is there any ways to access the old versions? > >Thanks, >Yu > > >------------------------------------------------------------------------------ >Live Security Virtual Conference >Exclusive live event will cover all the ways today's security and >threat landscape has changed and how IT managers can respond. Discussions >will include endpoint security, mobile security and the latest in malware >threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > >------------------------------------------------------------------------------ >Live Security Virtual Conference >Exclusive live event will cover all the ways today's security and >threat landscape has changed and how IT managers can respond. Discussions >will include endpoint security, mobile security and the latest in malware >threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at flatto.net Mon Jul 30 09:43:54 2012 From: nagios at flatto.net (Assaf Flatto) Date: Mon, 30 Jul 2012 08:43:54 +0100 Subject: How to deal with hosts that are not always on In-Reply-To: <20120729085102.GA24668@torres.zugschlus.de> References: <20120729085102.GA24668@torres.zugschlus.de> Message-ID: <50163B3A.8020006@flatto.net> If a host i down in known time period ,than create a new time period for that host to be monitored and exclude it from the 24x7 default time definition. you can also put your hosts in scheduled downtime - this will still show as faults on the CGI , but for reporting it will not have any impact as it is " deliberate downtime" On 29/07/12 09:51, Marc Haber wrote: > Hi, > > I have a number of hosts that are not always turned on, such as my > Notebook, my home server (which sleeps if not used) and a number of > test VMs. To get a reasonable volume of checks in my test installation > of Nagios, I would like to have those machines monitored by it. > > Obviously, I have notifications for those hosts turned off. This, > however, leads to non-zero numbers in the critical, warning and > unknown fields in the CGI, which gives a wrong impression of my health > status since it is normal and expected that those hosts/services are > down. > > Is there any solution for this dilemma? Can I have Nagios monitor > hosts without reporting them as down when they are down? > > I know this may sound strange, but I would like to have statistics > about how long the machines have been up and when. > > Greetings > Marc > ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From linuxoid at gmail.com Mon Jul 30 10:54:17 2012 From: linuxoid at gmail.com (Ruslan Valiyev) Date: Mon, 30 Jul 2012 10:54:17 +0200 Subject: Differentiate receivers based on alert severity? Message-ID: Hi, I was wondering if it's possible to achieve something a la: - when CPU alerts are warning, they should go to user1 at foo.com - when CPU alerts are critical, they should go to user2 at foo.com Ruslan -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at flatto.net Mon Jul 30 11:13:47 2012 From: nagios at flatto.net (Assaf Flatto) Date: Mon, 30 Jul 2012 10:13:47 +0100 Subject: Differentiate receivers based on alert severity? In-Reply-To: References: Message-ID: <5016504B.3080005@flatto.net> Yes , you can use two different contacts , one that has only warning , and the other only for critical . On 30/07/12 09:54, Ruslan Valiyev wrote: > Hi, > > I was wondering if it's possible to achieve something a la: > > - when CPU alerts are warning, they should go to user1 at foo.com > > - when CPU alerts are critical, they should go to user2 at foo.com > > > > Ruslan > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From linuxoid at gmail.com Mon Jul 30 11:20:58 2012 From: linuxoid at gmail.com (Ruslan Valiyev) Date: Mon, 30 Jul 2012 11:20:58 +0200 Subject: Differentiate receivers based on alert severity? In-Reply-To: <5016504B.3080005@flatto.net> References: <5016504B.3080005@flatto.net> Message-ID: Does it mean I have to create two different service templates and specify my emails there? On Mon, Jul 30, 2012 at 11:13 AM, Assaf Flatto wrote: > ** > Yes , you can use two different contacts , one that has only warning , and > the other only for critical . > > > > > On 30/07/12 09:54, Ruslan Valiyev wrote: > > Hi, > > I was wondering if it's possible to achieve something a la: > > - when CPU alerts are warning, they should go to user1 at foo.com > - when CPU alerts are critical, they should go to user2 at foo.com > > > Ruslan > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > _______________________________________________ > Nagios-users mailing listNagios-users at lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kaushalshriyan at gmail.com Mon Jul 30 12:35:01 2012 From: kaushalshriyan at gmail.com (Kaushal Shriyan) Date: Mon, 30 Jul 2012 16:05:01 +0530 Subject: customizable php script Message-ID: Hi, I have the php script which outputs the below variables along with the values. #php solr_discount_check.php PHP Deprecated: Directive 'register_long_arrays' is deprecated in PHP 5.3 and greater in Unknown on line 0 OutOfStock:15105 DiffId:0 DiffAtbt:0 InSync:15257 Is there a way to set nagios sms/email alert for the above use case. Any specific nagios plugin which can address this typical usecase? Regards, Kaushal ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From linuxtovishesh at gmail.com Mon Jul 30 14:20:24 2012 From: linuxtovishesh at gmail.com (vishesh kumar) Date: Mon, 30 Jul 2012 17:50:24 +0530 Subject: Plug in to monitor apache status Message-ID: Hi All, I need to get a plug-in to monitor Apache. I have server-status on and tried check_apache2. But pnp4nagios is giving below error. ++++++++++++++++++++ Please check the documentation for information about the following error. Template /usr/local/pnp4nagios/share/templates/check_apache2.php does not provide array $def[]. Read FAQ online +++++++++++++++++++++++++++++++++ Can you please suggest me a plug-in with pnp4nagios template. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From linuxtovishesh at gmail.com Mon Jul 30 14:22:16 2012 From: linuxtovishesh at gmail.com (vishesh kumar) Date: Mon, 30 Jul 2012 17:52:16 +0530 Subject: Differentiate receivers based on alert severity? In-Reply-To: References: <5016504B.3080005@flatto.net> Message-ID: No , I think in same service definition , you can write notification_options w contact_group user1 at foo.com notification_options c contact_group user2 at foo.com Thanks On Mon, Jul 30, 2012 at 2:50 PM, Ruslan Valiyev wrote: > Does it mean I have to create two different service templates and specify > my emails there? > > > On Mon, Jul 30, 2012 at 11:13 AM, Assaf Flatto wrote: > >> ** >> Yes , you can use two different contacts , one that has only warning , >> and the other only for critical . >> >> >> >> >> On 30/07/12 09:54, Ruslan Valiyev wrote: >> >> Hi, >> >> I was wondering if it's possible to achieve something a la: >> >> - when CPU alerts are warning, they should go to user1 at foo.com >> - when CPU alerts are critical, they should go to user2 at foo.com >> >> >> Ruslan >> >> >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> >> >> _______________________________________________ >> Nagios-users mailing listNagios-users at lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> >> >> >> >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- http://linuxmantra.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at flatto.net Mon Jul 30 14:43:58 2012 From: nagios at flatto.net (Assaf Flatto) Date: Mon, 30 Jul 2012 13:43:58 +0100 Subject: Differentiate receivers based on alert severity? In-Reply-To: References: <5016504B.3080005@flatto.net> Message-ID: <5016818E.8000703@flatto.net> Correction , you can not specify an email address in the service def. you will need to create a contact and then define the contact in the server : contacts foo or if he is part of a group contact_group Faa but you specify the service notifications as notification_options w,c and in the contact definition you say which statuses it will alert on . On 30/07/12 13:22, vishesh kumar wrote: > No , I think in same service definition , you can write > > notification_options w > contact_group user1 at foo.com > notification_options c > contact_group user2 at foo.com > > Thanks > > > On Mon, Jul 30, 2012 at 2:50 PM, Ruslan Valiyev > wrote: > > Does it mean I have to create two different service templates and > specify my emails there? > > > On Mon, Jul 30, 2012 at 11:13 AM, Assaf Flatto > wrote: > > Yes , you can use two different contacts , one that has only > warning , and the other only for critical . > > > > > On 30/07/12 09:54, Ruslan Valiyev wrote: >> Hi, >> >> I was wondering if it's possible to achieve something a la: >> >> - when CPU alerts are warning, they should go to >> user1 at foo.com >> - when CPU alerts are critical, they should go to >> user2 at foo.com >> >> >> Ruslan >> >> >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats.http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> >> >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. > Discussions > will include endpoint security, mobile security and the latest > in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to > /dev/null > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. > Discussions > will include endpoint security, mobile security and the latest in > malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > > -- > http://linuxmantra.com > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cbeattie at geninfo.com Mon Jul 30 15:39:09 2012 From: cbeattie at geninfo.com (Chris Beattie) Date: Mon, 30 Jul 2012 09:39:09 -0400 Subject: Differentiate receivers based on alert severity? In-Reply-To: References: <5016504B.3080005@flatto.net> Message-ID: <50168E7D.9030908@geninfo.com> On 7/30/2012 5:20 AM, Ruslan Valiyev wrote: > Does it mean I have to create two different service templates and > specify my emails there? No, you can have just one template for service check if you like. You determine what kinds of notifications a contact can receive with the service_notification_options directive in the contact definition. You just make two contact definitions with different notification options. Where I work the system administrators receive warning, critical, and recovery notifications via e-mail. Each of those guys has a separate contact defined for his pager, which is set to receive only critical and recovery. Also, you may want to check out service escalations as a flexible way of adding more recipients to a notification. If the system administrators here sleep through the first two notifications, their manager will start receiving them as well! -- -Chris Nothing in this message is intended to make or accept an offer or to form a contract, except that an attachment that is an image of a contract bearing the signature of an officer of our company may be or become a contract. This message (including any attachments) is intended only for the use of the individual or entity to whom it is addressed. It may contain information that is non-public, proprietary, privileged, confidential, and exempt from disclosure under applicable law or may constitute as attorney work product. If you are not the intended recipient, we hereby notify you that any use, dissemination, distribution, or copying of this message is strictly prohibited. If you have received this message in error, please notify us immediately by telephone and delete this message immediately. Thank you. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeremy.page at gilbarco.com Mon Jul 30 18:57:21 2012 From: jeremy.page at gilbarco.com (Jeremy Page) Date: Mon, 30 Jul 2012 12:57:21 -0400 Subject: check_file_age help In-Reply-To: References: Message-ID: <5016BCF1.6090703@gilbarco.com> Hello list, I am trying to use check_file_age on Ubuntu 10.04 to check a local file system. When I specify the file name it works but using a wildcard fails saying it cannot find the file. I need to use the wildcard - the files have unique names based on the date created. Both work when run interactively from the command line as the Nagios service. My check command is: define command { command_name check_file_age_v1 command_line $USER1$/check_file_age -w $ARG1$ -c $ARG2$ -f $ARG3$ } The service command is: Works: define service{ host_name host.company.com service_description backup check - Is the file new in the past 24 hours check_command check_file_age_v1!86400!172800!/stuff/backup/2012-07-30-02-01-30_backup.xml use generic-service } Does not work: define service{ host_name host.company.com service_description backup check - Is the file new in the past 24 hours check_command check_file_age_v1!86400!172800!/stuff/backup/* use generic-service } Please be advised that this email may contain confidential information. If you are not the intended recipient, please notify us by email by replying to the sender and delete this message. The sender disclaims that the content of this email constitutes an offer to enter into, or the acceptance of, any agreement; provided that the foregoing does not invalidate the binding effect of any digital or other electronic reproduction of a manual signature that is included in any attachment. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From justinp at norchemlab.com Mon Jul 30 19:19:57 2012 From: justinp at norchemlab.com (Justin T Pryzby) Date: Mon, 30 Jul 2012 10:19:57 -0700 Subject: check_file_age help In-Reply-To: <5016BCF1.6090703@gilbarco.com> References: <5016BCF1.6090703@gilbarco.com> Message-ID: <20120730171957.GA3113@norchemlab.com> Nagios probably doesn't use the shell, which is how wildcards get expanded, so the plugin is just seeing "*" instead of a filename. I suggest to use a shell wrapper, like #! /bin/sh set -e d=/stuff/backup pp=/usr/lib/nagios/plugins x=`ls -lt "$d"` 1>&2 || exit 3 x=`echo "$x" |sed q` exec $pp/check_file_age -f "$x" -w .. -c .. -W .. -C .. Or you can keep a "current" symlink or such, pointing to the most recent backup. Justin On Mon, Jul 30, 2012 at 12:57:21PM -0400, Jeremy Page wrote: > Hello list, I am trying to use check_file_age on Ubuntu 10.04 to check a > local file system. When I specify the file name it works but using a > wildcard fails saying it cannot find the file. I need to use the > wildcard - the files have unique names based on the date created. > > Both work when run interactively from the command line as the Nagios > service. > > My check command is: > define command { > command_name check_file_age_v1 > command_line $USER1$/check_file_age -w $ARG1$ -c $ARG2$ -f $ARG3$ > } > > The service command is: > > Works: > define service{ > host_name host.company.com > service_description backup check - Is the file new in the past 24 > hours > check_command > check_file_age_v1!86400!172800!/stuff/backup/2012-07-30-02-01-30_backup.xml > use generic-service > } > > Does not work: > define service{ > host_name host.company.com > service_description backup check - Is the file new in the past 24 > hours > check_command check_file_age_v1!86400!172800!/stuff/backup/* > use generic-service > } > > > > Please be advised that this email may contain confidential > information. If you are not the intended recipient, please notify us > by email by replying to the sender and delete this message. The > sender disclaims that the content of this email constitutes an offer > to enter into, or the acceptance of, any agreement; provided that the > foregoing does not invalidate the binding effect of any digital or > other electronic reproduction of a manual signature that is included > in any attachment. > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From roger at firedrake.org Mon Jul 30 20:22:49 2012 From: roger at firedrake.org (Roger Burton West) Date: Mon, 30 Jul 2012 19:22:49 +0100 Subject: check_file_age help In-Reply-To: <5016BCF1.6090703@gilbarco.com> References: <5016BCF1.6090703@gilbarco.com> Message-ID: <20120730182249.GA12118@firedrake.org> On Mon, Jul 30, 2012 at 12:57:21PM -0400, Jeremy Page wrote: >Hello list, I am trying to use check_file_age on Ubuntu 10.04 to check a >local file system. When I specify the file name it works but using a >wildcard fails saying it cannot find the file. I need to use the >wildcard - the files have unique names based on the date created. Can you point it at the _directory_, to find the last time that was changed? ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vstaroselskiy at dataraker.com Mon Jul 30 20:31:48 2012 From: vstaroselskiy at dataraker.com (Vladislav Staroselskiy) Date: Mon, 30 Jul 2012 14:31:48 -0400 Subject: Derive service settings from hosts definition Message-ID: <20B84D30F1DB44F68BA66EB9249A798F@DRVStar> Hello! Is there any way to derive certain service options from the host definition? Is there any default inheritance behavior for it? I.e.: --- cut --- define service { use production-service hostgroup_name ping contacts derive_from_host contact_groups derive_from_host notification_period derive_from_host notifications_enabled derive_from_host notification_interval derive_from_host } --- cut --- Below I will try to describe the actual problem, which lead me to this question. I have a number of services and hosts, tied up to each other via hostgroups (logically grouped by a service type). It's pretty convenient to manage them this way. For example: --- cut --- define host{ use production-host host_name server1 address 192.168.0.1 hostgroups ping,linux,web,mysql,snmp,nrpe } [...number of other hosts with similar definitions...] define hostgroup { hostgroup_name ping alias ICMP Ping Group } [...number of other hostgroups...] define service { use production-service hostgroup_name ping service_description PING check_command check_ping!200.0,20%!500.0,60% } [...number of other services, related to defined hostgroups...] --- cut --- >From alerting prospective, all my environment can be grouped into "production", "development", "qa" and "dummy", where each group has it's own contact list and notification options (matching for both service and host checks). So, I have 4 different host templates and 4 service templates with properly defined contacts and notification options (i.e. "production-host/production-service", "dev-host/dev-service", etc.). What is killing me at this moment, is the fact, that in order to send proper service alerts to these groups, I also have to keep 4 (nearly identical !) sets of services and hostgroups: --- cut --- define host{ use dev-host host_name dev-server1 address 192.168.1.1 hostgroups dev-ping,dev-linux,dev-web,dev-mysql,dev-snmp,dev-nrpe } [...number of other hosts with similar definitions...] define hostgroup { hostgroup_name dev-ping alias ICMP Ping Group for Development } [...number of other "dev" hostgroups...] define service { use dev-service hostgroup_name dev-ping service_description PING check_command check_ping!200.0,20%!500.0,60% } [...number of other services, related to "dev" hostgroups...] [...also repeated twice for "qa" and "dummy" groups...] --- cut --- I really wish, service notification/contact options could be derived from hosts definitions to avoid this mess. If anyone has a suggestion on how to better organize it, I would also appreciate your feedback. Vlad. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kaushalshriyan at gmail.com Tue Jul 31 06:37:03 2012 From: kaushalshriyan at gmail.com (Kaushal Shriyan) Date: Tue, 31 Jul 2012 10:07:03 +0530 Subject: customizable php script In-Reply-To: References: Message-ID: On Mon, Jul 30, 2012 at 4:05 PM, Kaushal Shriyan wrote: > Hi, > > I have the php script which outputs the below variables along with the values. > > #php solr_discount_check.php > PHP Deprecated: Directive 'register_long_arrays' is deprecated in PHP > 5.3 and greater in Unknown on line 0 > OutOfStock:15105 > DiffId:0 > DiffAtbt:0 > InSync:15257 > > Is there a way to set nagios sms/email alert for the above use case. > Any specific nagios plugin which can address this typical usecase? > > Regards, > > Kaushal Hi Can someone please reply to my earlier post to this mailing list. Regards Kaushal ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mail at catsnest.co.uk Tue Jul 31 11:00:20 2012 From: mail at catsnest.co.uk (RichTea) Date: Tue, 31 Jul 2012 10:00:20 +0100 Subject: customizable php script In-Reply-To: References: Message-ID: On Tue, Jul 31, 2012 at 5:37 AM, Kaushal Shriyan wrote: > On Mon, Jul 30, 2012 at 4:05 PM, Kaushal Shriyan > wrote: > > Hi, > > > > I have the php script which outputs the below variables along with the > values. > > > > #php solr_discount_check.php > > PHP Deprecated: Directive 'register_long_arrays' is deprecated in PHP > > 5.3 and greater in Unknown on line 0 > > OutOfStock:15105 > > DiffId:0 > > DiffAtbt:0 > > InSync:15257 > > > > Is there a way to set nagios sms/email alert for the above use case. > > Any specific nagios plugin which can address this typical usecase? > > > > Regards, > > > > Kaushal > > Hi > > Can someone please reply to my earlier post to this mailing list. > > Regards > > Kaushal > > http://lmgtfy.com/?q=writing+a+nagios+plugin PS people _might_ answer quicker if you actually ask a question! Ritchie -- <--Time flies like an arrow; fruit flies like a banana. --> ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kaushalshriyan at gmail.com Tue Jul 31 12:20:25 2012 From: kaushalshriyan at gmail.com (Kaushal Shriyan) Date: Tue, 31 Jul 2012 15:50:25 +0530 Subject: customizable php script In-Reply-To: References: Message-ID: On Tue, Jul 31, 2012 at 2:30 PM, RichTea wrote: > > > On Tue, Jul 31, 2012 at 5:37 AM, Kaushal Shriyan > wrote: >> >> On Mon, Jul 30, 2012 at 4:05 PM, Kaushal Shriyan >> wrote: >> > Hi, >> > >> > I have the php script which outputs the below variables along with the >> > values. >> > >> > #php solr_discount_check.php >> > PHP Deprecated: Directive 'register_long_arrays' is deprecated in PHP >> > 5.3 and greater in Unknown on line 0 >> > OutOfStock:15105 >> > DiffId:0 >> > DiffAtbt:0 >> > InSync:15257 >> > >> > Is there a way to set nagios sms/email alert for the above use case. >> > Any specific nagios plugin which can address this typical usecase? >> > >> > Regards, >> > >> > Kaushal >> >> Hi >> >> Can someone please reply to my earlier post to this mailing list. >> >> Regards >> >> Kaushal >> > > http://lmgtfy.com/?q=writing+a+nagios+plugin > > > PS people _might_ answer quicker if you actually ask a question! > > Ritchie Hi Ritchie Is there a way to get the below output in the sms/email in a similar fashion. when i run my php code. For example php myphpcode.php gives me below details:- OutOfStock:15105 DiffId:0 DiffAtbt:0 InSync:15257 Let me explain the format the first field is OutOfStock and its value is 15015 and so on so forth and let me know if you need more information. Regards Kaushal ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lists at mykeul.com Tue Jul 31 13:57:28 2012 From: lists at mykeul.com (Mykeul) Date: Tue, 31 Jul 2012 13:57:28 +0200 Subject: Retrieve historical data Message-ID: <5017C828.9030600@mykeul.com> Hello, If I have a host named "myserver", monitored for 1 year, and I rename it "myserver1", I loose the whole data history, stats and so on. Can someone explain how to get these datas to make them available for "myserver1" ? If think it would be the same problem if migration from an old nagios server to a new one. Thanks for your help Regards Mykeul -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 claudiokuenzler.com Tue Jul 31 14:46:28 2012 From: ck at claudiokuenzler.com (Claudio Kuenzler) Date: Tue, 31 Jul 2012 14:46:28 +0200 Subject: Retrieve historical data In-Reply-To: <5017C828.9030600@mykeul.com> References: <5017C828.9030600@mykeul.com> Message-ID: On Tue, Jul 31, 2012 at 1:57 PM, Mykeul wrote: > Hello, > > If I have a host named "myserver", monitored for 1 year, and I rename it > "myserver1", I loose the whole data history, stats and so on. > Can someone explain how to get these datas to make them available for > "myserver1" ? > It might sound stupid but the only way which comes into my mind is to "search and replace" myserver to myserver1 in the archive logs. At least if you're using log files and no db for check results and logging. > > If think it would be the same problem if migration from an old nagios > server to a new one. > Nope it wouldn't. The Nagios config would stay the same - you just need to migrate all the archive logs as well. > > Thanks for your help > > Regards > > Mykeul > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Jul 31 15:51:48 2012 From: m.borsani at it.net (Marco Borsani) Date: Tue, 31 Jul 2012 15:51:48 +0200 Subject: check_memory does not work properly Message-ID: <00a401cd6f23$a74926a0$f5db73e0$@it.net> Hi all I am using a simple plug-in to check the nagios server memory. When I run it like user Nagios, it works perfectly. I see this output: OK - free memory is 40% which is within expected threshold| mem=40;10;5;0;100 When I run it with Nagios program I receive this notification: .. Command: check_local_memory State: WARNING Message: (null) . Any idea ? Marco Borsani Unix and Monitoring Sysadmin Technical Operations Dpt. tel: +39 010 4310115 fax: +39 02 30130311 cell: +39 329 5953944 ITnet Srl Societ? con socio unico Direzione e Coordinamento di Libero S.r.l. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cbeattie at geninfo.com Tue Jul 31 17:03:00 2012 From: cbeattie at geninfo.com (Chris Beattie) Date: Tue, 31 Jul 2012 11:03:00 -0400 Subject: Derive service settings from hosts definition In-Reply-To: <20B84D30F1DB44F68BA66EB9249A798F@DRVStar> References: <20B84D30F1DB44F68BA66EB9249A798F@DRVStar> Message-ID: <5017F3A4.80107@geninfo.com> On 7/30/2012 2:31 PM, Vladislav Staroselskiy wrote: > Is there any way to derive certain service options from the host definition? Is there any default inheritance behavior for it? ... > I really wish, service notification/contact options could be derived from hosts definitions to avoid this mess. If anyone has a > suggestion on how to better organize it, I would also appreciate your feedback. Nagios does almost exactly that, except for the enabling or disabling of notifications. Services will inherit their contact_groups, notification_interval, and notification_period from their associated host if those three directives are not set in the service's definition. Search for "implied inheritance" down the page here: http://nagios.sourceforge.net/docs/3_0/objectinheritance.html Also, you can use a + sign to signal additive inheritance, which comes in handy if you want to modify an implied inheritance without replacing it. It's explained directly above implied inheritance on that page. -- -Chris Nothing in this message is intended to make or accept an offer or to form a contract, except that an attachment that is an image of a contract bearing the signature of an officer of our company may be or become a contract. This message (including any attachments) is intended only for the use of the individual or entity to whom it is addressed. It may contain information that is non-public, proprietary, privileged, confidential, and exempt from disclosure under applicable law or may constitute as attorney work product. If you are not the intended recipient, we hereby notify you that any use, dissemination, distribution, or copying of this message is strictly prohibited. If you have received this message in error, please notify us immediately by telephone and delete this message immediately. Thank you. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From booleanenator at gmail.com Tue Jul 31 17:24:12 2012 From: booleanenator at gmail.com (David Fulton) Date: Tue, 31 Jul 2012 11:24:12 -0400 Subject: Derive service settings from hosts definition In-Reply-To: <5017F3A4.80107@geninfo.com> References: <20B84D30F1DB44F68BA66EB9249A798F@DRVStar> <5017F3A4.80107@geninfo.com> Message-ID: On Tue, Jul 31, 2012 at 11:03 AM, Chris Beattie wrote: > On 7/30/2012 2:31 PM, Vladislav Staroselskiy wrote: >> Is there any way to derive certain service options from the host definition? Is there any default inheritance behavior for it? > ... >> I really wish, service notification/contact options could be derived from hosts definitions to avoid this mess. If anyone has a >> suggestion on how to better organize it, I would also appreciate your feedback. > > Nagios does almost exactly that, except for the enabling or disabling of > notifications. > > Services will inherit their contact_groups, notification_interval, and > notification_period from their associated host if those three directives > are not set in the service's definition. > > Search for "implied inheritance" down the page here: > http://nagios.sourceforge.net/docs/3_0/objectinheritance.html > > Also, you can use a + sign to signal additive inheritance, which comes > in handy if you want to modify an implied inheritance without replacing > it. It's explained directly above implied inheritance on that page. > > -- > -Chris > > Nothing in this message is intended to make or accept an offer or to form a contract, except that an attachment that is an image of a contract bearing the signature of an officer of our company may be or become a contract. This message (including any attachments) is intended only for the use of the individual or entity to whom it is addressed. It may contain information that is non-public, proprietary, privileged, confidential, and exempt from disclosure under applicable law or may constitute as attorney work product. If you are not the intended recipient, we hereby notify you that any use, dissemination, distribution, or copying of this message is strictly prohibited. If you have received this message in error, please notify us immediately by telephone and delete this message immediatel y. > > Thank you. > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null Also keep in mind you can use user defined host based macros that can be defined in the templates to make parameters to the service checks inherited from the host as well. I used this feature to create classes of hosts while at the same time giving me the option to tweak the thresholds on a class-by-class or host-by-host basis. Very flexible. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jul 31 23:24:02 2012 From: patrick.morris at hp.com (Morris, Patrick) Date: Tue, 31 Jul 2012 21:24:02 +0000 Subject: check_memory does not work properly In-Reply-To: <00a401cd6f23$a74926a0$f5db73e0$@it.net> References: <00a401cd6f23$a74926a0$f5db73e0$@it.net> Message-ID: Posting your check configuration is really helpful in cases like this. It's almost impossible to give a good answer without knowing how you've set the check up. From: Marco Borsani [mailto:m.borsani at it.net] Sent: Tuesday, July 31, 2012 6:52 AM To: NAGIOS Subject: [Nagios-users] check_memory does not work properly Hi all I am using a simple plug-in to check the nagios server memory. When I run it like user Nagios, it works perfectly. I see this output: OK - free memory is 40% which is within expected threshold| mem=40;10;5;0;100 When I run it with Nagios program I receive this notification: ... Command: check_local_memory State: WARNING Message: (null) .. Any idea ? -------------- 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: 6231 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jul 31 23:29:35 2012 From: patrick.morris at hp.com (Morris, Patrick) Date: Tue, 31 Jul 2012 21:29:35 +0000 Subject: customizable php script In-Reply-To: References: Message-ID: > -----Original Message----- > From: Kaushal Shriyan [mailto:kaushalshriyan at gmail.com] > Sent: Tuesday, July 31, 2012 3:20 AM > To: mail at catsnest.co.uk; Nagios Users List > Subject: Re: [Nagios-users] customizable php script > > On Tue, Jul 31, 2012 at 2:30 PM, RichTea wrote: > > > > > > On Tue, Jul 31, 2012 at 5:37 AM, Kaushal Shriyan > > > > wrote: > >> > >> On Mon, Jul 30, 2012 at 4:05 PM, Kaushal Shriyan > >> wrote: > >> > Hi, > >> > > >> > I have the php script which outputs the below variables along with > >> > the values. > >> > > >> > #php solr_discount_check.php > >> > PHP Deprecated: Directive 'register_long_arrays' is deprecated in > >> > PHP > >> > 5.3 and greater in Unknown on line 0 > >> > OutOfStock:15105 > >> > DiffId:0 > >> > DiffAtbt:0 > >> > InSync:15257 > >> > > >> > Is there a way to set nagios sms/email alert for the above use > case. > >> > Any specific nagios plugin which can address this typical usecase? > >> > > >> > Regards, > >> > > >> > Kaushal > >> > >> Hi > >> > >> Can someone please reply to my earlier post to this mailing list. > >> > >> Regards > >> > >> Kaushal > >> > > > > http://lmgtfy.com/?q=writing+a+nagios+plugin > > > > > > PS people _might_ answer quicker if you actually ask a question! > > > > Ritchie > > Hi Ritchie > > Is there a way to get the below output in the sms/email in a similar > fashion. when i run my php code. For example php myphpcode.php gives me > below details:- > > OutOfStock:15105 > DiffId:0 > DiffAtbt:0 > InSync:15257 > > Let me explain the format the first field is OutOfStock and its value > is 15015 and so on so forth and let me know if you need more > information. Read the documentation, specifically the parts about the plugin API here: http://nagios.sourceforge.net/docs/3_0/pluginapi.html It should be relatively trivial to convert your script to work as a Nagios plugin. You really haven't provided any kind of detail on how to determine what you expect for these values, and when Nagios should alert... but I'd assume you know all that and can tweak your PHP script a little so that it works with Nagios the way you want it to. -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 6231 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null