From aflexzor at gmail.com Sun Sep 1 00:07:43 2013 From: aflexzor at gmail.com (Alex Flex) Date: Sat, 31 Aug 2013 16:07:43 -0600 Subject: About the global handler. Message-ID: <5222692F.1060608@gmail.com> Hello, Iam trying to use a global handler so that it invokes a failover by distinguishing first if the host is CRITICAL, if its then it should failover all services under that host and ignore the number of services of that particular host in trouble and NOT try to failover specific services. If specific services of that host are in trouble AND the host state is OK then it should failover only the specific services. Is this something that can be achieved by a global host handler? If yes how? according to what i read i cannot pass specific service arguments to the global handler. It only gets fed the nagios macros so it cannot distinguish what action to take according to the circumstances. Alex ------------------------------------------------------------------------------ Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From aflexzor at gmail.com Sun Sep 1 00:19:34 2013 From: aflexzor at gmail.com (Alex Flex) Date: Sat, 31 Aug 2013 16:19:34 -0600 Subject: Is it possible to recieve a single global notification for all checks? In-Reply-To: References: <52224F4F.6020107@gmail.com> Message-ID: <52226BF6.4060205@gmail.com> Hello Steve, On 08/31/2013 03:41 PM, steve f wrote: > I've built a few checks that monitor say 5 partitions or ping 5 ip > addresses and will report back if one or more are down. results line > says 1 is ok, 2 is ok, 3 is down,,, etc. > > Is that what you are looking for? Your solution was to create a single check that at the same time performs various checks, similar to the check_multi . However I need each check to be an independent check :( Any other suggestion is appreciated. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From palli at ok.is Sun Sep 1 01:00:27 2013 From: palli at ok.is (=?utf-8?Q?P=C3=A1ll_Gu=C3=B0j=C3=B3n_Sigur=C3=B0sson?=) Date: Sat, 31 Aug 2013 23:00:27 -0000 (GMT) Subject: Is it possible to recieve a single global notification for all checks? In-Reply-To: <52226BF6.4060205@gmail.com> References: <52226BF6.4060205@gmail.com> Message-ID: I made something the other day that might help you. check_nagios_services is a plugin that checks the current of other nagios services (via mk-livestatus) and you can set threshold, for example if one of many http checks are critical, return critical as well. Maybe you can use that as a basis to solve your problem. https://github.com/palli/monitor-iceland/blob/master/nagios-plugins/check_nagios_services ----- Original Message ----- From: "Alex Flex" To: "Nagios Users List" Sent: Saturday, August 31, 2013 10:19:34 PM Subject: Re: [Nagios-users] Is it possible to recieve a single global notification for all checks? Hello Steve, On 08/31/2013 03:41 PM, steve f wrote: I've built a few checks that monitor say 5 partitions or ping 5 ip addresses and will report back if one or more are down. results line says 1 is ok, 2 is ok, 3 is down,,, etc. Is that what you are looking for? Your solution was to create a single check that at the same time performs various checks, similar to the check_multi . However I need each check to be an independent check :( Any other suggestion is appreciated. ------------------------------------------------------------------------------ Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 2 07:25:08 2013 From: kaushalshriyan at gmail.com (Kaushal Shriyan) Date: Mon, 2 Sep 2013 10:55:08 +0530 Subject: Nagios Load Alerts Message-ID: Hi, Is there a way to know what caused load issue on a specific time period. For example lets say the load critical alert by nagios during night time period. How do i debug? I know of top utility but not sure if it stores historical data. Please suggest and any recommendations to optimize the thresholds for Load service based on best practices. Regards, Kaushal -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dwittenberg2008 at gmail.com Mon Sep 2 07:38:41 2013 From: dwittenberg2008 at gmail.com (Daniel Wittenberg) Date: Mon, 2 Sep 2013 00:38:41 -0500 Subject: Nagios Load Alerts In-Reply-To: References: Message-ID: We have no idea what OS, I'm assuming some Unix/Linux, so going throw out to look at sar, maybe it's installed and running and might help, but without more info it's really hard for us to guess. Dan On Sep 2, 2013, at 12:25 AM, Kaushal Shriyan wrote: > Hi, > > Is there a way to know what caused load issue on a specific time period. For example lets say the load critical alert by nagios during night time period. How do i debug? I know of top utility but not sure if it stores historical data. Please suggest and any recommendations to optimize the thresholds for Load service based on best practices. > > Regards, > > Kaushal > ------------------------------------------------------------------------------ > Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! > Discover the easy way to master current and previous Microsoft technologies > and advance your career. Get an incredible 1,500+ hours of step-by-step > tutorial videos with LearnDevNow. Subscribe today and save! > http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk_______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From eagles051387 at gmail.com Mon Sep 2 07:44:13 2013 From: eagles051387 at gmail.com (Jonathan Aquilina) Date: Mon, 2 Sep 2013 07:44:13 +0200 Subject: Nagios Load Alerts In-Reply-To: References: Message-ID: If i am not mistaken something like cacti would be good to monitor such data in terms of the time period when there was the load etc. On Mon, Sep 2, 2013 at 7:25 AM, Kaushal Shriyan wrote: > Hi, > > Is there a way to know what caused load issue on a specific time period. > For example lets say the load critical alert by nagios during night time > period. How do i debug? I know of top utility but not sure if it stores > historical data. Please suggest and any recommendations to optimize the > thresholds for Load service based on best practices. > > Regards, > > Kaushal > > > ------------------------------------------------------------------------------ > Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! > Discover the easy way to master current and previous Microsoft technologies > and advance your career. Get an incredible 1,500+ hours of step-by-step > tutorial videos with LearnDevNow. Subscribe today and save! > http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Jonathan Aquilina -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 2 07:49:03 2013 From: kaushalshriyan at gmail.com (Kaushal Shriyan) Date: Mon, 2 Sep 2013 11:19:03 +0530 Subject: Nagios Load Alerts In-Reply-To: References: Message-ID: On Mon, Sep 2, 2013 at 11:08 AM, Daniel Wittenberg < dwittenberg2008 at gmail.com> wrote: > We have no idea what OS, I'm assuming some Unix/Linux, so going throw out > to look at sar, maybe it's installed and running and might help, but > without more info it's really hard for us to guess. > > Dan > > Hi Dan, Thanks for the reply. Apologies for not furnishing more info. I am running CentOS Linux version 6.4 Regards, Kaushal > > On Sep 2, 2013, at 12:25 AM, Kaushal Shriyan > wrote: > > > Hi, > > > > Is there a way to know what caused load issue on a specific time period. > For example lets say the load critical alert by nagios during night time > period. How do i debug? I know of top utility but not sure if it stores > historical data. Please suggest and any recommendations to optimize the > thresholds for Load service based on best practices. > > > > Regards, > > > > Kaushal > > > ------------------------------------------------------------------------------ > > Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! > > Discover the easy way to master current and previous Microsoft > technologies > > and advance your career. Get an incredible 1,500+ hours of step-by-step > > tutorial videos with LearnDevNow. Subscribe today and save! > > > http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk_______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > ------------------------------------------------------------------------------ > Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! > Discover the easy way to master current and previous Microsoft technologies > and advance your career. Get an incredible 1,500+ hours of step-by-step > tutorial videos with LearnDevNow. Subscribe today and save! > http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From william at leibzon.org Mon Sep 2 09:19:11 2013 From: william at leibzon.org (William Leibzon) Date: Mon, 2 Sep 2013 00:19:11 -0700 Subject: Nagios Load Alerts In-Reply-To: References: Message-ID: night: archiving and zipping of logs On Sun, Sep 1, 2013 at 10:25 PM, Kaushal Shriyan wrote: > Hi, > > Is there a way to know what caused load issue on a specific time period. > For example lets say the load critical alert by nagios during night time > period. How do i debug? I know of top utility but not sure if it stores > historical data. Please suggest and any recommendations to optimize the > thresholds for Load service based on best practices. > > Regards, > > Kaushal > > > ------------------------------------------------------------------------------ > Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! > Discover the easy way to master current and previous Microsoft technologies > and advance your career. Get an incredible 1,500+ hours of step-by-step > tutorial videos with LearnDevNow. Subscribe today and save! > http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From paul.simons at onair.aero Mon Sep 2 13:50:32 2013 From: paul.simons at onair.aero (Paul Simons) Date: Mon, 2 Sep 2013 11:50:32 +0000 Subject: Ziproxy - Nagios check Message-ID: <70DEBC6456A1354CB274DBEB6DDC1F4E18E920DE@gvavirtex01.OnAir.aero> Hello Has anyone developed a check to confirm that Ziproxy (useful compression proxy) is running (under xinetd)? I would like to use a standard plugin if possible, I have been playing with the 'check_http' but without success. Regards Paul ________________________________ Disclaimer: This e-mail (and any attachments to it) is confidential and intended solely for the named person/s to whom it is addressed. If you are not an intended recipient, please notify us immediately and delete the email from your system. Any review, dissemination or other use of it in these circumstances is prohibited. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From aflexzor at gmail.com Mon Sep 2 22:29:13 2013 From: aflexzor at gmail.com (Alex Flex) Date: Mon, 02 Sep 2013 14:29:13 -0600 Subject: Is it possible to recieve a single global notification for all checks? In-Reply-To: References: Message-ID: <5224F519.409@gmail.com> Hello. Thank you for this,definately it looks like the solution for me.. although mk-livestatus looks much unknown . Alex ------------------------------------------------------------------------------ Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Sep 3 05:13:12 2013 From: work at paul.dubuc.org (Paul M Dubuc) Date: Mon, 02 Sep 2013 23:13:12 -0400 Subject: Is it possible to recieve a single global notification for all checks? In-Reply-To: <5224F519.409@gmail.com> References: <5224F519.409@gmail.com> Message-ID: <522553C8.6000300@paul.dubuc.org> Alex Flex wrote: > Hello. Thank you for this,definately it looks like the solution for > me.. although mk-livestatus looks much unknown . > > Alex Maybe Nagios BPI will also work for you. http://exchange.nagios.org/directory/Addons/Components/Nagios-Business-Process-Intelligence-%28BPI%29/details ------------------------------------------------------------------------------ Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Sep 3 11:20:54 2013 From: ftlnagios at gmail.com (FTL Nagios) Date: Tue, 3 Sep 2013 10:20:54 +0100 Subject: Custom Arrange Hostgroups Overview in the UI Message-ID: <000001cea886$e4f52c40$aedf84c0$@gmail.com> Hi, On the Host Groups Overview page - is it possible to custom arrange the hostgroups displayed rather than by the default of alphabetically, by editing some file? Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Sep 3 11:33:45 2013 From: ftlnagios at gmail.com (FTL Nagios) Date: Tue, 3 Sep 2013 10:33:45 +0100 Subject: Custom Arrange Hostgroups Overview in the UI Message-ID: <001101cea888$b04e6770$10eb3650$@gmail.com> Hi, On the Host Groups Overview page - is it possible to custom arrange the hostgroups displayed rather than by the default of alphabetically, by editing some file? Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 3 12:33:07 2013 From: m.borsani at it.net (Marco Borsani) Date: Tue, 3 Sep 2013 12:33:07 +0200 Subject: check_udp error message Message-ID: <008801cea890$fad71640$f08542c0$@it.net> Hi all I need to control many UDP ports. I run the command: ./check_udp ?H ?p 88 I receive following error message (with state UNKNOWN) : With UDP checks, a send/expect string must be specified Can anyone help me to solve it? Those parameters should be optional.. regards Marco Borsani Unix and Monitoring Sysadmin Business Unit Internet Solutions - Operations tel: +39 010 4310115 fax: +39 02 30130311 cell: +39 329 5953944 ITnet S.r.l. Societ? con socio unico Soggetta a direzione e coordinamento di Italiaonline S.r.l. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tblanchard at valueclick.com Tue Sep 3 13:00:59 2013 From: tblanchard at valueclick.com (Thomas Blanchard) Date: Tue, 3 Sep 2013 11:00:59 +0000 Subject: Is it possible to recieve a single global notification for all checks? In-Reply-To: <52224F4F.6020107@gmail.com> References: <52224F4F.6020107@gmail.com> Message-ID: <8E7B30AA007A564CA44BF6B799CC1C3E19D4DB42@STO-EXDB101.corp.valueclick.com> Hi Alex, Have you taken a look at the service dependency? Since they all seem to be the same type of check, you can set a parent check which would just monitor the port, the main web site, or the apache process, and the internal nagios mechanisms will trigger only an alert for the parent check if it goes down, hiding all child service checks. http://nagios.sourceforge.net/docs/3_0/dependencies.html is that what you're looking for? Thomas -----Original Message----- From: Alex Flex [mailto:aflexzor at gmail.com] Sent: 31 August 2013 21:17 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Is it possible to recieve a single global notification for all checks? Hello Nginx, I have a single host, and dozens of services of the same type (http check) monitored. When a service goes down it is normal for others to report CRITICAL at the same time. Intead of generating a notification for each independant service can I have a SINGLE email consolidate the report on whats on CRITICAL? Perhaps using a global handler, however how would this work with the part of one email per minute if my understanding is that the global event handler runs independtly for each service? Anything creative is welcome. Alex ------------------------------------------------------------------------------ Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null This email and any files included with it may contain privileged, proprietary and/or confidential information that is for the sole use of the intended recipient(s). Any disclosure, copying, distribution, posting, or use of the information contained in or attached to this email is prohibited unless permitted by the sender. If you have received this email in error, please immediately notify the sender via return email, telephone, or fax and destroy this original transmission and its included files without reading or saving it in any manner. Thank you. ------------------------------------------------------------------------------ Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Tue Sep 3 15:53:36 2013 From: ae at op5.se (Andreas Ericsson) Date: Tue, 03 Sep 2013 15:53:36 +0200 Subject: check_udp error message In-Reply-To: <008801cea890$fad71640$f08542c0$@it.net> References: <008801cea890$fad71640$f08542c0$@it.net> Message-ID: <5225E9E0.8020207@op5.se> On 2013-09-03 12:33, Marco Borsani wrote: > Hi all > > I need to control many UDP ports. > > > > I run the command: > > ./check_udp ?H ?p 88 > > > > I receive following error message (with state UNKNOWN) : > > With UDP checks, a send/expect string must be specified > > > > Can anyone help me to solve it? > > Those parameters should be optional.. > UDP is a connection-less protocol. The "expect" string could indeed be optional, and we could just expect to get something at all back when we send something, but without sending anything we won't even touch the network, so the remote host has no idea that we're trying to talk to it and we won't know if the port is up. That's why "send", at least, is not optional. -- 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. ------------------------------------------------------------------------------ Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alex.c at axxin.com Wed Sep 4 02:27:54 2013 From: alex.c at axxin.com (Alex Clifford) Date: Wed, 4 Sep 2013 10:27:54 +1000 Subject: Web interface buffer overflow Message-ID: Hi, I'm running Nagios 3.5 and have setup a number of basic checks successfully. From these I have 5 hosts utilising check_nrpe!check_disk just fine. However, one of them throws errors when viewing the Service check's details in the web interface. The page doesn't fully render so I lose access to the Service Commands table. The apache error log shows the following when loading http://axops01/nagios/cgi-bin/extinfo.cgi?type=2&host=mail&service=Check+Disk+Usage ----- [Wed Sep 04 10:19:49 2013] [error] [client 172.16.0.84] *** buffer overflow detected ***: /usr/local/nagios/sbin/extinfo.cgi terminated, referer: http://axops01/nagios/cgi-bin/status.cgi?host=all [Wed Sep 04 10:19:49 2013] [error] [client 172.16.0.84] ======= Backtrace: =========, referer: http://axops01/nagios/cgi-bin/status.cgi?host=all [Wed Sep 04 10:19:49 2013] [error] [client 172.16.0.84] /lib/x86_64-linux-gnu/libc.so.6(__fortify_fail+0x37)[0x7f479f0dd817], referer: http://axops01/nagios/cgi-bin/status.cgi?host=all [Wed Sep 04 10:19:49 2013] [error] [client 172.16.0.84] /lib/x86_64-linux-gnu/libc.so.6(+0x109710)[0x7f479f0dc710], referer: http://axops01/nagios/cgi-bin/status.cgi?host=all [Wed Sep 04 10:19:49 2013] [error] [client 172.16.0.84] /lib/x86_64-linux-gnu/libc.so.6(+0x108b79)[0x7f479f0dbb79], referer: http://axops01/nagios/cgi-bin/status.cgi?host=all [Wed Sep 04 10:19:49 2013] [error] [client 172.16.0.84] /lib/x86_64-linux-gnu/libc.so.6(_IO_default_xsputn+0xdd)[0x7f479f04f13d], referer: http://axops01/nagios/cgi-bin/status.cgi?host=all [Wed Sep 04 10:19:49 2013] [error] [client 172.16.0.84] /lib/x86_64-linux-gnu/libc.so.6(_IO_vfprintf+0x1d42)[0x7f479f01d702], referer: http://axops01/nagios/cgi-bin/status.cgi?host=all [Wed Sep 04 10:19:49 2013] [error] [client 172.16.0.84] /lib/x86_64-linux-gnu/libc.so.6(__vsprintf_chk+0x94)[0x7f479f0dbc14], referer: http://axops01/nagios/cgi-bin/status.cgi?host=all [Wed Sep 04 10:19:49 2013] [error] [client 172.16.0.84] /lib/x86_64-linux-gnu/libc.so.6(__sprintf_chk+0x7d)[0x7f479f0dbb5d], referer: http://axops01/nagios/cgi-bin/status.cgi?host=all [Wed Sep 04 10:19:49 2013] [error] [client 172.16.0.84] /usr/local/nagios/sbin/extinfo.cgi[0x40d39f], referer: http://axops01/nagios/cgi-bin/status.cgi?host=all [Wed Sep 04 10:19:49 2013] [error] [client 172.16.0.84] /usr/local/nagios/sbin/extinfo.cgi[0x406869], referer: http://axops01/nagios/cgi-bin/status.cgi?host=all [Wed Sep 04 10:19:49 2013] [error] [client 172.16.0.84] /usr/local/nagios/sbin/extinfo.cgi[0x401d0c], referer: http://axops01/nagios/cgi-bin/status.cgi?host=all [Wed Sep 04 10:19:49 2013] [error] [client 172.16.0.84] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed)[0x7f479eff476d], referer: http://axops01/nagios/cgi-bin/status.cgi?host=all [Wed Sep 04 10:19:49 2013] [error] [client 172.16.0.84] /usr/local/nagios/sbin/extinfo.cgi[0x402f45], referer: http://axops01/nagios/cgi-bin/status.cgi?host=all [Wed Sep 04 10:19:49 2013] [error] [client 172.16.0.84] ======= Memory map: ========, referer: http://axops01/nagios/cgi-bin/status.cgi?host=all [Wed Sep 04 10:19:49 2013] [error] [client 172.16.0.84] 00400000-00446000 r-xp 00000000 fc:04 1709712 /usr/local/nagios/sbin/extinfo.cgi, referer: http://axops01/nagios/cgi-bin/status.cgi?host=all [Wed Sep 04 10:19:49 2013] [error] [client 172.16.0.84] 00645000-00646000 r--p 00045000 fc:04 1709712 /usr/local/nagios/sbin/extinfo.cgi, referer: http://axops01/nagios/cgi-bin/status.cgi?host=all [Wed Sep 04 10:19:49 2013] [error] [client 172.16.0.84] 00646000-00647000 rw-p 00046000 fc:04 1709712 /usr/local/nagios/sbin/extinfo.cgi, referer: http://axops01/nagios/cgi-bin/status.cgi?host=all [Wed Sep 04 10:19:49 2013] [error] [client 172.16.0.84] 00647000-0064b000 rw-p 00000000 00:00 0 , referer: http://axops01/nagios/cgi-bin/status.cgi?host=all [Wed Sep 04 10:19:49 2013] [error] [client 172.16.0.84] 01d24000-01d45000 rw-p 00000000 00:00 0 [heap], referer: http://axops01/nagios/cgi-bin/status.cgi?host=all [Wed Sep 04 10:19:49 2013] [error] [client 172.16.0.84] 7f479eaf4000-7f479eb09000 r-xp 00000000 fc:04 1048620 /lib/x86_64-linux-gnu/libgcc_s.so.1, referer: http://axops01/nagios/cgi-bin/status.cgi?host=all [Wed Sep 04 10:19:49 2013] [error] [client 172.16.0.84] 7f479eb09000-7f479ed08000 ---p 00015000 fc:04 1048620 /lib/x86_64-linux-gnu/libgcc_s.so.1, referer: http://axops01/nagios/cgi-bin/status.cgi?host=all [Wed Sep 04 10:19:49 2013] [error] [client 172.16.0.84] 7f479ed08000-7f479ed09000 r--p 00014000 fc:04 1048620 /lib/x86_64-linux-gnu/libgcc_s.so.1, referer: http://axops01/nagios/cgi-bin/status.cgi?host=all [Wed Sep 04 10:19:49 2013] [error] [client 172.16.0.84] 7f479ed09000-7f479ed0a000 rw-p 00015000 fc:04 1048620 /lib/x86_64-linux-gnu/libgcc_s.so.1, referer: http://axops01/nagios/cgi-bin/status.cgi?host=all [Wed Sep 04 10:19:49 2013] [error] [client 172.16.0.84] 7f479ed0a000-7f479efd3000 r--p 00000000 fc:04 1709631 /usr/lib/locale/locale-archive, referer: http://axops01/nagios/cgi-bin/status.cgi?host=all [Wed Sep 04 10:19:49 2013] [error] [client 172.16.0.84] 7f479efd3000-7f479f188000 r-xp 00000000, referer: http://axops01/nagios/cgi-bin/status.cgi?host=all [Wed Sep 04 10:19:49 2013] [error] [client 172.16.0.84] fc:04 1052255 /lib/x86_64-linux-gnu/libc-2.15.so, referer: http://axops01/nagios/cgi-bin/status.cgi?host=all [Wed Sep 04 10:19:49 2013] [error] [client 172.16.0.84] 7f479f188000-7f479f387000 ---p 001b5000 fc:04 1052255 /lib/x86_64-linux-gnu/libc-2.15.so, referer: http://axops01/nagios/cgi-bin/status.cgi?host=all [Wed Sep 04 10:19:49 2013] [error] [client 172.16.0.84] 7f479f387000-7f479f38b000 r--p 001b4000 fc:04 1052255 /lib/x86_64-linux-gnu/libc-2.15.so, referer: http://axops01/nagios/cgi-bin/status.cgi?host=all [Wed Sep 04 10:19:49 2013] [error] [client 172.16.0.84] 7f479f38b000-7f479f38d000 rw-p 001b8000 fc:04 1052255 /lib/x86_64-linux-gnu/libc-2.15.so, referer: http://axops01/nagios/cgi-bin/status.cgi?host=all [Wed Sep 04 10:19:49 2013] [error] [client 172.16.0.84] 7f479f38d000-7f479f392000 rw-p 00000000 00:00 0 , referer: http://axops01/nagios/cgi-bin/status.cgi?host=all [Wed Sep 04 10:19:49 2013] [error] [client 172.16.0.84] 7f479f392000-7f479f3b4000 r-xp 00000000 fc:04 1052269 /lib/x86_64-linux-gnu/ld-2.15.so, referer: http://axops01/nagios/cgi-bin/status.cgi?host=all [Wed Sep 04 10:19:49 2013] [error] [client 172.16.0.84] 7f479f5a1000-7f479f5a2000 rw-p 00000000 00:00 0 , referer: http://axops01/nagios/cgi-bin/status.cgi?host=all [Wed Sep 04 10:19:49 2013] [error] [client 172.16.0.84] 7f479f5a2000-7f479f5a9000 r--s 00000000 fc:04 1707473 /usr/lib/x86_64-linux-gnu/gconv/gconv-modules.cache, referer: http://axops01/nagios/cgi-bin/status.cgi?host=all [Wed Sep 04 10:19:49 2013] [error] [client 172.16.0.84] 7f479f5a9000-7f479f5ac000 rw-p 00000000 00:00 0 , referer: http://axops01/nagios/cgi-bin/status.cgi?host=all [Wed Sep 04 10:19:49 2013] [error] [client 172.16.0.84] 7f479f5b1000-7f479f5b4000 rw-p 00000000 00:00 0 , referer: http://axops01/nagios/cgi-bin/status.cgi?host=all [Wed Sep 04 10:19:49 2013] [error] [client 172.16.0.84] 7f479f5b4000-7f479f5b5000 r--p 00022000 fc:04 1052269 /lib/x86_64-linux-gnu/ld-2.15.so, referer: http://axops01/nagios/cgi-bin/status.cgi?host=all [Wed Sep 04 10:19:49 2013] [error] [client 172.16.0.84] 7f479f5b5000-7f479f5b7000 rw-p 00023000 fc:04 1052269 /lib/x86_64-linux-gnu/ld-, referer: http://axops01/nagios/cgi-bin/status.cgi?host=all [Wed Sep 04 10:19:49 2013] [error] [client 172.16.0.84] 2.15.so, referer: http://axops01/nagios/cgi-bin/status.cgi?host=all [Wed Sep 04 10:19:49 2013] [error] [client 172.16.0.84] 7fffeb1ee000-7fffeb20f000 rw-p 00000000 00:00 0 [stack], referer: http://axops01/nagios/cgi-bin/status.cgi?host=all [Wed Sep 04 10:19:49 2013] [error] [client 172.16.0.84] 7fffeb28d000-7fffeb28e000 r-xp 00000000 00:00 0 [vdso], referer: http://axops01/nagios/cgi-bin/status.cgi?host=all [Wed Sep 04 10:19:49 2013] [error] [client 172.16.0.84] ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall], referer: http://axops01/nagios/cgi-bin/status.cgi?host=all ----- Has any one seen this before and is it a known bug? I have attempted to remove the service check and recreate it but it hasn't fixed the issue. Thanks -- Alex Clifford | IT Network Engineer Axxin Pty Ltd E| alex.c at axxin.com W| www.axxin.com Australian Office: A| 576 Swan St, Richmond, VIC, Australia 3121 P| + 61 (0) 3 9329 1167 F| + 61 (0) 3 9818 8577 USA Office: A| 4370 La Jolla Village Drive, Suite 400, San Diego, CA, 92122 P|+ 1 858 736 9160 F| + 1 858 346 9300 This communication may contain confidential or copyright information of Axxin Pty Ltd (ABN 43 120 905 839). If you are not an intended recipient, you must not keep, forward, copy, use, save or rely on this communication and any such action is unauthorised and prohibited. If you have received this communication in error, please reply to this email to notify the sender of its incorrect delivery, and then delete both it and your reply. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bruno.martins at gruporumos.com Wed Sep 4 10:03:20 2013 From: bruno.martins at gruporumos.com (Bruno Martins | Grupo Rumos) Date: Wed, 4 Sep 2013 08:03:20 +0000 Subject: Monitoring Asterisk Dundi Peers Message-ID: <044E5B27D6C7E844B90EC93525278C3471D3FDDA@grexc01.rumos.com.pt> Hello list, I am currently using our Nagios 3.5.0 server to monitor our Asterisk servers. Our monitored services include SIP peers, like, to see if a certain peer is alive and well through Nagios, using NRPE. However, this only works for a local peer. Is there any way for me to monitor remote peers? Asterisk's CLI can do this, but I suspect I don't have enough knowledge to change the Perl/Bash/whatever script I am using. Checking if one Asterisk server can reach another is not sufficient, since they can talk to each other through ICMP but not make calls between each other. Thanks a lot. Best regards, Bruno Martins INFORMATION SYSTEMS Helpdesk Support Engineer ? Tel. (+351) 217?824?150 Ext. 2150 ? Campo Grande, 56 1700-093 LISBOA ? www.gruporumos.com ------------------------------------------------------------------------------ Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sunil at sunil.cc Wed Sep 4 16:16:33 2013 From: sunil at sunil.cc (Sunil Sankar) Date: Wed, 4 Sep 2013 19:46:33 +0530 Subject: Ziproxy - Nagios check In-Reply-To: <70DEBC6456A1354CB274DBEB6DDC1F4E18E920DE@gvavirtex01.OnAir.aero> References: <70DEBC6456A1354CB274DBEB6DDC1F4E18E920DE@gvavirtex01.OnAir.aero> Message-ID: There are multiple ways to check you can use check_procs -c 1: -w 3: -C or check_tcp -H $HOSTADDRESS -p On Mon, Sep 2, 2013 at 5:20 PM, Paul Simons wrote: > Hello > > Has anyone developed a check to confirm that Ziproxy (useful compression > proxy) is running (under xinetd)? > > I would like to use a standard plugin if possible, I have been playing > with the ?check_http? but without success. > > Regards > > Paul > > ------------------------------ > > Disclaimer: This e-mail (and any attachments to it) is confidential and > intended solely for the named person/s to whom it is addressed. If you are > not an intended recipient, please notify us immediately and delete the > email from your system. Any review, dissemination or other use of it in > these circumstances is prohibited. > > > ------------------------------------------------------------------------------ > Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! > Discover the easy way to master current and previous Microsoft technologies > and advance your career. Get an incredible 1,500+ hours of step-by-step > tutorial videos with LearnDevNow. Subscribe today and save! > http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Regards Sunil Sankar -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jgauthier at lastar.com Wed Sep 4 16:27:34 2013 From: jgauthier at lastar.com (Jason Gauthier) Date: Wed, 4 Sep 2013 14:27:34 +0000 Subject: Upgraded from 3.2.1 to 3.5 - macros broke? Message-ID: <3F662A1FE7322E418A0ECA916407B8253D1077B9@BL2PRD0610MB387.namprd06.prod.outlook.com> Greetings, It seems during a recent upgrade, my notifications broke! Well, I did digging and found notification themselves are working, but the macro variables are completely botched. I took "notify-by-email", and changed it to this: /usr/bin/printf "\"%b\" \"Notification Type: $NOTIFICATIONTYPE$ ($SERVICEACKAUTHOR$)\n\nService: $SERVICEDESC$\nHost: $HOSTNAME$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$\n\nComment: $SERVICEACKCOMMENT$\" | /bin/mail -s \"** $NOTIFICATIONTYPE$ alert - $HOSTNAME$/$SERVICEDESC$ is $SERVICESTATE$ **\" $CONTACTEMAIL$" >> /tmp/nagiosnotify.log So, it will write the contents to a file instead of just directly piped to mail. Here is what I see: "Notification Type: RECOVERY ($) Service: $ Host: v-ww7b2 Address: 19216876178 State: $ Date/Time: W Sp 4 10:18:11 EDT 2013 Additional Info: $ Comment: $" | /bin/mail -s "** RECOVERY alert - v-ww7b2/$ is $ **" bv It seems like all of the variable are wrong. For instance, the host is v-windows7lab2. The email address starts with "bv", but it ends with a whole lot more! I'm not sure what would be causing this, and would appreciate any input. Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jgauthier at lastar.com Wed Sep 4 19:11:32 2013 From: jgauthier at lastar.com (Jason Gauthier) Date: Wed, 4 Sep 2013 17:11:32 +0000 Subject: Upgraded from 3.2.1 to 3.5 - macros broke? Message-ID: <3F662A1FE7322E418A0ECA916407B8253D1081AE@BL2PRD0610MB387.namprd06.prod.outlook.com> To follow up on my own email. It looks like this is not just the upgrade. I moved my 3.2.1 binary back in, and it still happens. And I've found that it's not limited to the notification commands: [1378314473] SERVICE ALERT: Server86;Server86 - Ping;UNKNOWN;SOFT;1;check_ping: Invalid hostname/address - 19216874204 [1378314493] SERVICE ALERT: Server86;Server86 - SAP;CRITICAL;SOFT;1;TCP CRITICAL - Invalid hostname, address or socket: 19216874204 [1378314503] HOST ALERT: Server86;DOWN;SOFT;1;check_ping: Invalid hostname/address - 19216874204 [1378314533] SERVICE ALERT: Server86;Server86 - Ping;UNKNOWN;HARD;2;check_ping: Invalid hostname/address - 19216874204 [1378314543] HOST ALERT: Server86;DOWN;SOFT;2;check_ping: Invalid hostname/address - 19216874204 [1378314553] SERVICE ALERT: Server86;Server86 - SAP;CRITICAL;HARD;2;TCP CRITICAL - Invalid hostname, address or socket: 19216874204 [1378314553] SERVICE ALERT: Server86;Server86 - Load;WARNING;HARD;10;85% CPU load. [1378314563] HOST ALERT: Server86;DOWN;SOFT;3;check_ping: Invalid hostname/address - 19216874204 [1378314573] HOST ALERT: Server86;DOWN;SOFT;4;check_ping: Invalid hostname/address - 19216874204 (the periods are removed from the IPs) I really have no idea what caused this, but I am reviewing my config and changes I made while testing splunk, and opsgenie integration. From: Jason Gauthier Sent: Wednesday, September 04, 2013 10:28 AM To: 'nagios-users at lists.sourceforge.net' Subject: Upgraded from 3.2.1 to 3.5 - macros broke? Greetings, It seems during a recent upgrade, my notifications broke! Well, I did digging and found notification themselves are working, but the macro variables are completely botched. I took "notify-by-email", and changed it to this: /usr/bin/printf "\"%b\" \"Notification Type: $NOTIFICATIONTYPE$ ($SERVICEACKAUTHOR$)\n\nService: $SERVICEDESC$\nHost: $HOSTNAME$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$\n\nComment: $SERVICEACKCOMMENT$\" | /bin/mail -s \"** $NOTIFICATIONTYPE$ alert - $HOSTNAME$/$SERVICEDESC$ is $SERVICESTATE$ **\" $CONTACTEMAIL$" >> /tmp/nagiosnotify.log So, it will write the contents to a file instead of just directly piped to mail. Here is what I see: "Notification Type: RECOVERY ($) Service: $ Host: v-ww7b2 Address: 19216876178 State: $ Date/Time: W Sp 4 10:18:11 EDT 2013 Additional Info: $ Comment: $" | /bin/mail -s "** RECOVERY alert - v-ww7b2/$ is $ **" bv It seems like all of the variable are wrong. For instance, the host is v-windows7lab2. The email address starts with "bv", but it ends with a whole lot more! I'm not sure what would be causing this, and would appreciate any input. Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 4 19:52:46 2013 From: AdcockJ at leoncountyfl.gov (Jon Adcock) Date: Wed, 04 Sep 2013 13:52:46 -0400 Subject: Upgraded from 3.2.1 to 3.5 - macros broke? In-Reply-To: <3F662A1FE7322E418A0ECA916407B8253D1081AE@BL2PRD0610MB387.namprd06.prod.outlook.com> References: <3F662A1FE7322E418A0ECA916407B8253D1081AE@BL2PRD0610MB387.namprd06.prod.outlook.com> Message-ID: <52273B2E020000750001F4E6@gwia2.leoncountyfl.gov> Jason, Looking at your notify-by-email definition, there are a lot of escape sequences ( \" ). I think that's what's messing you up. My notify-service-by-email definition is shown below. Start with that and tweak it to your taste. # 'notify-service-by-email' command definition define command{ command_name notify-service-by-email command_line /usr/bin/printf "%b" "\nDate/Time: $LONGDATETIME$\n\nService: $SERVICEDESC$\n\nService check res ults: $SERVICEOUTPUT$\n\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\n***** Nagios *****\n\nNotif ication Type: $NOTIFICATIONTYPE$\n\nAdditional Info:\n" | /usr/bin/mail -s "** $NOTIFICATIONTYPE$ Service Alert: $HOSTAL IAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ } Jon Jon Adcock Network Systems Administrator Leon County MIS 301 S. Monroe St. Tallahassee, FL 32301 Office: (850) 606-5518 http://www.leoncountyfl.gov "People Focused. Performance Driven." Please note that under Florida's Public Records laws, most written communications to or from county staff or officials regarding county business are public records available to the public and media upon request. Your e-mail communications may therefore be subject to public disclosure. >>> On 9/4/2013 at 1:11 PM, Jason Gauthier wrote: To follow up on my own email. It looks like this is not just the upgrade. I moved my 3.2.1 binary back in, and it still happens. And I?ve found that it?s not limited to the notification commands: [1378314473] SERVICE ALERT: Server86;Server86 - Ping;UNKNOWN;SOFT;1;check_ping: Invalid hostname/address - 19216874204 [1378314493] SERVICE ALERT: Server86;Server86 - SAP;CRITICAL;SOFT;1;TCP CRITICAL - Invalid hostname, address or socket: 19216874204 [1378314503] HOST ALERT: Server86;DOWN;SOFT;1;check_ping: Invalid hostname/address - 19216874204 [1378314533] SERVICE ALERT: Server86;Server86 - Ping;UNKNOWN;HARD;2;check_ping: Invalid hostname/address - 19216874204 [1378314543] HOST ALERT: Server86;DOWN;SOFT;2;check_ping: Invalid hostname/address - 19216874204 [1378314553] SERVICE ALERT: Server86;Server86 - SAP;CRITICAL;HARD;2;TCP CRITICAL - Invalid hostname, address or socket: 19216874204 [1378314553] SERVICE ALERT: Server86;Server86 - Load;WARNING;HARD;10;85% CPU load. [1378314563] HOST ALERT: Server86;DOWN;SOFT;3;check_ping: Invalid hostname/address - 19216874204 [1378314573] HOST ALERT: Server86;DOWN;SOFT;4;check_ping: Invalid hostname/address ? 19216874204 (the periods are removed from the IPs) I really have no idea what caused this, but I am reviewing my config and changes I made while testing splunk, and opsgenie integration. From: Jason Gauthier Sent: Wednesday, September 04, 2013 10:28 AM To: 'nagios-users at lists.sourceforge.net' Subject: Upgraded from 3.2.1 to 3.5 - macros broke? Greetings, It seems during a recent upgrade, my notifications broke! Well, I did digging and found notification themselves are working, but the macro variables are completely botched. I took ?notify-by-email?, and changed it to this: /usr/bin/printf "\"%b\" \"Notification Type: $NOTIFICATIONTYPE$ ($SERVICEACKAUTHOR$)\n\nService: $SERVICEDESC$\nHost: $HOSTNAME$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$\n\nComment: $SERVICEACKCOMMENT$\" | /bin/mail -s \"** $NOTIFICATIONTYPE$ alert - $HOSTNAME$/$SERVICEDESC$ is $SERVICESTATE$ **\" $CONTACTEMAIL$" >> /tmp/nagiosnotify.log So, it will write the contents to a file instead of just directly piped to mail. Here is what I see: "Notification Type: RECOVERY ($) Service: $ Host: v-ww7b2 Address: 19216876178 State: $ Date/Time: W Sp 4 10:18:11 EDT 2013 Additional Info: $ Comment: $" | /bin/mail -s "** RECOVERY alert - v-ww7b2/$ is $ **" bv It seems like all of the variable are wrong. For instance, the host is v-windows7lab2. The email address starts with ?bv?, but it ends with a whole lot more! I?m not sure what would be causing this, and would appreciate any input. Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From uce_mike at yahoo.com Wed Sep 4 21:03:23 2013 From: uce_mike at yahoo.com (Mike W) Date: Wed, 04 Sep 2013 14:03:23 -0500 Subject: Working check radius plugin? Message-ID: <522783FB.1080104@yahoo.com> I've been trying to sort out radius monitors and ran into a problem. I've tried multiple check radius plugins (check_radius from plugin, check_radius.pl, check_radius_ih/etc) but all of them fail. When monitoring the logs on the radius host they all fail password checks when I know for a fact they work (I login using apache httpd via radius/auth with same creds). Anyone have any thoughts and/or suggestions? -- Mike Wilson ------------------------------------------------------------------------------ Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jgauthier at lastar.com Wed Sep 4 21:50:59 2013 From: jgauthier at lastar.com (Jason Gauthier) Date: Wed, 4 Sep 2013 19:50:59 +0000 Subject: Upgraded from 3.2.1 to 3.5 - macros broke? In-Reply-To: <52273B2E020000750001F4E6@gwia2.leoncountyfl.gov> References: <3F662A1FE7322E418A0ECA916407B8253D1081AE@BL2PRD0610MB387.namprd06.prod.outlook.com> <52273B2E020000750001F4E6@gwia2.leoncountyfl.gov> Message-ID: <3F662A1FE7322E418A0ECA916407B8253D109A55@BL2PRD0610MB387.namprd06.prod.outlook.com> Well, I?m not really sure what changed. But it was an issue with illegal_macro_output_chars=\"`\" It somehow got set incorrectly. From: Jon Adcock [mailto:AdcockJ at leoncountyfl.gov] Sent: Wednesday, September 04, 2013 1:53 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Upgraded from 3.2.1 to 3.5 - macros broke? Jason, Looking at your notify-by-email definition, there are a lot of escape sequences ( \" ). I think that's what's messing you up. My notify-service-by-email definition is shown below. Start with that and tweak it to your taste. # 'notify-service-by-email' command definition define command{ command_name notify-service-by-email command_line /usr/bin/printf "%b" "\nDate/Time: $LONGDATETIME$\n\nService: $SERVICEDESC$\n\nService check res ults: $SERVICEOUTPUT$\n\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\n***** Nagios *****\n\nNotif ication Type: $NOTIFICATIONTYPE$\n\nAdditional Info:\n" | /usr/bin/mail -s "** $NOTIFICATIONTYPE$ Service Alert: $HOSTAL IAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ } Jon Jon Adcock Network Systems Administrator Leon County MIS 301 S. Monroe St. Tallahassee, FL 32301 Office: (850) 606-5518 http://www.leoncountyfl.gov "People Focused. Performance Driven." Please note that under Florida's Public Records laws, most written communications to or from county staff or officials regarding county business are public records available to the public and media upon request. Your e-mail communications may therefore be subject to public disclosure. >>> On 9/4/2013 at 1:11 PM, Jason Gauthier wrote: To follow up on my own email. It looks like this is not just the upgrade. I moved my 3.2.1 binary back in, and it still happens. And I?ve found that it?s not limited to the notification commands: [1378314473] SERVICE ALERT: Server86;Server86 - Ping;UNKNOWN;SOFT;1;check_ping: Invalid hostname/address - 19216874204 [1378314493] SERVICE ALERT: Server86;Server86 - SAP;CRITICAL;SOFT;1;TCP CRITICAL - Invalid hostname, address or socket: 19216874204 [1378314503] HOST ALERT: Server86;DOWN;SOFT;1;check_ping: Invalid hostname/address - 19216874204 [1378314533] SERVICE ALERT: Server86;Server86 - Ping;UNKNOWN;HARD;2;check_ping: Invalid hostname/address - 19216874204 [1378314543] HOST ALERT: Server86;DOWN;SOFT;2;check_ping: Invalid hostname/address - 19216874204 [1378314553] SERVICE ALERT: Server86;Server86 - SAP;CRITICAL;HARD;2;TCP CRITICAL - Invalid hostname, address or socket: 19216874204 [1378314553] SERVICE ALERT: Server86;Server86 - Load;WARNING;HARD;10;85% CPU load. [1378314563] HOST ALERT: Server86;DOWN;SOFT;3;check_ping: Invalid hostname/address - 19216874204 [1378314573] HOST ALERT: Server86;DOWN;SOFT;4;check_ping: Invalid hostname/address ? 19216874204 (the periods are removed from the IPs) I really have no idea what caused this, but I am reviewing my config and changes I made while testing splunk, and opsgenie integration. From: Jason Gauthier Sent: Wednesday, September 04, 2013 10:28 AM To: 'nagios-users at lists.sourceforge.net' Subject: Upgraded from 3.2.1 to 3.5 - macros broke? Greetings, It seems during a recent upgrade, my notifications broke! Well, I did digging and found notification themselves are working, but the macro variables are completely botched. I took ?notify-by-email?, and changed it to this: /usr/bin/printf "\"%b\" \"Notification Type: $NOTIFICATIONTYPE$ ($SERVICEACKAUTHOR$)\n\nService: $SERVICEDESC$\nHost: $HOSTNAME$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$\n\nComment: $SERVICEACKCOMMENT$\" | /bin/mail -s \"** $NOTIFICATIONTYPE$ alert - $HOSTNAME$/$SERVICEDESC$ is $SERVICESTATE$ **\" $CONTACTEMAIL$" >> /tmp/nagiosnotify.log So, it will write the contents to a file instead of just directly piped to mail. Here is what I see: "Notification Type: RECOVERY ($) Service: $ Host: v-ww7b2 Address: 19216876178 State: $ Date/Time: W Sp 4 10:18:11 EDT 2013 Additional Info: $ Comment: $" | /bin/mail -s "** RECOVERY alert - v-ww7b2/$ is $ **" bv It seems like all of the variable are wrong. For instance, the host is v-windows7lab2. The email address starts with ?bv?, but it ends with a whole lot more! I?m not sure what would be causing this, and would appreciate any input. Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jgauthier at lastar.com Wed Sep 4 22:14:13 2013 From: jgauthier at lastar.com (Jason Gauthier) Date: Wed, 4 Sep 2013 20:14:13 +0000 Subject: Upgraded from 3.2.1 to 3.5 - macros broke? In-Reply-To: <3F662A1FE7322E418A0ECA916407B8253D109A55@BL2PRD0610MB387.namprd06.prod.outlook.com> References: <3F662A1FE7322E418A0ECA916407B8253D1081AE@BL2PRD0610MB387.namprd06.prod.outlook.com> <52273B2E020000750001F4E6@gwia2.leoncountyfl.gov> <3F662A1FE7322E418A0ECA916407B8253D109A55@BL2PRD0610MB387.namprd06.prod.outlook.com> Message-ID: <3F662A1FE7322E418A0ECA916407B8253D109C0F@BL2PRD0610MB387.namprd06.prod.outlook.com> It?s a bug in the version of lilac I am using. I finally traced it down. What a mess! I have to explicitly set it to \?`\?. The next time changes are made to the ?Other? area, it gets written as just a backslash. From: Jason Gauthier [mailto:jgauthier at lastar.com] Sent: Wednesday, September 04, 2013 3:51 PM To: Nagios Users List Subject: Re: [Nagios-users] Upgraded from 3.2.1 to 3.5 - macros broke? Well, I?m not really sure what changed. But it was an issue with illegal_macro_output_chars=\"`\" It somehow got set incorrectly. From: Jon Adcock [mailto:AdcockJ at leoncountyfl.gov] Sent: Wednesday, September 04, 2013 1:53 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Upgraded from 3.2.1 to 3.5 - macros broke? Jason, Looking at your notify-by-email definition, there are a lot of escape sequences ( \" ). I think that's what's messing you up. My notify-service-by-email definition is shown below. Start with that and tweak it to your taste. # 'notify-service-by-email' command definition define command{ command_name notify-service-by-email command_line /usr/bin/printf "%b" "\nDate/Time: $LONGDATETIME$\n\nService: $SERVICEDESC$\n\nService check res ults: $SERVICEOUTPUT$\n\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\n***** Nagios *****\n\nNotif ication Type: $NOTIFICATIONTYPE$\n\nAdditional Info:\n" | /usr/bin/mail -s "** $NOTIFICATIONTYPE$ Service Alert: $HOSTAL IAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ } Jon Jon Adcock Network Systems Administrator Leon County MIS 301 S. Monroe St. Tallahassee, FL 32301 Office: (850) 606-5518 http://www.leoncountyfl.gov "People Focused. Performance Driven." Please note that under Florida's Public Records laws, most written communications to or from county staff or officials regarding county business are public records available to the public and media upon request. Your e-mail communications may therefore be subject to public disclosure. >>> On 9/4/2013 at 1:11 PM, Jason Gauthier > wrote: To follow up on my own email. It looks like this is not just the upgrade. I moved my 3.2.1 binary back in, and it still happens. And I?ve found that it?s not limited to the notification commands: [1378314473] SERVICE ALERT: Server86;Server86 - Ping;UNKNOWN;SOFT;1;check_ping: Invalid hostname/address - 19216874204 [1378314493] SERVICE ALERT: Server86;Server86 - SAP;CRITICAL;SOFT;1;TCP CRITICAL - Invalid hostname, address or socket: 19216874204 [1378314503] HOST ALERT: Server86;DOWN;SOFT;1;check_ping: Invalid hostname/address - 19216874204 [1378314533] SERVICE ALERT: Server86;Server86 - Ping;UNKNOWN;HARD;2;check_ping: Invalid hostname/address - 19216874204 [1378314543] HOST ALERT: Server86;DOWN;SOFT;2;check_ping: Invalid hostname/address - 19216874204 [1378314553] SERVICE ALERT: Server86;Server86 - SAP;CRITICAL;HARD;2;TCP CRITICAL - Invalid hostname, address or socket: 19216874204 [1378314553] SERVICE ALERT: Server86;Server86 - Load;WARNING;HARD;10;85% CPU load. [1378314563] HOST ALERT: Server86;DOWN;SOFT;3;check_ping: Invalid hostname/address - 19216874204 [1378314573] HOST ALERT: Server86;DOWN;SOFT;4;check_ping: Invalid hostname/address ? 19216874204 (the periods are removed from the IPs) I really have no idea what caused this, but I am reviewing my config and changes I made while testing splunk, and opsgenie integration. From: Jason Gauthier Sent: Wednesday, September 04, 2013 10:28 AM To: 'nagios-users at lists.sourceforge.net' Subject: Upgraded from 3.2.1 to 3.5 - macros broke? Greetings, It seems during a recent upgrade, my notifications broke! Well, I did digging and found notification themselves are working, but the macro variables are completely botched. I took ?notify-by-email?, and changed it to this: /usr/bin/printf "\"%b\" \"Notification Type: $NOTIFICATIONTYPE$ ($SERVICEACKAUTHOR$)\n\nService: $SERVICEDESC$\nHost: $HOSTNAME$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$\n\nComment: $SERVICEACKCOMMENT$\" | /bin/mail -s \"** $NOTIFICATIONTYPE$ alert - $HOSTNAME$/$SERVICEDESC$ is $SERVICESTATE$ **\" $CONTACTEMAIL$" >> /tmp/nagiosnotify.log So, it will write the contents to a file instead of just directly piped to mail. Here is what I see: "Notification Type: RECOVERY ($) Service: $ Host: v-ww7b2 Address: 19216876178 State: $ Date/Time: W Sp 4 10:18:11 EDT 2013 Additional Info: $ Comment: $" | /bin/mail -s "** RECOVERY alert - v-ww7b2/$ is $ **" bv It seems like all of the variable are wrong. For instance, the host is v-windows7lab2. The email address starts with ?bv?, but it ends with a whole lot more! I?m not sure what would be causing this, and would appreciate any input. Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Sep 5 09:06:38 2013 From: m.borsani at it.net (Marco Borsani) Date: Thu, 5 Sep 2013 09:06:38 +0200 Subject: R: check_udp error message In-Reply-To: <5225E9E0.8020207@op5.se> References: <008801cea890$fad71640$f08542c0$@it.net> <5225E9E0.8020207@op5.se> Message-ID: <006801ceaa06$770ed6f0$652c84d0$@it.net> Ok, but what can I "send" and "receive" to/from the host? I also tried old version of check_udp (that does not need any string), but I read : No data was recieved from host! No response from host on port XX Or simply: No response from host on port XX I see another strange situation. On port 161 I can use check_snmp (work correctly), but if I use check_udp on port 161 it does not work at all ! How can be possible ? Regards -----Messaggio originale----- Da: Andreas Ericsson [mailto:ae at op5.se] Inviato: marted? 3 settembre 2013 15:54 A: Nagios Users List Cc: Marco Borsani Oggetto: Re: [Nagios-users] check_udp error message On 2013-09-03 12:33, Marco Borsani wrote: > Hi all > > I need to control many UDP ports. > > > > I run the command: > > ./check_udp ?H ?p 88 > > > > I receive following error message (with state UNKNOWN) : > > With UDP checks, a send/expect string must be specified > > > > Can anyone help me to solve it? > > Those parameters should be optional.. > UDP is a connection-less protocol. The "expect" string could indeed be optional, and we could just expect to get something at all back when we send something, but without sending anything we won't even touch the network, so the remote host has no idea that we're trying to talk to it and we won't know if the port is up. That's why "send", at least, is not optional. -- 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. ------------------------------------------------------------------------------ Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ratty at they.org Thu Sep 5 20:23:52 2013 From: ratty at they.org (frank) Date: Thu, 5 Sep 2013 13:23:52 -0500 (CDT) Subject: R: check_udp error message In-Reply-To: <006801ceaa06$770ed6f0$652c84d0$@it.net> References: <008801cea890$fad71640$f08542c0$@it.net> <5225E9E0.8020207@op5.se> <006801ceaa06$770ed6f0$652c84d0$@it.net> Message-ID: You need to send a message that the listening daemon will understand. The check_snmp plugin speaks the SNMP language so it knows how to construct a packet that snmpd will understand. I imagine an OID is a requirement for check_snmp, as well as community string or security credentials, those are all part of the "send". If you want to use check_udp for this, then you have to construct that packet yourself. On the flip-side, you should know the expected response to a known query. If you make an SNMP request for .1.3.6.1.2.1.1.4.0 you should expect a string from the "syscontact" line from your snmpd.conf in response. Just like you would use check_http rather than check_tcp for an Apache service, it's probably best to use a custom program like check_dns rather than check_udp to check a DNS service. In the case of SNMP, I prefer to use or write scripts that are specific to what I'm polling rather than using a generic request/response program. For instance, a program like check_snmp_load.pl could be alot more robust than running "check_snmp -o .1.3.6.1.4.1.2021.10.1.3.1" alone. -f On Thu, 5 Sep 2013, Marco Borsani wrote: > Date: Thu, 5 Sep 2013 09:06:38 +0200 > From: Marco Borsani > Reply-To: Nagios Users List > To: 'Andreas Ericsson' , > 'Nagios Users List' > Subject: [Nagios-users] R: check_udp error message > > Ok, but what can I "send" and "receive" to/from the host? > > I also tried old version of check_udp (that does not need any string), but I > read : > No data was recieved from host! > No response from host on port XX > > Or simply: > No response from host on port XX > > I see another strange situation. > On port 161 I can use check_snmp (work correctly), but if I use check_udp on > port 161 it does not work at all ! > How can be possible ? > > Regards > > -----Messaggio originale----- > Da: Andreas Ericsson [mailto:ae at op5.se] > Inviato: marted? 3 settembre 2013 15:54 > A: Nagios Users List > Cc: Marco Borsani > Oggetto: Re: [Nagios-users] check_udp error message > > On 2013-09-03 12:33, Marco Borsani wrote: >> Hi all >> >> I need to control many UDP ports. >> >> >> >> I run the command: >> >> ./check_udp ?H ?p 88 >> >> >> >> I receive following error message (with state UNKNOWN) : >> >> With UDP checks, a send/expect string must be specified >> >> >> >> Can anyone help me to solve it? >> >> Those parameters should be optional.. >> > > UDP is a connection-less protocol. The "expect" string could indeed be > optional, and we could just expect to get something at all back when we send > something, but without sending anything we won't even touch the network, so > the remote host has no idea that we're trying to talk to it and we won't > know if the port is up. > > That's why "send", at least, is not optional. > > ------------------------------------------------------------------------------ Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From m.borsani at it.net Fri Sep 6 08:19:37 2013 From: m.borsani at it.net (Marco Borsani) Date: Fri, 6 Sep 2013 08:19:37 +0200 Subject: R: R: check_udp error message In-Reply-To: References: <008801cea890$fad71640$f08542c0$@it.net> <5225E9E0.8020207@op5.se> <006801ceaa06$770ed6f0$652c84d0$@it.net> Message-ID: <002101ceaac9$102dd2b0$30897810$@it.net> I have not any idea how to construct a packet to send/receive...I did not thing was necessary to use that plugin...... >From yesterday evening there are a couple of udp/port that goes up/down in 5/10 minutes...Using old version , check_udp (nagios-plugins 1.3.1) 1.4.2.1 , without any strings. How can be possible? The port is always open. Using nmap command I see all the UDP/ports open.. Must I use that command to monitor my UDP/ports ??? Marco -----Messaggio originale----- Da: frank [mailto:ratty at they.org] Inviato: gioved? 5 settembre 2013 20:24 A: Nagios Users List Cc: Marco Borsani Oggetto: Re: [Nagios-users] R: check_udp error message You need to send a message that the listening daemon will understand. The check_snmp plugin speaks the SNMP language so it knows how to construct a packet that snmpd will understand. I imagine an OID is a requirement for check_snmp, as well as community string or security credentials, those are all part of the "send". If you want to use check_udp for this, then you have to construct that packet yourself. On the flip-side, you should know the expected response to a known query. If you make an SNMP request for .1.3.6.1.2.1.1.4.0 you should expect a string from the "syscontact" line from your snmpd.conf in response. Just like you would use check_http rather than check_tcp for an Apache service, it's probably best to use a custom program like check_dns rather than check_udp to check a DNS service. In the case of SNMP, I prefer to use or write scripts that are specific to what I'm polling rather than using a generic request/response program. For instance, a program like check_snmp_load.pl could be alot more robust than running "check_snmp -o .1.3.6.1.4.1.2021.10.1.3.1" alone. -f On Thu, 5 Sep 2013, Marco Borsani wrote: > Date: Thu, 5 Sep 2013 09:06:38 +0200 > From: Marco Borsani > Reply-To: Nagios Users List > To: 'Andreas Ericsson' , > 'Nagios Users List' > Subject: [Nagios-users] R: check_udp error message > > Ok, but what can I "send" and "receive" to/from the host? > > I also tried old version of check_udp (that does not need any string), > but I read : > No data was recieved from host! > No response from host on port XX > > Or simply: > No response from host on port XX > > I see another strange situation. > On port 161 I can use check_snmp (work correctly), but if I use > check_udp on port 161 it does not work at all ! > How can be possible ? > > Regards > > -----Messaggio originale----- > Da: Andreas Ericsson [mailto:ae at op5.se] > Inviato: marted? 3 settembre 2013 15:54 > A: Nagios Users List > Cc: Marco Borsani > Oggetto: Re: [Nagios-users] check_udp error message > > On 2013-09-03 12:33, Marco Borsani wrote: >> Hi all >> >> I need to control many UDP ports. >> >> >> >> I run the command: >> >> ./check_udp ?H ?p 88 >> >> >> >> I receive following error message (with state UNKNOWN) : >> >> With UDP checks, a send/expect string must be specified >> >> >> >> Can anyone help me to solve it? >> >> Those parameters should be optional.. >> > > UDP is a connection-less protocol. The "expect" string could indeed be > optional, and we could just expect to get something at all back when > we send something, but without sending anything we won't even touch > the network, so the remote host has no idea that we're trying to talk > to it and we won't know if the port is up. > > That's why "send", at least, is not optional. > > ------------------------------------------------------------------------------ Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Sep 6 10:08:23 2013 From: roger at firedrake.org (Roger Bell_West) Date: Fri, 6 Sep 2013 09:08:23 +0100 Subject: R: R: check_udp error message In-Reply-To: <002101ceaac9$102dd2b0$30897810$@it.net> References: <008801cea890$fad71640$f08542c0$@it.net> <5225E9E0.8020207@op5.se> <006801ceaa06$770ed6f0$652c84d0$@it.net> <002101ceaac9$102dd2b0$30897810$@it.net> Message-ID: <20130906080823.GA7970@firedrake.org> On Fri, Sep 06, 2013 at 08:19:37AM +0200, Marco Borsani wrote: >I have not any idea how to construct a packet to send/receive...I did not >thing was necessary to use that plugin...... Try reading https://en.wikipedia.org/wiki/User_Datagram_Protocol since you clearly don't understand UDP. You are still suffering from the same conceptual error as in your original post, even though several kind people have explained the problem. There's no point in us telling you the answer again if you aren't equipped to make sense of it. R ------------------------------------------------------------------------------ Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From m.borsani at it.net Fri Sep 6 13:44:06 2013 From: m.borsani at it.net (Marco Borsani) Date: Fri, 6 Sep 2013 13:44:06 +0200 Subject: R: R: R: check_udp error message In-Reply-To: <20130906080823.GA7970@firedrake.org> References: <008801cea890$fad71640$f08542c0$@it.net> <5225E9E0.8020207@op5.se> <006801ceaa06$770ed6f0$652c84d0$@it.net> <002101ceaac9$102dd2b0$30897810$@it.net> <20130906080823.GA7970@firedrake.org> Message-ID: <006701ceaaf6$64dc02a0$2e9407e0$@it.net> I already have read that wiki... But one of the main point is (as I wrote in the last mail): >From yesterday evening there are a couple of udp/port that goes up/down in 5/10 minutes... >Using old version , check_udp (nagios-plugins 1.3.1) 1.4.2.1 , without any strings. >How can be possible? The port is always open. -----Messaggio originale----- Da: Roger Bell_West [mailto:roger at firedrake.org] Inviato: venerd? 6 settembre 2013 10:08 A: nagios-users at lists.sourceforge.net Oggetto: Re: [Nagios-users] R: R: check_udp error message On Fri, Sep 06, 2013 at 08:19:37AM +0200, Marco Borsani wrote: >I have not any idea how to construct a packet to send/receive...I did >not thing was necessary to use that plugin...... Try reading https://en.wikipedia.org/wiki/User_Datagram_Protocol since you clearly don't understand UDP. You are still suffering from the same conceptual error as in your original post, even though several kind people have explained the problem. There's no point in us telling you the answer again if you aren't equipped to make sense of it. R ---------------------------------------------------------------------------- -- Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Sep 6 14:07:15 2013 From: roger at firedrake.org (Roger Bell_West) Date: Fri, 6 Sep 2013 13:07:15 +0100 Subject: check_udp error message In-Reply-To: <006701ceaaf6$64dc02a0$2e9407e0$@it.net> References: <008801cea890$fad71640$f08542c0$@it.net> <5225E9E0.8020207@op5.se> <006801ceaa06$770ed6f0$652c84d0$@it.net> <002101ceaac9$102dd2b0$30897810$@it.net> <20130906080823.GA7970@firedrake.org> <006701ceaaf6$64dc02a0$2e9407e0$@it.net> Message-ID: <20130906120715.GA21777@firedrake.org> On Fri, Sep 06, 2013 at 01:44:06PM +0200, Marco Borsani wrote: >I already have read that wiki... OK, I'll try to explain in a different way. With a TCP-based service there's a standard handshake. You send a SYN, you get a SYN+ACK, you send an ACK; if that happens, the TCP port is open. (It may not be responding in a useful way, but it is at least accepting connections.) So check_tcp doesn't need anything more than an address and port number to be a useful generic monitor. With UDP there is no handshaking except what's defined in the application layer. If you send something that's not what the listening server expects, the response you get could be an error or could be nothing at all; it's entirely up to the listening server. The concept of an "open UDP port" is not really very meaningful in itself. You can check that you don't get an ICMP Port Unreachable when you send random junk to the port (I assume that's what the old check_udp is doing; I've never used it), but there are lots of reasons you might not get that packet back, including firewall policies; it's no sort of reliable test. So your UDP service, of which you still refuse to give any detail, is expecting something and will return something else. You need to send it that something, and look for the something else in the response -- just as you send a URL and look for body text when you're using check_http. Roger ------------------------------------------------------------------------------ Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From noreply+N75399460 at netlogmail.com Sat Sep 7 09:04:50 2013 From: noreply+N75399460 at netlogmail.com (GUY-SERGE NTOUGHE) Date: Sat, 07 Sep 2013 07:04:50 +0000 Subject: =?utf-8?q?Avoir_acc=C3=A8s_=C3=A0_mes_photos_et_pl?= =?utf-8?q?us?= Message-ID: <81.E0.23654.310DA225@mail06.netnoc> Salut, J'ai cr?? un profil Netlog pour y mettre mes photos, vid?os, un blog et les ?v?nements auxquels j'assiste. J'aimerais t'ajouter dans mes amis pour t'en faire profiter. Il te suffit d'abord de t'inscrire pour y cr?er ton propre profil ! Jette un coup d'oeil: http://fr.netlog.com/go/mailurl/-bT0yMjg3OTQzNzM4Jmw9MSZnbT0xMiZ1PSUyRmdvJTJGcmVnaXN0ZXIlMkZpZCUzRC1ibUZuYVc5ekxYVnpaWEp6UUd4cGMzUnpMbk52ZFhKalpXWnZjbWRsTG01bGRBX18lMjZ1aWQlM0Q0NTU4NTk1NA__ A plus, GUY-SERGE ---------------------------------------------------------------- Tu ne veux plus recevoir d'invitations de la part de tes amis ? http://fr.netlog.com/go/mailurl/-bT0yMjg3OTQzNzM4Jmw9MiZnbT0xMiZ1PSUyRmdvJTJGbm9tYWlscyUyRmludml0ZSUyRmVtYWlsJTNELWJtRm5hVzl6TFhWelpYSnpRR3hwYzNSekxuTnZkWEpqWldadmNtZGxMbTVsZEFfXyUyNmNvZGUlM0QwODkwNzczNA__ Don't want to receive invitations from your friends anymore? http://fr.netlog.com/go/mailurl/-bT0yMjg3OTQzNzM4Jmw9MyZnbT0xMiZ1PWh0dHAlM0ElMkYlMkZlbi5uZXRsb2cuY29tJTJGZ28lMkZub21haWxzJTJGaW52aXRlJTJGZW1haWwlM0QtYm1GbmFXOXpMWFZ6WlhKelFHeHBjM1J6TG5OdmRYSmpaV1p2Y21kbExtNWxkQV9fJTI2Y29kZSUzRDA4OTA3NzM0 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From salderman1 at udayton.edu Mon Sep 9 19:12:29 2013 From: salderman1 at udayton.edu (Sean Alderman) Date: Mon, 9 Sep 2013 13:12:29 -0400 Subject: Splunk Integration Question... Message-ID: Greetings, I was hoping I might find someone who's got the splunk integration actively working. I'm running Nagios Core (via EPEL) and Splunk 5.0.3 on OracleLinux 6.4. When I edit cgi.cfg and enable splunk integration, then set the splunk URL to https://:8000/en-US/app/search/flastimeline, I notice the nagios URLs look like: https:// :8000/en-US/app/flashtimeline?q=search%20test1.udayton.edu%20. I have two questions... - Is there a way I can make nagios use the hostname only, not the FQDN? We use short names in splunk so we don't a mix of fqdn and short names since we use both forwarders and syslog as input. - What data is this query looking for, is it expected that I should have my nagios log in splunk? The in the query doesn't seem useful to me, unless there's splunk data specifically tied to that check, and I'm hoping someone could provide an example. Kind regards, -- Sean M. Alderman Senior Engineer, UDit Systems Integration and Engineering University of Dayton -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From feduardo at tcheturbo.com.br Mon Sep 9 19:19:52 2013 From: feduardo at tcheturbo.com.br (Eduardo de Freitas) Date: Mon, 09 Sep 2013 14:19:52 -0300 Subject: Energy/Power Monitoring Message-ID: <522E0338.1080907@tcheturbo.com.br> Hello there ! First, let me explain our scenario, so you guys can help me out. We have some buildings in our fiber network, and i'm having some issues monitoring the energy status. Currently, i'm using old devices (AP's, hubs) configured with ip adresses, and i'm leaving this devices outside the no-breaks. Nagios is checking this devices via check_ping, so, when power is down, device goes down and it returns DOWN. Problem is: I must go to the building to restart the device everytime it goes down. Our ONU's has no IP adresses, BUT, i can get some data via SNMP, like traffic, so, running check_snmp, i'm getting the current traffic (10mbps for example), in case of power goes down and the ONU is turned off, my traffic's going to be 0. But still my device is UP for nagios, is there anyway i can tell nagios that my host has to be DOWN if traffic = 0 ? Or anyone could light me up with some ideas ? ------------------------------------------------------------------------------ Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dgrgicevic at gmail.com Mon Sep 9 19:55:27 2013 From: dgrgicevic at gmail.com (davor grgicevic) Date: Mon, 9 Sep 2013 19:55:27 +0200 Subject: Energy/Power Monitoring In-Reply-To: <522E0338.1080907@tcheturbo.com.br> References: <522E0338.1080907@tcheturbo.com.br> Message-ID: snmp trap , that interface is down .. On Mon, Sep 9, 2013 at 7:19 PM, Eduardo de Freitas < feduardo at tcheturbo.com.br> wrote: > Hello there ! > First, let me explain our scenario, so you guys can help me out. > We have some buildings in our fiber network, and i'm having some issues > monitoring the energy status. > Currently, i'm using old devices (AP's, hubs) configured with ip > adresses, and i'm leaving this devices outside the no-breaks. > Nagios is checking this devices via check_ping, so, when power is down, > device goes down and it returns DOWN. > Problem is: I must go to the building to restart the device everytime it > goes down. > Our ONU's has no IP adresses, BUT, i can get some data via SNMP, like > traffic, so, running check_snmp, i'm getting the current traffic (10mbps > for example), in case of power goes down and the ONU is turned off, my > traffic's going to be 0. > But still my device is UP for nagios, is there anyway i can tell nagios > that my host has to be DOWN if traffic = 0 ? > > Or anyone could light me up with some ideas ? > > > > ------------------------------------------------------------------------------ > Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! > Discover the easy way to master current and previous Microsoft technologies > and advance your career. Get an incredible 1,500+ hours of step-by-step > tutorial videos with LearnDevNow. Subscribe today and save! > http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Davor Grgicevic -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From william at leibzon.org Mon Sep 9 20:20:06 2013 From: william at leibzon.org (William Leibzon) Date: Mon, 9 Sep 2013 11:20:06 -0700 Subject: Energy/Power Monitoring In-Reply-To: <522E0338.1080907@tcheturbo.com.br> References: <522E0338.1080907@tcheturbo.com.br> Message-ID: check_netint can give alert at very low traffic but I warn you to be careful because if you do not have a lot of traffic (do you really have 10Mbs there?) it will look as if its 0. Also I'm entirely unsure how you can check it with SNMP if it has no ip address, can you explain? if device supports snmp and is using standard snmp unix base you can use any other snmp plugin too just to check on it, I like doing it with check_uptime. I use that as base to tell if SNMP is working and put dependencies for other services on it. On Mon, Sep 9, 2013 at 10:19 AM, Eduardo de Freitas < feduardo at tcheturbo.com.br> wrote: > Hello there ! > First, let me explain our scenario, so you guys can help me out. > We have some buildings in our fiber network, and i'm having some issues > monitoring the energy status. > Currently, i'm using old devices (AP's, hubs) configured with ip > adresses, and i'm leaving this devices outside the no-breaks. > Nagios is checking this devices via check_ping, so, when power is down, > device goes down and it returns DOWN. > Problem is: I must go to the building to restart the device everytime it > goes down. > Our ONU's has no IP adresses, BUT, i can get some data via SNMP, like > traffic, so, running check_snmp, i'm getting the current traffic (10mbps > for example), in case of power goes down and the ONU is turned off, my > traffic's going to be 0. > But still my device is UP for nagios, is there anyway i can tell nagios > that my host has to be DOWN if traffic = 0 ? > > Or anyone could light me up with some ideas ? > > > > ------------------------------------------------------------------------------ > Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! > Discover the easy way to master current and previous Microsoft technologies > and advance your career. Get an incredible 1,500+ hours of step-by-step > tutorial videos with LearnDevNow. Subscribe today and save! > http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From artiomnkkm at gmail.com Mon Sep 9 11:17:35 2013 From: artiomnkkm at gmail.com (Artiom Poluden) Date: Mon, 9 Sep 2013 12:17:35 +0300 Subject: monitoring windows PC with nagios check_snmp plugin Message-ID: Hello , Can U help me to solve my issue. I need to monitor my win PC from Linux server which runs Nagios,with check_snmp plugin. I got installed check_snmp plugin on my Nagios and installed snmp agent on win PC. Nagios shows that win Host is down. Maybe U got instructions how to prevent my problem ? Sorry for my English :) -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ How ServiceNow helps IT people transform IT departments: 1. Consolidate legacy IT systems to a single system of record for IT 2. Standardize and globalize service processes across IT 3. Implement zero-touch automation to replace manual, redundant tasks http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nogort at gmail.com Fri Sep 6 09:38:39 2013 From: nogort at gmail.com (=?ISO-8859-1?Q?Enrique_Nogu=E9s?=) Date: Fri, 6 Sep 2013 09:38:39 +0200 Subject: Problem with check_snmp plugin Message-ID: Dear Sr or Madam, First at all, sorry for my english I hope we can understand us. Currently, I am using a RB433AH routerBoard and clients routers, specifically, Groove 5Hn. And I would like to get to monitor the clients number that are connecting on the different RB433AH that I have distributed. For this task, I have chosen nagios core and, right now I have only got to know the total clients number that I have connected on the RB433AH. But I need to know more information like a MAC clients list. I have downloaded the Mikrotik-MIB and I have installed on the right path. But I have a problem when I try to ask the RB433AH with a specific OID, the device answer an error with the OID. But I think that It's not possible because I got the OID through the MIB that is available on the mikrotik web. Specifically, I use command snmptranslate and this command returned a specific OID. Unfortunately, I have not got good results the device when I use the OID generated answer the OID no exists!! For make that, I use the plugin on nagios check_snmp. And I try to configure without OID specifics because I need to check all devices that are connected on my RB433AH and when configure that failed. I think my problem is that something I don't make well when configure the command. I attached my configure plugin, it's possible is better for understand the problem. define service{ use generic-service ; Inherit values from a template #hostgroup_name aps ; Apply to all our APs host_name BASE service_description strength22235 check_command check_snmp!-C public2 -o 'ALL' -m 'ALL' -P 3 -L authPriv -U $USER3$ -a SHA -A $USER4$ -x DES -X $USER5$ } And the error is Error de orden externa: Undefined OBJECT-GROUP (diffServMIBMultiFieldClfrGroup): At line 2195 in /usr/share/mibs/ietf/IPSEC-SPD-MIB. Finally,I hope you can understand me and If you could help me for me would be a great news. Thank you so much to read my email and your help. I hope your reply , have a nice day! Kind regards -- Enrique -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ How ServiceNow helps IT people transform IT departments: 1. Consolidate legacy IT systems to a single system of record for IT 2. Standardize and globalize service processes across IT 3. Implement zero-touch automation to replace manual, redundant tasks http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mark.frost1 at pepsico.com Tue Sep 10 19:10:00 2013 From: mark.frost1 at pepsico.com (Frost, Mark {BIS}) Date: Tue, 10 Sep 2013 17:10:00 +0000 Subject: Splunk Integration Question... In-Reply-To: References: Message-ID: <3FC36F2C7B96D444A1138066E952D2B60DF744@PEPWMC00171.corp.pep.pvt> Sean, Can you describe what you're doing for Splunk integration with Nagios? I've used Splunk with Nagios in a couple different ways, but I'm not aware of any single standard for doing so. Originally, I just had Splunk run a scheduled search, which would trigger a script which sent a passive check result back to a Nagios service via NSCA. That way - having Nagios process passive check results from Splunk - was the only way I could see to do that. Recently, I played around a bit with writing scripts that made use of Splunk's REST API so the checks could be run as active checks from Nagios. (I always prefer active checks). I set this up for only one check, but once I got it working it worked pretty well. As a side note, I'm still a little on the fence about whether or not I really want to have Nagios find problems through Splunk and then alert on them or have Splunk find an alert on them directly without using Nagios at all... Are you referring to another way of making Splunk and Nagios talk together? Mark From: Sean Alderman [mailto:salderman1 at udayton.edu] Sent: Monday, September 09, 2013 1:12 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Splunk Integration Question... Greetings, I was hoping I might find someone who's got the splunk integration actively working. I'm running Nagios Core (via EPEL) and Splunk 5.0.3 on OracleLinux 6.4. When I edit cgi.cfg and enable splunk integration, then set the splunk URL to https://:8000/en-US/app/search/flastimeline, I notice the nagios URLs look like: https://:8000/en-US/app/flashtimeline?q=search%20test1.udayton.edu%20. I have two questions... * Is there a way I can make nagios use the hostname only, not the FQDN? We use short names in splunk so we don't a mix of fqdn and short names since we use both forwarders and syslog as input. * What data is this query looking for, is it expected that I should have my nagios log in splunk? The in the query doesn't seem useful to me, unless there's splunk data specifically tied to that check, and I'm hoping someone could provide an example. Kind regards, -- Sean M. Alderman Senior Engineer, UDit Systems Integration and Engineering University of Dayton -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ How ServiceNow helps IT people transform IT departments: 1. Consolidate legacy IT systems to a single system of record for IT 2. Standardize and globalize service processes across IT 3. Implement zero-touch automation to replace manual, redundant tasks http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From salderman1 at udayton.edu Tue Sep 10 19:34:04 2013 From: salderman1 at udayton.edu (Sean Alderman) Date: Tue, 10 Sep 2013 13:34:04 -0400 Subject: Splunk Integration Question... In-Reply-To: <3FC36F2C7B96D444A1138066E952D2B60DF744@PEPWMC00171.corp.pep.pvt> References: <3FC36F2C7B96D444A1138066E952D2B60DF744@PEPWMC00171.corp.pep.pvt> Message-ID: Just what's in the nagios doc on CGI.cfg. The doc is lacking about what it does, so I guess I'm a little curious what that config is about. - Sean Alderman Senior Engineer, UDit Systems Integration This message had been brought to you by Android Bionic. On Sep 10, 2013 1:10 PM, "Frost, Mark {BIS}" wrote: > Sean,**** > > ** ** > > Can you describe what you?re doing for Splunk integration with Nagios? > I?ve used Splunk with Nagios in a couple different ways, but I?m not aware > of any single standard for doing so.**** > > ** ** > > Originally, I just had Splunk run a scheduled search, which would trigger > a script which sent a passive check result back to a Nagios service via > NSCA. That way ? having Nagios process passive check results from Splunk > ? was the only way I could see to do that.**** > > ** ** > > Recently, I played around a bit with writing scripts that made use of > Splunk?s REST API so the checks could be run as active checks from Nagios. > (I always prefer active checks). I set this up for only one check, but > once I got it working it worked pretty well.**** > > ** ** > > As a side note, I?m still a little on the fence about whether or not I > really want to have Nagios find problems through Splunk and then alert on > them or have Splunk find an alert on them directly without using Nagios at > all?**** > > ** ** > > Are you referring to another way of making Splunk and Nagios talk together? > **** > > ** ** > > Mark**** > > ** ** > > *From:* Sean Alderman [mailto:salderman1 at udayton.edu] > *Sent:* Monday, September 09, 2013 1:12 PM > *To:* nagios-users at lists.sourceforge.net > *Subject:* [Nagios-users] Splunk Integration Question...**** > > ** ** > > Greetings,**** > > I was hoping I might find someone who's got the splunk integration > actively working. I'm running Nagios Core (via EPEL) and Splunk 5.0.3 on > OracleLinux 6.4.**** > > When I edit cgi.cfg and enable splunk integration, then set the splunk > URL to https://:8000/en-US/app/search/flastimeline, I > notice the nagios URLs look like: https:// > :8000/en-US/app/flashtimeline?q=search%20test1.udayton.edu%20 plugin check>. I have two questions...**** > > **? **Is there a way I can make nagios use the hostname only, not > the FQDN? We use short names in splunk so we don't a mix of fqdn and short > names since we use both forwarders and syslog as input.**** > > **? **What data is this query looking for, is it expected that I > should have my nagios log in splunk? The in the > query doesn't seem useful to me, unless there's splunk data specifically > tied to that check, and I'm hoping someone could provide an example. > **** > > Kind regards,**** > > -- **** > > Sean M. Alderman > Senior Engineer, UDit Systems Integration and Engineering > University of Dayton**** > > > ------------------------------------------------------------------------------ > How ServiceNow helps IT people transform IT departments: > 1. Consolidate legacy IT systems to a single system of record for IT > 2. Standardize and globalize service processes across IT > 3. Implement zero-touch automation to replace manual, redundant tasks > http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ How ServiceNow helps IT people transform IT departments: 1. Consolidate legacy IT systems to a single system of record for IT 2. Standardize and globalize service processes across IT 3. Implement zero-touch automation to replace manual, redundant tasks http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Sep 10 20:25:22 2013 From: justinp at norchemlab.com (Justin T Pryzby) Date: Tue, 10 Sep 2013 11:25:22 -0700 Subject: monitoring windows PC with nagios check_snmp plugin In-Reply-To: References: Message-ID: <20130910182522.GA31890@norchemlab.com> What is the host check; is it using check_icmp? What is the error output? Are you able to run the host/service check by hand? Justin On Mon, Sep 09, 2013 at 12:17:35PM +0300, Artiom Poluden wrote: > Hello , > Can U help me to solve my issue. I need to monitor my win PC from Linux > server which runs Nagios,with check_snmp plugin. I got installed check_snmp > plugin on my Nagios and installed snmp agent on win PC. Nagios shows that > win Host is down. Maybe U got instructions how to prevent my problem ? > Sorry for my English :) > ------------------------------------------------------------------------------ > How ServiceNow helps IT people transform IT departments: > 1. Consolidate legacy IT systems to a single system of record for IT > 2. Standardize and globalize service processes across IT > 3. Implement zero-touch automation to replace manual, redundant tasks > http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ How ServiceNow helps IT people transform IT departments: 1. Consolidate legacy IT systems to a single system of record for IT 2. Standardize and globalize service processes across IT 3. Implement zero-touch automation to replace manual, redundant tasks http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mark.frost1 at pepsico.com Tue Sep 10 21:12:43 2013 From: mark.frost1 at pepsico.com (Frost, Mark {BIS}) Date: Tue, 10 Sep 2013 19:12:43 +0000 Subject: Splunk Integration Question... In-Reply-To: References: <3FC36F2C7B96D444A1138066E952D2B60DF744@PEPWMC00171.corp.pep.pvt> Message-ID: <3FC36F2C7B96D444A1138066E952D2B60DFB97@PEPWMC00171.corp.pep.pvt> Huh. Where did those new options come from? They weren't in the cgi.cfg docs the last time I looked :). I agree, it's not terribly clear to me what that option does, but it does reference "Splunk IT" which is a special Splunk package that you can use for Splunk benchmarking. That still doesn't make it clear what it's used for. I see a second parameter, "splunk_url" that lets you specify the URL for your Splunk server. Maybe it just somehow says to pepper the logs with your Splunk URL in appropriate places. Mark From: Sean Alderman [mailto:salderman1 at udayton.edu] Sent: Tuesday, September 10, 2013 1:34 PM To: Nagios Users List Subject: Re: [Nagios-users] Splunk Integration Question... Just what's in the nagios doc on CGI.cfg. The doc is lacking about what it does, so I guess I'm a little curious what that config is about. - Sean Alderman Senior Engineer, UDit Systems Integration This message had been brought to you by Android Bionic. On Sep 10, 2013 1:10 PM, "Frost, Mark {BIS}" > wrote: Sean, Can you describe what you're doing for Splunk integration with Nagios? I've used Splunk with Nagios in a couple different ways, but I'm not aware of any single standard for doing so. Originally, I just had Splunk run a scheduled search, which would trigger a script which sent a passive check result back to a Nagios service via NSCA. That way - having Nagios process passive check results from Splunk - was the only way I could see to do that. Recently, I played around a bit with writing scripts that made use of Splunk's REST API so the checks could be run as active checks from Nagios. (I always prefer active checks). I set this up for only one check, but once I got it working it worked pretty well. As a side note, I'm still a little on the fence about whether or not I really want to have Nagios find problems through Splunk and then alert on them or have Splunk find an alert on them directly without using Nagios at all... Are you referring to another way of making Splunk and Nagios talk together? Mark From: Sean Alderman [mailto:salderman1 at udayton.edu] Sent: Monday, September 09, 2013 1:12 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Splunk Integration Question... Greetings, I was hoping I might find someone who's got the splunk integration actively working. I'm running Nagios Core (via EPEL) and Splunk 5.0.3 on OracleLinux 6.4. When I edit cgi.cfg and enable splunk integration, then set the splunk URL to https://:8000/en-US/app/search/flastimeline, I notice the nagios URLs look like: https://:8000/en-US/app/flashtimeline?q=search%20test1.udayton.edu%20. I have two questions... * Is there a way I can make nagios use the hostname only, not the FQDN? We use short names in splunk so we don't a mix of fqdn and short names since we use both forwarders and syslog as input. * What data is this query looking for, is it expected that I should have my nagios log in splunk? The in the query doesn't seem useful to me, unless there's splunk data specifically tied to that check, and I'm hoping someone could provide an example. Kind regards, -- Sean M. Alderman Senior Engineer, UDit Systems Integration and Engineering University of Dayton ------------------------------------------------------------------------------ How ServiceNow helps IT people transform IT departments: 1. Consolidate legacy IT systems to a single system of record for IT 2. Standardize and globalize service processes across IT 3. Implement zero-touch automation to replace manual, redundant tasks http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ How ServiceNow helps IT people transform IT departments: 1. Consolidate legacy IT systems to a single system of record for IT 2. Standardize and globalize service processes across IT 3. Implement zero-touch automation to replace manual, redundant tasks http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From paul.simons at onair.aero Fri Sep 13 14:35:46 2013 From: paul.simons at onair.aero (Paul Simons) Date: Fri, 13 Sep 2013 12:35:46 +0000 Subject: SNMP unknown system Message-ID: <70DEBC6456A1354CB274DBEB6DDC1F4E26BAFDDC@GVAVirtEX02.OnAir.aero> Hello I have a system running (proprietary OS) for which I have no information except that there is an SNMP client (no MIB, OID, etc.) Can I use NAGIOS to recover what is available? Then I can tailor my SNMP gets. Regards Paul ________________________________ Disclaimer: This e-mail (and any attachments to it) is confidential and intended solely for the named person/s to whom it is addressed. If you are not an intended recipient, please notify us immediately and delete the email from your system. Any review, dissemination or other use of it in these circumstances is prohibited. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ How ServiceNow helps IT people transform IT departments: 1. Consolidate legacy IT systems to a single system of record for IT 2. Standardize and globalize service processes across IT 3. Implement zero-touch automation to replace manual, redundant tasks http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From orthogonous at gmail.com Fri Sep 13 15:24:23 2013 From: orthogonous at gmail.com (Lachlan Bowes) Date: Fri, 13 Sep 2013 23:24:23 +1000 Subject: SNMP unknown system In-Reply-To: <70DEBC6456A1354CB274DBEB6DDC1F4E26BAFDDC@GVAVirtEX02.OnAir.aero> References: <70DEBC6456A1354CB274DBEB6DDC1F4E26BAFDDC@GVAVirtEX02.OnAir.aero> Message-ID: Do an snmpwalk of the entire available tree, then see what you have Lachlan On Fri, Sep 13, 2013 at 10:35 PM, Paul Simons wrote: > > > Hello > I have a system running (proprietary OS) for which I have no information > except that there is an SNMP client (no MIB, OID, etc.) > > Can I use NAGIOS to recover what is available? > > Then I can tailor my SNMP gets. > > Regards > > Paul > > ------------------------------ > > Disclaimer: This e-mail (and any attachments to it) is confidential and > intended solely for the named person/s to whom it is addressed. If you are > not an intended recipient, please notify us immediately and delete the > email from your system. Any review, dissemination or other use of it in > these circumstances is prohibited. > > > ------------------------------------------------------------------------------ > How ServiceNow helps IT people transform IT departments: > 1. Consolidate legacy IT systems to a single system of record for IT > 2. Standardize and globalize service processes across IT > 3. Implement zero-touch automation to replace manual, redundant tasks > http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ How ServiceNow helps IT people transform IT departments: 1. Consolidate legacy IT systems to a single system of record for IT 2. Standardize and globalize service processes across IT 3. Implement zero-touch automation to replace manual, redundant tasks http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From salderman1 at udayton.edu Fri Sep 13 15:55:34 2013 From: salderman1 at udayton.edu (Sean Alderman) Date: Fri, 13 Sep 2013 09:55:34 -0400 Subject: Splunk Integration Question... In-Reply-To: <3FC36F2C7B96D444A1138066E952D2B60DFB97@PEPWMC00171.corp.pep.pvt> References: <3FC36F2C7B96D444A1138066E952D2B60DF744@PEPWMC00171.corp.pep.pvt> <3FC36F2C7B96D444A1138066E952D2B60DFB97@PEPWMC00171.corp.pep.pvt> Message-ID: >From what I can tell, after trying it, the query string appended to the splunk_url parameter referneces Nagios specific things... e.g. https://*splunk_url*/?q=search?%20*hostname*%20* Nagios_command_description * So, the implication is that somehow splunk has data about nagios checks, by name. For my environment, splunk uses short names. We set this up to avoid having a mix of both short names and fqdns in the host field since most of our splunk data is sourced from syslog which doesn't provide fqdn. Because of this clicking the link for this in Nagios would result in splunk on the FQDN and producing no results. The other issue is that at this point, splunk has no data about nagios checks, so searching the check name, also does nothing for us. So I hope you can see why I'm confused about the purpose of this integration. On Tue, Sep 10, 2013 at 3:12 PM, Frost, Mark {BIS} wrote: > Huh. Where did those new options come from? They weren?t in the > cgi.cfg docs the last time I looked J.**** > > ** ** > > I agree, it?s not terribly clear to me what that option does, but it does > reference ?Splunk IT? which is a special Splunk package that you can use > for Splunk benchmarking. That still doesn?t make it clear what it?s used > for.**** > > ** ** > > I see a second parameter, ?splunk_url? that lets you specify the URL for > your Splunk server.**** > > ** ** > > Maybe it just somehow says to pepper the logs with your Splunk URL in > appropriate places.**** > > ** ** > > Mark**** > > ** ** > > *From:* Sean Alderman [mailto:salderman1 at udayton.edu] > *Sent:* Tuesday, September 10, 2013 1:34 PM > *To:* Nagios Users List > > *Subject:* Re: [Nagios-users] Splunk Integration Question...**** > > ** ** > > Just what's in the nagios doc on CGI.cfg. The doc is lacking about what it > does, so I guess I'm a little curious what that config is about.**** > > - Sean Alderman > Senior Engineer, UDit Systems Integration**** > > This message had been brought to you by Android Bionic.**** > > On Sep 10, 2013 1:10 PM, "Frost, Mark {BIS}" > wrote:**** > > Sean,**** > > **** > > Can you describe what you?re doing for Splunk integration with Nagios? > I?ve used Splunk with Nagios in a couple different ways, but I?m not aware > of any single standard for doing so.**** > > **** > > Originally, I just had Splunk run a scheduled search, which would trigger > a script which sent a passive check result back to a Nagios service via > NSCA. That way ? having Nagios process passive check results from Splunk > ? was the only way I could see to do that.**** > > **** > > Recently, I played around a bit with writing scripts that made use of > Splunk?s REST API so the checks could be run as active checks from Nagios. > (I always prefer active checks). I set this up for only one check, but > once I got it working it worked pretty well.**** > > **** > > As a side note, I?m still a little on the fence about whether or not I > really want to have Nagios find problems through Splunk and then alert on > them or have Splunk find an alert on them directly without using Nagios at > all?**** > > **** > > Are you referring to another way of making Splunk and Nagios talk together? > **** > > **** > > Mark**** > > **** > > *From:* Sean Alderman [mailto:salderman1 at udayton.edu] > *Sent:* Monday, September 09, 2013 1:12 PM > *To:* nagios-users at lists.sourceforge.net > *Subject:* [Nagios-users] Splunk Integration Question...**** > > **** > > Greetings,**** > > I was hoping I might find someone who's got the splunk integration > actively working. I'm running Nagios Core (via EPEL) and Splunk 5.0.3 on > OracleLinux 6.4.**** > > When I edit cgi.cfg and enable splunk integration, then set the splunk > URL to https://:8000/en-US/app/search/flastimeline, I > notice the nagios URLs look like: https:// > :8000/en-US/app/flashtimeline?q=search%20test1.udayton.edu%20 plugin check>. I have two questions...**** > > ? Is there a way I can make nagios use the hostname only, not the > FQDN? We use short names in splunk so we don't a mix of fqdn and short > names since we use both forwarders and syslog as input.**** > > ? What data is this query looking for, is it expected that I > should have my nagios log in splunk? The in the > query doesn't seem useful to me, unless there's splunk data specifically > tied to that check, and I'm hoping someone could provide an example. > **** > > Kind regards,**** > > -- **** > > Sean M. Alderman > Senior Engineer, UDit Systems Integration and Engineering > University of Dayton**** > > > > ------------------------------------------------------------------------------ > How ServiceNow helps IT people transform IT departments: > 1. Consolidate legacy IT systems to a single system of record for IT > 2. Standardize and globalize service processes across IT > 3. Implement zero-touch automation to replace manual, redundant tasks > http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null**** > > > ------------------------------------------------------------------------------ > How ServiceNow helps IT people transform IT departments: > 1. Consolidate legacy IT systems to a single system of record for IT > 2. Standardize and globalize service processes across IT > 3. Implement zero-touch automation to replace manual, redundant tasks > http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Sean M. Alderman Senior Engineer, UDit Systems Integration and Engineering University of Dayton 300 College Park Dayton, Ohio 45469-1530 (937) 229-5088 salderman1 at udayton.edu *"We are not some casual and meaningless product of evolution. Each of us is the result of a thought of God. Each of us is willed. Each of us is loved. Each of us is necessary."* - BXVI -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ How ServiceNow helps IT people transform IT departments: 1. Consolidate legacy IT systems to a single system of record for IT 2. Standardize and globalize service processes across IT 3. Implement zero-touch automation to replace manual, redundant tasks http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From salderman1 at udayton.edu Fri Sep 13 16:12:45 2013 From: salderman1 at udayton.edu (Sean Alderman) Date: Fri, 13 Sep 2013 10:12:45 -0400 Subject: Odd Problem with check_yum on one server... Message-ID: Greetings, I'm hoping someone might be able to provide a hint on this issue. Its strange, it happens only on one of my CentOS 6.4 servers. Nagios server reports /usr/bin/yum not found when executing the following test: [root at nagios ~]# sudo -u nagios /usr/lib64/nagios/plugins/check_nrpe -H > test.example.com -c check_yum -a noarg > UNKNOWN: /usr/bin/yum cannot be found > Over on test.example.com: [root at test ~]# ps -ef|grep nrpe|grep -v grep > nrpe 20038 1 0 Sep10 ? 00:00:22 /usr/sbin/nrpe -c > /etc/nagios/nrpe.cfg -d > [root at test ~]# sudo -u nrpe /usr/lib64/nagios/plugins/check_yum > YUM OK: 0 Security Updates Available. 15 Non-Security Updates Available | > Again, I have other CentOS servers monitored using the same check_yum command configured on the Nagios server, they all work fine - including the Nagios server itself which is monitored through nrpe. Thank you for your time and consideration, kind regards, -- Sean M. Alderman Senior Engineer, UDit Systems Integration and Engineering University of Dayton salderman1 at udayton.edu *"We are not some casual and meaningless product of evolution. Each of us is the result of a thought of God. Each of us is willed. Each of us is loved. Each of us is necessary."* - BXVI -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ How ServiceNow helps IT people transform IT departments: 1. Consolidate legacy IT systems to a single system of record for IT 2. Standardize and globalize service processes across IT 3. Implement zero-touch automation to replace manual, redundant tasks http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From support at voipbusiness.us Fri Sep 13 17:00:56 2013 From: support at voipbusiness.us (Tech Support) Date: Fri, 13 Sep 2013 11:00:56 -0400 Subject: Odd Problem with check_yum on one server... In-Reply-To: References: Message-ID: <004801ceb092$0d0aabc0$27200340$@us> It seems to me that yum is simply located somewhere else on that server. Try "which yum". Regards; John From: Sean Alderman [mailto:salderman1 at udayton.edu] Sent: Friday, September 13, 2013 10:13 AM To: Nagios Users List Subject: [Nagios-users] Odd Problem with check_yum on one server... Greetings, I'm hoping someone might be able to provide a hint on this issue. Its strange, it happens only on one of my CentOS 6.4 servers. Nagios server reports /usr/bin/yum not found when executing the following test: [root at nagios ~]# sudo -u nagios /usr/lib64/nagios/plugins/check_nrpe -H test.example.com -c check_yum -a noarg UNKNOWN: /usr/bin/yum cannot be found Over on test.example.com: [root at test ~]# ps -ef|grep nrpe|grep -v grep nrpe 20038 1 0 Sep10 ? 00:00:22 /usr/sbin/nrpe -c /etc/nagios/nrpe.cfg -d [root at test ~]# sudo -u nrpe /usr/lib64/nagios/plugins/check_yum YUM OK: 0 Security Updates Available. 15 Non-Security Updates Available | Again, I have other CentOS servers monitored using the same check_yum command configured on the Nagios server, they all work fine - including the Nagios server itself which is monitored through nrpe. Thank you for your time and consideration, kind regards, -- Sean M. Alderman Senior Engineer, UDit Systems Integration and Engineering University of Dayton salderman1 at udayton.edu "We are not some casual and meaningless product of evolution. Each of us is the result of a thought of God. Each of us is willed. Each of us is loved. Each of us is necessary." - BXVI -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ How ServiceNow helps IT people transform IT departments: 1. Consolidate legacy IT systems to a single system of record for IT 2. Standardize and globalize service processes across IT 3. Implement zero-touch automation to replace manual, redundant tasks http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From salderman1 at udayton.edu Fri Sep 13 19:46:16 2013 From: salderman1 at udayton.edu (Sean Alderman) Date: Fri, 13 Sep 2013 13:46:16 -0400 Subject: Odd Problem with check_yum on one server... In-Reply-To: <004801ceb092$0d0aabc0$27200340$@us> References: <004801ceb092$0d0aabc0$27200340$@us> Message-ID: I apologize... I should have pasted that, but I thought the fact that I could execute the check_yum script as the nrpe user on the host with the problem would have implied that it functions as expected. Yum is located where we would expect it to be on a standard CentOS machine. [root at test ~]# rpm -qa|grep yum > yum-3.2.29-40.el6.centos.noarch > yum-utils-1.1.30-14.el6.noarch > yum-metadata-parser-1.1.2-16.el6.x86_64 > yum-plugin-fastestmirror-1.1.30-14.el6.noarch > yum-plugin-security-1.1.30-14.el6.noarch > [root at test ~]# which yum > /usr/bin/yum > Thanks, On Fri, Sep 13, 2013 at 11:00 AM, Tech Support wrote: > It seems to me that yum is simply located somewhere else on that server. > Try ?which yum?.**** > > Regards;**** > > John**** > > ** ** > > *From:* Sean Alderman [mailto:salderman1 at udayton.edu] > *Sent:* Friday, September 13, 2013 10:13 AM > *To:* Nagios Users List > > *Subject:* [Nagios-users] Odd Problem with check_yum on one server...**** > > ** ** > > Greetings,**** > > I'm hoping someone might be able to provide a hint on this issue. Its > strange, it happens only on one of my CentOS 6.4 servers.**** > > Nagios server reports /usr/bin/yum not found when executing the following > test: > > **** > > [root at nagios ~]# sudo -u nagios /usr/lib64/nagios/plugins/check_nrpe -H > test.example.com -c check_yum -a noarg > UNKNOWN: /usr/bin/yum cannot be found**** > > ** ** > > Over on test.example.com: > > **** > > [root at test ~]# ps -ef|grep nrpe|grep -v grep > nrpe 20038 1 0 Sep10 ? 00:00:22 /usr/sbin/nrpe -c > /etc/nagios/nrpe.cfg -d > [root at test ~]# sudo -u nrpe /usr/lib64/nagios/plugins/check_yum > YUM OK: 0 Security Updates Available. 15 Non-Security Updates Available | > **** > > > **** > > Again, I have other CentOS servers monitored using the same check_yum > command configured on the Nagios server, they all work fine - including the > Nagios server itself which is monitored through nrpe. > > **** > > Thank you for your time and consideration, kind regards,**** > > -- **** > > Sean M. Alderman > Senior Engineer, UDit Systems Integration and Engineering > University of Dayton > salderman1 at udayton.edu > > *"We are not some casual and meaningless product of evolution. Each of us > is the result of a thought of God. Each of us is willed. Each of us is > loved. Each of us is necessary."* - BXVI**** > > > ------------------------------------------------------------------------------ > How ServiceNow helps IT people transform IT departments: > 1. Consolidate legacy IT systems to a single system of record for IT > 2. Standardize and globalize service processes across IT > 3. Implement zero-touch automation to replace manual, redundant tasks > http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Sean M. Alderman Senior Engineer, UDit Systems Integration and Engineering University of Dayton 300 College Park Dayton, Ohio 45469-1530 (937) 229-5088 salderman1 at udayton.edu *"We are not some casual and meaningless product of evolution. Each of us is the result of a thought of God. Each of us is willed. Each of us is loved. Each of us is necessary."* - BXVI -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ How ServiceNow helps IT people transform IT departments: 1. Consolidate legacy IT systems to a single system of record for IT 2. Standardize and globalize service processes across IT 3. Implement zero-touch automation to replace manual, redundant tasks http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 16 10:43:03 2013 From: ae at op5.se (Andreas Ericsson) Date: Mon, 16 Sep 2013 10:43:03 +0200 Subject: Odd Problem with check_yum on one server... In-Reply-To: References: <004801ceb092$0d0aabc0$27200340$@us> Message-ID: <5236C497.9040302@op5.se> On 2013-09-13 19:46, Sean Alderman wrote: > I apologize... I should have pasted that, but I thought the fact that I > could execute the check_yum script as the nrpe user on the host with the > problem would have implied that it functions as expected. Yum is located > where we would expect it to be on a standard CentOS machine. > Then it seems like you're running nrpe in a chroot jail or a limited container, where /usr/bin/yum doesn't exist. -- 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. ------------------------------------------------------------------------------ LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From salderman1 at udayton.edu Mon Sep 16 15:41:37 2013 From: salderman1 at udayton.edu (Sean Alderman) Date: Mon, 16 Sep 2013 09:41:37 -0400 Subject: Odd Problem with check_yum on one server... In-Reply-To: <5236C497.9040302@op5.se> References: <004801ceb092$0d0aabc0$27200340$@us> <5236C497.9040302@op5.se> Message-ID: It would appear to be an selinux problem. On Mon, Sep 16, 2013 at 4:43 AM, Andreas Ericsson wrote: > On 2013-09-13 19:46, Sean Alderman wrote: > >> I apologize... I should have pasted that, but I thought the fact that I >> could execute the check_yum script as the nrpe user on the host with the >> problem would have implied that it functions as expected. Yum is located >> where we would expect it to be on a standard CentOS machine. >> >> > Then it seems like you're running nrpe in a chroot jail or a limited > container, where /usr/bin/yum doesn't exist. > > -- > 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. > -- Sean M. Alderman Senior Engineer, UDit Systems Integration and Engineering University of Dayton 300 College Park Dayton, Ohio 45469-1530 (937) 229-5088 salderman1 at udayton.edu *"We are not some casual and meaningless product of evolution. Each of us is the result of a thought of God. Each of us is willed. Each of us is loved. Each of us is necessary."* - BXVI -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rkackley at naoj.org Mon Sep 16 20:41:26 2013 From: rkackley at naoj.org (Russell Kackley) Date: Mon, 16 Sep 2013 08:41:26 -1000 Subject: check_openmanage and pdisk_cert blacklist question Message-ID: I have been using the check_openmanage Nagios plugin for several years and am very happy with the way it works. However, I do have a question about one of the blacklist items, specifically the pdisk_cert item. This question arose because I noticed a difference between the way check_openmanage reports a non-Dell certified disk in the "Failure Predicted" condition, depending on whether the disk is connected via an older PERC card (e.g., PERC 6/E) vs. a new PERC card (e.g., H810). I would like to get Trond's and the community's opinion on how the pdisk_cert blacklist item should be interpreted. I am running check_openmanage version 3.7.11/Nagios 3.2.3/Dell OMSA 7.1.0/Ubuntu 12.04. I have two PowerEdge 2950 servers each with their own MD1000. Each MD1000 has a mix of Dell-certified and non-certified disks. One server uses a PERC 6/E card to connect to its MD1000, while the other server uses a PERC H810 card to connect to its MD1000. I am using the same check_openmanage command to check both servers: $USER1$/check_openmanage -H $HOSTADDRESS$ -b pdisk_cert=all On the server with the PERC 6/E card, I got the expected status when a disk was in the "Failure Predicted" state: Physical Disk 0:0:2 [Dell ST31000640SS, 1.0TB] on ctrl 1 is Online, Failure Predicted However, my other server, with the H810 card, also has a disk that Dell OMSA is reporting as "Failure Predicted". Despite that problem I get an "OK" message, using the same check_openmanage command: OK - System: 'PowerEdge 2950 III', SN: 'XXXXXXX', 8 GB ram (4 dimms), 2 logical drives, 17 physical drives If I run check_openmanage without the blacklist, I see the problem disk as: Physical Disk 0:0:13 [Seagate ST31000640SS, 1.0TB] on ctrl 1 is Online, Failure Predicted, Not Certified So, it appears that the "pdisk_cert=all" blacklist is suppressing both warnings about the disk, i.e., the fact that it is "Not Certified" as well as the fact that it is also "Failure Predicted". To get an idea of what I should expect the pdisk_cert blacklist to do, I consulted both the check_openmanage web page( http://folk.uio.no/trondham/software/check_openmanage.html) and the check_openmanage man page. The check_openmanage web page says that the pdisk_cert blacklist will "Ignore warnings for non-certified physical drives". I guess one could interpret that as saying "Ignore *all* warnings related to non-certified physical drives", which would include "Failure Predicted", because that is a "Warning" condition. On the other hand, the check_openmanage man page says that pdisk_cert blacklist will "Suppress warning message about non-certified physical disk." I would interpret the meaning of that a little bit differently, i.e., it will suppress *only* the warning about being non-certified, but report other warnings, e.g., "Failure Predicted". So, here is my question to the people in the Nagios community using check_openmanage with pdisk_cert: Are you expecting that check_openmanage will suppress *all* warnings about non-certified disks or that it will suppress *only* the non-certified warning, but report other warnings, such as "Failure Predicted"? I welcome comments or corrections to my interpretation of the pdisk_cert documentation/behavior. Thank you. -- Russell Kackley Subaru Telescope Hilo, Hawaii -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From daniel-listas at gmx.net Tue Sep 17 00:02:40 2013 From: daniel-listas at gmx.net (Daniel Bareiro) Date: Mon, 16 Sep 2013 19:02:40 -0300 Subject: check_disk output Message-ID: <20130916220240.GD1081@defiant.freesoftware> Hi all! I am observing the following output on one of my virtual machines: atlantis:~# /usr/local/nagios/libexec/check_disk -w 20% -c 10% -p / -p /drbd/ DISK OK - free space: / 796 MB (23% inode=69%); /drbd 9094 MB (94% inode=96%);| /=2575MB;2840;3195;0;3551 /drbd=482MB;8071;9080;0;10089 This is the configuration that I have in /usr/local/nagios/etc/nrpe.cfg: command[check_disk]=/usr/local/nagios/libexec/check_disk -w 15% -c 10% -p / - /drbd According to the output of the plugin, there is a 23% free, but still it is returning a WARNING state, which would not be consistent. This is the output of df, which is also 23% free for /: atlantis:~# df -h S.ficheros Tama?o Usados Disp Uso% Montado en rootfs 3,5G 2,6G 797M 77% / udev 10M 0 10M 0% /dev tmpfs 50M 240K 50M 1% /run /dev/disk/by-uuid/cbe1a04f-fd01-4ea9-aeb0-3844ad04ccc3 3,5G 2,6G 797M 77% / tmpfs 5,0M 4,0K 5,0M 1% /run/lock tmpfs 197M 197M 4,0K 100% /run/shm /dev/drbd0 9,9G 483M 8,9G 6% /drbd Inconsistency may have to do with the existence of symbolic links to directories in /drbd? Thanks in advance for your reply. Regards, Daniel -- Fingerprint: BFB3 08D6 B4D1 31B2 72B9 29CE 6696 BF1B 14E6 1D37 Powered by Debian GNU/Linux Squeeze - Linux user #188.598 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 197 bytes Desc: Digital signature URL: -------------- next part -------------- ------------------------------------------------------------------------------ LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 17 12:30:07 2013 From: ck at claudiokuenzler.com (Claudio Kuenzler) Date: Tue, 17 Sep 2013 12:30:07 +0200 Subject: =?utf-8?q?check=5Fdisk_output?= In-Reply-To: <20130916220240.GD1081@defiant.freesoftware> References: <20130916220240.GD1081@defiant.freesoftware> Message-ID: <98b0da2ce7187f937db6c54f8aa424d9@hosting.infiniroot.net> > atlantis:~# /usr/local/nagios/libexec/check_disk -w 20% -c 10% -p / -p > /drbd/ > DISK OK - free space: / 796 MB (23% inode=69%); /drbd 9094 MB (94% > inode=96%);| /=2575MB;2840;3195;0;3551 /drbd=482MB;8071;9080;0;10089 > > > This is the configuration that I have in > /usr/local/nagios/etc/nrpe.cfg: > > command[check_disk]=/usr/local/nagios/libexec/check_disk -w 15% -c 10% > -p / - /drbd For debugging, you should run the exact same command as the nrpe daemon user (e.g. nagios) and look for the differences. If you see different output, you can try it with the setuid (chmod u+s /usr/local/nagios/libexec/check_disk) and try it again. Maybe this helps. ------------------------------------------------------------------------------ LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From thisisnivin at gmail.com Tue Sep 17 10:15:07 2013 From: thisisnivin at gmail.com (Nivin Abraham) Date: Tue, 17 Sep 2013 08:15:07 +0000 (UTC) Subject: Nagios installation issue References: <9BAC443567932C429837071BCD1C709C07CC2D002B@dnzwgex2.datacom.co.nz> Message-ID: my ubuntu version is 12.04 nagios version is nagios-4.0.0beta4 nagios plugin version is nagios-plugins-1.4.16 i have installed my host os is windows 7 vm used is oracle virtualbox i followed the installation from youtube video Nagios sous Ubuntu 12.04 ~ Mohamed AKRICH i followed the entire installation but changed the versions as mentioned above everything got installed without any issues but when i type "service nagios start" and this is what i get /etc/init.d/nagios: 20 .:Can't open /etc/rc.d/init.d/functions so pls help me and i am a newbie to linux as well as ubuntu ------------------------------------------------------------------------------ LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From eliezer at ngtech.co.il Wed Sep 18 00:04:28 2013 From: eliezer at ngtech.co.il (Eliezer Croitoru) Date: Wed, 18 Sep 2013 01:04:28 +0300 Subject: Nagios installation issue In-Reply-To: References: <9BAC443567932C429837071BCD1C709C07CC2D002B@dnzwgex2.datacom.co.nz> Message-ID: <5238D1EC.4030100@ngtech.co.il> Did you compiled nagios by yourself? Eliezer On 09/17/2013 11:15 AM, Nivin Abraham wrote: > my ubuntu version is 12.04 > nagios version is nagios-4.0.0beta4 > nagios plugin version is nagios-plugins-1.4.16 > > i have installed my host os is windows 7 > vm used is oracle virtualbox > > i followed the installation from youtube video Nagios sous Ubuntu 12.04 ~ > Mohamed AKRICH > > i followed the entire installation but changed the versions as mentioned > above everything got installed without any issues but when i type > > "service nagios start" > and this is what i get > > /etc/init.d/nagios: 20 .:Can't open /etc/rc.d/init.d/functions > > > > > so pls help me and i am a newbie to linux as well as ubuntu > > > ------------------------------------------------------------------------------ > LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! > 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint > 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes > Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. > http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 18 09:56:25 2013 From: ftlnagios at gmail.com (FTL Nagios) Date: Wed, 18 Sep 2013 08:56:25 +0100 Subject: Nagios installation issue In-Reply-To: References: <9BAC443567932C429837071BCD1C709C07CC2D002B@dnzwgex2.datacom.co.nz> Message-ID: <000601ceb444$93707680$ba516380$@gmail.com> Start again and follow http://nagios.sourceforge.net/docs/3_0/quickstart-ubuntu.html Change the version numbers to whatever version you are installing obviously as to whats wrote in that guide as its quite old. Also you need to install "apt-get libssl-dev" before you install the plugins or the 1.4.16 plugins will fail to install properly Job done. -----Original Message----- From: Nivin Abraham [mailto:thisisnivin at gmail.com] Sent: 17 September 2013 09:15 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios installation issue my ubuntu version is 12.04 nagios version is nagios-4.0.0beta4 nagios plugin version is nagios-plugins-1.4.16 i have installed my host os is windows 7 vm used is oracle virtualbox i followed the installation from youtube video Nagios sous Ubuntu 12.04 ~ Mohamed AKRICH i followed the entire installation but changed the versions as mentioned above everything got installed without any issues but when i type "service nagios start" and this is what i get /etc/init.d/nagios: 20 .:Can't open /etc/rc.d/init.d/functions so pls help me and i am a newbie to linux as well as ubuntu ---------------------------------------------------------------------------- -- LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dwittenberg2008 at gmail.com Wed Sep 18 15:19:48 2013 From: dwittenberg2008 at gmail.com (Daniel Wittenberg) Date: Wed, 18 Sep 2013 08:19:48 -0500 Subject: Nagios installation issue In-Reply-To: <000601ceb444$93707680$ba516380$@gmail.com> References: <9BAC443567932C429837071BCD1C709C07CC2D002B@dnzwgex2.datacom.co.nz> <000601ceb444$93707680$ba516380$@gmail.com> Message-ID: I don't use Ubuntu myself, does someone know if there is an equiv to functions? Dan On Sep 18, 2013 3:02 AM, "FTL Nagios" wrote: > Start again and follow > > http://nagios.sourceforge.net/docs/3_0/quickstart-ubuntu.html > > Change the version numbers to whatever version you are installing obviously > as to whats wrote in that guide as its quite old. > > Also you need to install "apt-get libssl-dev" before you install the > plugins > or the 1.4.16 plugins will fail to install properly > > Job done. > > -----Original Message----- > From: Nivin Abraham [mailto:thisisnivin at gmail.com] > Sent: 17 September 2013 09:15 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagios installation issue > > my ubuntu version is 12.04 > nagios version is nagios-4.0.0beta4 > nagios plugin version is nagios-plugins-1.4.16 > > i have installed my host os is windows 7 vm used is oracle virtualbox > > i followed the installation from youtube video Nagios sous Ubuntu 12.04 ~ > Mohamed AKRICH > > i followed the entire installation but changed the versions as mentioned > above everything got installed without any issues but when i type > > "service nagios start" > and this is what i get > > /etc/init.d/nagios: 20 .:Can't open /etc/rc.d/init.d/functions > > > > > so pls help me and i am a newbie to linux as well as ubuntu > > > > ---------------------------------------------------------------------------- > -- > LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! > 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, > SharePoint > 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack > includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends > 9/20/13. > http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > ------------------------------------------------------------------------------ > LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! > 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, > SharePoint > 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack > includes > Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. > http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scottvr at gmail.com Wed Sep 18 16:37:49 2013 From: scottvr at gmail.com (Scott VR) Date: Wed, 18 Sep 2013 09:37:49 -0500 Subject: Nagios installation issue In-Reply-To: References: <9BAC443567932C429837071BCD1C709C07CC2D002B@dnzwgex2.datacom.co.nz> <000601ceb444$93707680$ba516380$@gmail.com> Message-ID: The LSB way: /lib/lsb/init-functions But I'm in agreement that an inexperienced user is better served using a package for the particular distro. On Sep 18, 2013 8:31 AM, "Daniel Wittenberg" wrote: > I don't use Ubuntu myself, does someone know if there is an equiv to > functions? > > Dan > On Sep 18, 2013 3:02 AM, "FTL Nagios" wrote: > >> Start again and follow >> >> http://nagios.sourceforge.net/docs/3_0/quickstart-ubuntu.html >> >> Change the version numbers to whatever version you are installing >> obviously >> as to whats wrote in that guide as its quite old. >> >> Also you need to install "apt-get libssl-dev" before you install the >> plugins >> or the 1.4.16 plugins will fail to install properly >> >> Job done. >> >> -----Original Message----- >> From: Nivin Abraham [mailto:thisisnivin at gmail.com] >> Sent: 17 September 2013 09:15 >> To: nagios-users at lists.sourceforge.net >> Subject: [Nagios-users] Nagios installation issue >> >> my ubuntu version is 12.04 >> nagios version is nagios-4.0.0beta4 >> nagios plugin version is nagios-plugins-1.4.16 >> >> i have installed my host os is windows 7 vm used is oracle virtualbox >> >> i followed the installation from youtube video Nagios sous Ubuntu 12.04 ~ >> Mohamed AKRICH >> >> i followed the entire installation but changed the versions as mentioned >> above everything got installed without any issues but when i type >> >> "service nagios start" >> and this is what i get >> >> /etc/init.d/nagios: 20 .:Can't open /etc/rc.d/init.d/functions >> >> >> >> >> so pls help me and i am a newbie to linux as well as ubuntu >> >> >> >> ---------------------------------------------------------------------------- >> -- >> LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! >> 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, >> SharePoint >> 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack >> includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends >> 9/20/13. >> >> http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting >> any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> >> >> >> ------------------------------------------------------------------------------ >> LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! >> 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, >> SharePoint >> 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack >> includes >> Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. >> >> http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > > ------------------------------------------------------------------------------ > LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! > 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, > SharePoint > 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack > includes > Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. > http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dwittenberg2008 at gmail.com Wed Sep 18 17:57:02 2013 From: dwittenberg2008 at gmail.com (Daniel Wittenberg) Date: Wed, 18 Sep 2013 10:57:02 -0500 Subject: Nagios installation issue In-Reply-To: References: <9BAC443567932C429837071BCD1C709C07CC2D002B@dnzwgex2.datacom.co.nz> <000601ceb444$93707680$ba516380$@gmail.com> Message-ID: Agreed, I figured if I could make the rpm do the right thing in each OS that would be better. Within reason of course. Dan On Sep 18, 2013 9:43 AM, "Scott VR" wrote: > The LSB way: /lib/lsb/init-functions > But I'm in agreement that an inexperienced user is better served using a > package for the particular distro. > On Sep 18, 2013 8:31 AM, "Daniel Wittenberg" > wrote: > >> I don't use Ubuntu myself, does someone know if there is an equiv to >> functions? >> >> Dan >> On Sep 18, 2013 3:02 AM, "FTL Nagios" wrote: >> >>> Start again and follow >>> >>> http://nagios.sourceforge.net/docs/3_0/quickstart-ubuntu.html >>> >>> Change the version numbers to whatever version you are installing >>> obviously >>> as to whats wrote in that guide as its quite old. >>> >>> Also you need to install "apt-get libssl-dev" before you install the >>> plugins >>> or the 1.4.16 plugins will fail to install properly >>> >>> Job done. >>> >>> -----Original Message----- >>> From: Nivin Abraham [mailto:thisisnivin at gmail.com] >>> Sent: 17 September 2013 09:15 >>> To: nagios-users at lists.sourceforge.net >>> Subject: [Nagios-users] Nagios installation issue >>> >>> my ubuntu version is 12.04 >>> nagios version is nagios-4.0.0beta4 >>> nagios plugin version is nagios-plugins-1.4.16 >>> >>> i have installed my host os is windows 7 vm used is oracle virtualbox >>> >>> i followed the installation from youtube video Nagios sous Ubuntu 12.04 ~ >>> Mohamed AKRICH >>> >>> i followed the entire installation but changed the versions as mentioned >>> above everything got installed without any issues but when i type >>> >>> "service nagios start" >>> and this is what i get >>> >>> /etc/init.d/nagios: 20 .:Can't open /etc/rc.d/init.d/functions >>> >>> >>> >>> >>> so pls help me and i am a newbie to linux as well as ubuntu >>> >>> >>> >>> ---------------------------------------------------------------------------- >>> -- >>> LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! >>> 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, >>> SharePoint >>> 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack >>> includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends >>> 9/20/13. >>> >>> http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: Please include Nagios version, plugin version (-v) and OS when >>> reporting >>> any issue. >>> ::: Messages without supporting info will risk being sent to /dev/null >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! >>> 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, >>> SharePoint >>> 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack >>> includes >>> Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. >>> >>> http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: Please include Nagios version, plugin version (-v) and OS when >>> reporting any issue. >>> ::: Messages without supporting info will risk being sent to /dev/null >>> >> >> >> ------------------------------------------------------------------------------ >> LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! >> 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, >> SharePoint >> 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack >> includes >> Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. >> >> http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > > ------------------------------------------------------------------------------ > LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! > 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, > SharePoint > 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack > includes > Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. > http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sunil at sunil.cc Wed Sep 18 21:03:21 2013 From: sunil at sunil.cc (Sunil Sankar) Date: Thu, 19 Sep 2013 00:33:21 +0530 Subject: Nagios installation issue In-Reply-To: References: <9BAC443567932C429837071BCD1C709C07CC2D002B@dnzwgex2.datacom.co.nz> <000601ceb444$93707680$ba516380$@gmail.com> Message-ID: In ubuntu the function file is /lib/lsb/init-functions change and let us know if it works Regards Sunil On Wed, Sep 18, 2013 at 9:27 PM, Daniel Wittenberg < dwittenberg2008 at gmail.com> wrote: > Agreed, I figured if I could make the rpm do the right thing in each OS > that would be better. Within reason of course. > > Dan > On Sep 18, 2013 9:43 AM, "Scott VR" wrote: > >> The LSB way: /lib/lsb/init-functions >> But I'm in agreement that an inexperienced user is better served using a >> package for the particular distro. >> On Sep 18, 2013 8:31 AM, "Daniel Wittenberg" >> wrote: >> >>> I don't use Ubuntu myself, does someone know if there is an equiv to >>> functions? >>> >>> Dan >>> On Sep 18, 2013 3:02 AM, "FTL Nagios" wrote: >>> >>>> Start again and follow >>>> >>>> http://nagios.sourceforge.net/docs/3_0/quickstart-ubuntu.html >>>> >>>> Change the version numbers to whatever version you are installing >>>> obviously >>>> as to whats wrote in that guide as its quite old. >>>> >>>> Also you need to install "apt-get libssl-dev" before you install the >>>> plugins >>>> or the 1.4.16 plugins will fail to install properly >>>> >>>> Job done. >>>> >>>> -----Original Message----- >>>> From: Nivin Abraham [mailto:thisisnivin at gmail.com] >>>> Sent: 17 September 2013 09:15 >>>> To: nagios-users at lists.sourceforge.net >>>> Subject: [Nagios-users] Nagios installation issue >>>> >>>> my ubuntu version is 12.04 >>>> nagios version is nagios-4.0.0beta4 >>>> nagios plugin version is nagios-plugins-1.4.16 >>>> >>>> i have installed my host os is windows 7 vm used is oracle virtualbox >>>> >>>> i followed the installation from youtube video Nagios sous Ubuntu 12.04 >>>> ~ >>>> Mohamed AKRICH >>>> >>>> i followed the entire installation but changed the versions as mentioned >>>> above everything got installed without any issues but when i type >>>> >>>> "service nagios start" >>>> and this is what i get >>>> >>>> /etc/init.d/nagios: 20 .:Can't open /etc/rc.d/init.d/functions >>>> >>>> >>>> >>>> >>>> so pls help me and i am a newbie to linux as well as ubuntu >>>> >>>> >>>> >>>> ---------------------------------------------------------------------------- >>>> -- >>>> LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! >>>> 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, >>>> SharePoint >>>> 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack >>>> includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends >>>> 9/20/13. >>>> >>>> http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk >>>> _______________________________________________ >>>> Nagios-users mailing list >>>> Nagios-users at lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>>> ::: Please include Nagios version, plugin version (-v) and OS when >>>> reporting >>>> any issue. >>>> ::: Messages without supporting info will risk being sent to /dev/null >>>> >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! >>>> 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, >>>> SharePoint >>>> 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack >>>> includes >>>> Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. >>>> >>>> http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk >>>> _______________________________________________ >>>> Nagios-users mailing list >>>> Nagios-users at lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>>> ::: Please include Nagios version, plugin version (-v) and OS when >>>> reporting any issue. >>>> ::: Messages without supporting info will risk being sent to /dev/null >>>> >>> >>> >>> ------------------------------------------------------------------------------ >>> LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! >>> 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, >>> SharePoint >>> 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack >>> includes >>> Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. >>> >>> http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: Please include Nagios version, plugin version (-v) and OS when >>> reporting any issue. >>> ::: Messages without supporting info will risk being sent to /dev/null >>> >> >> >> ------------------------------------------------------------------------------ >> LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! >> 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, >> SharePoint >> 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack >> includes >> Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. >> >> http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > > ------------------------------------------------------------------------------ > LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! > 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, > SharePoint > 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack > includes > Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. > http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Regards Sunil Sankar -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dwittenberg2008 at gmail.com Thu Sep 19 05:47:30 2013 From: dwittenberg2008 at gmail.com (Daniel Wittenberg) Date: Wed, 18 Sep 2013 22:47:30 -0500 Subject: Nagios installation issue In-Reply-To: References: <9BAC443567932C429837071BCD1C709C07CC2D002B@dnzwgex2.datacom.co.nz> <000601ceb444$93707680$ba516380$@gmail.com> Message-ID: Unfortunately it looks like it would take quite a few changes from what I'm reading to get it to support both RHEL-based RPM's and LSB, so I'm almost inclined to say there should be a different init script for each unless someone wants to mangle the one to do both. I'm not a fan of requiring that LSB be loaded on EL systems so I don't really want to fully switch the spec file over. I don't think I have enough time right now to convert the script over and do all the testing (especially since I don't have a box setup for it), but if someone wants to write one and send it to me I can work on integrating it with the RPM/build. Dan On Sep 18, 2013, at 2:03 PM, Sunil Sankar wrote: > In ubuntu the function file is /lib/lsb/init-functions change and let us know if it works > > > Regards > Sunil > > > On Wed, Sep 18, 2013 at 9:27 PM, Daniel Wittenberg wrote: > Agreed, I figured if I could make the rpm do the right thing in each OS that would be better. Within reason of course. > > Dan > > On Sep 18, 2013 9:43 AM, "Scott VR" wrote: > The LSB way: /lib/lsb/init-functions > But I'm in agreement that an inexperienced user is better served using a package for the particular distro. > > On Sep 18, 2013 8:31 AM, "Daniel Wittenberg" wrote: > I don't use Ubuntu myself, does someone know if there is an equiv to functions? > > Dan > > On Sep 18, 2013 3:02 AM, "FTL Nagios" wrote: > Start again and follow > > http://nagios.sourceforge.net/docs/3_0/quickstart-ubuntu.html > > Change the version numbers to whatever version you are installing obviously > as to whats wrote in that guide as its quite old. > > Also you need to install "apt-get libssl-dev" before you install the plugins > or the 1.4.16 plugins will fail to install properly > > Job done. > > -----Original Message----- > From: Nivin Abraham [mailto:thisisnivin at gmail.com] > Sent: 17 September 2013 09:15 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagios installation issue > > my ubuntu version is 12.04 > nagios version is nagios-4.0.0beta4 > nagios plugin version is nagios-plugins-1.4.16 > > i have installed my host os is windows 7 vm used is oracle virtualbox > > i followed the installation from youtube video Nagios sous Ubuntu 12.04 ~ > Mohamed AKRICH > > i followed the entire installation but changed the versions as mentioned > above everything got installed without any issues but when i type > > "service nagios start" > and this is what i get > > /etc/init.d/nagios: 20 .:Can't open /etc/rc.d/init.d/functions > > > > > so pls help me and i am a newbie to linux as well as ubuntu > > > ---------------------------------------------------------------------------- > -- > LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! > 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint > 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack > includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends > 9/20/13. > http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------------------------------ > LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! > 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint > 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes > Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. > http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------------ > LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! > 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint > 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes > Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. > http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------------ > LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! > 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint > 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes > Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. > http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------------ > LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! > 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint > 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes > Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. > http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > -- > Regards > Sunil Sankar > ------------------------------------------------------------------------------ > LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! > 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint > 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes > Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. > http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk_______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From prasanna.r8 at gmail.com Thu Sep 19 16:55:01 2013 From: prasanna.r8 at gmail.com (Prasanna Rajendran) Date: Thu, 19 Sep 2013 20:25:01 +0530 Subject: check_mq plugin is not working Message-ID: Hi. I have installed the Nagios V3.5 in Redhat V6.4. I am trying to integrate the chec_mq plugin which was downloaded from below link to monitor the MQ application and it seems to be not working. Could you please some one help me to configure the check_mq. http://exchange.nagios.org/directory/Plugins/Java-Applications-and-Servers/Websphere/IBM-Websphere-MQ-Plugin/details -- Regards R.Prasanna -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jnyhuis at uw.edu Thu Sep 19 20:19:06 2013 From: jnyhuis at uw.edu (John Nyhuis) Date: Thu, 19 Sep 2013 11:19:06 -0700 Subject: Q: problem with status.cgi Message-ID: <523B401A.8050008@uw.edu> Hi All, Problem: In nagios, links under Service Status Totals and Host Status Totals, when clicked on, result in a blank table for warning / unknown / critical. Example: These links produce blank tables: http://notsure/nagios/cgi-bin/status.cgi?host=all&servicestatustypes=16&hoststatustypes=3 http://notsure/nagios/cgi-bin/status.cgi?host=all&servicestatustypes=8&hoststatustypes=3 http://notsure/nagios/cgi-bin/status.cgi?host=all&servicestatustypes=4&hoststatustypes=3 These links produce populated tables: http://notsure/nagios/cgi-bin/status.cgi?host=all&type=detail&servicestatustypes=16&hoststatustypes=12 http://notsure/nagios/cgi-bin/status.cgi?host=all&type=detail&servicestatustypes=8&hoststatustypes=3&serviceprops=42 http://notsure/nagios/cgi-bin/status.cgi?host=all&type=detail&servicestatustypes=4&hoststatustypes=3&serviceprops=42 Unfortunately, status.cgi is a binary, so I can't edit it to change the former to the latter in the code to make this work. I am running nagios 3.5.0 on RHEL 6.4 nagios-3.5.0-1.el6.x86_64 nagios-common-3.5.0-1.el6.x86_64 There are no errors in the nagios or apache logs, it simply does not display the results. Anyone have any ideas on how to fix this? -- Thanks, John Nyhuis IT Manager, Stam Lab 2211 Elliott Avenue 6th Floor, 6S139 Seattle, WA 98121 O: (206)-267-1097 ext 220 F: (206)-441-3033 ------------------------------------------------------------------------------ LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dgrgicevic at gmail.com Thu Sep 19 22:42:17 2013 From: dgrgicevic at gmail.com (davor grgicevic) Date: Thu, 19 Sep 2013 22:42:17 +0200 Subject: Q: problem with status.cgi In-Reply-To: <523B401A.8050008@uw.edu> References: <523B401A.8050008@uw.edu> Message-ID: did you install gd & gd-devel davor On Thu, Sep 19, 2013 at 8:19 PM, John Nyhuis wrote: > Hi All, > > Problem: > In nagios, links under Service Status Totals and Host Status Totals, when > clicked on, result in a blank table for warning / unknown / critical. > > Example: These links produce blank tables: > > http://notsure/nagios/cgi-bin/status.cgi?host=all&servicestatustypes=16&hoststatustypes=3 > > http://notsure/nagios/cgi-bin/status.cgi?host=all&servicestatustypes=8&hoststatustypes=3 > > http://notsure/nagios/cgi-bin/status.cgi?host=all&servicestatustypes=4&hoststatustypes=3 > > These links produce populated tables: > > http://notsure/nagios/cgi-bin/status.cgi?host=all&type=detail&servicestatustypes=16&hoststatustypes=12 > > http://notsure/nagios/cgi-bin/status.cgi?host=all&type=detail&servicestatustypes=8&hoststatustypes=3&serviceprops=42 > > http://notsure/nagios/cgi-bin/status.cgi?host=all&type=detail&servicestatustypes=4&hoststatustypes=3&serviceprops=42 > > Unfortunately, status.cgi is a binary, so I can't edit it to change the > former to the latter in the code to make this work. > > I am running nagios 3.5.0 on RHEL 6.4 > nagios-3.5.0-1.el6.x86_64 > nagios-common-3.5.0-1.el6.x86_64 > > There are no errors in the nagios or apache logs, it simply does not > display the results. > Anyone have any ideas on how to fix this? > > -- > > > Thanks, > John Nyhuis > IT Manager, Stam Lab > 2211 Elliott Avenue > 6th Floor, 6S139 > Seattle, WA 98121 > O: (206)-267-1097 ext 220 > F: (206)-441-3033 > > > ------------------------------------------------------------------------------ > LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! > 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, > SharePoint > 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack > includes > Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. > http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Davor Grgicevic -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.busche at gmail.com Wed Sep 18 22:03:11 2013 From: m.busche at gmail.com (Markus) Date: Wed, 18 Sep 2013 20:03:11 +0000 (UTC) Subject: Nagios init script not working on Ubuntu 12.04 References: Message-ID: Hi Abhinav, I found my "old" Nagios 3 init script ist working well with Nagios 4 under Debian wheezy: #!/bin/sh # # chkconfig: 345 99 01 # description: Nagios network monitor # # File : nagios # # Author : Jorge Sanchez Aymar (jsanchez at lanchile.cl) # # Changelog : # # 1999-07-09 Karl DeBisschop # - setup for autoconf # - add reload function # 1999-08-06 Ethan Galstad # - Added configuration info for use with RedHat's chkconfig tool # per Fran Boon's suggestion # 1999-08-13 Jim Popovitch # - added variable for nagios/var directory # - cd into nagios/var directory before creating tmp files on startup # 1999-08-16 Ethan Galstad # - Added test for rc.d directory as suggested by Karl DeBisschop # 2000-07-23 Karl DeBisschop # - Clean out redhat macros and other dependencies # 2003-01-11 Ethan Galstad # - Updated su syntax (Gary Miller) # # Description: Starts and stops the Nagios monitor # used to provide network services status. # status_nagios () { if test -x $NagiosCGI/daemonchk.cgi; then if $NagiosCGI/daemonchk.cgi -l $NagiosRunFile; then return 0 else return 1 fi else if ps -p $NagiosPID > /dev/null 2>&1; then return 0 else return 1 fi fi return 1 } printstatus_nagios() { if status_nagios $1 $2; then echo "nagios (pid $NagiosPID) is running..." else echo "nagios is not running" fi } killproc_nagios () { kill $2 $NagiosPID } pid_nagios () { if test ! -f $NagiosRunFile; then echo "No lock file found in $NagiosRunFile" exit 1 fi NagiosPID=`head -n 1 $NagiosRunFile` } # Source function library # Solaris doesn't have an rc.d directory, so do a test first if [ -f /etc/rc.d/init.d/functions ]; then . /etc/rc.d/init.d/functions elif [ -f /etc/init.d/functions ]; then . /etc/init.d/functions fi prefix=/usr/local/nagios exec_prefix=${prefix} NagiosBin=${exec_prefix}/bin/nagios NagiosCfgFile=${prefix}/etc/nagios.cfg NagiosStatusFile=${prefix}/var/status.dat NagiosRetentionFile=${prefix}/var/retention.dat NagiosCommandFile=${prefix}/var/rw/nagios.cmd NagiosVarDir=${prefix}/var NagiosRunFile=${prefix}/var/nagios.lock NagiosLockDir=/var/lock/subsys NagiosLockFile=nagios NagiosCGIDir=${exec_prefix}/sbin NagiosUser=nagios NagiosGroup=nagios # Check that nagios exists. if [ ! -f $NagiosBin ]; then echo "Executable file $NagiosBin not found. Exiting." exit 1 fi # Check that nagios.cfg exists. if [ ! -f $NagiosCfgFile ]; then echo "Configuration file $NagiosCfgFile not found. Exiting." exit 1 fi # See how we were called. case "$1" in start) echo -n "Starting nagios:" $NagiosBin -v $NagiosCfgFile > /dev/null 2>&1; if [ $? -eq 0 ]; then su - $NagiosUser -c "touch $NagiosVarDir/nagios.log $NagiosRetentionFile" rm -f $NagiosCommandFile touch $NagiosRunFile chown $NagiosUser:$NagiosGroup $NagiosRunFile $NagiosBin -d $NagiosCfgFile if [ -d $NagiosLockDir ]; then touch $NagiosLockDir/$NagiosLockFile; fi echo " done." exit 0 else echo "CONFIG ERROR! Start aborted. Check your Nagios configuration." exit 1 fi ;; stop) echo -n "Stopping nagios: " pid_nagios killproc_nagios nagios # now we have to wait for nagios to exit and remove its # own NagiosRunFile, otherwise a following "start" could # happen, and then the exiting nagios will remove the # new NagiosRunFile, allowing multiple nagios daemons # to (sooner or later) run - John Sellens #echo -n 'Waiting for nagios to exit .' for i in 1 2 3 4 5 6 7 8 9 10 ; do if status_nagios > /dev/null; then echo -n '.' sleep 1 else break fi done if status_nagios > /dev/null; then echo '' echo 'Warning - nagios did not exit in a timely manner' else echo 'done.' fi rm -f $NagiosStatusFile $NagiosRunFile $NagiosLockDir/$NagiosLockFile $NagiosCommandFile ;; status) pid_nagios printstatus_nagios nagios ;; checkconfig) printf "Running configuration check..." $NagiosBin -v $NagiosCfgFile > /dev/null 2>&1; if [ $? -eq 0 ]; then echo " OK." else echo " CONFIG ERROR! Check your Nagios configuration." exit 1 fi ;; restart) printf "Running configuration check..." $NagiosBin -v $NagiosCfgFile > /dev/null 2>&1; if [ $? -eq 0 ]; then echo "done." $0 stop $0 start else echo " CONFIG ERROR! Restart aborted. Check your Nagios configuration." exit 1 fi ;; reload|force-reload) printf "Running configuration check..." $NagiosBin -v $NagiosCfgFile > /dev/null 2>&1; if [ $? -eq 0 ]; then echo "done." if test ! -f $NagiosRunFile; then $0 start else pid_nagios if status_nagios > /dev/null; then printf "Reloading nagios configuration..." killproc_nagios nagios -HUP echo "done" else $0 stop $0 start fi fi else echo " CONFIG ERROR! Reload aborted. Check your Nagios configuration." exit 1 fi ;; *) echo "Usage: nagios {start|stop|restart|reload|force- reload|status|checkconfig}" exit 1 ;; esac # End of this script ------------------------------------------------------------------------------ LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tewing at gracenote.com Fri Sep 20 00:25:27 2013 From: tewing at gracenote.com (Terry Ewing) Date: Thu, 19 Sep 2013 22:25:27 +0000 Subject: nagios/nconf servicegroups In-Reply-To: References: Message-ID: <5A32DB7B-FB84-41B4-955D-86FB8AF1EC76@gracenote.com> Crud. Sorry for not changing the subject when starting a new thread. On Sep 19, 2013, at 3:23 PM, Terry Ewing > wrote: I've been struggling with nconf for a couple days now and need some direction. Each server needs to send service notifications to three contacts. The site manager, the team manager and the operations group. I can't figure out how to create this in the nconf interface. I've set up all the contact groups and hosts but I'm not seeing how to connect service templates and servicegroups to get this accomplished without resorting to cloning servers or inputting the same information for each service/host occurance. redteam-site1-web-1,2,3,4 redteam-site1-db-1,2,3,4 blueteam-site1-web-1,2,3,4 blueteam-site1-db-1,2,3,4 I'm hoping to create hostgroups and service templates so the check_http services on redteam servers send notifications to the redteam manager and the check_http services on blueteam servers send notifications to the blueteam manager. If I create an advanced service called redteam_check_http and another called blueteam_check_http with different contactgroups I can't create a host template that includes this advanced service. I've looked at this so many different ways I'm not sure I'm making sense. Thanks for the help! -Terry ------------------------------------------------------------------------------ LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tewing at gracenote.com Fri Sep 20 00:23:20 2013 From: tewing at gracenote.com (Terry Ewing) Date: Thu, 19 Sep 2013 22:23:20 +0000 Subject: check_mq plugin is not working In-Reply-To: References: Message-ID: I've been struggling with nconf for a couple days now and need some direction. Each server needs to send service notifications to three contacts. The site manager, the team manager and the operations group. I can't figure out how to create this in the nconf interface. I've set up all the contact groups and hosts but I'm not seeing how to connect service templates and servicegroups to get this accomplished without resorting to cloning servers or inputting the same information for each service/host occurance. redteam-site1-web-1,2,3,4 redteam-site1-db-1,2,3,4 blueteam-site1-web-1,2,3,4 blueteam-site1-db-1,2,3,4 I'm hoping to create hostgroups and service templates so the check_http services on redteam servers send notifications to the redteam manager and the check_http services on blueteam servers send notifications to the blueteam manager. If I create an advanced service called redteam_check_http and another called blueteam_check_http with different contactgroups I can't create a host template that includes this advanced service. I've looked at this so many different ways I'm not sure I'm making sense. Thanks for the help! -Terry ------------------------------------------------------------------------------ LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jnyhuis at uw.edu Fri Sep 20 19:29:18 2013 From: jnyhuis at uw.edu (John N.) Date: Fri, 20 Sep 2013 10:29:18 -0700 Subject: Q: problem with status.cgi In-Reply-To: References: <523B401A.8050008@uw.edu> Message-ID: <00a101ceb626$f017d7f0$d04787d0$@uw.edu> Both are installed. gd-2.0.35-11.el6.x86_64 gd-devel-2.0.35-11.el6.x86_64 Thanks, John Nyhuis IT Manager, Stam Lab 2211 Elliott Avenue 6th Floor, 6S139 Seattle, WA 98121 O: (206)-267-1097 ext 220 F: (206)-441-3033 From: davor grgicevic [mailto:dgrgicevic at gmail.com] Sent: Thursday, September 19, 2013 1:42 PM To: Nagios Users List Subject: Re: [Nagios-users] Q: problem with status.cgi did you install gd & gd-devel davor On Thu, Sep 19, 2013 at 8:19 PM, John Nyhuis wrote: Hi All, Problem: In nagios, links under Service Status Totals and Host Status Totals, when clicked on, result in a blank table for warning / unknown / critical. Example: These links produce blank tables: http://notsure/nagios/cgi-bin/status.cgi?host=all &servicestatustypes=16&hoststatustypes=3 http://notsure/nagios/cgi-bin/status.cgi?host=all &servicestatustypes=8&hoststatustypes=3 http://notsure/nagios/cgi-bin/status.cgi?host=all &servicestatustypes=4&hoststatustypes=3 These links produce populated tables: http://notsure/nagios/cgi-bin/status.cgi?host=all &type=detail&servicestatustypes=16&hoststatustypes=12 http://notsure/nagios/cgi-bin/status.cgi?host=all &type=detail&servicestatustypes=8&hoststatustypes=3&serviceprops=42 http://notsure/nagios/cgi-bin/status.cgi?host=all &type=detail&servicestatustypes=4&hoststatustypes=3&serviceprops=42 Unfortunately, status.cgi is a binary, so I can't edit it to change the former to the latter in the code to make this work. I am running nagios 3.5.0 on RHEL 6.4 nagios-3.5.0-1.el6.x86_64 nagios-common-3.5.0-1.el6.x86_64 There are no errors in the nagios or apache logs, it simply does not display the results. Anyone have any ideas on how to fix this? -- Thanks, John Nyhuis IT Manager, Stam Lab 2211 Elliott Avenue 6th Floor, 6S139 Seattle, WA 98121 O: (206)-267-1097 ext 220 F: (206)-441-3033 ------------------------------------------------------------------------------ LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. http://pubads.g.doubleclick.net/gampad/clk?id=58041151 &iu=/4140/ostg.clktrk _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Davor Grgicevic -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jnyhuis at uw.edu Fri Sep 20 19:54:59 2013 From: jnyhuis at uw.edu (John N.) Date: Fri, 20 Sep 2013 10:54:59 -0700 Subject: Q: problem with status.cgi In-Reply-To: <00a101ceb626$f017d7f0$d04787d0$@uw.edu> References: <523B401A.8050008@uw.edu> <00a101ceb626$f017d7f0$d04787d0$@uw.edu> Message-ID: <00dd01ceb62a$868b97a0$93a2c6e0$@uw.edu> Tailing the apache access logs shows that apache successfully delivers content from Nagios to the browser (status 200). The content just happens to be empty when it should contain data. Am I correct in assuming that this is an issue internal to status.cgi? Perhaps this is a bug? 172.16.0.86 - jnyhuis [20/Sep/2013:10:50:12 -0700] "GET /nagios/cgi-bin/status.cgi?host=all&servicestatustypes=4&hoststatustypes=3 HTTP/1.1" 200 18011 "-" "Mozilla/5.0 (Windows NT 5.1; rv:20.0) Gecko/20100101 Firefox/20.0" 172.16.0.86 - jnyhuis [20/Sep/2013:10:50:13 -0700] "GET /nagios/cgi-bin/status.cgi?host=all&servicestatustypes=16&hoststatustypes=3 HTTP/1.1" 200 9100 "http://localhost:8080/nagios/cgi-bin/status.cgi?host=all&servicestatustypes=4&hoststatustypes=3" "Mozilla/5.0 (Windows NT 5.1; rv:20.0) Gecko/20100101 Firefox/20.0" 172.16.0.86 - jnyhuis [20/Sep/2013:10:50:42 -0700] "GET /nagios/cgi-bin/status.cgi?host=all&servicestatustypes=4&hoststatustypes=3 HTTP/1.1" 200 18011 "http://localhost:8080/nagios/cgi-bin/status.cgi?host=all&servicestatustypes=16&hoststatustypes=3" "Mozilla/5.0 (Windows NT 5.1; rv:20.0) Gecko/20100101 Firefox/20.0" 172.16.0.86 - jnyhuis [20/Sep/2013:10:50:45 -0700] "GET /nagios/cgi-bin/status.cgi?host=all&servicestatustypes=8&hoststatustypes=3 HTTP/1.1" 200 12097 "http://localhost:8080/nagios/cgi-bin/status.cgi?host=all&servicestatustypes=4&hoststatustypes=3" "Mozilla/5.0 (Windows NT 5.1; rv:20.0) Gecko/20100101 Firefox/20.0" 172.16.0.86 - jnyhuis [20/Sep/2013:10:50:47 -0700] "GET /nagios/cgi-bin/status.cgi?host=all&servicestatustypes=16&hoststatustypes=3 HTTP/1.1" 200 9100 "http://localhost:8080/nagios/cgi-bin/status.cgi?host=all&servicestatustypes=8&hoststatustypes=3" "Mozilla/5.0 (Windows NT 5.1; rv:20.0) Gecko/20100101 Firefox/20.0" 172.16.0.86 - jnyhuis [20/Sep/2013:10:50:48 -0700] "GET /nagios/cgi-bin/status.cgi?host=all&servicestatustypes=16&hoststatustypes=3 HTTP/1.1" 200 9100 "http://localhost:8080/nagios/cgi-bin/status.cgi?host=all&servicestatustypes=16&hoststatustypes=3" "Mozilla/5.0 (Windows NT 5.1; rv:20.0) Gecko/20100101 Firefox/20.0" 172.16.0.86 - jnyhuis [20/Sep/2013:10:50:49 -0700] "GET /nagios/cgi-bin/status.cgi?host=all&servicestatustypes=16&hoststatustypes=4 HTTP/1.1" 200 15127 "http://localhost:8080/nagios/cgi-bin/status.cgi?host=all&servicestatustypes=16&hoststatustypes=3" "Mozilla/5.0 (Windows NT 5.1; rv:20.0) Gecko/20100101 Firefox/20.0" 172.16.0.86 - jnyhuis [20/Sep/2013:10:50:52 -0700] "GET /nagios/cgi-bin/status.cgi?host=all&servicestatustypes=16&hoststatustypes=4 HTTP/1.1" 200 15127 "http://localhost:8080/nagios/cgi-bin/status.cgi?host=all&servicestatustypes=16&hoststatustypes=4" "Mozilla/5.0 (Windows NT 5.1; rv:20.0) Gecko/20100101 Firefox/20.0" 172.16.0.86 - jnyhuis [20/Sep/2013:10:50:54 -0700] "GET /nagios/cgi-bin/status.cgi?host=all&servicestatustypes=16&hoststatustypes=4 HTTP/1.1" 200 15127 "http://localhost:8080/nagios/cgi-bin/status.cgi?host=all&servicestatustypes=16&hoststatustypes=4" "Mozilla/5.0 (Windows NT 5.1; rv:20.0) Gecko/20100101 Firefox/20.0" 172.16.0.86 - jnyhuis [20/Sep/2013:10:50:56 -0700] "GET /nagios/cgi-bin/status.cgi?host=all&servicestatustypes=8&hoststatustypes=4 HTTP/1.1" 200 9072 "http://localhost:8080/nagios/cgi-bin/status.cgi?host=all&servicestatustypes=16&hoststatustypes=4" "Mozilla/5.0 (Windows NT 5.1; rv:20.0) Gecko/20100101 Firefox/20.0" 172.16.0.86 - jnyhuis [20/Sep/2013:10:50:58 -0700] "GET /nagios/cgi-bin/status.cgi?host=all&servicestatustypes=4&hoststatustypes=4 HTTP/1.1" 200 9072 "http://localhost:8080/nagios/cgi-bin/status.cgi?host=all&servicestatustypes=8&hoststatustypes=4" "Mozilla/5.0 (Windows NT 5.1; rv:20.0) Gecko/20100101 Firefox/20.0" Thanks, John Nyhuis IT Manager, Stam Lab 2211 Elliott Avenue 6th Floor, 6S139 Seattle, WA 98121 O: (206)-267-1097 ext 220 F: (206)-441-3033 From: John N. [mailto:jnyhuis at uw.edu] Sent: Friday, September 20, 2013 10:29 AM To: 'Nagios Users List' Subject: Re: [Nagios-users] Q: problem with status.cgi Both are installed. gd-2.0.35-11.el6.x86_64 gd-devel-2.0.35-11.el6.x86_64 Thanks, John Nyhuis IT Manager, Stam Lab 2211 Elliott Avenue 6th Floor, 6S139 Seattle, WA 98121 O: (206)-267-1097 ext 220 F: (206)-441-3033 From: davor grgicevic [mailto:dgrgicevic at gmail.com] Sent: Thursday, September 19, 2013 1:42 PM To: Nagios Users List Subject: Re: [Nagios-users] Q: problem with status.cgi did you install gd & gd-devel davor On Thu, Sep 19, 2013 at 8:19 PM, John Nyhuis wrote: Hi All, Problem: In nagios, links under Service Status Totals and Host Status Totals, when clicked on, result in a blank table for warning / unknown / critical. Example: These links produce blank tables: http://notsure/nagios/cgi-bin/status.cgi?host=all &servicestatustypes=16&hoststatustypes=3 http://notsure/nagios/cgi-bin/status.cgi?host=all &servicestatustypes=8&hoststatustypes=3 http://notsure/nagios/cgi-bin/status.cgi?host=all &servicestatustypes=4&hoststatustypes=3 These links produce populated tables: http://notsure/nagios/cgi-bin/status.cgi?host=all &type=detail&servicestatustypes=16&hoststatustypes=12 http://notsure/nagios/cgi-bin/status.cgi?host=all &type=detail&servicestatustypes=8&hoststatustypes=3&serviceprops=42 http://notsure/nagios/cgi-bin/status.cgi?host=all &type=detail&servicestatustypes=4&hoststatustypes=3&serviceprops=42 Unfortunately, status.cgi is a binary, so I can't edit it to change the former to the latter in the code to make this work. I am running nagios 3.5.0 on RHEL 6.4 nagios-3.5.0-1.el6.x86_64 nagios-common-3.5.0-1.el6.x86_64 There are no errors in the nagios or apache logs, it simply does not display the results. Anyone have any ideas on how to fix this? -- Thanks, John Nyhuis IT Manager, Stam Lab 2211 Elliott Avenue 6th Floor, 6S139 Seattle, WA 98121 O: (206)-267-1097 ext 220 F: (206)-441-3033 ------------------------------------------------------------------------------ LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. http://pubads.g.doubleclick.net/gampad/clk?id=58041151 &iu=/4140/ostg.clktrk _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Davor Grgicevic -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From swilkerson at nagios.com Sat Sep 21 14:32:15 2013 From: swilkerson at nagios.com (Scott Wilkerson) Date: Sat, 21 Sep 2013 07:32:15 -0500 Subject: Q: problem with status.cgi In-Reply-To: <00dd01ceb62a$868b97a0$93a2c6e0$@uw.edu> References: <523B401A.8050008@uw.edu> <00a101ceb626$f017d7f0$d04787d0$@uw.edu> <00dd01ceb62a$868b97a0$93a2c6e0$@uw.edu> Message-ID: <523D91CF.9040407@nagios.com> This looks like apache is delivering data, the number after the 200 is how many bytes were delivered to the browser. Scott Wilkerson Information Technology Manager ___ Email: swilkerson at nagios.com Web: www.nagios.com On 9/20/2013 12:54 PM, John N. wrote: > > Tailing the apache access logs shows that apache successfully delivers > content from Nagios to the browser (status 200). The content just > happens to be empty when it should contain data. > > Am I correct in assuming that this is an issue internal to > status.cgi? Perhaps this is a bug? > > 172.16.0.86 - jnyhuis [20/Sep/2013:10:50:12 -0700] "GET > /nagios/cgi-bin/status.cgi?host=all&servicestatustypes=4&hoststatustypes=3 > HTTP/1.1" 200 *18011 *"-" "Mozilla/5.0 (Windows NT 5.1; rv:20.0) > Gecko/20100101 Firefox/20.0" > > 172.16.0.86 - jnyhuis [20/Sep/2013:10:50:13 -0700] "GET > /nagios/cgi-bin/status.cgi?host=all&servicestatustypes=16&hoststatustypes=3 > HTTP/1.1" 200 *9100 > *"http://localhost:8080/nagios/cgi-bin/status.cgi?host=all&servicestatustypes=4&hoststatustypes=3" > "Mozilla/5.0 (Windows NT 5.1; rv:20.0) Gecko/20100101 Firefox/20.0" > > 172.16.0.86 - jnyhuis [20/Sep/2013:10:50:42 -0700] "GET > /nagios/cgi-bin/status.cgi?host=all&servicestatustypes=4&hoststatustypes=3 > HTTP/1.1" 200 *18011 > *"http://localhost:8080/nagios/cgi-bin/status.cgi?host=all&servicestatustypes=16&hoststatustypes=3" > "Mozilla/5.0 (Windows NT 5.1; rv:20.0) Gecko/20100101 Firefox/20.0" > > 172.16.0.86 - jnyhuis [20/Sep/2013:10:50:45 -0700] "GET > /nagios/cgi-bin/status.cgi?host=all&servicestatustypes=8&hoststatustypes=3 > HTTP/1.1" 200 *12097 > *"http://localhost:8080/nagios/cgi-bin/status.cgi?host=all&servicestatustypes=4&hoststatustypes=3" > "Mozilla/5.0 (Windows NT 5.1; rv:20.0) Gecko/20100101 Firefox/20.0" > > 172.16.0.86 - jnyhuis [20/Sep/2013:10:50:47 -0700] "GET > /nagios/cgi-bin/status.cgi?host=all&servicestatustypes=16&hoststatustypes=3 > HTTP/1.1" 200 *9100 > *"http://localhost:8080/nagios/cgi-bin/status.cgi?host=all&servicestatustypes=8&hoststatustypes=3" > "Mozilla/5.0 (Windows NT 5.1; rv:20.0) Gecko/20100101 Firefox/20.0" > > 172.16.0.86 - jnyhuis [20/Sep/2013:10:50:48 -0700] "GET > /nagios/cgi-bin/status.cgi?host=all&servicestatustypes=16&hoststatustypes=3 > HTTP/1.1" 200 *9100 > *"http://localhost:8080/nagios/cgi-bin/status.cgi?host=all&servicestatustypes=16&hoststatustypes=3" > "Mozilla/5.0 (Windows NT 5.1; rv:20.0) Gecko/20100101 Firefox/20.0" > > 172.16.0.86 - jnyhuis [20/Sep/2013:10:50:49 -0700] "GET > /nagios/cgi-bin/status.cgi?host=all&servicestatustypes=16&hoststatustypes=4 > HTTP/1.1" 200 *15127 > *"http://localhost:8080/nagios/cgi-bin/status.cgi?host=all&servicestatustypes=16&hoststatustypes=3" > "Mozilla/5.0 (Windows NT 5.1; rv:20.0) Gecko/20100101 Firefox/20.0" > > 172.16.0.86 - jnyhuis [20/Sep/2013:10:50:52 -0700] "GET > /nagios/cgi-bin/status.cgi?host=all&servicestatustypes=16&hoststatustypes=4 > HTTP/1.1" 200 *15127 > *"http://localhost:8080/nagios/cgi-bin/status.cgi?host=all&servicestatustypes=16&hoststatustypes=4" > "Mozilla/5.0 (Windows NT 5.1; rv:20.0) Gecko/20100101 Firefox/20.0" > > 172.16.0.86 - jnyhuis [20/Sep/2013:10:50:54 -0700] "GET > /nagios/cgi-bin/status.cgi?host=all&servicestatustypes=16&hoststatustypes=4 > HTTP/1.1" 200 *15127 > *"http://localhost:8080/nagios/cgi-bin/status.cgi?host=all&servicestatustypes=16&hoststatustypes=4" > "Mozilla/5.0 (Windows NT 5.1; rv:20.0) Gecko/20100101 Firefox/20.0" > > 172.16.0.86 - jnyhuis [20/Sep/2013:10:50:56 -0700] "GET > /nagios/cgi-bin/status.cgi?host=all&servicestatustypes=8&hoststatustypes=4 > HTTP/1.1" 200 *9072 > *"http://localhost:8080/nagios/cgi-bin/status.cgi?host=all&servicestatustypes=16&hoststatustypes=4" > "Mozilla/5.0 (Windows NT 5.1; rv:20.0) Gecko/20100101 Firefox/20.0" > > 172.16.0.86 - jnyhuis [20/Sep/2013:10:50:58 -0700] "GET > /nagios/cgi-bin/status.cgi?host=all&servicestatustypes=4&hoststatustypes=4 > HTTP/1.1" 200 *9072 > *"http://localhost:8080/nagios/cgi-bin/status.cgi?host=all&servicestatustypes=8&hoststatustypes=4" > "Mozilla/5.0 (Windows NT 5.1; rv:20.0) Gecko/20100101 Firefox/20.0" > > Thanks, > > John Nyhuis > > IT Manager, Stam Lab > > 2211 Elliott Avenue > > 6th Floor, 6S139 > > Seattle, WA 98121 > > O: (206)-267-1097 ext 220 > > F: (206)-441-3033 > > *From:*John N. [mailto:jnyhuis at uw.edu] > *Sent:* Friday, September 20, 2013 10:29 AM > *To:* 'Nagios Users List' > *Subject:* Re: [Nagios-users] Q: problem with status.cgi > > Both are installed. > > gd-2.0.35-11.el6.x86_64 > > gd-devel-2.0.35-11.el6.x86_64 > > Thanks, > > John Nyhuis > > IT Manager, Stam Lab > > 2211 Elliott Avenue > > 6th Floor, 6S139 > > Seattle, WA 98121 > > O: (206)-267-1097 ext 220 > > F: (206)-441-3033 > > *From:*davor grgicevic [mailto:dgrgicevic at gmail.com] > *Sent:* Thursday, September 19, 2013 1:42 PM > *To:* Nagios Users List > *Subject:* Re: [Nagios-users] Q: problem with status.cgi > > did you install gd & gd-devel > > davor > > On Thu, Sep 19, 2013 at 8:19 PM, John Nyhuis > wrote: > > Hi All, > > Problem: > In nagios, links under Service Status Totals and Host Status Totals, > when clicked on, result in a blank table for warning / unknown / critical. > > Example: These links produce blank tables: > http://notsure/nagios/cgi-bin/status.cgi?host=all&servicestatustypes=16&hoststatustypes=3 > http://notsure/nagios/cgi-bin/status.cgi?host=all&servicestatustypes=8&hoststatustypes=3 > http://notsure/nagios/cgi-bin/status.cgi?host=all&servicestatustypes=4&hoststatustypes=3 > > These links produce populated tables: > http://notsure/nagios/cgi-bin/status.cgi?host=all&type=detail&servicestatustypes=16&hoststatustypes=12 > http://notsure/nagios/cgi-bin/status.cgi?host=all&type=detail&servicestatustypes=8&hoststatustypes=3&serviceprops=42 > http://notsure/nagios/cgi-bin/status.cgi?host=all&type=detail&servicestatustypes=4&hoststatustypes=3&serviceprops=42 > > Unfortunately, status.cgi is a binary, so I can't edit it to change > the former to the latter in the code to make this work. > > I am running nagios 3.5.0 on RHEL 6.4 > nagios-3.5.0-1.el6.x86_64 > nagios-common-3.5.0-1.el6.x86_64 > > There are no errors in the nagios or apache logs, it simply does not > display the results. > Anyone have any ideas on how to fix this? > > -- > > > Thanks, > John Nyhuis > IT Manager, Stam Lab > 2211 Elliott Avenue > 6th Floor, 6S139 > Seattle, WA 98121 > O: (206)-267-1097 ext 220 > F: (206)-441-3033 > > ------------------------------------------------------------------------------ > LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! > 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, > SharePoint > 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack > includes > Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. > http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > > -- > Davor Grgicevic > > > > ------------------------------------------------------------------------------ > LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! > 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint > 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes > Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. > http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/22/13. http://pubads.g.doubleclick.net/gampad/clk?id=64545871&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scottvr at gmail.com Sat Sep 21 19:30:29 2013 From: scottvr at gmail.com (Scott VR) Date: Sat, 21 Sep 2013 12:30:29 -0500 Subject: Q: problem with status.cgi In-Reply-To: <523B401A.8050008@uw.edu> References: <523B401A.8050008@uw.edu> Message-ID: Is it the type=detail that makes the difference? What happens if you add &type=detail to one of the URLs you list as producing blank tables? On Sep 19, 2013 1:27 PM, "John Nyhuis" wrote: > Hi All, > > Problem: > In nagios, links under Service Status Totals and Host Status Totals, when > clicked on, result in a blank table for warning / unknown / critical. > > Example: These links produce blank tables: > > http://notsure/nagios/cgi-bin/status.cgi?host=all&servicestatustypes=16&hoststatustypes=3 > > http://notsure/nagios/cgi-bin/status.cgi?host=all&servicestatustypes=8&hoststatustypes=3 > > http://notsure/nagios/cgi-bin/status.cgi?host=all&servicestatustypes=4&hoststatustypes=3 > > These links produce populated tables: > > http://notsure/nagios/cgi-bin/status.cgi?host=all&type=detail&servicestatustypes=16&hoststatustypes=12 > > http://notsure/nagios/cgi-bin/status.cgi?host=all&type=detail&servicestatustypes=8&hoststatustypes=3&serviceprops=42 > > http://notsure/nagios/cgi-bin/status.cgi?host=all&type=detail&servicestatustypes=4&hoststatustypes=3&serviceprops=42 > > Unfortunately, status.cgi is a binary, so I can't edit it to change the > former to the latter in the code to make this work. > > I am running nagios 3.5.0 on RHEL 6.4 > nagios-3.5.0-1.el6.x86_64 > nagios-common-3.5.0-1.el6.x86_64 > > There are no errors in the nagios or apache logs, it simply does not > display the results. > Anyone have any ideas on how to fix this? > > -- > > > Thanks, > John Nyhuis > IT Manager, Stam Lab > 2211 Elliott Avenue > 6th Floor, 6S139 > Seattle, WA 98121 > O: (206)-267-1097 ext 220 > F: (206)-441-3033 > > > ------------------------------------------------------------------------------ > LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! > 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, > SharePoint > 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack > includes > Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. > http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/22/13. http://pubads.g.doubleclick.net/gampad/clk?id=64545871&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jmurray at whoi.edu Tue Sep 24 22:06:28 2013 From: jmurray at whoi.edu (Jonathan Murray) Date: Tue, 24 Sep 2013 16:06:28 -0400 Subject: changing the email message notification content Message-ID: <5241F0C4.8020009@whoi.edu> I have a user that's asked that when the check_proc notification emails get sent, that they include the output of ps (or something) Can someone give me an example of how they've solved this, or an idea on how you might solve it? thank you -- Jonathan Murray x 2877 linux generalist Woods Hole Oceanographic Institution ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From eagles051387 at gmail.com Tue Sep 24 23:24:09 2013 From: eagles051387 at gmail.com (Jonathan Aquilina) Date: Tue, 24 Sep 2013 23:24:09 +0200 Subject: changing email subscription Message-ID: How do I go about changing the email that I have subscribed to this list please? -- Jonathan Aquilina -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Sep 25 02:51:22 2013 From: justinp at norchemlab.com (Justin Pryzby) Date: Tue, 24 Sep 2013 17:51:22 -0700 Subject: changing the email message notification content In-Reply-To: <5241F0C4.8020009@whoi.edu> References: <5241F0C4.8020009@whoi.edu> Message-ID: <20130925005122.GA21834@norchemlab.com> On Tue, Sep 24, 2013 at 04:06:28PM -0400, Jonathan Murray wrote: > I have a user that's asked that when the check_proc notification emails > get sent, that they include the output of ps (or something) > > Can someone give me an example of how they've solved this, or an idea on > how you might solve it? I have a wrapper around check_procs on some machines, which uses multi-line output (actually, mine is currently using peformance output, which is probably wrong). Something like: ret=0 check_procs || ret=$?; ps -eo comm |sort |uniq -c |sort -nr exit $ret You can put that in nrpe directly or with a wrapper script. That shows up in the cgi and in logs, which is nice on its own. I think you'll likely have to modify your notify command to use $LONGSERVICEOUTPUT$, and perhaps upgrade NRPE to support long output. I wouldn't recommend using long output in any command that also sends text messages. Another way to implement it is with event handlers; that would send a separate email (in addition to the notification). Justin ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From peter.romfeld.hk at gmail.com Wed Sep 25 17:39:21 2013 From: peter.romfeld.hk at gmail.com (Peter Romfeld) Date: Wed, 25 Sep 2013 23:39:21 +0800 Subject: ejabberd-cluster mysql-cluster event-handlers Message-ID: Hi, I wanted to ask if someone has some documentation or links about monitoring ejabberd-clusters, and/or mysql-clusters. We have aws multi region ejabberd cluster now. but because of the size of the project i want to switch to mysql from mnesia for the huge tables. I am setting up right now a pacemaker/corosync HA cluster in each region and then want to do master-master replication between the regions. Has someone exp about the monitoring and event-handling of something like that? Or do i need to wait for problems and then add the script out of them? for redundant vpn + event-handling between regions visit: http://peterromfeld.blogspot.com/2013/09/cross-region-redundant-vpn-between.html Cheers, Peter -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From peter.romfeld.hk at gmail.com Wed Sep 25 17:44:02 2013 From: peter.romfeld.hk at gmail.com (Peter Romfeld) Date: Wed, 25 Sep 2013 23:44:02 +0800 Subject: ejabberd-cluster mysql-cluster event-handlers Message-ID: Hi, I wanted to ask if someone has some documentation or links about monitoring ejabberd-clusters, and/or mysql-clusters. We have aws multi region ejabberd cluster now. but because of the size of the project i want to switch to mysql from mnesia for the huge tables. I am setting up right now a pacemaker/corosync HA cluster in each region and then want to do master-master replication between the regions. Has someone exp about the monitoring and event-handling of something like that? Or do i need to wait for problems and then add the script out of them? for redundant vpn + event-handling between regions visit: http://peterromfeld.blogspot.com/2013/09/cross-region-redundant-vpn-between.html Cheers, Peter -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Sep 25 19:14:07 2013 From: work at paul.dubuc.org (Paul Dubuc) Date: Wed, 25 Sep 2013 13:14:07 -0400 Subject: Q: event handlers and scheduled downtime Message-ID: <524319DF.7090305@paul.dubuc.org> Are event handlers run for a service or host that is in a scheduled downtime? I can't find any documentation on this. I know notifications are suppressed, though checks still run. I would like the event handler for one service not to run during a downtime. Is that possible? I'm using Nagios 3.5.1. Thanks, ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From daniel-listas at gmx.net Wed Sep 25 20:52:04 2013 From: daniel-listas at gmx.net (Daniel Bareiro) Date: Wed, 25 Sep 2013 15:52:04 -0300 Subject: Upgrading to Nagios 4.0.0 Message-ID: <20130925185204.GA28191@defiant.freesoftware> Hi all! Since I saw recently released version 4.0.0 of Nagios Core, today I tried to test it using the update procedure published [1]. But, from what I saw, the process does not start after doing a "restart". Viewing the /usr/local/nagios/var/nagios.log, I find the following: ------------------------------------------------------------------------- [1380134669] Warning: use_embedded_perl_implicitly is deprecated and will be removed. [1380134669] Warning: enable_embedded_perl is deprecated and will be removed. [1380134669] Warning: p1_file is deprecated and will be removed. [1380134669] Warning: sleep_time is deprecated and will be removed. [1380134669] Warning: external_command_buffer_slots is deprecated and will be removed. All commands are always processed upon arrival [1380134669] Warning: command_check_interval is deprecated and will be removed. Commands are always handled on arrival [1380134669] Nagios 4.0.0 starting... (PID=23082) [1380134669] Local time is Wed Sep 25 15:44:29 ART 2013 [1380134669] LOG VERSION: 2.0 [1380134669] qh: Socket '/usr/local/nagios/var/rw/nagios.qh' successfully initialized [1380134669] qh: core query handler registered [1380134669] nerd: Channel hostchecks registered successfully [1380134669] nerd: Channel servicechecks registered successfully [1380134669] nerd: Channel opathchecks registered successfully [1380134669] nerd: Fully initialized and ready to rock! [1380134669] wproc: Successfully registered manager as @wproc with query handler [1380134669] wproc: Registry request: name=Core Worker 23085;pid=23085 [1380134669] wproc: Registry request: name=Core Worker 23086;pid=23086 [1380134669] wproc: Registry request: name=Core Worker 23084;pid=23084 [1380134669] wproc: Registry request: name=Core Worker 23083;pid=23083 [1380134669] Error: Module '/usr/local/nagios/bin/npcdmod.o' is using an old or unspecified version of the event broker API. Module will be unloaded. [1380134669] Event broker module '/usr/local/nagios/bin/npcdmod.o' deinitialized successfully. [1380134669] Error: Failed to load module '/usr/local/nagios/bin/npcdmod.o'. [1380134669] Error: Module loading failed. Aborting. ------------------------------------------------------------------------- May Nagios not start for failure on npcdmod.o module? Is it necessary to do something else that is not documented in [1]? Thanks in advance for your reply. Regards, Daniel [1] http://nagios.sourceforge.net/docs/nagioscore/4/en/upgrading.html#nagios3x -- Fingerprint: BFB3 08D6 B4D1 31B2 72B9 29CE 6696 BF1B 14E6 1D37 Powered by Debian GNU/Linux Squeeze - Linux user #188.598 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 197 bytes Desc: Digital signature URL: -------------- next part -------------- ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Sep 25 21:27:23 2013 From: work at paul.dubuc.org (Paul Dubuc) Date: Wed, 25 Sep 2013 15:27:23 -0400 Subject: Upgrading to Nagios 4.0.0 In-Reply-To: <20130925185204.GA28191@defiant.freesoftware> References: <20130925185204.GA28191@defiant.freesoftware> Message-ID: <5243391B.4020501@paul.dubuc.org> Are you using the latest version of PNP4Nagios? If so, maybe it doesn't support Nagios 4.0 yet? Daniel Bareiro wrote: > > Hi all! > > > Since I saw recently released version 4.0.0 of Nagios Core, today I > tried to test it using the update procedure published [1]. > > But, from what I saw, the process does not start after doing a > "restart". > > Viewing the /usr/local/nagios/var/nagios.log, I find the following: > > ------------------------------------------------------------------------- > [1380134669] Warning: use_embedded_perl_implicitly is deprecated and will be removed. > [1380134669] Warning: enable_embedded_perl is deprecated and will be removed. > [1380134669] Warning: p1_file is deprecated and will be removed. > [1380134669] Warning: sleep_time is deprecated and will be removed. > [1380134669] Warning: external_command_buffer_slots is deprecated and will be removed. All commands are always processed upon arrival > [1380134669] Warning: command_check_interval is deprecated and will be removed. Commands are always handled on arrival > [1380134669] Nagios 4.0.0 starting... (PID=23082) > [1380134669] Local time is Wed Sep 25 15:44:29 ART 2013 > [1380134669] LOG VERSION: 2.0 > [1380134669] qh: Socket '/usr/local/nagios/var/rw/nagios.qh' successfully initialized > [1380134669] qh: core query handler registered > [1380134669] nerd: Channel hostchecks registered successfully > [1380134669] nerd: Channel servicechecks registered successfully > [1380134669] nerd: Channel opathchecks registered successfully > [1380134669] nerd: Fully initialized and ready to rock! > [1380134669] wproc: Successfully registered manager as @wproc with query handler > [1380134669] wproc: Registry request: name=Core Worker 23085;pid=23085 > [1380134669] wproc: Registry request: name=Core Worker 23086;pid=23086 > [1380134669] wproc: Registry request: name=Core Worker 23084;pid=23084 > [1380134669] wproc: Registry request: name=Core Worker 23083;pid=23083 > [1380134669] Error: Module '/usr/local/nagios/bin/npcdmod.o' is using an old or unspecified version of the event broker API. Module will be unloaded. > [1380134669] Event broker module '/usr/local/nagios/bin/npcdmod.o' deinitialized successfully. > [1380134669] Error: Failed to load module '/usr/local/nagios/bin/npcdmod.o'. > [1380134669] Error: Module loading failed. Aborting. > ------------------------------------------------------------------------- > > May Nagios not start for failure on npcdmod.o module? Is it necessary to > do something else that is not documented in [1]? > > > > Thanks in advance for your reply. > > > Regards, > Daniel > > [1] http://nagios.sourceforge.net/docs/nagioscore/4/en/upgrading.html#nagios3x > > > > ------------------------------------------------------------------------------ > October Webinars: Code for Performance > Free Intel webinars can help you accelerate application performance. > Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from > the latest Intel processors and coprocessors. See abstracts and register > > http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk > > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Sep 25 21:45:29 2013 From: Sven.Nierlein at Consol.de (Sven Nierlein) Date: Wed, 25 Sep 2013 21:45:29 +0200 Subject: Upgrading to Nagios 4.0.0 In-Reply-To: <5243391B.4020501@paul.dubuc.org> References: <20130925185204.GA28191@defiant.freesoftware> <5243391B.4020501@paul.dubuc.org> Message-ID: <52433D59.2030602@consol.de> On 9/25/13 21:27, Paul Dubuc wrote: > Are you using the latest version of PNP4Nagios? If so, maybe it doesn't > support Nagios 4.0 yet? PNP4Nagios works with Nagios4 without any modification, but you have to compile the npcdmod against the Nagios4 headers and includes. Sven ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From daniel-listas at gmx.net Wed Sep 25 22:52:15 2013 From: daniel-listas at gmx.net (Daniel Bareiro) Date: Wed, 25 Sep 2013 17:52:15 -0300 Subject: Upgrading to Nagios 4.0.0 In-Reply-To: <5243391B.4020501@paul.dubuc.org> References: <20130925185204.GA28191@defiant.freesoftware> <5243391B.4020501@paul.dubuc.org> Message-ID: <20130925205215.GA28426@defiant.freesoftware> Hi, Paul. On Wednesday, 25 September 2013 15:27:23 -0400, Paul Dubuc wrote: > Are you using the latest version of PNP4Nagios? If so, maybe it doesn't > support Nagios 4.0 yet? Mmmmmm... now that you mention it, I installed it some time ago but I'm not giving extensive use so I may uninstall (or disable) it. I'll try to find a way to do it. Thanks for your replay. Regards, Daniel -- Fingerprint: BFB3 08D6 B4D1 31B2 72B9 29CE 6696 BF1B 14E6 1D37 Powered by Debian GNU/Linux Wheezy - Linux user #188.598 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 197 bytes Desc: Digital signature URL: -------------- next part -------------- ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From daniel-listas at gmx.net Thu Sep 26 03:02:14 2013 From: daniel-listas at gmx.net (Daniel Bareiro) Date: Wed, 25 Sep 2013 22:02:14 -0300 Subject: Upgrading to Nagios 4.0.0 In-Reply-To: <52433D59.2030602@consol.de> References: <20130925185204.GA28191@defiant.freesoftware> <5243391B.4020501@paul.dubuc.org> <52433D59.2030602@consol.de> Message-ID: <20130926010214.GB28426@defiant.freesoftware> Hi, Sven. On Wednesday, 25 September 2013 21:45:29 +0200, Sven Nierlein wrote: > > Are you using the latest version of PNP4Nagios? If so, maybe it > > doesn't support Nagios 4.0 yet? > PNP4Nagios works with Nagios4 without any modification, but you have > to compile the npcdmod against the Nagios4 headers and includes. I was reviewing the installation of Nagios which also installed PNP4Nagios and I could not find the source code of the latter so I will not be able to uninstall it with a simple "make uninstall". So what I'm trying to do is disable it. For this I was reviewing the Nagios configuration files in /usr/local/nagios/etc. nagios.cfg: I commented the following line: broker_module=/usr/local/nagios/bin/npcdmod.o Also I deleted the references to PNP4Nagios in the configuration files into the "objects" directory. With these changes I got that Nagios can start, however there are some sections that are not yet operational: * Map. * Trends. * Alerts -> Histogram. Reviewing again in /usr/local/nagios/var/nagios.log, I found the following records are repeated continuously: ------------------------------------------------------------------------- [1380156849] wproc: HOST PERFDATA job 1983 from worker Core Worker 27245 is a non-check helper but exited with return code 2 [1380156849] wproc: command: /usr/bin/perl /usr/local/nagios/libexec/process_perfdata.pl -d HOSTPERFDATA [1380156849] wproc: early_timeout=0; exited_ok=1; wait_status=512; error_code=0; [1380156849] Worker 27245: Unknown jobtype: 9 [1380156849] wproc: Unknown job type: 9 [1380157096] wproc: SERVICE PERFDATA job 2020 from worker Core Worker 27246 is a non-check helper but exited with return code 2 [1380157096] wproc: command: /usr/bin/perl /usr/local/nagios/libexec/process_perfdata.pl [1380157096] wproc: early_timeout=0; exited_ok=1; wait_status=512; error_code=0; [1380157096] Worker 27246: Unknown jobtype: 10 ------------------------------------------------------------------------- May this have to do with the components that are not yet operational? Thanks for your reply. Regards, Daniel -- Fingerprint: BFB3 08D6 B4D1 31B2 72B9 29CE 6696 BF1B 14E6 1D37 Powered by Debian GNU/Linux Squeeze - Linux user #188.598 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 197 bytes Desc: Digital signature URL: -------------- next part -------------- ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alofgren at op5.com Thu Sep 26 10:04:37 2013 From: alofgren at op5.com (=?ISO-8859-1?Q?Anton_L=F6fgren?=) Date: Thu, 26 Sep 2013 10:04:37 +0200 Subject: Q: event handlers and scheduled downtime In-Reply-To: <524319DF.7090305@paul.dubuc.org> References: <524319DF.7090305@paul.dubuc.org> Message-ID: On Wed, Sep 25, 2013 at 7:14 PM, Paul Dubuc wrote: > Are event handlers run for a service or host that is in a scheduled > downtime? > They are, as far as I can tell. > I can't find any documentation on this. Since downtimes are not explicitly mentioned, I think it's implied in the "Event handlers [...] are run whenever a host or service state change occurs." part of the introduction. I know notifications are > suppressed, though checks still run. I would like the event handler for > one > service not to run during a downtime. Is that possible? > That, I don't know - as I'm sure you already know, the downtime depth ${HOST,SERVICE}DOWNTIME$ is not passed to the event handler, which otherwise would've been a viable solution to the problem. It should be possible to do what you want by using, for example, NDO or livestatus to retrieve more status information about your objects. Or even parsing status.dat. This seems like a pretty roundabout way (read: overkill) of accomplishing what you want, though. I'm sure someone else will chime in to suggest a better way if one exists. -- Anton L?fgren alofgren at op5.com OP5 AB www.op5.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Sep 26 22:52:34 2013 From: work at paul.dubuc.org (Paul Dubuc) Date: Thu, 26 Sep 2013 16:52:34 -0400 Subject: Q: event handlers and scheduled downtime In-Reply-To: References: <524319DF.7090305@paul.dubuc.org> Message-ID: <52449E92.8040906@paul.dubuc.org> Anton L?fgren wrote: > On Wed, Sep 25, 2013 at 7:14 PM, Paul Dubuc > wrote: > ... > > ?I know notifications are > suppressed, though checks still run. ?I would like the event handler for one > service not to run during a downtime. ?Is that possible? > > That, I don't know - as I'm sure you already know, the downtime depth > ${HOST,SERVICE}DOWNTIME$ is not passed to the event handler, which otherwise > would've been a viable solution to the problem. Hmmm. The event handler is just another plugin with a command definition. I think I CAN pass $HOSTDOWNTIME$ or $SERVICEDOWNTIME$ to it by putting it as an arg in the command object. Then code it will do nothing if the host or service is in downtime. Thanks for the idea! I'll try it. Paul Dubuc ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alofgren at op5.com Fri Sep 27 09:14:23 2013 From: alofgren at op5.com (=?ISO-8859-1?Q?Anton_L=F6fgren?=) Date: Fri, 27 Sep 2013 09:14:23 +0200 Subject: Q: event handlers and scheduled downtime In-Reply-To: <52449E92.8040906@paul.dubuc.org> References: <524319DF.7090305@paul.dubuc.org> <52449E92.8040906@paul.dubuc.org> Message-ID: Right! state/type/attempt are only the _minimum_ arguments required. Of coutse you can add the downtime depth yourself. Good on you for not listening to me ;) On Thu, Sep 26, 2013 at 10:52 PM, Paul Dubuc wrote: > Anton L?fgren wrote: > >> On Wed, Sep 25, 2013 at 7:14 PM, Paul Dubuc > > wrote: >> >> ... > >> >> ?I know notifications are >> >> suppressed, though checks still run. ?I would like the event handler >> for one >> service not to run during a downtime. ?Is that possible? >> >> That, I don't know - as I'm sure you already know, the downtime depth >> ${HOST,SERVICE}DOWNTIME$ is not passed to the event handler, which >> otherwise >> would've been a viable solution to the problem. >> > > Hmmm. The event handler is just another plugin with a command definition. > I think I CAN pass $HOSTDOWNTIME$ or $SERVICEDOWNTIME$ to it by putting it > as an arg in the command object. Then code it will do nothing if the host > or service is in downtime. Thanks for the idea! I'll try it. > > Paul Dubuc > -- Anton L?fgren alofgren at op5.com OP5 AB www.op5.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From james at camalyn.org Fri Sep 27 14:07:33 2013 From: james at camalyn.org (James Tobin) Date: Fri, 27 Sep 2013 13:07:33 +0100 Subject: JOB | Permanent Linux Systems Administrator (Singapore) Message-ID: Hello, I am working with an employer that is looking to hire a permanent Linux system administrator with an automation and scripting mindset as well as exposure to MySQL (the very minimum; replication) for a position in Singapore. Relocation assistance could also be offered. An interest in Hadoop would be beneficial. Should any list members like to discuss with me further I can be reached using James (at) Camalyn (dot) Org -- James Tobin http://www.camalyn.org | +44 8444 820 691 x 86246 ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jnyhuis at uw.edu Sat Sep 28 00:54:20 2013 From: jnyhuis at uw.edu (John Nyhuis) Date: Fri, 27 Sep 2013 15:54:20 -0700 Subject: Q: problem with status.cgi In-Reply-To: References: <523B401A.8050008@uw.edu> Message-ID: <52460C9C.4070709@uw.edu> Adding &type=detail to the end of the URL makes no difference. Thanks, John Nyhuis IT Manager, Stam Lab 2211 Elliott Avenue 6th Floor, 6S139 Seattle, WA 98121 O: (206)-267-1097 ext 220 F: (206)-441-3033 On 09/21/2013 10:30 AM, Scott VR wrote: > Is it the type=detail that makes the difference? What happens if you add &type=detail to one of the URLs you list as producing blank tables? > > On Sep 19, 2013 1:27 PM, "John Nyhuis" > wrote: > > Hi All, > > Problem: > In nagios, links under Service Status Totals and Host Status Totals, when clicked on, result in a blank table for warning / unknown / critical. > > Example: These links produce blank tables: > http://notsure/nagios/cgi-bin/status.cgi?host=all&servicestatustypes=16&hoststatustypes=3 > http://notsure/nagios/cgi-bin/status.cgi?host=all&servicestatustypes=8&hoststatustypes=3 > http://notsure/nagios/cgi-bin/status.cgi?host=all&servicestatustypes=4&hoststatustypes=3 > > These links produce populated tables: > http://notsure/nagios/cgi-bin/status.cgi?host=all&type=detail&servicestatustypes=16&hoststatustypes=12 > http://notsure/nagios/cgi-bin/status.cgi?host=all&type=detail&servicestatustypes=8&hoststatustypes=3&serviceprops=42 > http://notsure/nagios/cgi-bin/status.cgi?host=all&type=detail&servicestatustypes=4&hoststatustypes=3&serviceprops=42 > > Unfortunately, status.cgi is a binary, so I can't edit it to change the former to the latter in the code to make this work. > > I am running nagios 3.5.0 on RHEL 6.4 > nagios-3.5.0-1.el6.x86_64 > nagios-common-3.5.0-1.el6.x86_64 > > There are no errors in the nagios or apache logs, it simply does not display the results. > Anyone have any ideas on how to fix this? > > -- > > > Thanks, > John Nyhuis > IT Manager, Stam Lab > 2211 Elliott Avenue > 6th Floor, 6S139 > Seattle, WA 98121 > O: (206)-267-1097 ext 220 > F: (206)-441-3033 > > ------------------------------------------------------------------------------ > LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! > 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint > 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes > Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. > http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > ------------------------------------------------------------------------------ > LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! > 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint > 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes > Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/22/13. > http://pubads.g.doubleclick.net/gampad/clk?id=64545871&iu=/4140/ostg.clktrk > > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From daniel-listas at gmx.net Sun Sep 29 18:51:13 2013 From: daniel-listas at gmx.net (Daniel Bareiro) Date: Sun, 29 Sep 2013 13:51:13 -0300 Subject: Upgrading to Nagios 4.0.0 In-Reply-To: <20130926010214.GB28426@defiant.freesoftware> References: <20130925185204.GA28191@defiant.freesoftware> <5243391B.4020501@paul.dubuc.org> <52433D59.2030602@consol.de> <20130926010214.GB28426@defiant.freesoftware> Message-ID: <20130929165113.GA21146@defiant.freesoftware> Hi all! On Wednesday, 25 September 2013 22:02:14 -0300, Daniel Bareiro wrote: > I was reviewing the installation of Nagios which also installed > PNP4Nagios and I could not find the source code of the latter so I will > not be able to uninstall it with a simple "make uninstall". So what I'm > trying to do is disable it. > > For this I was reviewing the Nagios configuration files in > /usr/local/nagios/etc. > > nagios.cfg: I commented the following line: > > broker_module=/usr/local/nagios/bin/npcdmod.o > > Also I deleted the references to PNP4Nagios in the configuration files > into the "objects" directory. > > With these changes I got that Nagios can start, however there are some > sections that are not yet operational: > > * Map. > * Trends. > * Alerts -> Histogram. > > Reviewing again in /usr/local/nagios/var/nagios.log, I found the > following records are repeated continuously: > > ------------------------------------------------------------------------- > [1380156849] wproc: HOST PERFDATA job 1983 from worker Core Worker 27245 is a non-check helper but exited with return code 2 > [1380156849] wproc: command: /usr/bin/perl /usr/local/nagios/libexec/process_perfdata.pl -d HOSTPERFDATA > [1380156849] wproc: early_timeout=0; exited_ok=1; wait_status=512; error_code=0; > [1380156849] Worker 27245: Unknown jobtype: 9 > [1380156849] wproc: Unknown job type: 9 > [1380157096] wproc: SERVICE PERFDATA job 2020 from worker Core Worker 27246 is a non-check helper but exited with return code 2 > [1380157096] wproc: command: /usr/bin/perl /usr/local/nagios/libexec/process_perfdata.pl > [1380157096] wproc: early_timeout=0; exited_ok=1; wait_status=512; error_code=0; > [1380157096] Worker 27246: Unknown jobtype: 10 > ------------------------------------------------------------------------- > > May this have to do with the components that are not yet operational? Although still have these messages in the log, I could fix the errors I was having to try to get the Map, Trends and Alerts -> Histogram. The configure was not finding the GD library and include files. When now entered in the status map for the first time, the default was "user-supplied coords", with the message below: "You have not supplied any host drawing coordinates, so you cannot use this layout method. Read the FAQs for more information on specifying drawing coordinates or select a different layout method" If I select "circular (marked up)", I think it was the layout I was using with Nagios Core 3.5.0, and update, I keep getting the same message without being able to see the map. Is there to do some additional configuration? Regards, Daniel -- Fingerprint: BFB3 08D6 B4D1 31B2 72B9 29CE 6696 BF1B 14E6 1D37 Powered by Debian GNU/Linux Squeeze - Linux user #188.598 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 197 bytes Desc: Digital signature URL: -------------- next part -------------- ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From daniel-listas at gmx.net Sun Sep 29 20:39:00 2013 From: daniel-listas at gmx.net (Daniel Bareiro) Date: Sun, 29 Sep 2013 15:39:00 -0300 Subject: Upgrading to Nagios 4.0.0 In-Reply-To: <20130929165113.GA21146@defiant.freesoftware> References: <20130925185204.GA28191@defiant.freesoftware> <5243391B.4020501@paul.dubuc.org> <52433D59.2030602@consol.de> <20130926010214.GB28426@defiant.freesoftware> <20130929165113.GA21146@defiant.freesoftware> Message-ID: <20130929183900.GA21923@defiant.freesoftware> On Sunday, 29 September 2013 13:51:13 -0300, Daniel Bareiro wrote: > Although still have these messages in the log, I could fix the errors I > was having to try to get the Map, Trends and Alerts -> Histogram. The > configure was not finding the GD library and include files. > > When now entered in the status map for the first time, the default was > "user-supplied coords", with the message below: > > "You have not supplied any host drawing coordinates, so you cannot use > this layout method. Read the FAQs for more information on specifying > drawing coordinates or select a different layout method" > > If I select "circular (marked up)", I think it was the layout I was > using with Nagios Core 3.5.0, and update, I keep getting the same > message without being able to see the map. Is there to do some > additional configuration? This is a bug found after released version 4.0.0 of Nagios Core [1]. Regards, Daniel [1] http://tracker.nagios.org/view.php?id=470 -- Fingerprint: BFB3 08D6 B4D1 31B2 72B9 29CE 6696 BF1B 14E6 1D37 Powered by Debian GNU/Linux Squeeze - Linux user #188.598 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 197 bytes Desc: Digital signature URL: -------------- next part -------------- ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From paul.simons at onair.aero Mon Sep 30 14:42:26 2013 From: paul.simons at onair.aero (Paul Simons) Date: Mon, 30 Sep 2013 12:42:26 +0000 Subject: Nagios - Virtual machine install - CentOS Message-ID: <70DEBC6456A1354CB274DBEB6DDC1F4E26BED20F@gvavirtex01.OnAir.aero> Hello Has anyone installed the .vmdk Nagios image into a Virtual Machine Manger on CentOS? If so, how? Using the GUI or command line 'virt-xxx'. Thanks in advance. Paul ________________________________ Disclaimer: This e-mail (and any attachments to it) is confidential and intended solely for the named person/s to whom it is addressed. If you are not an intended recipient, please notify us immediately and delete the email from your system. Any review, dissemination or other use of it in these circumstances is prohibited. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null