From sqyzbj at 163.com Sun May 1 03:12:07 2011 From: sqyzbj at 163.com (cheyaping) Date: Sun, 1 May 2011 09:12:07 +0800 Subject: Which tool is the best to inegrate with nagions for display details of all hosts and services ? Message-ID: <201105010912066404643@163.com> hi everyone Which tool is the best to inegrate with nagions for display details of all hosts and services ? your prmpt reply would be deeply appreciated -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd -------------- next part -------------- _______________________________________________ Nagios-devel mailing list Nagios-devel at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-devel From tonis.trei at gmail.com Tue May 3 16:29:46 2011 From: tonis.trei at gmail.com (=?ISO-8859-1?Q?T=F5nis_Trei?=) Date: Tue, 3 May 2011 17:29:46 +0300 Subject: How to run a remote script in Nagios Message-ID: Hello, Im quite new at Nagios and have run into a small problem. I need to trigger a script with a parameter on a remote machine and based on the result trigger an alarm or not. But im at little loss on how to set it up. Script is located in /etc/init.d/script.sh on a remote machine and i should run it as "/etc/init.d/script.sh X" where x is the parameter. Script returns me the result, eather OK or some text and in case of not being ok, i want to send this text out with an email. So im wondering that should i specifie a command in command.cfg that would run this script and then create a new service that would trigger this command and mail the results? Thanks, T?nis -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at flatto.net Tue May 3 16:45:14 2011 From: nagios at flatto.net (Assaf Flatto) Date: Tue, 03 May 2011 14:45:14 +0000 Subject: How to run a remote script in Nagios In-Reply-To: References: Message-ID: <4DC014FA.1010303@flatto.net> T?nis Trei wrote: > Hello, > > Im quite new at Nagios and have run into a small problem. > > I need to trigger a script with a parameter on a remote machine and > based on the result trigger an alarm or not. > But im at little loss on how to set it up. > > Script is located in /etc/init.d/script.sh on a remote machine and i > should run it as "/etc/init.d/script.sh X" where x is the parameter. > Script returns me the result, eather OK or some text and in case of > not being ok, i want to send this text out with an email. > > So im wondering that should i specifie a command in command.cfg that > would run this script and then create a new service that would trigger > this command and mail the results? > > > Thanks, > T?nis The basic way is to do this over nrpe , you need to make sure that nrpe ios complied with the command-args option and then you can pass the parameter you want to the script you want to trigger . for more information on NRPE http://nagios.sourceforge.net/docs/3_0/addons.html#nrpe Assaf ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From smartin at akazaresearch.com Tue May 3 19:29:09 2011 From: smartin at akazaresearch.com (Shaun Martin) Date: Tue, 3 May 2011 13:29:09 -0400 Subject: Nagios 3.0.2 - "Acknowledge this service problem" link is missing Message-ID: Hi All, I am running ubuntu with nagios 3.0.2 installed via apt-get. For some reason I do not have a ?Acknowledge this service problem? link on pages that show warning or critical. From what I can tell these links were not removed. I am running 3.0 on an old debian box and it has those links, and this new ubuntu box is my replacement for the debian box. But before I can do the switchover I need the ?Acknowledge this service problem? links to be present. Based on a link from my 3.0 instance I tricked the 3.0.2 instance to acknowledge a service problem by editing the URL. The acknowledge icon is present and the note type is ?Acknowledgement?. So I can trick the 3.0.2 into acknowledging an issue, oh yah also once acknowledged there is no link for ?Remove problem acknowledgement? either. Any help on getting these links present would be greatly appreciated. Thanks, Shaun -- Shaun Martin | Systems Administrator Akaza Research, LLC Register for the 2011 OpenClinica Global Conference | May 8-9 | Boston Open Source Platform for Clinical Research -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dj_lien at hotmail.com Tue May 3 20:43:23 2011 From: dj_lien at hotmail.com (Dj Lien) Date: Tue, 3 May 2011 18:43:23 +0000 Subject: Before I RTFM.... In-Reply-To: References: Message-ID: .. does anyone have any links/pointers for getting Nagios to process SNMP traps. PeaceLien -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ricardo.maraschini at opservices.com.br Tue May 3 22:21:26 2011 From: ricardo.maraschini at opservices.com.br (Ricardo Maraschini) Date: Tue, 3 May 2011 17:21:26 -0300 (BRT) Subject: Before I RTFM.... In-Reply-To: References: Message-ID: <27168007.24989.1304454086832.JavaMail.root@mail.opservices.com.br> maybe you could start here http://sourceforge.net/projects/nagtrap/ -- Ricardo Jos? Maraschini OpServices Tecnologia da Informa??o Your IT under control ----- "Dj Lien" escreveu: > .. does anyone have any links/pointers for getting Nagios to process > SNMP traps. > > > Peace > Lien > ------------------------------------------------------------------------------ > WhatsUp Gold - Download Free Network Management Software > The most intuitive, comprehensive, and cost-effective network > management toolset available today. Delivers lowest initial > acquisition cost and overall TCO of any competing solution. > http://p.sf.net/sfu/whatsupgold-sd > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Tue May 3 22:25:13 2011 From: jim at jimavery.me.uk (Jim Avery) Date: Tue, 3 May 2011 21:25:13 +0100 Subject: Before I RTFM.... In-Reply-To: References: Message-ID: On 3 May 2011 19:43, Dj Lien wrote: > > .. does anyone have any links/pointers for getting Nagios to process SNMP > traps. snmptt is what you need. I've written some stuff about what you can do here: http://wiki.nagios.org/index.php/Howtos:snmp-windows You might also/instead like to look at a tool called NagTrap. Shout again if you get stuck. hth, Jim ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tonis.trei at gmail.com Wed May 4 10:45:56 2011 From: tonis.trei at gmail.com (=?ISO-8859-1?Q?T=F5nis_Trei?=) Date: Wed, 4 May 2011 11:45:56 +0300 Subject: How to run a remote script in Nagios In-Reply-To: <4DC014FA.1010303@flatto.net> References: <4DC014FA.1010303@flatto.net> Message-ID: Doesn't nrpe require some installation on the remote machine? I can't install that plugin to the remote machine so ill trie to get it done with check_by_ssh. As i understand it doesn't require any additional plugins on the remote. But what puzzles me the most, is how Nagios will send the result of the script check in the alarm notification. Script echoes back some text and i can't figure out how to send that text back in the notification if result <>OK I guess there has to be some check on Nagios side regarding the result, where i should specify what is and what is not OK. But is there anything i should do, so that Nagios would be able to actually fetch the result and send it in the notification? T?nis On 3 May 2011 17:45, Assaf Flatto wrote: > T?nis Trei wrote: > > Hello, > > > > Im quite new at Nagios and have run into a small problem. > > > > I need to trigger a script with a parameter on a remote machine and > > based on the result trigger an alarm or not. > > But im at little loss on how to set it up. > > > > Script is located in /etc/init.d/script.sh on a remote machine and i > > should run it as "/etc/init.d/script.sh X" where x is the parameter. > > Script returns me the result, eather OK or some text and in case of > > not being ok, i want to send this text out with an email. > > > > So im wondering that should i specifie a command in command.cfg that > > would run this script and then create a new service that would trigger > > this command and mail the results? > > > > > > Thanks, > > T?nis > The basic way is to do this over nrpe , > you need to make sure that nrpe ios complied with the command-args > option and then you can pass the parameter you want to the script you > want to trigger . > for more information on NRPE > http://nagios.sourceforge.net/docs/3_0/addons.html#nrpe > > Assaf > > > ------------------------------------------------------------------------------ > WhatsUp Gold - Download Free Network Management Software > The most intuitive, comprehensive, and cost-effective network > management toolset available today. Delivers lowest initial > acquisition cost and overall TCO of any competing solution. > http://p.sf.net/sfu/whatsupgold-sd > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From eran132 at gmail.com Wed May 4 12:47:36 2011 From: eran132 at gmail.com (Eran M.) Date: Wed, 4 May 2011 13:47:36 +0300 Subject: Error in 2 Specific services Message-ID: So far, I've update nsclient++ agents on both servers, made sure the nsc.ini on other servers match the one in those 2 servers. Clue anyone? I appreciate the help. Eran. [image: error.JPG] -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: error.JPG Type: image/jpeg Size: 46925 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: error.JPG Type: image/jpeg Size: 46925 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Martin_Hugo at hboe.org Wed May 4 14:02:20 2011 From: Martin_Hugo at hboe.org (Martin Hugo) Date: Wed, 4 May 2011 12:02:20 +0000 Subject: Error in 2 Specific services In-Reply-To: References: Message-ID: <70D7A4219FE365439DA53582BA6D8F2E176A7137@HCSD-MAIL2> Compare SNMP settings between the servers that work and those that don?t. Any other differences between them? Marty From: Eran M. [mailto:eran132 at gmail.com] Sent: Wednesday, May 04, 2011 6:48 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Error in 2 Specific services So far, I've update nsclient++ agents on both servers, made sure the nsc.ini on other servers match the one in those 2 servers. Clue anyone? I appreciate the help. Eran. [error.JPG] -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 46925 bytes Desc: image001.jpg URL: -------------- next part -------------- ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From atann at alphasrv.net Wed May 4 14:35:13 2011 From: atann at alphasrv.net (Andre Tann) Date: Wed, 4 May 2011 14:35:13 +0200 Subject: Problem with Konica and Canon printer Message-ID: <201105041435.13278@inter.netz> Hello everyone, my nagios works fine with the Kyocera printers through the plugin check_printer, but I still couldn't find out how to check these: Canon iR 1024 Konica C252 Has anyone a hint for me how I could make nagios talk to these two models? The Konica tells me through the check_printer plugin about the toner, but not about the paper tray. The Canon doesn't tell anything using check_printer plugin. Of course I have asked google, and heard about snmpwalk, but I don't know what to do with the information snmpwalk gives me. What can I do? -- Andre Tann ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zarrelli at linux.it Wed May 4 14:50:19 2011 From: zarrelli at linux.it (Giorgio Zarrelli) Date: Wed, 4 May 2011 14:50:19 +0200 (CEST) Subject: Problem with Konica and Canon printer In-Reply-To: <201105041435.13278@inter.netz> References: <201105041435.13278@inter.netz> Message-ID: Hi, you have to find the right OIDs for the info you are trying to get from the printer. Imagine the OID as as dotted "address" string (like 1.3.6.x.x.x.x.x). Each OID points to a value and what that value does mean is described into a collection called MIB. So, find the right MIBs for your printers, look into them, point out the correct OIDS and then, using snmpget, you can query the printers for the values you need. Giorgio > Hello everyone, > > my nagios works fine with the Kyocera printers through the plugin > check_printer, but I still couldn't find out how to check these: > > Canon iR 1024 > Konica C252 > > Has anyone a hint for me how I could make nagios talk to these two > models? > > The Konica tells me through the check_printer plugin about the toner, > but not about the paper tray. > The Canon doesn't tell anything using check_printer plugin. > > Of course I have asked google, and heard about snmpwalk, but I don't > know what to do with the information snmpwalk gives me. > > What can I do? > > -- > Andre Tann > > > ------------------------------------------------------------------------------ > WhatsUp Gold - Download Free Network Management Software > The most intuitive, comprehensive, and cost-effective network > management toolset available today. Delivers lowest initial > acquisition cost and overall TCO of any competing solution. > http://p.sf.net/sfu/whatsupgold-sd > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tonis.trei at gmail.com Wed May 4 15:30:43 2011 From: tonis.trei at gmail.com (=?ISO-8859-1?Q?T=F5nis_Trei?=) Date: Wed, 4 May 2011 16:30:43 +0300 Subject: How to run a remote script in Nagios In-Reply-To: References: <4DC014FA.1010303@flatto.net> Message-ID: I got it solved by using check_by_ssh. Will keep in mind and check nrpe next time i need something similiar and can install a plugin to a remote machine. Thanks for the help :) T?nis 2011/5/4 T?nis Trei > Doesn't nrpe require some installation on the remote machine? > I can't install that plugin to the remote machine so ill trie to get it > done with check_by_ssh. > As i understand it doesn't require any additional plugins on the remote. > > But what puzzles me the most, is how Nagios will send the result of the > script check in the alarm notification. > Script echoes back some text and i can't figure out how to send that text > back in the notification if result <>OK > > I guess there has to be some check on Nagios side regarding the result, > where i should specify what is and what is not OK. But is there anything i > should do, so that Nagios would be able to actually fetch the result and > send it in the notification? > > T?nis > > > On 3 May 2011 17:45, Assaf Flatto wrote: > >> T?nis Trei wrote: >> > Hello, >> > >> > Im quite new at Nagios and have run into a small problem. >> > >> > I need to trigger a script with a parameter on a remote machine and >> > based on the result trigger an alarm or not. >> > But im at little loss on how to set it up. >> > >> > Script is located in /etc/init.d/script.sh on a remote machine and i >> > should run it as "/etc/init.d/script.sh X" where x is the parameter. >> > Script returns me the result, eather OK or some text and in case of >> > not being ok, i want to send this text out with an email. >> > >> > So im wondering that should i specifie a command in command.cfg that >> > would run this script and then create a new service that would trigger >> > this command and mail the results? >> > >> > >> > Thanks, >> > T?nis >> The basic way is to do this over nrpe , >> you need to make sure that nrpe ios complied with the command-args >> option and then you can pass the parameter you want to the script you >> want to trigger . >> for more information on NRPE >> http://nagios.sourceforge.net/docs/3_0/addons.html#nrpe >> >> Assaf >> >> >> ------------------------------------------------------------------------------ >> WhatsUp Gold - Download Free Network Management Software >> The most intuitive, comprehensive, and cost-effective network >> management toolset available today. Delivers lowest initial >> acquisition cost and overall TCO of any competing solution. >> http://p.sf.net/sfu/whatsupgold-sd >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: 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 -------------- ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From eran132 at gmail.com Wed May 4 15:33:24 2011 From: eran132 at gmail.com (Eran M.) Date: Wed, 4 May 2011 16:33:24 +0300 Subject: Fwd: Error in 2 Specific services In-Reply-To: References: Message-ID: Sorry, I forgot graphics is out! Here's the error: Error running WMI query. Check if the user you choose has the right permissions, or if you misspelled 'domain' 'password' or 'host' It is displayed for 2 Windows Servers, both x64, on stopped services and disabled devices. I'll appreciate your help. Eran. ---------- Forwarded message ---------- From: Eran M. Date: Wed, May 4, 2011 at 1:47 PM Subject: Error in 2 Specific services To: nagios-users at lists.sourceforge.net So far, I've update nsclient++ agents on both servers, made sure the nsc.ini on other servers match the one in those 2 servers. Clue anyone? I appreciate the help. Eran. [image: error.JPG] -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: error.JPG Type: image/jpeg Size: 46925 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: error.JPG Type: image/jpeg Size: 46925 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nibin.vm at piserve.com Wed May 4 15:54:23 2011 From: nibin.vm at piserve.com (Nibin VM) Date: Wed, 4 May 2011 19:24:23 +0530 Subject: cisco traffic monitoring Message-ID: Hi guys, I would like to monitor the traffic of my cisco routers and need to get alarmed when the traffic threshold is crossed( need to avoid bandwidth over usage ) . I have snmp enabled on my routers. Can anybody help me? -- Regards, Nibin. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marco.tirado at gmail.com Wed May 4 16:26:45 2011 From: marco.tirado at gmail.com (Marco Tirado) Date: Wed, 4 May 2011 16:26:45 +0200 Subject: cisco traffic monitoring In-Reply-To: References: Message-ID: Hello: You should always check the nagios exchange webpage for plugin related questions: http://exchange.nagios.org/ I guess the plugin you are looking for is check_snmp_int.pl http://nagios.manubulon.com/snmp_int.html //Marco On Wed, May 4, 2011 at 3:54 PM, Nibin VM wrote: > Hi guys, > > I would like to monitor the traffic of my cisco routers and need to get > alarmed when the traffic threshold is crossed( need to avoid bandwidth over > usage ) . I have snmp enabled on my routers. > > Can anybody help me? > > -- > Regards, > Nibin. > > > > > > ------------------------------------------------------------------------------ > WhatsUp Gold - Download Free Network Management Software > The most intuitive, comprehensive, and cost-effective network > management toolset available today. Delivers lowest initial > acquisition cost and overall TCO of any competing solution. > http://p.sf.net/sfu/whatsupgold-sd > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From DCeola at twgi.net Wed May 4 16:07:31 2011 From: DCeola at twgi.net (Daniel Ceola) Date: Wed, 4 May 2011 14:07:31 +0000 Subject: Notification Emails Message-ID: <40B7337A7D70B149A34D5A0FD9FDFA8CDD5E@twgiex.twgi.net> Hello all! My company recently migrated to a new exchange email server (ex03 -> ex10). Nagios has been up and running wonderfully in our environment for some while (was running when I started working here). I have discovered that the notification emails were being routed through the now nonexistent ex03 server in our network. Since we have taken that system down, we are now not getting any notification emails. >From what I understand, and have been told - our Nagios installation was performed on Ubuntu, basically using the info I the quick-start install guide. As such, this should mean that the system is using mailx to send emails (as its own mail server) and thus simply using our internal MX records to route email to our mail server. Our MX record was updated on the day that we made the final server cutover, and it didn't affect receiving email from Nagios. The question here is this: Is there somewhere within Nagios or the Ubuntu OS that I need to make a config change to route the notification email through the new internal mail server to the recipients? I know we are still ironing out some kinks in our new exchange system, so if there is not a configuration within Nagios/Ubuntu that affects this, I will continue the search for resolution through my exchange system. Thanks, Daniel Ceola Systems & DB Admin The Wills Group 6355 Crain Hwy La Plata, MD 20646 301-932-3600 301-932-3643 (direct line) -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ennis at nmcourts.gov Wed May 4 17:36:57 2011 From: ennis at nmcourts.gov (Ennis Ibarra) Date: Wed, 4 May 2011 09:36:57 -0600 (MDT) Subject: Notification Emails In-Reply-To: <1709645984.131882.1304523115499.JavaMail.root@mail.nmcourts.gov> References: <1709645984.131882.1304523115499.JavaMail.root@mail.nmcourts.gov> Message-ID: <816751722.132239.1304523416989.JavaMail.root@mail.nmcourts.gov> Sorry to hear you upgraded to EX10, but what are you going to do right ? Yes, most likely your Ubuntu Server is using it's own MAILX to send emails, so my guess is that the mail routing is not hard-coded into any configuration within Ubuntu, probably you have a relay issue in your EX10 where your Nagios server massages are not allowed to relay, you may want to check on that. On the specific notification by email command that Nagios actually performs, you may want to verify if you have something like: command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | /usr/bin/mailx -s "** $NOTIFICATIONTYPE$ Host Alert: $HOSTNAME$ is $HOSTSTATE$ **" $CONTACTEMAIL$ In such case, yes, your Nagios server is your MailX as well. If you'd like to use your EX10 to relay email directly, although I don't know how to configure that in EX10, you may want to change the command for something like: command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | /bin/mail -s "** $NOTIFICATIONTYPE$ Host Alert: $HOSTNAME$ is $HOSTSTATE$ **" -S smtp=yourEX10.server.com $CONTACTEMAIL$ This way you'll use your EX10 to relay all the email generated by Nagios instead the local (to the Nagios box) MX, you can even turn off that service in your Ubuntu box, one less service to watch. Hope you find this useful. _____________________________________________ Supreme Court of New Mexico - Ennis Ibarra ----- Original Message ----- From: "Daniel Ceola" To: "Nagios Users (nagios-users at lists.sourceforge.net)" Sent: Wednesday, May 4, 2011 8:07:31 AM Subject: [Nagios-users] Notification Emails Hello all! My company recently migrated to a new exchange email server (ex03 -> ex10). Nagios has been up and running wonderfully in our environment for some while (was running when I started working here). I have discovered that the notification emails were being routed through the now nonexistent ex03 server in our network. Since we have taken that system down, we are now not getting any notification emails. >From what I understand, and have been told ? our Nagios installation was performed on Ubuntu, basically using the info I the quick-start install guide. As such, this should mean that the system is using mailx to send emails (as its own mail server) and thus simply using our internal MX records to route email to our mail server. Our MX record was updated on the day that we made the final server cutover, and it didn?t affect receiving email from Nagios. The question here is this: Is there somewhere within Nagios or the Ubuntu OS that I need to make a config change to route the notification email through the new internal mail server to the recipients? I know we are still ironing out some kinks in our new exchange system, so if there is not a configuration within Nagios/Ubuntu that affects this, I will continue the search for resolution through my exchange system. Thanks, Daniel Ceola Systems & DB Admin The Wills Group 6355 Crain Hwy La Plata, MD 20646 301-932-3600 301-932-3643 (direct line) ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From DCeola at twgi.net Wed May 4 18:21:19 2011 From: DCeola at twgi.net (Daniel Ceola) Date: Wed, 4 May 2011 16:21:19 +0000 Subject: Notification Emails In-Reply-To: <816751722.132239.1304523416989.JavaMail.root@mail.nmcourts.gov> References: <1709645984.131882.1304523115499.JavaMail.root@mail.nmcourts.gov> <816751722.132239.1304523416989.JavaMail.root@mail.nmcourts.gov> Message-ID: <40B7337A7D70B149A34D5A0FD9FDFA8CDE0D@twgiex.twgi.net> Thank you for the assistance. I was afraid that there was no actual location within Nagios/Ubuntu that had any configuration that needed to be changed. I?ll start working towards resolution within Exchange. Thanks, Daniel Ceola From: Ennis Ibarra [mailto:ennis at nmcourts.gov] Sent: Wednesday, May 04, 2011 11:37 AM To: Nagios Users List Subject: Re: [Nagios-users] Notification Emails Sorry to hear you upgraded to EX10, but what are you going to do right ? Yes, most likely your Ubuntu Server is using it's own MAILX to send emails, so my guess is that the mail routing is not hard-coded into any configuration within Ubuntu, probably you have a relay issue in your EX10 where your Nagios server massages are not allowed to relay, you may want to check on that. On the specific notification by email command that Nagios actually performs, you may want to verify if you have something like: command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | /usr/bin/mailx -s "** $NOTIFICATIONTYPE$ Host Alert: $HOSTNAME$ is $HOSTSTATE$ **" $CONTACTEMAIL$ In such case, yes, your Nagios server is your MailX as well. If you'd like to use your EX10 to relay email directly, although I don't know how to configure that in EX10, you may want to change the command for something like: command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | /bin/mail -s "** $NOTIFICATIONTYPE$ Host Alert: $HOSTNAME$ is $HOSTSTATE$ **" -S smtp=yourEX10.server.com $CONTACTEMAIL$ This way you'll use your EX10 to relay all the email generated by Nagios instead the local (to the Nagios box) MX, you can even turn off that service in your Ubuntu box, one less service to watch. Hope you find this useful. _____________________________________________ Supreme Court of New Mexico - Ennis Ibarra ----- Original Message ----- From: "Daniel Ceola" To: "Nagios Users (nagios-users at lists.sourceforge.net)" Sent: Wednesday, May 4, 2011 8:07:31 AM Subject: [Nagios-users] Notification Emails Hello all! My company recently migrated to a new exchange email server (ex03 -> ex10). Nagios has been up and running wonderfully in our environment for some while (was running when I started working here). I have discovered that the notification emails were being routed through the now nonexistent ex03 server in our network. Since we have taken that system down, we are now not getting any notification emails. From what I understand, and have been told ? our Nagios installation was performed on Ubuntu, basically using the info I the quick-start install guide. As such, this should mean that the system is using mailx to send emails (as its own mail server) and thus simply using our internal MX records to route email to our mail server. Our MX record was updated on the day that we made the final server cutover, and it didn?t affect receiving email from Nagios. The question here is this: Is there somewhere within Nagios or the Ubuntu OS that I need to make a config change to route the notification email through the new internal mail server to the recipients? I know we are still ironing out some kinks in our new exchange system, so if there is not a configuration within Nagios/Ubuntu that affects this, I will continue the search for resolution through my exchange system. Thanks, Daniel Ceola Systems & DB Admin The Wills Group 6355 Crain Hwy La Plata, MD 20646 301-932-3600 301-932-3643 (direct line) ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nibin.vm at piserve.com Wed May 4 18:50:20 2011 From: nibin.vm at piserve.com (Nibin VM) Date: Wed, 4 May 2011 22:20:20 +0530 Subject: cisco traffic monitoring In-Reply-To: References: Message-ID: Thanks Marco..I will check it :) On Wed, May 4, 2011 at 7:56 PM, Marco Tirado wrote: > Hello: > > You should always check the nagios exchange webpage for plugin related > questions: > > http://exchange.nagios.org/ > > I guess the plugin you are looking for is > check_snmp_int.pl > > http://nagios.manubulon.com/snmp_int.html > > //Marco > > On Wed, May 4, 2011 at 3:54 PM, Nibin VM wrote: > >> Hi guys, >> >> I would like to monitor the traffic of my cisco routers and need to get >> alarmed when the traffic threshold is crossed( need to avoid bandwidth over >> usage ) . I have snmp enabled on my routers. >> >> Can anybody help me? >> >> -- >> Regards, >> Nibin. >> >> >> >> >> >> ------------------------------------------------------------------------------ >> WhatsUp Gold - Download Free Network Management Software >> The most intuitive, comprehensive, and cost-effective network >> management toolset available today. Delivers lowest initial >> acquisition cost and overall TCO of any competing solution. >> http://p.sf.net/sfu/whatsupgold-sd >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > > > ------------------------------------------------------------------------------ > WhatsUp Gold - Download Free Network Management Software > The most intuitive, comprehensive, and cost-effective network > management toolset available today. Delivers lowest initial > acquisition cost and overall TCO of any competing solution. > http://p.sf.net/sfu/whatsupgold-sd > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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, Nibin. --------------------------------- Nibin.V.M Operations Engineer(Unix) PiServe.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ennis at nmcourts.gov Wed May 4 18:52:34 2011 From: ennis at nmcourts.gov (Ennis Ibarra) Date: Wed, 4 May 2011 10:52:34 -0600 (MDT) Subject: Notification Emails In-Reply-To: <278688028.136468.1304527754743.JavaMail.root@mail.nmcourts.gov> References: <278688028.136468.1304527754743.JavaMail.root@mail.nmcourts.gov> Message-ID: <1183371335.136671.1304527954187.JavaMail.root@mail.nmcourts.gov> If it helps, do your tests through your Ubuntu command line, using nagios as your user with something like: echo "TEST" | mail -s "This is a test" -S smtp=EX10server.com youremail at yourdomain.com When this is successful, chances are you nailed it. Good luck then. _____________________________________________ Supreme Court of New Mexico - Ennis Ibarra ----- Original Message ----- From: "Daniel Ceola" To: "Nagios Users List" Sent: Wednesday, May 4, 2011 10:21:19 AM Subject: Re: [Nagios-users] Notification Emails Thank you for the assistance. I was afraid that there was no actual location within Nagios/Ubuntu that had any configuration that needed to be changed. I?ll start working towards resolution within Exchange. Thanks, Daniel Ceola From: Ennis Ibarra [mailto:ennis at nmcourts.gov] Sent: Wednesday, May 04, 2011 11:37 AM To: Nagios Users List Subject: Re: [Nagios-users] Notification Emails Sorry to hear you upgraded to EX10, but what are you going to do right ? Yes, most likely your Ubuntu Server is using it's own MAILX to send emails, so my guess is that the mail routing is not hard-coded into any configuration within Ubuntu, probably you have a relay issue in your EX10 where your Nagios server massages are not allowed to relay, you may want to check on that. On the specific notification by email command that Nagios actually performs, you may want to verify if you have something like: command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | /usr/bin/mailx -s "** $NOTIFICATIONTYPE$ Host Alert: $HOSTNAME$ is $HOSTSTATE$ **" $CONTACTEMAIL$ In such case, yes, your Nagios server is your MailX as well. If you'd like to use your EX10 to relay email directly, although I don't know how to configure that in EX10, you may want to change the command for something like: command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | /bin/mail -s "** $NOTIFICATIONTYPE$ Host Alert: $HOSTNAME$ is $HOSTSTATE$ **" -S smtp=yourEX10.server.com $CONTACTEMAIL$ This way you'll use your EX10 to relay all the email generated by Nagios instead the local (to the Nagios box) MX, you can even turn off that service in your Ubuntu box, one less service to watch. Hope you find this useful. _____________________________________________ Supreme Court of New Mexico - Ennis Ibarra ----- Original Message ----- From: "Daniel Ceola" To: "Nagios Users (nagios-users at lists.sourceforge.net)" Sent: Wednesday, May 4, 2011 8:07:31 AM Subject: [Nagios-users] Notification Emails Hello all! My company recently migrated to a new exchange email server (ex03 -> ex10). Nagios has been up and running wonderfully in our environment for some while (was running when I started working here). I have discovered that the notification emails were being routed through the now nonexistent ex03 server in our network. Since we have taken that system down, we are now not getting any notification emails. >From what I understand, and have been told ? our Nagios installation was performed on Ubuntu, basically using the info I the quick-start install guide. As such, this should mean that the system is using mailx to send emails (as its own mail server) and thus simply using our internal MX records to route email to our mail server. Our MX record was updated on the day that we made the final server cutover, and it didn?t affect receiving email from Nagios. The question here is this: Is there somewhere within Nagios or the Ubuntu OS that I need to make a config change to route the notification email through the new internal mail server to the recipients? I know we are still ironing out some kinks in our new exchange system, so if there is not a configuration within Nagios/Ubuntu that affects this, I will continue the search for resolution through my exchange system. Thanks, Daniel Ceola Systems & DB Admin The Wills Group 6355 Crain Hwy La Plata, MD 20646 301-932-3600 301-932-3643 (direct line) ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From DCeola at twgi.net Wed May 4 18:59:42 2011 From: DCeola at twgi.net (Daniel Ceola) Date: Wed, 4 May 2011 16:59:42 +0000 Subject: Notification Emails In-Reply-To: <1183371335.136671.1304527954187.JavaMail.root@mail.nmcourts.gov> References: <278688028.136468.1304527754743.JavaMail.root@mail.nmcourts.gov> <1183371335.136671.1304527954187.JavaMail.root@mail.nmcourts.gov> Message-ID: <40B7337A7D70B149A34D5A0FD9FDFA8CDE38@twgiex.twgi.net> Thanks again! When I tried your suggestion below, it told me this: nagios at UbuntuTest:/usr/local/nagios/etc/objects$ echo "TEST" | mail -s "this is a test" -S smtp=twgiex.twgi.net dceola at twgi.net mail: invalid option -- 'S' usage: mail [-dEIinv] [-a header] [-b bcc-addr] [-c cc-addr] [-s subject] to-addr ... [-- sendmail-options ...] mail [-dEIiNnv] -f [name] mail [-dEIiNnv] [-u user] You don?t have to take time out of your day to help me with this, and I recognize that you are ? I appreciate it! Thanks, Daniel Ceola From: Ennis Ibarra [mailto:ennis at nmcourts.gov] Sent: Wednesday, May 04, 2011 12:53 PM To: Nagios Users List Subject: Re: [Nagios-users] Notification Emails If it helps, do your tests through your Ubuntu command line, using nagios as your user with something like: echo "TEST" | mail -s "This is a test" -S smtp=EX10server.com youremail at yourdomain.com When this is successful, chances are you nailed it. Good luck then. _____________________________________________ Supreme Court of New Mexico - Ennis Ibarra ----- Original Message ----- From: "Daniel Ceola" To: "Nagios Users List" Sent: Wednesday, May 4, 2011 10:21:19 AM Subject: Re: [Nagios-users] Notification Emails Thank you for the assistance. I was afraid that there was no actual location within Nagios/Ubuntu that had any configuration that needed to be changed. I?ll start working towards resolution within Exchange. Thanks, Daniel Ceola From: Ennis Ibarra [mailto:ennis at nmcourts.gov] Sent: Wednesday, May 04, 2011 11:37 AM To: Nagios Users List Subject: Re: [Nagios-users] Notification Emails Sorry to hear you upgraded to EX10, but what are you going to do right ? Yes, most likely your Ubuntu Server is using it's own MAILX to send emails, so my guess is that the mail routing is not hard-coded into any configuration within Ubuntu, probably you have a relay issue in your EX10 where your Nagios server massages are not allowed to relay, you may want to check on that. On the specific notification by email command that Nagios actually performs, you may want to verify if you have something like: command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | /usr/bin/mailx -s "** $NOTIFICATIONTYPE$ Host Alert: $HOSTNAME$ is $HOSTSTATE$ **" $CONTACTEMAIL$ In such case, yes, your Nagios server is your MailX as well. If you'd like to use your EX10 to relay email directly, although I don't know how to configure that in EX10, you may want to change the command for something like: command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | /bin/mail -s "** $NOTIFICATIONTYPE$ Host Alert: $HOSTNAME$ is $HOSTSTATE$ **" -S smtp=yourEX10.server.com $CONTACTEMAIL$ This way you'll use your EX10 to relay all the email generated by Nagios instead the local (to the Nagios box) MX, you can even turn off that service in your Ubuntu box, one less service to watch. Hope you find this useful. _____________________________________________ Supreme Court of New Mexico - Ennis Ibarra ----- Original Message ----- From: "Daniel Ceola" To: "Nagios Users (nagios-users at lists.sourceforge.net)" Sent: Wednesday, May 4, 2011 8:07:31 AM Subject: [Nagios-users] Notification Emails Hello all! My company recently migrated to a new exchange email server (ex03 -> ex10). Nagios has been up and running wonderfully in our environment for some while (was running when I started working here). I have discovered that the notification emails were being routed through the now nonexistent ex03 server in our network. Since we have taken that system down, we are now not getting any notification emails. From what I understand, and have been told ? our Nagios installation was performed on Ubuntu, basically using the info I the quick-start install guide. As such, this should mean that the system is using mailx to send emails (as its own mail server) and thus simply using our internal MX records to route email to our mail server. Our MX record was updated on the day that we made the final server cutover, and it didn?t affect receiving email from Nagios. The question here is this: Is there somewhere within Nagios or the Ubuntu OS that I need to make a config change to route the notification email through the new internal mail server to the recipients? I know we are still ironing out some kinks in our new exchange system, so if there is not a configuration within Nagios/Ubuntu that affects this, I will continue the search for resolution through my exchange system. Thanks, Daniel Ceola Systems & DB Admin The Wills Group 6355 Crain Hwy La Plata, MD 20646 301-932-3600 301-932-3643 (direct line) ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Martin_Hugo at hboe.org Wed May 4 19:40:07 2011 From: Martin_Hugo at hboe.org (Martin Hugo) Date: Wed, 4 May 2011 17:40:07 +0000 Subject: Notification Emails In-Reply-To: <40B7337A7D70B149A34D5A0FD9FDFA8CDE38@twgiex.twgi.net> References: <278688028.136468.1304527754743.JavaMail.root@mail.nmcourts.gov> <1183371335.136671.1304527954187.JavaMail.root@mail.nmcourts.gov> <40B7337A7D70B149A34D5A0FD9FDFA8CDE38@twgiex.twgi.net> Message-ID: <70D7A4219FE365439DA53582BA6D8F2E176A7457@HCSD-MAIL2> Have you defined an internal mail connector on your EXCH2010 Hub server(s) for internal smtp servers that you want to allow to send out mail through your Exchange Server? Setup their IP Addresses in the lower portion of the Network Tab and select the appropriate permissions and groups on the Authentication and Permission Groups tabs? Since your Nagios was sending mail OK to your EXCH2003 system, I agree it is likely a 2010 issue, not a Nagios one. Martin T. Hugo Network Administrator Hilliard City Schools 614-921-7102 (Ph) 614-771-7243 (Fax) [Think before you print.]Think before you print From: Daniel Ceola [mailto:DCeola at twgi.net] Sent: Wednesday, May 04, 2011 1:00 PM To: Ennis Ibarra - NMCOURTS.GOV; Nagios Users List Subject: Re: [Nagios-users] Notification Emails Thanks again! When I tried your suggestion below, it told me this: nagios at UbuntuTest:/usr/local/nagios/etc/objects$ echo "TEST" | mail -s "this is a test" -S smtp=twgiex.twgi.net dceola at twgi.net mail: invalid option -- 'S' usage: mail [-dEIinv] [-a header] [-b bcc-addr] [-c cc-addr] [-s subject] to-addr ... [-- sendmail-options ...] mail [-dEIiNnv] -f [name] mail [-dEIiNnv] [-u user] You don?t have to take time out of your day to help me with this, and I recognize that you are ? I appreciate it! Thanks, Daniel Ceola From: Ennis Ibarra [mailto:ennis at nmcourts.gov] Sent: Wednesday, May 04, 2011 12:53 PM To: Nagios Users List Subject: Re: [Nagios-users] Notification Emails If it helps, do your tests through your Ubuntu command line, using nagios as your user with something like: echo "TEST" | mail -s "This is a test" -S smtp=EX10server.com youremail at yourdomain.com When this is successful, chances are you nailed it. Good luck then. _____________________________________________ Supreme Court of New Mexico - Ennis Ibarra ----- Original Message ----- From: "Daniel Ceola" To: "Nagios Users List" Sent: Wednesday, May 4, 2011 10:21:19 AM Subject: Re: [Nagios-users] Notification Emails Thank you for the assistance. I was afraid that there was no actual location within Nagios/Ubuntu that had any configuration that needed to be changed. I?ll start working towards resolution within Exchange. Thanks, Daniel Ceola From: Ennis Ibarra [mailto:ennis at nmcourts.gov] Sent: Wednesday, May 04, 2011 11:37 AM To: Nagios Users List Subject: Re: [Nagios-users] Notification Emails Sorry to hear you upgraded to EX10, but what are you going to do right ? Yes, most likely your Ubuntu Server is using it's own MAILX to send emails, so my guess is that the mail routing is not hard-coded into any configuration within Ubuntu, probably you have a relay issue in your EX10 where your Nagios server massages are not allowed to relay, you may want to check on that. On the specific notification by email command that Nagios actually performs, you may want to verify if you have something like: command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | /usr/bin/mailx -s "** $NOTIFICATIONTYPE$ Host Alert: $HOSTNAME$ is $HOSTSTATE$ **" $CONTACTEMAIL$ In such case, yes, your Nagios server is your MailX as well. If you'd like to use your EX10 to relay email directly, although I don't know how to configure that in EX10, you may want to change the command for something like: command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | /bin/mail -s "** $NOTIFICATIONTYPE$ Host Alert: $HOSTNAME$ is $HOSTSTATE$ **" -S smtp=yourEX10.server.com $CONTACTEMAIL$ This way you'll use your EX10 to relay all the email generated by Nagios instead the local (to the Nagios box) MX, you can even turn off that service in your Ubuntu box, one less service to watch. Hope you find this useful. _____________________________________________ Supreme Court of New Mexico - Ennis Ibarra ----- Original Message ----- From: "Daniel Ceola" To: "Nagios Users (nagios-users at lists.sourceforge.net)" Sent: Wednesday, May 4, 2011 8:07:31 AM Subject: [Nagios-users] Notification Emails Hello all! My company recently migrated to a new exchange email server (ex03 -> ex10). Nagios has been up and running wonderfully in our environment for some while (was running when I started working here). I have discovered that the notification emails were being routed through the now nonexistent ex03 server in our network. Since we have taken that system down, we are now not getting any notification emails. From what I understand, and have been told ? our Nagios installation was performed on Ubuntu, basically using the info I the quick-start install guide. As such, this should mean that the system is using mailx to send emails (as its own mail server) and thus simply using our internal MX records to route email to our mail server. Our MX record was updated on the day that we made the final server cutover, and it didn?t affect receiving email from Nagios. The question here is this: Is there somewhere within Nagios or the Ubuntu OS that I need to make a config change to route the notification email through the new internal mail server to the recipients? I know we are still ironing out some kinks in our new exchange system, so if there is not a configuration within Nagios/Ubuntu that affects this, I will continue the search for resolution through my exchange system. Thanks, Daniel Ceola Systems & DB Admin The Wills Group 6355 Crain Hwy La Plata, MD 20646 301-932-3600 301-932-3643 (direct line) ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 87 bytes Desc: image001.gif URL: -------------- next part -------------- ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From DCeola at twgi.net Wed May 4 19:45:18 2011 From: DCeola at twgi.net (Daniel Ceola) Date: Wed, 4 May 2011 17:45:18 +0000 Subject: Notification Emails In-Reply-To: <70D7A4219FE365439DA53582BA6D8F2E176A7457@HCSD-MAIL2> References: <278688028.136468.1304527754743.JavaMail.root@mail.nmcourts.gov> <1183371335.136671.1304527954187.JavaMail.root@mail.nmcourts.gov> <40B7337A7D70B149A34D5A0FD9FDFA8CDE38@twgiex.twgi.net> <70D7A4219FE365439DA53582BA6D8F2E176A7457@HCSD-MAIL2> Message-ID: <40B7337A7D70B149A34D5A0FD9FDFA8CDEC8@twgiex.twgi.net> Thanks for the response! We have configured the internal mail connectors, and at this time I?m confident it?s not a Nagios or Ubuntu configuration issue. Thanks, Daniel Ceola From: Martin Hugo [mailto:Martin_Hugo at hboe.org] Sent: Wednesday, May 04, 2011 1:40 PM To: 'Nagios Users List' Subject: Re: [Nagios-users] Notification Emails Have you defined an internal mail connector on your EXCH2010 Hub server(s) for internal smtp servers that you want to allow to send out mail through your Exchange Server? Setup their IP Addresses in the lower portion of the Network Tab and select the appropriate permissions and groups on the Authentication and Permission Groups tabs? Since your Nagios was sending mail OK to your EXCH2003 system, I agree it is likely a 2010 issue, not a Nagios one. Martin T. Hugo Network Administrator Hilliard City Schools 614-921-7102 (Ph) 614-771-7243 (Fax) [Think before you print.]Think before you print From: Daniel Ceola [mailto:DCeola at twgi.net] Sent: Wednesday, May 04, 2011 1:00 PM To: Ennis Ibarra - NMCOURTS.GOV; Nagios Users List Subject: Re: [Nagios-users] Notification Emails Thanks again! When I tried your suggestion below, it told me this: nagios at UbuntuTest:/usr/local/nagios/etc/objects$ echo "TEST" | mail -s "this is a test" -S smtp=xxxx.twgi.net dceola at twgi.net mail: invalid option -- 'S' usage: mail [-dEIinv] [-a header] [-b bcc-addr] [-c cc-addr] [-s subject] to-addr ... [-- sendmail-options ...] mail [-dEIiNnv] -f [name] mail [-dEIiNnv] [-u user] You don?t have to take time out of your day to help me with this, and I recognize that you are ? I appreciate it! Thanks, Daniel Ceola From: Ennis Ibarra [mailto:ennis at nmcourts.gov] Sent: Wednesday, May 04, 2011 12:53 PM To: Nagios Users List Subject: Re: [Nagios-users] Notification Emails If it helps, do your tests through your Ubuntu command line, using nagios as your user with something like: echo "TEST" | mail -s "This is a test" -S smtp=EX10server.com youremail at yourdomain.com When this is successful, chances are you nailed it. Good luck then. _____________________________________________ Supreme Court of New Mexico - Ennis Ibarra ----- Original Message ----- From: "Daniel Ceola" To: "Nagios Users List" Sent: Wednesday, May 4, 2011 10:21:19 AM Subject: Re: [Nagios-users] Notification Emails Thank you for the assistance. I was afraid that there was no actual location within Nagios/Ubuntu that had any configuration that needed to be changed. I?ll start working towards resolution within Exchange. Thanks, Daniel Ceola From: Ennis Ibarra [mailto:ennis at nmcourts.gov] Sent: Wednesday, May 04, 2011 11:37 AM To: Nagios Users List Subject: Re: [Nagios-users] Notification Emails Sorry to hear you upgraded to EX10, but what are you going to do right ? Yes, most likely your Ubuntu Server is using it's own MAILX to send emails, so my guess is that the mail routing is not hard-coded into any configuration within Ubuntu, probably you have a relay issue in your EX10 where your Nagios server massages are not allowed to relay, you may want to check on that. On the specific notification by email command that Nagios actually performs, you may want to verify if you have something like: command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | /usr/bin/mailx -s "** $NOTIFICATIONTYPE$ Host Alert: $HOSTNAME$ is $HOSTSTATE$ **" $CONTACTEMAIL$ In such case, yes, your Nagios server is your MailX as well. If you'd like to use your EX10 to relay email directly, although I don't know how to configure that in EX10, you may want to change the command for something like: command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | /bin/mail -s "** $NOTIFICATIONTYPE$ Host Alert: $HOSTNAME$ is $HOSTSTATE$ **" -S smtp=yourEX10.server.com $CONTACTEMAIL$ This way you'll use your EX10 to relay all the email generated by Nagios instead the local (to the Nagios box) MX, you can even turn off that service in your Ubuntu box, one less service to watch. Hope you find this useful. _____________________________________________ Supreme Court of New Mexico - Ennis Ibarra ----- Original Message ----- From: "Daniel Ceola" To: "Nagios Users (nagios-users at lists.sourceforge.net)" Sent: Wednesday, May 4, 2011 8:07:31 AM Subject: [Nagios-users] Notification Emails Hello all! My company recently migrated to a new exchange email server (ex03 -> ex10). Nagios has been up and running wonderfully in our environment for some while (was running when I started working here). I have discovered that the notification emails were being routed through the now nonexistent ex03 server in our network. Since we have taken that system down, we are now not getting any notification emails. From what I understand, and have been told ? our Nagios installation was performed on Ubuntu, basically using the info I the quick-start install guide. As such, this should mean that the system is using mailx to send emails (as its own mail server) and thus simply using our internal MX records to route email to our mail server. Our MX record was updated on the day that we made the final server cutover, and it didn?t affect receiving email from Nagios. The question here is this: Is there somewhere within Nagios or the Ubuntu OS that I need to make a config change to route the notification email through the new internal mail server to the recipients? I know we are still ironing out some kinks in our new exchange system, so if there is not a configuration within Nagios/Ubuntu that affects this, I will continue the search for resolution through my exchange system. Thanks, Daniel Ceola Systems & DB Admin The Wills Group 6355 Crain Hwy La Plata, MD 20646 301-932-3600 301-932-3643 (direct line) ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 87 bytes Desc: image001.gif URL: -------------- next part -------------- ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Martin_Hugo at hboe.org Wed May 4 20:39:04 2011 From: Martin_Hugo at hboe.org (Martin Hugo) Date: Wed, 4 May 2011 18:39:04 +0000 Subject: Notification Emails In-Reply-To: <40B7337A7D70B149A34D5A0FD9FDFA8CDEC8@twgiex.twgi.net> References: <278688028.136468.1304527754743.JavaMail.root@mail.nmcourts.gov> <1183371335.136671.1304527954187.JavaMail.root@mail.nmcourts.gov> <40B7337A7D70B149A34D5A0FD9FDFA8CDE38@twgiex.twgi.net> <70D7A4219FE365439DA53582BA6D8F2E176A7457@HCSD-MAIL2> <40B7337A7D70B149A34D5A0FD9FDFA8CDEC8@twgiex.twgi.net> Message-ID: <70D7A4219FE365439DA53582BA6D8F2E176A7518@HCSD-MAIL2> Hmm, then I have to say I am stumped. That?s all I did and my notifications work fine. Are you able to telnet from your Nagios box to your exchange Hub server on port 25? Martin T. Hugo Network Administrator Hilliard City Schools 614-921-7102 (Ph) 614-771-7243 (Fax) [Think before you print.]Think before you print From: Daniel Ceola [mailto:DCeola at twgi.net] Sent: Wednesday, May 04, 2011 1:45 PM To: Nagios Users List Subject: Re: [Nagios-users] Notification Emails Thanks for the response! We have configured the internal mail connectors, and at this time I?m confident it?s not a Nagios or Ubuntu configuration issue. Thanks, Daniel Ceola From: Martin Hugo [mailto:Martin_Hugo at hboe.org] Sent: Wednesday, May 04, 2011 1:40 PM To: 'Nagios Users List' Subject: Re: [Nagios-users] Notification Emails Have you defined an internal mail connector on your EXCH2010 Hub server(s) for internal smtp servers that you want to allow to send out mail through your Exchange Server? Setup their IP Addresses in the lower portion of the Network Tab and select the appropriate permissions and groups on the Authentication and Permission Groups tabs? Since your Nagios was sending mail OK to your EXCH2003 system, I agree it is likely a 2010 issue, not a Nagios one. Martin T. Hugo Network Administrator Hilliard City Schools 614-921-7102 (Ph) 614-771-7243 (Fax) [Think before you print.]Think before you print From: Daniel Ceola [mailto:DCeola at twgi.net] Sent: Wednesday, May 04, 2011 1:00 PM To: Ennis Ibarra - NMCOURTS.GOV; Nagios Users List Subject: Re: [Nagios-users] Notification Emails Thanks again! When I tried your suggestion below, it told me this: nagios at UbuntuTest:/usr/local/nagios/etc/objects$ echo "TEST" | mail -s "this is a test" -S smtp=xxxx.twgi.net dceola at twgi.net mail: invalid option -- 'S' usage: mail [-dEIinv] [-a header] [-b bcc-addr] [-c cc-addr] [-s subject] to-addr ... [-- sendmail-options ...] mail [-dEIiNnv] -f [name] mail [-dEIiNnv] [-u user] You don?t have to take time out of your day to help me with this, and I recognize that you are ? I appreciate it! Thanks, Daniel Ceola From: Ennis Ibarra [mailto:ennis at nmcourts.gov] Sent: Wednesday, May 04, 2011 12:53 PM To: Nagios Users List Subject: Re: [Nagios-users] Notification Emails If it helps, do your tests through your Ubuntu command line, using nagios as your user with something like: echo "TEST" | mail -s "This is a test" -S smtp=EX10server.com youremail at yourdomain.com When this is successful, chances are you nailed it. Good luck then. _____________________________________________ Supreme Court of New Mexico - Ennis Ibarra ----- Original Message ----- From: "Daniel Ceola" To: "Nagios Users List" Sent: Wednesday, May 4, 2011 10:21:19 AM Subject: Re: [Nagios-users] Notification Emails Thank you for the assistance. I was afraid that there was no actual location within Nagios/Ubuntu that had any configuration that needed to be changed. I?ll start working towards resolution within Exchange. Thanks, Daniel Ceola From: Ennis Ibarra [mailto:ennis at nmcourts.gov] Sent: Wednesday, May 04, 2011 11:37 AM To: Nagios Users List Subject: Re: [Nagios-users] Notification Emails Sorry to hear you upgraded to EX10, but what are you going to do right ? Yes, most likely your Ubuntu Server is using it's own MAILX to send emails, so my guess is that the mail routing is not hard-coded into any configuration within Ubuntu, probably you have a relay issue in your EX10 where your Nagios server massages are not allowed to relay, you may want to check on that. On the specific notification by email command that Nagios actually performs, you may want to verify if you have something like: command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | /usr/bin/mailx -s "** $NOTIFICATIONTYPE$ Host Alert: $HOSTNAME$ is $HOSTSTATE$ **" $CONTACTEMAIL$ In such case, yes, your Nagios server is your MailX as well. If you'd like to use your EX10 to relay email directly, although I don't know how to configure that in EX10, you may want to change the command for something like: command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | /bin/mail -s "** $NOTIFICATIONTYPE$ Host Alert: $HOSTNAME$ is $HOSTSTATE$ **" -S smtp=yourEX10.server.com $CONTACTEMAIL$ This way you'll use your EX10 to relay all the email generated by Nagios instead the local (to the Nagios box) MX, you can even turn off that service in your Ubuntu box, one less service to watch. Hope you find this useful. _____________________________________________ Supreme Court of New Mexico - Ennis Ibarra ----- Original Message ----- From: "Daniel Ceola" To: "Nagios Users (nagios-users at lists.sourceforge.net)" Sent: Wednesday, May 4, 2011 8:07:31 AM Subject: [Nagios-users] Notification Emails Hello all! My company recently migrated to a new exchange email server (ex03 -> ex10). Nagios has been up and running wonderfully in our environment for some while (was running when I started working here). I have discovered that the notification emails were being routed through the now nonexistent ex03 server in our network. Since we have taken that system down, we are now not getting any notification emails. From what I understand, and have been told ? our Nagios installation was performed on Ubuntu, basically using the info I the quick-start install guide. As such, this should mean that the system is using mailx to send emails (as its own mail server) and thus simply using our internal MX records to route email to our mail server. Our MX record was updated on the day that we made the final server cutover, and it didn?t affect receiving email from Nagios. The question here is this: Is there somewhere within Nagios or the Ubuntu OS that I need to make a config change to route the notification email through the new internal mail server to the recipients? I know we are still ironing out some kinks in our new exchange system, so if there is not a configuration within Nagios/Ubuntu that affects this, I will continue the search for resolution through my exchange system. Thanks, Daniel Ceola Systems & DB Admin The Wills Group 6355 Crain Hwy La Plata, MD 20646 301-932-3600 301-932-3643 (direct line) ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 87 bytes Desc: image001.gif URL: -------------- next part -------------- ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From noc at fohnet.co.uk Wed May 4 18:57:40 2011 From: noc at fohnet.co.uk (Richard Clark) Date: Wed, 4 May 2011 17:57:40 +0100 Subject: Notification Emails In-Reply-To: <40B7337A7D70B149A34D5A0FD9FDFA8CDD5E@twgiex.twgi.net> References: <40B7337A7D70B149A34D5A0FD9FDFA8CDD5E@twgiex.twgi.net> Message-ID: <275466350954381064@unknownmsgid> On 4 May 2011, at 16:03, Daniel Ceola wrote: Hello all! My company recently migrated to a new exchange email server (ex03 -> ex10). Nagios has been up and running wonderfully in our environment for some while (was running when I started working here). I have discovered that the notification emails were being routed through the now nonexistent ex03 server in our network. Since we have taken that system down, we are now not getting any notification emails. >From what I understand, and have been told ? our Nagios installation was performed on Ubuntu, basically using the info I the quick-start install guide. As such, this should mean that the system is using mailx to send emails (as its own mail server) and thus simply using our internal MX records to route email to our mail server. Our MX record was updated on the day that we made the final server cutover, and it didn?t affect receiving email from Nagios. The question here is this: Is there somewhere within Nagios or the Ubuntu OS that I need to make a config change to route the notification email through the new internal mail server to the recipients? I know we are still ironing out some kinks in our new exchange system, so if there is not a configuration within Nagios/Ubuntu that affects this, I will continue the search for resolution through my exchange system. Thanks, Daniel Ceola Systems & DB Admin Nagios doesn't send mails in itself, it only calls the commands that its configured to based on the criteria that you set. One of which may well be the sending of a mail. Grep through your nagios configuration to see which command it's actually calling. The default MTA for Ubuntu is postfix - sounds like it may have been configured to use an SMTP relay rather than MX based routing. 'dpkg-reconfigure postfix' should give you an ncurses-based wizard if you're not comfortable with postfix configuration. Also, check logs at /var/log/mail.* and probably worth checking if someones done something silly like put a static hostname entry for a mail server in /etc/hosts Cheers, -- Richard Clark richard at fohnet.co.uk -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From DCeola at twgi.net Wed May 4 21:08:58 2011 From: DCeola at twgi.net (Daniel Ceola) Date: Wed, 4 May 2011 19:08:58 +0000 Subject: Notification Emails In-Reply-To: <275466350954381064@unknownmsgid> References: <40B7337A7D70B149A34D5A0FD9FDFA8CDD5E@twgiex.twgi.net> <275466350954381064@unknownmsgid> Message-ID: <40B7337A7D70B149A34D5A0FD9FDFA8CDF2F@twgiex.twgi.net> Thank you all for the help. At first I thought we had an issue with Exchange, but then found I could send mail through command line on my Nagios system and it worked fine. I actually found the below information that Richard shared earlier this afternoon and reconfigured PostFix to route all mail through our exchange server. At this time, everything is working fine. I appreciate all of the input and assistance! Thanks, Daniel Ceola From: Richard Clark [mailto:noc at fohnet.co.uk] Sent: Wednesday, May 04, 2011 12:58 PM To: Nagios Users List Subject: Re: [Nagios-users] Notification Emails On 4 May 2011, at 16:03, Daniel Ceola > wrote: Hello all! My company recently migrated to a new exchange email server (ex03 -> ex10). Nagios has been up and running wonderfully in our environment for some while (was running when I started working here). I have discovered that the notification emails were being routed through the now nonexistent ex03 server in our network. Since we have taken that system down, we are now not getting any notification emails. >From what I understand, and have been told - our Nagios installation was performed on Ubuntu, basically using the info I the quick-start install guide. As such, this should mean that the system is using mailx to send emails (as its own mail server) and thus simply using our internal MX records to route email to our mail server. Our MX record was updated on the day that we made the final server cutover, and it didn't affect receiving email from Nagios. The question here is this: Is there somewhere within Nagios or the Ubuntu OS that I need to make a config change to route the notification email through the new internal mail server to the recipients? I know we are still ironing out some kinks in our new exchange system, so if there is not a configuration within Nagios/Ubuntu that affects this, I will continue the search for resolution through my exchange system. Thanks, Daniel Ceola Systems & DB Admin Nagios doesn't send mails in itself, it only calls the commands that its configured to based on the criteria that you set. One of which may well be the sending of a mail. Grep through your nagios configuration to see which command it's actually calling. The default MTA for Ubuntu is postfix - sounds like it may have been configured to use an SMTP relay rather than MX based routing. 'dpkg-reconfigure postfix' should give you an ncurses-based wizard if you're not comfortable with postfix configuration. Also, check logs at /var/log/mail.* and probably worth checking if someones done something silly like put a static hostname entry for a mail server in /etc/hosts Cheers, -- Richard Clark richard at fohnet.co.uk -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nibin.vm at piserve.com Wed May 4 21:17:43 2011 From: nibin.vm at piserve.com (Nibin VM) Date: Thu, 5 May 2011 00:47:43 +0530 Subject: cisco traffic monitoring In-Reply-To: References: Message-ID: also..anybody can tell me what does the log file we need to specify when we use check_mrtgtraf...we don't have any such log file generated on our server by cacti.... On Wed, May 4, 2011 at 10:20 PM, Nibin VM wrote: > Thanks Marco..I will check it :) > > > On Wed, May 4, 2011 at 7:56 PM, Marco Tirado wrote: > >> Hello: >> >> You should always check the nagios exchange webpage for plugin related >> questions: >> >> http://exchange.nagios.org/ >> >> I guess the plugin you are looking for is >> check_snmp_int.pl >> >> http://nagios.manubulon.com/snmp_int.html >> >> //Marco >> >> On Wed, May 4, 2011 at 3:54 PM, Nibin VM wrote: >> >>> Hi guys, >>> >>> I would like to monitor the traffic of my cisco routers and need to get >>> alarmed when the traffic threshold is crossed( need to avoid bandwidth over >>> usage ) . I have snmp enabled on my routers. >>> >>> Can anybody help me? >>> >>> -- >>> Regards, >>> Nibin. >>> >>> >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> WhatsUp Gold - Download Free Network Management Software >>> The most intuitive, comprehensive, and cost-effective network >>> management toolset available today. Delivers lowest initial >>> acquisition cost and overall TCO of any competing solution. >>> http://p.sf.net/sfu/whatsupgold-sd >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: Please include Nagios version, plugin version (-v) and OS when >>> reporting any issue. >>> ::: Messages without supporting info will risk being sent to /dev/null >>> >> >> >> >> ------------------------------------------------------------------------------ >> WhatsUp Gold - Download Free Network Management Software >> The most intuitive, comprehensive, and cost-effective network >> management toolset available today. Delivers lowest initial >> acquisition cost and overall TCO of any competing solution. >> http://p.sf.net/sfu/whatsupgold-sd >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: 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, > Nibin. > --------------------------------- > Nibin.V.M > Operations Engineer(Unix) > PiServe.com > > > -- Regards, Nibin. --------------------------------- Nibin.V.M Operations Engineer(Unix) PiServe.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From atann at alphasrv.net Wed May 4 22:59:36 2011 From: atann at alphasrv.net (Andre Tann) Date: Wed, 4 May 2011 22:59:36 +0200 Subject: Problem with Konica and Canon printer In-Reply-To: References: <201105041435.13278@inter.netz> Message-ID: <201105042259.36428@inter.netz> Hello Giorgio, Giorgio Zarrelli, Mittwoch 04 Mai 2011: > Imagine the OID as as dotted "address" string (like 1.3.6.x.x.x.x.x). Each > OID points to a value and what that value does mean is described into a > collection called MIB. OK, I understand this. > So, find the right MIBs for your printers, look into them, point out the > correct OIDS and then, using snmpget, you can query the printers for the > values you need. Is there any good site where one can find those MIB tables? I was googling for quite a while now, but everything I could find was that the manufacturers don't give out any information on what OID means what, and all you can do is guess. So no MIB for my canon nor my konica yet, and guessing is not so easy. What now? Thanks for your help! -- Andre Tann ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mike.saldivar at advocatecreditrepair.com Wed May 4 23:46:19 2011 From: mike.saldivar at advocatecreditrepair.com (Michael Saldivar) Date: Wed, 4 May 2011 15:46:19 -0600 Subject: cisco traffic monitoring In-Reply-To: References: Message-ID: On Wed, May 4, 2011 at 1:17 PM, Nibin VM wrote: > also..anybody can tell me what does the log file we need to specify when we > use check_mrtgtraf...we don't have any such log file generated on our server > by cacti.... MRTG and Cacti are different products, and may use different Nagios plugins. MRTG creates a website, puts the logs in that website's directory, and dynamically creates graphs based on the log data. On my Ubuntu Nagios/MRTG machine, the logs & web pages are in /var/www/mrtg. Each port gets its own log, so for instance on my switch 10.5.10.4, port 15, the log file is: nagios at itweb1:/var/www/mrtg$ ls -l 10.5.10.4_15.log -rw-r--r-- 1 root root 74442 2011-05-04 15:40 10.5.10.4_15.log and the service bandwidth check in Nagios is: define service{ use generic-service ; Inherit values from a template host_name switch-CoreA service_description Port15 check_command check_local_mrtgtraf!/var/www/mrtg/10.5.10.4_15.log!AVG!1000000,1000000!5000000,5000000!10 } I haven't used Cacti, so can't offer tips there. -Mike ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From michael.friedrich at univie.ac.at Thu May 5 00:06:31 2011 From: michael.friedrich at univie.ac.at (Michael Friedrich) Date: Thu, 05 May 2011 00:06:31 +0200 Subject: cisco traffic monitoring In-Reply-To: References: Message-ID: <4DC1CDE7.6000304@univie.ac.at> On 04.05.2011 15:54, Nibin VM wrote: > Hi guys, > > I would like to monitor the traffic of my cisco routers and need to > get alarmed when the traffic threshold is crossed( need to avoid > bandwidth over usage ) . I have snmp enabled on my routers. try checkmk. > > Can anybody help me? > > -- > Regards, > Nibin. > > > > > > ------------------------------------------------------------------------------ > WhatsUp Gold - Download Free Network Management Software > The most intuitive, comprehensive, and cost-effective network > management toolset available today. Delivers lowest initial > acquisition cost and overall TCO of any competing solution. > http://p.sf.net/sfu/whatsupgold-sd > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From adam at adamsweet.org Thu May 5 00:41:02 2011 From: adam at adamsweet.org (Adam Sweet) Date: Wed, 04 May 2011 23:41:02 +0100 Subject: Problem with Konica and Canon printer In-Reply-To: <201105042259.36428@inter.netz> References: <201105041435.13278@inter.netz> <201105042259.36428@inter.netz> Message-ID: <4DC1D5FE.4000308@adamsweet.org> On 04/05/11 21:59, Andre Tann wrote: > Hello Giorgio, > > Giorgio Zarrelli, Mittwoch 04 Mai 2011: > >> Imagine the OID as as dotted "address" string (like 1.3.6.x.x.x.x.x). Each >> OID points to a value and what that value does mean is described into a >> collection called MIB. > > OK, I understand this. > > >> So, find the right MIBs for your printers, look into them, point out the >> correct OIDS and then, using snmpget, you can query the printers for the >> values you need. > > Is there any good site where one can find those MIB tables? I was > googling for quite a while now, but everything I could find was that > the manufacturers don't give out any information on what OID means what, > and all you can do is guess. So no MIB for my canon nor my konica yet, > and guessing is not so easy. Take a look at Transitiv's check_snmp_printer.pl check: http://www.transitiv.co.uk/resources-page/nagios-plugins It is designed to work with RFC 1759 compliant SNMP printers. Most SNMP printers should support it to some degree. Regards, Adam Sweet -- http://blog.adamsweet.org/ ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From quanta.linux at gmail.com Thu May 5 09:08:13 2011 From: quanta.linux at gmail.com (quanta) Date: Thu, 05 May 2011 14:08:13 +0700 Subject: Web UI support description for service and host dependencies? Message-ID: <4DC24CDD.4070903@gmail.com> Hi, As some people submit to Nagios ideas, I want to know which services/hosts depends on a service/host: http://ideas.nagios.org/a/dtd/2289-3955 http://ideas.nagios.org/a/dtd/9078-3955 It let me know when a service/host down, which services/hosts will be effect? Is there any Web UI support this? ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From michael.friedrich at univie.ac.at Thu May 5 09:21:40 2011 From: michael.friedrich at univie.ac.at (Michael Friedrich) Date: Thu, 05 May 2011 09:21:40 +0200 Subject: Web UI support description for service and host dependencies? In-Reply-To: <4DC24CDD.4070903@gmail.com> References: <4DC24CDD.4070903@gmail.com> Message-ID: <4DC25004.7040307@univie.ac.at> quanta wrote: > Hi, > > As some people submit to Nagios ideas, I want to know which > services/hosts depends on a service/host: > http://ideas.nagios.org/a/dtd/2289-3955 > http://ideas.nagios.org/a/dtd/9078-3955 > > It let me know when a service/host down, which services/hosts will be > effect? > Is there any Web UI support this? I've implemented a basic linkage for extinfo.cgi ~1 week ago for Icinga Classic UI 1.4 - will be out next week. > > ------------------------------------------------------------------------------ > WhatsUp Gold - Download Free Network Management Software > The most intuitive, comprehensive, and cost-effective network > management toolset available today. Delivers lowest initial > acquisition cost and overall TCO of any competing solution. > http://p.sf.net/sfu/whatsupgold-sd > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- DI (FH) Michael Friedrich Vienna University Computer Center Universitaetsstrasse 7 A-1010 Vienna, Austria email: michael.friedrich at univie.ac.at phone: +43 1 4277 14359 mobile: +43 664 60277 14359 fax: +43 1 4277 14338 web: http://www.univie.ac.at/zid http://www.aco.net Icinga Core& IDOUtils Developer http://www.icinga.org ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagiosusers at edcint.co.nz Thu May 5 13:56:08 2011 From: nagiosusers at edcint.co.nz (Matthew Jurgens) Date: Thu, 05 May 2011 21:56:08 +1000 Subject: Check WMI Plus Ini Files (Client-less checking of Windows) Message-ID: <4DC29058.6010008@edcint.co.nz> Hi, I've written a Nagios plugin that performs many Windows checks directly from Linux without any Windows proxy ie a client-less Window checking plugin called check_wmi_plus (see http://exchange.nagios.org/directory/Plugins/Operating-Systems/Windows/WMI/Check-WMI-Plus/details) Now, I'm about to release a feature that allows the use of a .ini file where users can configure their own WMI based checks without having to program. I've attached a sample of what the ini file looks like. What I see happening with ini files is that users will create their own checks and can share them with each other. I'd like to create a place where users can post their ini files and other users can download them. I'm trying to think of the best way to do this. There are several options that I've thought about - - this mailing list - a forum somewhere - a site using some content management system like Drupal, Joomla etc - a custom built site The unstructured ones eg mailing list, are simple, but make it harder to find details. As well as users sharing with each other, I can take the some of the posted checks and place them in the release version of the ini file. It would be good to put them somewhere that is already Nagios related where where users already have logins (who needs another set of login details!) to allow posting and I'm looking for ideas on the best place to make this stuff available. Please reply with ideas/recommendations? Thanks -- Smartmon System Monitoring www.smartmon.com.au -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: check_wmi_plus.ini URL: -------------- next part -------------- ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 5 16:37:56 2011 From: m.borsani at it.net (Marco Borsani) Date: Thu, 5 May 2011 16:37:56 +0200 Subject: nagios 1.4.1 on centos 5.6 64bit Message-ID: <000301cc0b32$09335090$1b99f1b0$@it.net> Hi all Are there any limitation regarding nagios 1.4 installed on a Centos 5.6 64bit ? No problems during the installation, but when I start nagios a receive this error: Starting network monitor: nagios /etc/init.d/nagios: line 101: 4015 Segmentation fault $NagiosBin -d $NagiosCfg No lock file found in /usr/local/nagios/var/nagios.lock #> dmesg nagios[3629]: segfault at 00000000362837d4 rip 0000000000411365 rsp 00000000362837dc error 6 I installed many servers with this version, never had this problem. Any idea ? Marco Borsani Unix and Monitoring Sysadmin Technical Operations Dpt. tel: +39 010 4310115 fax: +39 02 30130311 cell: +39 329 5953944 ITnet Srl Societ? con socio unico Direzione e Coordinamento di WIND TELECOM S.p.A. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at flatto.net Thu May 5 16:53:11 2011 From: nagios at flatto.net (Assaf Flatto) Date: Thu, 05 May 2011 14:53:11 +0000 Subject: nagios 1.4.1 on centos 5.6 64bit In-Reply-To: <000301cc0b32$09335090$1b99f1b0$@it.net> References: <000301cc0b32$09335090$1b99f1b0$@it.net> Message-ID: <4DC2B9D7.5090800@flatto.net> Marco Borsani wrote: > > Hi all > > Are there any limitation regarding nagios 1.4 installed on a Centos > 5.6 64bit ? > > No problems during the installation, but when I start nagios a receive > this error: > > Starting network monitor: nagios > > /etc/init.d/nagios: line 101: 4015 Segmentation fault $NagiosBin -d > $NagiosCfg > > No lock file found in /usr/local/nagios/var/nagios.lock > > #> dmesg > > ?? > > nagios[3629]: segfault at 00000000362837d4 rip 0000000000411365 rsp > 00000000362837dc error 6 > > I installed many servers with this version, never had this problem. > > Any idea ? > > Marco Borsani > > *Unix and Monitoring Sysadmin* > > *Technical Operations Dpt.* > > tel: +39 010 4310115 > > fax: +39 02 30130311 > > cell: +39 329 5953944 > > ITnet Srl > > Societ? con socio unico > > Direzione e Coordinamento di WIND TELECOM S.p.A. > Nagios 1.4.1 ? that is almost prehistoric version , why are you using such an old version of nagios ? try installing a more up-to-date version , that will be a first good step . Assaf ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From streitleak at gmail.com Thu May 5 17:12:33 2011 From: streitleak at gmail.com (StreitLeak) Date: Thu, 5 May 2011 23:12:33 +0800 Subject: nagios 1.4.1 on centos 5.6 64bit In-Reply-To: <000301cc0b32$09335090$1b99f1b0$@it.net> References: <000301cc0b32$09335090$1b99f1b0$@it.net> Message-ID: Marco: Please check config and permissions. Maybe your config is going to /usr/local/nagios/var/nagios.lock. But real place is /var/nagios/nagios.lock. That's why you get this error. If your config is right, than maybe is permissions problem. Please check /var/nagios 's owner and group and check the mode. Usually, /var/nagios 's owner is nagios and group is nagios. Hope can help you. Regards StreitLeak 2011/5/5 Marco Borsani > Hi all > > > > Are there any limitation regarding nagios 1.4 installed on a Centos 5.6 > 64bit ? > > > > No problems during the installation, but when I start nagios a receive this > error: > > > > Starting network monitor: nagios > > /etc/init.d/nagios: line 101: 4015 Segmentation fault $NagiosBin -d > $NagiosCfg > > No lock file found in /usr/local/nagios/var/nagios.lock > > > > #> dmesg > > ?? > > nagios[3629]: segfault at 00000000362837d4 rip 0000000000411365 rsp > 00000000362837dc error 6 > > > > > > I installed many servers with this version, never had this problem. > > Any idea ? > > > > Marco Borsani > > *Unix and Monitoring Sysadmin* > > *Technical Operations Dpt.* > > tel: +39 010 4310115 > > fax: +39 02 30130311 > > cell: +39 329 5953944 > > ITnet Srl > > Societ? con socio unico > > Direzione e Coordinamento di WIND TELECOM S.p.A. > > > > > ------------------------------------------------------------------------------ > WhatsUp Gold - Download Free Network Management Software > The most intuitive, comprehensive, and cost-effective network > management toolset available today. Delivers lowest initial > acquisition cost and overall TCO of any competing solution. > http://p.sf.net/sfu/whatsupgold-sd > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chris at eehmke.de Thu May 5 20:32:33 2011 From: chris at eehmke.de (chris at eehmke.de) Date: Thu, 5 May 2011 20:32:33 +0200 Subject: Performing load tests with Nagios Message-ID: <201105052032.33095.chris@eehmke.de> Hello, I understand that Nagios is the perfect tool to monitor a network and the state of each server. I got the task to run memory tests, cpu load tests and network tests under high load conditions (i.e. put a quadcore processor to 100% load on each core) and monitor the temperature and other parameters. Is Nagios with suitable plugins a solution? At the moment a proprietary framework is planned for this project, but it turns out that it is not extendable for custom requirements. I need some good arguments to convince my project leader. Cheers, Chris ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From polifemos at conedsolutions.com Thu May 5 21:19:24 2011 From: polifemos at conedsolutions.com (Polifemo, Salvatore) Date: Thu, 5 May 2011 15:19:24 -0400 Subject: Performing load tests with Nagios In-Reply-To: <201105052032.33095.chris@eehmke.de> References: <201105052032.33095.chris@eehmke.de> Message-ID: <5BE7D0404F28DC44B780100927AA4CB0238C2F40@whplex3.int.cecdes.net> Chris, One limitation you will run into is that Nagios collects data at a minimum of 1 minute interval . You can look at plain MRTG if you can collect the data via SNMP. Sal -----Original Message----- From: chris at eehmke.de [mailto:chris at eehmke.de] Sent: Thursday, May 05, 2011 2:33 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Performing load tests with Nagios Hello, I understand that Nagios is the perfect tool to monitor a network and the state of each server. I got the task to run memory tests, cpu load tests and network tests under high load conditions (i.e. put a quadcore processor to 100% load on each core) and monitor the temperature and other parameters. Is Nagios with suitable plugins a solution? At the moment a proprietary framework is planned for this project, but it turns out that it is not extendable for custom requirements. I need some good arguments to convince my project leader. Cheers, Chris ------------------------------------------------------------------------ ------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chris at eehmke.de Thu May 5 22:05:17 2011 From: chris at eehmke.de (chris at eehmke.de) Date: Thu, 5 May 2011 22:05:17 +0200 Subject: Performing load tests with Nagios In-Reply-To: <5BE7D0404F28DC44B780100927AA4CB0238C2F40@whplex3.int.cecdes.net> References: <201105052032.33095.chris@eehmke.de> <5BE7D0404F28DC44B780100927AA4CB0238C2F40@whplex3.int.cecdes.net> Message-ID: <201105052205.17927.chris@eehmke.de> On Donnerstag 05 Mai 2011, Polifemo, Salvatore wrote: > Chris, > > One limitation you will run into is that Nagios collects data at a > minimum of 1 minute interval . ok, but I could run some tasks in the background and poll the results each minute, right? > You can look at plain MRTG if you can collect the data via SNMP. Will have a look. Thanks Chris > Sal > -----Original Message----- > From: chris at eehmke.de [mailto:chris at eehmke.de] > Sent: Thursday, May 05, 2011 2:33 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Performing load tests with Nagios > > Hello, > > I understand that Nagios is the perfect tool to monitor a network and > the state of each server. I got the task to run memory tests, cpu load > tests and network tests under high load conditions (i.e. put a quadcore > processor to 100% load on each core) and monitor the temperature and > other parameters. Is Nagios with suitable plugins a solution? At the > moment a proprietary framework is planned for this project, but it turns > out that it is not extendable for custom requirements. I need some good > arguments to convince my project leader. > > Cheers, Chris > > ------------------------------------------------------------------------ > ------ > WhatsUp Gold - Download Free Network Management Software The most > intuitive, comprehensive, and cost-effective network management toolset > available today. Delivers lowest initial acquisition cost and overall > TCO of any competing solution. > http://p.sf.net/sfu/whatsupgold-sd > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > --------------------------------------------------------------------------- > --- WhatsUp Gold - Download Free Network Management Software > The most intuitive, comprehensive, and cost-effective network > management toolset available today. Delivers lowest initial > acquisition cost and overall TCO of any competing solution. > http://p.sf.net/sfu/whatsupgold-sd > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > ::: reporting any issue. Messages without supporting info will risk being > ::: sent to /dev/null ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Fri May 6 00:58:56 2011 From: ae at op5.se (Andreas Ericsson) Date: Fri, 06 May 2011 00:58:56 +0200 Subject: Nagios core developer meeting Message-ID: <4DC32BB0.7040605@op5.se> Hi all. Sorry for cross-posting. I'd just like to let you all know that the Nagios World Conference will be help in Bolzano, Italy next week. May 12 to be precise. That in itself isn't so very earthshattering to most of you, but what's more important is that Ethan, Ton and me will be there and will meet up to discuss future features and whatnot required for Nagios to continue to flourish. Those of you using Ninja will be pleased to know that Per ?sberg will also be attending the conference, as will many other Nagios celebrities ;) Chatting with us at the conference is not only very much allowed. It's also highly encouraged. Especially so when the chat is done over a beer or three. But we need your help to make the right decisions and prioritize the proper things. We'll probably also need your help afterwards to carry out the tasks that need doing, but that's actually less important than getting to know what bugs you the most, or which features you miss the most. We can probably handle the workload of what needs to be done, but we can't know what you would like to see in your favourite monitoring tool. One very easy way of helping us learn what's on your mind is to hop over to http://ideas.nagios.org and vote for your favourite ideas. You can also browse through the bugs at http://tracker.nagios.org and add a note to those who bug you the most. Another is to just send mail to me, or to this list, or take some other steps towards ensuring I have the information you want me to bring to the meeting. I will need it before May 10 though, in order to have time to prepare. ideas.nagios.org will be watched "live" while we're conferring, so use that until the evening of the 12th if you like. There's really only one rule here; Anything goes. That being said, you'd still make our lives a lot easier by trying to avoid duplicate ideas and bugs. If you want to help with maintenance, be it coding or patch reviewing or maintaining wikis and FAQ's or filtering duplicate bug reports or whatever decisions we come up with on May 12, please send me an email with what you would like to do and also what you can do. Like a micro-resum?, sort of. On behalf of the core development team; Thanks in advance. With your help I'm sure we can add the most wanted features and squash the most annoying quirks and bugs pretty quickly. -- 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. ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd From ae at op5.se Fri May 6 01:05:45 2011 From: ae at op5.se (Andreas Ericsson) Date: Fri, 06 May 2011 01:05:45 +0200 Subject: Performing load tests with Nagios In-Reply-To: <5BE7D0404F28DC44B780100927AA4CB0238C2F40@whplex3.int.cecdes.net> References: <201105052032.33095.chris@eehmke.de> <5BE7D0404F28DC44B780100927AA4CB0238C2F40@whplex3.int.cecdes.net> Message-ID: <4DC32D49.8030304@op5.se> On 05/05/2011 09:19 PM, Polifemo, Salvatore wrote: > Chris, > > One limitation you will run into is that Nagios collects data at a > minimum of 1 minute interval . > That's not true at all. The minimum interval is specified by the interval_length parameter in nagios.cfg and defalts to 60 (seconds). It doesn't make sense to use an interval_length shorter than 2 seconds (for implementation reasons), but a 2 second interval should be well short enough for this sort of thing. -- 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. ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dey.ranjib at gmail.com Fri May 6 08:36:50 2011 From: dey.ranjib at gmail.com (ranjib dey) Date: Fri, 6 May 2011 12:06:50 +0530 Subject: Performing load tests with Nagios In-Reply-To: <201105052032.33095.chris@eehmke.de> References: <201105052032.33095.chris@eehmke.de> Message-ID: Its weird idea. Even if you try that you will only need the plugins, not the server itself (the cgi and the nagis binaries). But even with the plugins you will be able to generate a particular kid of stress. If you are interested in raw OS benchmarks use phoronix or something similar to get he metrics, if you are load testing against a certain app then use JMeter o VSTS (if you are on windows). regards ranjib On Fri, May 6, 2011 at 12:02 AM, wrote: > Hello, > > I understand that Nagios is the perfect tool to monitor a network and the > state of each server. I got the task to run memory tests, cpu load tests > and > network tests under high load conditions (i.e. put a quadcore processor to > 100% load on each core) and monitor the temperature and other parameters. > Is > Nagios with suitable plugins a solution? At the moment a proprietary > framework > is planned for this project, but it turns out that it is not extendable for > custom requirements. I need some good arguments to convince my project > leader. > > Cheers, Chris > > > ------------------------------------------------------------------------------ > WhatsUp Gold - Download Free Network Management Software > The most intuitive, comprehensive, and cost-effective network > management toolset available today. Delivers lowest initial > acquisition cost and overall TCO of any competing solution. > http://p.sf.net/sfu/whatsupgold-sd > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From msarro at gmail.com Sat May 7 03:06:46 2011 From: msarro at gmail.com (Matty Sarro) Date: Fri, 6 May 2011 21:06:46 -0400 Subject: Unable to get daemon to run at boot Message-ID: Hey everyone, First let me start off that I found another post detailing my issue, but sadly its in French and I can't read it :( I'm trying to get nagios installed on debian squeeze. I have created the symlink from /etc/init.d/nagios to /etc/rcS.d/S99nagios. Upon booting, nothing happens. There's nothing in dmesg, there's nothing in /var/log/messages. Now, if I go to the nagios webpage it gives me the "Whoops!" error on every page. Upon manually running "/etc/init.d/nagios start" the service starts just fine, and all of the web pages begin appearing. I've doublechecked that all permissions are correct. I've also tried forcing the script with: update-init.d nagios defaults This spits out a ton of errors: insserv: warning: script 'S99nagios' missing LSB tags and overrides insserv: warning: script 'nagios' missing LSB tags and overrides insserv: warning: current start runlevel(s) (S) of script `nagios' overwrites defaults (2 3 4 5). insserv: warning: current stop runlevel(s) (empty) of script `nagios' overwrites defaults (0 1 6). insserv: There is a loop between service nagios and stop-bootlogd-single if started insserv: loop involving service stop-bootlogd-single at depth 8 insserv: loop involving service nagios at depth 7 insserv: loop involving service mountnfs at depth 6 insserv: Starting nagios depends on stop-bootlogd-single and therefore on system facility `$all' which can not be true! insserv: There is a loop between service nagios and stop-bootlogd-single if started insserv: Starting nagios depends on stop-bootlogd-single and therefore on system facility `$all' which can not be true! insserv: Starting nagios depends on stop-bootlogd-single and therefore on system facility `$all' which can not be true! insserv: Starting nagios depends on stop-bootlogd-single and therefore on system facility `$all' which can not be true! insserv: Starting nagios depends on stop-bootlogd-single and therefore on system facility `$all' which can not be true! insserv: Starting nagios depends on stop-bootlogd-single and therefore on system facility `$all' which can not be true! insserv: Starting nagios depends on stop-bootlogd-single and therefore on system facility `$all' which can not be true! insserv: Starting nagios depends on stop-bootlogd-single and therefore on system facility `$all' which can not be true! insserv: Starting nagios depends on stop-bootlogd-single and therefore on system facility `$all' which can not be true! insserv: Starting nagios depends on stop-bootlogd-single and therefore on system facility `$all' which can not be true! insserv: Starting nagios depends on stop-bootlogd-single and therefore on system facility `$all' which can not be true! insserv: Starting nagios depends on stop-bootlogd-single and therefore on system facility `$all' which can not be true! insserv: Starting nagios depends on stop-bootlogd-single and therefore on system facility `$all' which can not be true! insserv: Starting nagios depends on stop-bootlogd-single and therefore on system facility `$all' which can not be true! insserv: Starting nagios depends on stop-bootlogd-single and therefore on system facility `$all' which can not be true! insserv: Starting nagios depends on stop-bootlogd-single and therefore on system facility `$all' which can not be true! insserv: Starting nagios depends on stop-bootlogd-single and therefore on system facility `$all' which can not be true! insserv: Starting nagios depends on stop-bootlogd-single and therefore on system facility `$all' which can not be true! insserv: Starting nagios depends on stop-bootlogd-single and therefore on system facility `$all' which can not be true! insserv: Starting nagios depends on stop-bootlogd-single and therefore on system facility `$all' which can not be true! insserv: Starting nagios depends on stop-bootlogd-single and therefore on system facility `$all' which can not be true! insserv: Starting nagios depends on stop-bootlogd-single and therefore on system facility `$all' which can not be true! insserv: Starting nagios depends on stop-bootlogd-single and therefore on system facility `$all' which can not be true! insserv: Starting nagios depends on stop-bootlogd-single and therefore on system facility `$all' which can not be true! insserv: Starting nagios depends on stop-bootlogd-single and therefore on system facility `$all' which can not be true! insserv: Starting nagios depends on stop-bootlogd-single and therefore on system facility `$all' which can not be true! insserv: Starting nagios depends on stop-bootlogd-single and therefore on system facility `$all' which can not be true! insserv: Starting nagios depends on stop-bootlogd-single and therefore on system facility `$all' which can not be true! insserv: Starting nagios depends on stop-bootlogd-single and therefore on system facility `$all' which can not be true! insserv: Starting nagios depends on stop-bootlogd-single and therefore on system facility `$all' which can not be true! insserv: Starting nagios depends on stop-bootlogd-single and therefore on system facility `$all' which can not be true! insserv: Starting nagios depends on stop-bootlogd-single and therefore on system facility `$all' which can not be true! insserv: Starting nagios depends on stop-bootlogd-single and therefore on system facility `$all' which can not be true! insserv: Starting nagios depends on stop-bootlogd-single and therefore on system facility `$all' which can not be true! insserv: Starting nagios depends on stop-bootlogd-single and therefore on system facility `$all' which can not be true! insserv: Starting nagios depends on stop-bootlogd-single and therefore on system facility `$all' which can not be true! insserv: Starting nagios depends on stop-bootlogd-single and therefore on system facility `$all' which can not be true! insserv: Starting nagios depends on stop-bootlogd-single and therefore on system facility `$all' which can not be true! insserv: Starting nagios depends on stop-bootlogd-single and therefore on system facility `$all' which can not be true! insserv: Starting nagios depends on stop-bootlogd-single and therefore on system facility `$all' which can not be true! insserv: Starting nagios depends on stop-bootlogd-single and therefore on system facility `$all' which can not be true! insserv: Starting nagios depends on stop-bootlogd-single and therefore on system facility `$all' which can not be true! insserv: Starting nagios depends on stop-bootlogd-single and therefore on system facility `$all' which can not be true! insserv: Starting nagios depends on stop-bootlogd-single and therefore on system facility `$all' which can not be true! insserv: Starting nagios depends on stop-bootlogd-single and therefore on system facility `$all' which can not be true! insserv: Starting nagios depends on stop-bootlogd-single and therefore on system facility `$all' which can not be true! insserv: Max recursions depth 99 reached insserv: Starting nagios depends on stop-bootlogd-single and therefore on system facility `$all' which can not be true! insserv: Starting nagios depends on stop-bootlogd-single and therefore on system facility `$all' which can not be true! insserv: Starting nagios depends on stop-bootlogd-single and therefore on system facility `$all' which can not be true! insserv: Starting nagios depends on stop-bootlogd-single and therefore on system facility `$all' which can not be true! insserv: Starting nagios depends on stop-bootlogd-single and therefore on system facility `$all' which can not be true! insserv: Starting nagios depends on stop-bootlogd-single and therefore on system facility `$all' which can not be true! insserv: Starting nagios depends on stop-bootlogd-single and therefore on system facility `$all' which can not be true! insserv: Starting nagios depends on stop-bootlogd-single and therefore on system facility `$all' which can not be true! insserv: Starting nagios depends on stop-bootlogd-single and therefore on system facility `$all' which can not be true! insserv: Starting nagios depends on stop-bootlogd-single and therefore on system facility `$all' which can not be true! insserv: Starting nagios depends on stop-bootlogd-single and therefore on system facility `$all' which can not be true! insserv: Starting nagios depends on stop-bootlogd-single and therefore on system facility `$all' which can not be true! insserv: Starting nagios depends on stop-bootlogd-single and therefore on system facility `$all' which can not be true! insserv: Starting nagios depends on stop-bootlogd-single and therefore on system facility `$all' which can not be true! insserv: Starting nagios depends on stop-bootlogd-single and therefore on system facility `$all' which can not be true! insserv: Starting nagios depends on stop-bootlogd-single and therefore on system facility `$all' which can not be true! insserv: Starting nagios depends on stop-bootlogd-single and therefore on system facility `$all' which can not be true! insserv: Starting nagios depends on stop-bootlogd-single and therefore on system facility `$all' which can not be true! insserv: Starting nagios depends on stop-bootlogd-single and therefore on system facility `$all' which can not be true! insserv: Starting nagios depends on stop-bootlogd-single and therefore on system facility `$all' which can not be true! insserv: exiting now without changing boot order! update-rc.d: error: insserv rejected the script header Any ideas would be appreciated. I'm learning debian... I'm more used to red hat so I could be doing something dumb. -Matty ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at flatto.net Sat May 7 09:58:21 2011 From: nagios at flatto.net (Assaf Flatto) Date: Sat, 07 May 2011 07:58:21 +0000 Subject: Unable to get daemon to run at boot In-Reply-To: References: Message-ID: <4DC4FB9D.3000406@flatto.net> Matty Sarro wrote: > Hey everyone, > First let me start off that I found another post detailing my issue, > but sadly its in French and I can't read it :( > I'm trying to get nagios installed on debian squeeze. > I have created the symlink from /etc/init.d/nagios to > /etc/rcS.d/S99nagios. Upon booting, nothing happens. There's nothing > in dmesg, there's nothing in /var/log/messages. > > Now, if I go to the nagios webpage it gives me the "Whoops!" error on > every page. Upon manually running "/etc/init.d/nagios start" the > service starts just fine, and all of the web pages begin appearing. > > I've doublechecked that all permissions are correct. > > I've also tried forcing the script with: > update-init.d nagios defaults > > This spits out a ton of errors: > insserv: warning: script 'S99nagios' missing LSB tags and overrides > insserv: warning: script 'nagios' missing LSB tags and overrides > insserv: warning: current start runlevel(s) (S) of script `nagios' > overwrites defaults (2 3 4 5). > insserv: warning: current stop runlevel(s) (empty) of script `nagios' > overwrites defaults (0 1 6). > insserv: There is a loop between service nagios and > stop-bootlogd-single if started > insserv: loop involving service stop-bootlogd-single at depth 8 > insserv: loop involving service nagios at depth 7 > insserv: loop involving service mountnfs at depth 6 > insserv: Starting nagios depends on stop-bootlogd-single and therefore > on system facility `$all' which can not be true! > insserv: There is a loop between service nagios and > stop-bootlogd-single if started > insserv: Starting nagios depends on stop-bootlogd-single and therefore > on system facility `$all' which can not be true! > insserv: Starting nagios depends on stop-bootlogd-single and therefore > on system facility `$all' which can not be true! > insserv: Starting nagios depends on stop-bootlogd-single and therefore > on system facility `$all' which can not be true! > insserv: Starting nagios depends on stop-bootlogd-single and therefore > on system facility `$all' which can not be true! > insserv: Starting nagios depends on stop-bootlogd-single and therefore > on system facility `$all' which can not be true! > insserv: Starting nagios depends on stop-bootlogd-single and therefore > on system facility `$all' which can not be true! > insserv: Starting nagios depends on stop-bootlogd-single and therefore > on system facility `$all' which can not be true! > insserv: Starting nagios depends on stop-bootlogd-single and therefore > on system facility `$all' which can not be true! > insserv: Starting nagios depends on stop-bootlogd-single and therefore > on system facility `$all' which can not be true! > insserv: Starting nagios depends on stop-bootlogd-single and therefore > on system facility `$all' which can not be true! > insserv: Starting nagios depends on stop-bootlogd-single and therefore > on system facility `$all' which can not be true! > insserv: Starting nagios depends on stop-bootlogd-single and therefore > on system facility `$all' which can not be true! > insserv: Starting nagios depends on stop-bootlogd-single and therefore > on system facility `$all' which can not be true! > insserv: Starting nagios depends on stop-bootlogd-single and therefore > on system facility `$all' which can not be true! > insserv: Starting nagios depends on stop-bootlogd-single and therefore > on system facility `$all' which can not be true! > insserv: Starting nagios depends on stop-bootlogd-single and therefore > on system facility `$all' which can not be true! > insserv: Starting nagios depends on stop-bootlogd-single and therefore > on system facility `$all' which can not be true! > insserv: Starting nagios depends on stop-bootlogd-single and therefore > on system facility `$all' which can not be true! > insserv: Starting nagios depends on stop-bootlogd-single and therefore > on system facility `$all' which can not be true! > insserv: Starting nagios depends on stop-bootlogd-single and therefore > on system facility `$all' which can not be true! > insserv: Starting nagios depends on stop-bootlogd-single and therefore > on system facility `$all' which can not be true! > insserv: Starting nagios depends on stop-bootlogd-single and therefore > on system facility `$all' which can not be true! > insserv: Starting nagios depends on stop-bootlogd-single and therefore > on system facility `$all' which can not be true! > insserv: Starting nagios depends on stop-bootlogd-single and therefore > on system facility `$all' which can not be true! > insserv: Starting nagios depends on stop-bootlogd-single and therefore > on system facility `$all' which can not be true! > insserv: Starting nagios depends on stop-bootlogd-single and therefore > on system facility `$all' which can not be true! > insserv: Starting nagios depends on stop-bootlogd-single and therefore > on system facility `$all' which can not be true! > insserv: Starting nagios depends on stop-bootlogd-single and therefore > on system facility `$all' which can not be true! > insserv: Starting nagios depends on stop-bootlogd-single and therefore > on system facility `$all' which can not be true! > insserv: Starting nagios depends on stop-bootlogd-single and therefore > on system facility `$all' which can not be true! > insserv: Starting nagios depends on stop-bootlogd-single and therefore > on system facility `$all' which can not be true! > insserv: Starting nagios depends on stop-bootlogd-single and therefore > on system facility `$all' which can not be true! > insserv: Starting nagios depends on stop-bootlogd-single and therefore > on system facility `$all' which can not be true! > insserv: Starting nagios depends on stop-bootlogd-single and therefore > on system facility `$all' which can not be true! > insserv: Starting nagios depends on stop-bootlogd-single and therefore > on system facility `$all' which can not be true! > insserv: Starting nagios depends on stop-bootlogd-single and therefore > on system facility `$all' which can not be true! > insserv: Starting nagios depends on stop-bootlogd-single and therefore > on system facility `$all' which can not be true! > insserv: Starting nagios depends on stop-bootlogd-single and therefore > on system facility `$all' which can not be true! > insserv: Starting nagios depends on stop-bootlogd-single and therefore > on system facility `$all' which can not be true! > insserv: Starting nagios depends on stop-bootlogd-single and therefore > on system facility `$all' which can not be true! > insserv: Starting nagios depends on stop-bootlogd-single and therefore > on system facility `$all' which can not be true! > insserv: Starting nagios depends on stop-bootlogd-single and therefore > on system facility `$all' which can not be true! > insserv: Starting nagios depends on stop-bootlogd-single and therefore > on system facility `$all' which can not be true! > insserv: Starting nagios depends on stop-bootlogd-single and therefore > on system facility `$all' which can not be true! > insserv: Starting nagios depends on stop-bootlogd-single and therefore > on system facility `$all' which can not be true! > insserv: Max recursions depth 99 reached > insserv: Starting nagios depends on stop-bootlogd-single and therefore > on system facility `$all' which can not be true! > insserv: Starting nagios depends on stop-bootlogd-single and therefore > on system facility `$all' which can not be true! > insserv: Starting nagios depends on stop-bootlogd-single and therefore > on system facility `$all' which can not be true! > insserv: Starting nagios depends on stop-bootlogd-single and therefore > on system facility `$all' which can not be true! > insserv: Starting nagios depends on stop-bootlogd-single and therefore > on system facility `$all' which can not be true! > insserv: Starting nagios depends on stop-bootlogd-single and therefore > on system facility `$all' which can not be true! > insserv: Starting nagios depends on stop-bootlogd-single and therefore > on system facility `$all' which can not be true! > insserv: Starting nagios depends on stop-bootlogd-single and therefore > on system facility `$all' which can not be true! > insserv: Starting nagios depends on stop-bootlogd-single and therefore > on system facility `$all' which can not be true! > insserv: Starting nagios depends on stop-bootlogd-single and therefore > on system facility `$all' which can not be true! > insserv: Starting nagios depends on stop-bootlogd-single and therefore > on system facility `$all' which can not be true! > insserv: Starting nagios depends on stop-bootlogd-single and therefore > on system facility `$all' which can not be true! > insserv: Starting nagios depends on stop-bootlogd-single and therefore > on system facility `$all' which can not be true! > insserv: Starting nagios depends on stop-bootlogd-single and therefore > on system facility `$all' which can not be true! > insserv: Starting nagios depends on stop-bootlogd-single and therefore > on system facility `$all' which can not be true! > insserv: Starting nagios depends on stop-bootlogd-single and therefore > on system facility `$all' which can not be true! > insserv: Starting nagios depends on stop-bootlogd-single and therefore > on system facility `$all' which can not be true! > insserv: Starting nagios depends on stop-bootlogd-single and therefore > on system facility `$all' which can not be true! > insserv: Starting nagios depends on stop-bootlogd-single and therefore > on system facility `$all' which can not be true! > insserv: Starting nagios depends on stop-bootlogd-single and therefore > on system facility `$all' which can not be true! > insserv: exiting now without changing boot order! > update-rc.d: error: insserv rejected the script header > > > Any ideas would be appreciated. I'm learning debian... I'm more used > to red hat so I could be doing something dumb. > -Matty > > Did you install from source or from package ? if source , what was the output when you did "make install-init" ? ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From msarro at gmail.com Sat May 7 18:59:37 2011 From: msarro at gmail.com (Matty Sarro) Date: Sat, 7 May 2011 12:59:37 -0400 Subject: Unable to get daemon to run at boot In-Reply-To: <4DC4FB9D.3000406@flatto.net> References: <4DC4FB9D.3000406@flatto.net> Message-ID: On Sat, May 7, 2011 at 3:58 AM, Assaf Flatto wrote: > Matty Sarro wrote: >> Hey everyone, >> First let me start off that I found another post detailing my issue, >> but sadly its in French and I can't read it :( >> I'm trying to get nagios installed on debian squeeze. >> I have created the symlink from /etc/init.d/nagios to >> /etc/rcS.d/S99nagios. Upon booting, nothing happens. There's nothing >> in dmesg, there's nothing in /var/log/messages. >> >> Now, if I go to the nagios webpage it gives me the "Whoops!" error on >> every page. Upon manually running "/etc/init.d/nagios start" the >> service starts just fine, and all of the web pages begin appearing. >> >> I've doublechecked that all permissions are correct. >> >> I've also tried forcing the script with: >> update-init.d nagios defaults >> >> This spits out a ton of errors: >> insserv: warning: script 'S99nagios' missing LSB tags and overrides >> insserv: warning: script 'nagios' missing LSB tags and overrides >> insserv: warning: current start runlevel(s) (S) of script `nagios' >> overwrites defaults (2 3 4 5). >> insserv: warning: current stop runlevel(s) (empty) of script `nagios' >> overwrites defaults (0 1 6). >> insserv: There is a loop between service nagios and >> stop-bootlogd-single if started >> insserv: ?loop involving service stop-bootlogd-single at depth 8 >> insserv: ?loop involving service nagios at depth 7 >> insserv: ?loop involving service mountnfs at depth 6 >> insserv: Starting nagios depends on stop-bootlogd-single and therefore >> on system facility `$all' which can not be true! >> insserv: There is a loop between service nagios and >> stop-bootlogd-single if started >> insserv: Starting nagios depends on stop-bootlogd-single and therefore >> on system facility `$all' which can not be true! >> insserv: Starting nagios depends on stop-bootlogd-single and therefore >> on system facility `$all' which can not be true! >> insserv: Starting nagios depends on stop-bootlogd-single and therefore >> on system facility `$all' which can not be true! >> insserv: Starting nagios depends on stop-bootlogd-single and therefore >> on system facility `$all' which can not be true! >> insserv: Starting nagios depends on stop-bootlogd-single and therefore >> on system facility `$all' which can not be true! >> insserv: Starting nagios depends on stop-bootlogd-single and therefore >> on system facility `$all' which can not be true! >> insserv: Starting nagios depends on stop-bootlogd-single and therefore >> on system facility `$all' which can not be true! >> insserv: Starting nagios depends on stop-bootlogd-single and therefore >> on system facility `$all' which can not be true! >> insserv: Starting nagios depends on stop-bootlogd-single and therefore >> on system facility `$all' which can not be true! >> insserv: Starting nagios depends on stop-bootlogd-single and therefore >> on system facility `$all' which can not be true! >> insserv: Starting nagios depends on stop-bootlogd-single and therefore >> on system facility `$all' which can not be true! >> insserv: Starting nagios depends on stop-bootlogd-single and therefore >> on system facility `$all' which can not be true! >> insserv: Starting nagios depends on stop-bootlogd-single and therefore >> on system facility `$all' which can not be true! >> insserv: Starting nagios depends on stop-bootlogd-single and therefore >> on system facility `$all' which can not be true! >> insserv: Starting nagios depends on stop-bootlogd-single and therefore >> on system facility `$all' which can not be true! >> insserv: Starting nagios depends on stop-bootlogd-single and therefore >> on system facility `$all' which can not be true! >> insserv: Starting nagios depends on stop-bootlogd-single and therefore >> on system facility `$all' which can not be true! >> insserv: Starting nagios depends on stop-bootlogd-single and therefore >> on system facility `$all' which can not be true! >> insserv: Starting nagios depends on stop-bootlogd-single and therefore >> on system facility `$all' which can not be true! >> insserv: Starting nagios depends on stop-bootlogd-single and therefore >> on system facility `$all' which can not be true! >> insserv: Starting nagios depends on stop-bootlogd-single and therefore >> on system facility `$all' which can not be true! >> insserv: Starting nagios depends on stop-bootlogd-single and therefore >> on system facility `$all' which can not be true! >> insserv: Starting nagios depends on stop-bootlogd-single and therefore >> on system facility `$all' which can not be true! >> insserv: Starting nagios depends on stop-bootlogd-single and therefore >> on system facility `$all' which can not be true! >> insserv: Starting nagios depends on stop-bootlogd-single and therefore >> on system facility `$all' which can not be true! >> insserv: Starting nagios depends on stop-bootlogd-single and therefore >> on system facility `$all' which can not be true! >> insserv: Starting nagios depends on stop-bootlogd-single and therefore >> on system facility `$all' which can not be true! >> insserv: Starting nagios depends on stop-bootlogd-single and therefore >> on system facility `$all' which can not be true! >> insserv: Starting nagios depends on stop-bootlogd-single and therefore >> on system facility `$all' which can not be true! >> insserv: Starting nagios depends on stop-bootlogd-single and therefore >> on system facility `$all' which can not be true! >> insserv: Starting nagios depends on stop-bootlogd-single and therefore >> on system facility `$all' which can not be true! >> insserv: Starting nagios depends on stop-bootlogd-single and therefore >> on system facility `$all' which can not be true! >> insserv: Starting nagios depends on stop-bootlogd-single and therefore >> on system facility `$all' which can not be true! >> insserv: Starting nagios depends on stop-bootlogd-single and therefore >> on system facility `$all' which can not be true! >> insserv: Starting nagios depends on stop-bootlogd-single and therefore >> on system facility `$all' which can not be true! >> insserv: Starting nagios depends on stop-bootlogd-single and therefore >> on system facility `$all' which can not be true! >> insserv: Starting nagios depends on stop-bootlogd-single and therefore >> on system facility `$all' which can not be true! >> insserv: Starting nagios depends on stop-bootlogd-single and therefore >> on system facility `$all' which can not be true! >> insserv: Starting nagios depends on stop-bootlogd-single and therefore >> on system facility `$all' which can not be true! >> insserv: Starting nagios depends on stop-bootlogd-single and therefore >> on system facility `$all' which can not be true! >> insserv: Starting nagios depends on stop-bootlogd-single and therefore >> on system facility `$all' which can not be true! >> insserv: Starting nagios depends on stop-bootlogd-single and therefore >> on system facility `$all' which can not be true! >> insserv: Starting nagios depends on stop-bootlogd-single and therefore >> on system facility `$all' which can not be true! >> insserv: Starting nagios depends on stop-bootlogd-single and therefore >> on system facility `$all' which can not be true! >> insserv: Starting nagios depends on stop-bootlogd-single and therefore >> on system facility `$all' which can not be true! >> insserv: Max recursions depth 99 reached >> insserv: Starting nagios depends on stop-bootlogd-single and therefore >> on system facility `$all' which can not be true! >> insserv: Starting nagios depends on stop-bootlogd-single and therefore >> on system facility `$all' which can not be true! >> insserv: Starting nagios depends on stop-bootlogd-single and therefore >> on system facility `$all' which can not be true! >> insserv: Starting nagios depends on stop-bootlogd-single and therefore >> on system facility `$all' which can not be true! >> insserv: Starting nagios depends on stop-bootlogd-single and therefore >> on system facility `$all' which can not be true! >> insserv: Starting nagios depends on stop-bootlogd-single and therefore >> on system facility `$all' which can not be true! >> insserv: Starting nagios depends on stop-bootlogd-single and therefore >> on system facility `$all' which can not be true! >> insserv: Starting nagios depends on stop-bootlogd-single and therefore >> on system facility `$all' which can not be true! >> insserv: Starting nagios depends on stop-bootlogd-single and therefore >> on system facility `$all' which can not be true! >> insserv: Starting nagios depends on stop-bootlogd-single and therefore >> on system facility `$all' which can not be true! >> insserv: Starting nagios depends on stop-bootlogd-single and therefore >> on system facility `$all' which can not be true! >> insserv: Starting nagios depends on stop-bootlogd-single and therefore >> on system facility `$all' which can not be true! >> insserv: Starting nagios depends on stop-bootlogd-single and therefore >> on system facility `$all' which can not be true! >> insserv: Starting nagios depends on stop-bootlogd-single and therefore >> on system facility `$all' which can not be true! >> insserv: Starting nagios depends on stop-bootlogd-single and therefore >> on system facility `$all' which can not be true! >> insserv: Starting nagios depends on stop-bootlogd-single and therefore >> on system facility `$all' which can not be true! >> insserv: Starting nagios depends on stop-bootlogd-single and therefore >> on system facility `$all' which can not be true! >> insserv: Starting nagios depends on stop-bootlogd-single and therefore >> on system facility `$all' which can not be true! >> insserv: Starting nagios depends on stop-bootlogd-single and therefore >> on system facility `$all' which can not be true! >> insserv: Starting nagios depends on stop-bootlogd-single and therefore >> on system facility `$all' which can not be true! >> insserv: exiting now without changing boot order! >> update-rc.d: error: insserv rejected the script header >> >> >> Any ideas would be appreciated. I'm learning debian... I'm more used >> to red hat so I could be doing something dumb. >> -Matty >> >> > Did you install from source or from package ? > if source , what was the output when you did "make install-init" ? > > > > ------------------------------------------------------------------------------ > WhatsUp Gold - Download Free Network Management Software > The most intuitive, comprehensive, and cost-effective network > management toolset available today. ?Delivers lowest initial > acquisition cost and overall TCO of any competing solution. > http://p.sf.net/sfu/whatsupgold-sd > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > I installed from source. Here's the output: root at test:~/downloads/nagios-3.2.3# make install-init /usr/bin/install -c -m 755 -o root -g root /etc/init.d /usr/bin/install -c -m 755 -o root -g root daemon-init /etc/init.d/nagios *** Init script installed *** root at test:~/downloads/nagios-3.2.3# ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yuehung.liu at gmail.com Sun May 8 08:22:55 2011 From: yuehung.liu at gmail.com (Yueh-Hung Liu) Date: Sun, 8 May 2011 14:22:55 +0800 Subject: Unable to get daemon to run at boot In-Reply-To: References: <4DC4FB9D.3000406@flatto.net> Message-ID: what's the run level of your system? On Sun, May 8, 2011 at 12:59 AM, Matty Sarro wrote: > On Sat, May 7, 2011 at 3:58 AM, Assaf Flatto wrote: >> Matty Sarro wrote: >>> Hey everyone, >>> First let me start off that I found another post detailing my issue, >>> but sadly its in French and I can't read it :( >>> I'm trying to get nagios installed on debian squeeze. >>> I have created the symlink from /etc/init.d/nagios to >>> /etc/rcS.d/S99nagios. Upon booting, nothing happens. There's nothing >>> in dmesg, there's nothing in /var/log/messages. >>> >>> Now, if I go to the nagios webpage it gives me the "Whoops!" error on >>> every page. Upon manually running "/etc/init.d/nagios start" the >>> service starts just fine, and all of the web pages begin appearing. >>> >>> I've doublechecked that all permissions are correct. >>> >>> I've also tried forcing the script with: >>> update-init.d nagios defaults >>> >>> This spits out a ton of errors: >>> insserv: warning: script 'S99nagios' missing LSB tags and overrides >>> insserv: warning: script 'nagios' missing LSB tags and overrides >>> insserv: warning: current start runlevel(s) (S) of script `nagios' >>> overwrites defaults (2 3 4 5). >>> insserv: warning: current stop runlevel(s) (empty) of script `nagios' >>> overwrites defaults (0 1 6). >>> insserv: There is a loop between service nagios and >>> stop-bootlogd-single if started >>> insserv: ?loop involving service stop-bootlogd-single at depth 8 >>> insserv: ?loop involving service nagios at depth 7 >>> insserv: ?loop involving service mountnfs at depth 6 >>> insserv: Starting nagios depends on stop-bootlogd-single and therefore >>> on system facility `$all' which can not be true! >>> insserv: There is a loop between service nagios and >>> stop-bootlogd-single if started >>> insserv: Starting nagios depends on stop-bootlogd-single and therefore >>> on system facility `$all' which can not be true! >>> insserv: Starting nagios depends on stop-bootlogd-single and therefore >>> on system facility `$all' which can not be true! >>> insserv: Starting nagios depends on stop-bootlogd-single and therefore >>> on system facility `$all' which can not be true! >>> insserv: Starting nagios depends on stop-bootlogd-single and therefore >>> on system facility `$all' which can not be true! >>> insserv: Starting nagios depends on stop-bootlogd-single and therefore >>> on system facility `$all' which can not be true! >>> insserv: Starting nagios depends on stop-bootlogd-single and therefore >>> on system facility `$all' which can not be true! >>> insserv: Starting nagios depends on stop-bootlogd-single and therefore >>> on system facility `$all' which can not be true! >>> insserv: Starting nagios depends on stop-bootlogd-single and therefore >>> on system facility `$all' which can not be true! >>> insserv: Starting nagios depends on stop-bootlogd-single and therefore >>> on system facility `$all' which can not be true! >>> insserv: Starting nagios depends on stop-bootlogd-single and therefore >>> on system facility `$all' which can not be true! >>> insserv: Starting nagios depends on stop-bootlogd-single and therefore >>> on system facility `$all' which can not be true! >>> insserv: Starting nagios depends on stop-bootlogd-single and therefore >>> on system facility `$all' which can not be true! >>> insserv: Starting nagios depends on stop-bootlogd-single and therefore >>> on system facility `$all' which can not be true! >>> insserv: Starting nagios depends on stop-bootlogd-single and therefore >>> on system facility `$all' which can not be true! >>> insserv: Starting nagios depends on stop-bootlogd-single and therefore >>> on system facility `$all' which can not be true! >>> insserv: Starting nagios depends on stop-bootlogd-single and therefore >>> on system facility `$all' which can not be true! >>> insserv: Starting nagios depends on stop-bootlogd-single and therefore >>> on system facility `$all' which can not be true! >>> insserv: Starting nagios depends on stop-bootlogd-single and therefore >>> on system facility `$all' which can not be true! >>> insserv: Starting nagios depends on stop-bootlogd-single and therefore >>> on system facility `$all' which can not be true! >>> insserv: Starting nagios depends on stop-bootlogd-single and therefore >>> on system facility `$all' which can not be true! >>> insserv: Starting nagios depends on stop-bootlogd-single and therefore >>> on system facility `$all' which can not be true! >>> insserv: Starting nagios depends on stop-bootlogd-single and therefore >>> on system facility `$all' which can not be true! >>> insserv: Starting nagios depends on stop-bootlogd-single and therefore >>> on system facility `$all' which can not be true! >>> insserv: Starting nagios depends on stop-bootlogd-single and therefore >>> on system facility `$all' which can not be true! >>> insserv: Starting nagios depends on stop-bootlogd-single and therefore >>> on system facility `$all' which can not be true! >>> insserv: Starting nagios depends on stop-bootlogd-single and therefore >>> on system facility `$all' which can not be true! >>> insserv: Starting nagios depends on stop-bootlogd-single and therefore >>> on system facility `$all' which can not be true! >>> insserv: Starting nagios depends on stop-bootlogd-single and therefore >>> on system facility `$all' which can not be true! >>> insserv: Starting nagios depends on stop-bootlogd-single and therefore >>> on system facility `$all' which can not be true! >>> insserv: Starting nagios depends on stop-bootlogd-single and therefore >>> on system facility `$all' which can not be true! >>> insserv: Starting nagios depends on stop-bootlogd-single and therefore >>> on system facility `$all' which can not be true! >>> insserv: Starting nagios depends on stop-bootlogd-single and therefore >>> on system facility `$all' which can not be true! >>> insserv: Starting nagios depends on stop-bootlogd-single and therefore >>> on system facility `$all' which can not be true! >>> insserv: Starting nagios depends on stop-bootlogd-single and therefore >>> on system facility `$all' which can not be true! >>> insserv: Starting nagios depends on stop-bootlogd-single and therefore >>> on system facility `$all' which can not be true! >>> insserv: Starting nagios depends on stop-bootlogd-single and therefore >>> on system facility `$all' which can not be true! >>> insserv: Starting nagios depends on stop-bootlogd-single and therefore >>> on system facility `$all' which can not be true! >>> insserv: Starting nagios depends on stop-bootlogd-single and therefore >>> on system facility `$all' which can not be true! >>> insserv: Starting nagios depends on stop-bootlogd-single and therefore >>> on system facility `$all' which can not be true! >>> insserv: Starting nagios depends on stop-bootlogd-single and therefore >>> on system facility `$all' which can not be true! >>> insserv: Starting nagios depends on stop-bootlogd-single and therefore >>> on system facility `$all' which can not be true! >>> insserv: Starting nagios depends on stop-bootlogd-single and therefore >>> on system facility `$all' which can not be true! >>> insserv: Starting nagios depends on stop-bootlogd-single and therefore >>> on system facility `$all' which can not be true! >>> insserv: Starting nagios depends on stop-bootlogd-single and therefore >>> on system facility `$all' which can not be true! >>> insserv: Starting nagios depends on stop-bootlogd-single and therefore >>> on system facility `$all' which can not be true! >>> insserv: Max recursions depth 99 reached >>> insserv: Starting nagios depends on stop-bootlogd-single and therefore >>> on system facility `$all' which can not be true! >>> insserv: Starting nagios depends on stop-bootlogd-single and therefore >>> on system facility `$all' which can not be true! >>> insserv: Starting nagios depends on stop-bootlogd-single and therefore >>> on system facility `$all' which can not be true! >>> insserv: Starting nagios depends on stop-bootlogd-single and therefore >>> on system facility `$all' which can not be true! >>> insserv: Starting nagios depends on stop-bootlogd-single and therefore >>> on system facility `$all' which can not be true! >>> insserv: Starting nagios depends on stop-bootlogd-single and therefore >>> on system facility `$all' which can not be true! >>> insserv: Starting nagios depends on stop-bootlogd-single and therefore >>> on system facility `$all' which can not be true! >>> insserv: Starting nagios depends on stop-bootlogd-single and therefore >>> on system facility `$all' which can not be true! >>> insserv: Starting nagios depends on stop-bootlogd-single and therefore >>> on system facility `$all' which can not be true! >>> insserv: Starting nagios depends on stop-bootlogd-single and therefore >>> on system facility `$all' which can not be true! >>> insserv: Starting nagios depends on stop-bootlogd-single and therefore >>> on system facility `$all' which can not be true! >>> insserv: Starting nagios depends on stop-bootlogd-single and therefore >>> on system facility `$all' which can not be true! >>> insserv: Starting nagios depends on stop-bootlogd-single and therefore >>> on system facility `$all' which can not be true! >>> insserv: Starting nagios depends on stop-bootlogd-single and therefore >>> on system facility `$all' which can not be true! >>> insserv: Starting nagios depends on stop-bootlogd-single and therefore >>> on system facility `$all' which can not be true! >>> insserv: Starting nagios depends on stop-bootlogd-single and therefore >>> on system facility `$all' which can not be true! >>> insserv: Starting nagios depends on stop-bootlogd-single and therefore >>> on system facility `$all' which can not be true! >>> insserv: Starting nagios depends on stop-bootlogd-single and therefore >>> on system facility `$all' which can not be true! >>> insserv: Starting nagios depends on stop-bootlogd-single and therefore >>> on system facility `$all' which can not be true! >>> insserv: Starting nagios depends on stop-bootlogd-single and therefore >>> on system facility `$all' which can not be true! >>> insserv: exiting now without changing boot order! >>> update-rc.d: error: insserv rejected the script header >>> >>> >>> Any ideas would be appreciated. I'm learning debian... I'm more used >>> to red hat so I could be doing something dumb. >>> -Matty >>> >>> >> Did you install from source or from package ? >> if source , what was the output when you did "make install-init" ? >> >> >> >> ------------------------------------------------------------------------------ >> WhatsUp Gold - Download Free Network Management Software >> The most intuitive, comprehensive, and cost-effective network >> management toolset available today. ?Delivers lowest initial >> acquisition cost and overall TCO of any competing solution. >> http://p.sf.net/sfu/whatsupgold-sd >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > > I installed from source. Here's the output: > root at test:~/downloads/nagios-3.2.3# make install-init > /usr/bin/install -c -m 755 -o root -g root /etc/init.d > /usr/bin/install -c -m 755 -o root -g root daemon-init /etc/init.d/nagios > > *** Init script installed *** > > root at test:~/downloads/nagios-3.2.3# > > ------------------------------------------------------------------------------ > WhatsUp Gold - Download Free Network Management Software > The most intuitive, comprehensive, and cost-effective network > management toolset available today. ?Delivers lowest initial > acquisition cost and overall TCO of any competing solution. > http://p.sf.net/sfu/whatsupgold-sd > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mail at catsnest.co.uk Mon May 9 12:57:09 2011 From: mail at catsnest.co.uk (mail at catsnest.co.uk) Date: Mon, 9 May 2011 11:57:09 +0100 Subject: over writing services from templates Message-ID: Hi all, I seem to have a working solution but an confused as to why it works, could some one please explain or suggest a better way to do this. I apply service to hosts via, host-templates and wanted to change a value for a service but just for one hosts. I didnt want to add a new service / service template hoping i could just over ride the value for just that one host: I am running Nagios 3.2.3 and the simplified config looks like this: service { name service-check command run-some-check.sh max_check_attempts 1 hostgroup_name host_group1 } host { name host-template1 use generic hostgroups +host_group1 register 0 } host { name host1 use host-template1 } host { name host2 use host-template1 } Now I wanted to change the value for max_check_attempts used by the service for host2. What I did was service { name service-check command run-some-check.sh max_check_attempts 3 host host2 } This created duplicate a warning when doing a verbose config check, but no warning on the normal config check and it allowed Nagios to reload and used the values from the host defined service! My questions are, why does this work? Is Nagios actually running both services but only showing one of them in the gui and ill probably have some race condition between them. Is there a better way to do this? Thanks for your help, Ritchie -- Fnord... <-- http://23.me.uk --> <-- http://wiki.s23.org --> <-- http://twitter.com/23me --> <- -Only the lavender prairie dogs know the key to unlock the secret of the tumble-weeds. --> ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From DCeola at twgi.net Mon May 9 16:42:38 2011 From: DCeola at twgi.net (Daniel Ceola) Date: Mon, 9 May 2011 14:42:38 +0000 Subject: Check_Openmanage configuration question Message-ID: <40B7337A7D70B149A34D5A0FD9FDFA8CEACB@twgiex.twgi.net> Hello all! I have a question regarding the initial configuration of check_openmanage. I downloaded the version of the script dated Feb 9 (I don't see a version number in the script) and am attempting to use the script through SNMP. I'm attempting to begin using check_openmanage with our Dell servers. I have installed the Dell OMSA software on one server and it seems to be working just fine. I configured my command definition in a simple fashion, according to the installation guide: # Dell Check openmanage define command{ command_name check_openmanage command_line $USER1$/check_openmanage -H $HOSTADDRESS$ } I also configured my service definition in a simple fashion, according to the installation guide: define service{ use generic-service host_name Server_Name service_description Dell OMSA check_command check_openmanage } However - my Nagios console is reporting the status as (null). Also, when I attempt to run the script from the command line (note the file is saved as check_openmanage with no file extension, I also tried check_openmanage.pl and receive the same results), I receive a few errors nagios at UbuntuTest:/usr/local/nagios/libexec$ ./check_openmanage 192.168.1.5 ./check_openmanage: line 27: require: command not found ./check_openmanage: line 28: use: command not found ./check_openmanage: line 29: use: command not found ./check_openmanage: line 30: syntax error near unexpected token `(' ./check_openmanage: line 30: `use POSIX qw(isatty ceil);' I have searched online for a while now and come up mostly emptyhanded. If someone could point me in the correct direction to get this working, I would be most greatful! I'm almost certain it is something stupid or simple that I have overlooked with setting this up. Thanks, Daniel Ceola Systems & DB Admin The Wills Group 6355 Crain Hwy La Plata, MD 20646 301-932-3600 301-932-3643 (direct line) -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tristand at micro-p.com Mon May 9 16:20:37 2011 From: tristand at micro-p.com (Tristan Drinkwater) Date: Mon, 9 May 2011 14:20:37 +0000 Subject: check_http encrypted link Message-ID: <764BD5D0154F554C940E12CD96EE9D820969D9@ma-ex-01.micro-p.com> Hey guys, I'm struggling to check a http link that's encrypted. The full url works ok in a browser but I get 'unable to open a TCP socket' error when I run 'check_http -H domain/encrypted link' from the command line. I've also tried 'check_http -H domain -u /encrypted link" but that's not working either. Is check_http even able to check such a thing? Thanks in advance :) ________________________________ Micro Peripherals Limited. Registered Office: Shorten Brook Way, Altham Business Park, Altham, Accrington, Lancs. BB5 5YJ. Tel: (01282) 776776 Fax: (01282) 858790 Micro Peripherals Limited. Registered in England No. 1511931. VAT No. GB 864 4387 91 DISCLAIMER: This e-mail and attachments are confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions presented are solely those of the author and do not necessarily represent those of Micro Peripherals Limited. If you are not the intended recipient, be advised that you have received this Email in error and that any use, dissemination, forwarding, printing, or copying of this Email is strictly prohibited. If this transmission is received in error please notify the sender immediately and delete this message from your E-mail system. All electronic transmissions to and from Micro Peripherals Ltd are recorded and may be monitored. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yuehung.liu at gmail.com Mon May 9 16:51:39 2011 From: yuehung.liu at gmail.com (Yueh-Hung Liu) Date: Mon, 9 May 2011 22:51:39 +0800 Subject: over writing services from templates In-Reply-To: References: Message-ID: exclude host2 from the first service definition, such as: service { ? ? name ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?service-check ? ? command ? ? ? ? ? ? ? ? ? ? ? run-some-check.sh ? ? max_check_attempts ? ? ?1 ? ? hostgroup_name ? ? ? ? ? ? ?host_group1 host _name !host2 } On Mon, May 9, 2011 at 6:57 PM, wrote: > Hi all, > > > I seem to have a working solution but an confused as to why it works, > could some one please explain or suggest a better way to do this. > > > I apply service to hosts via, host-templates and wanted to change a > value for a service but just for one hosts. > I didnt want to add a new service / service template hoping i could > just over ride the value for just that one host: > I am running Nagios 3.2.3 and the simplified config looks like this: > > > > service { > ? ? name ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?service-check > ? ? command ? ? ? ? ? ? ? ? ? ? ? run-some-check.sh > ? ? max_check_attempts ? ? ?1 > ? ? hostgroup_name ? ? ? ? ? ? ?host_group1 > } > > host { > ? ? ? ?name ? ? ? ? ? ? ? ? ? ? ? ? ? host-template1 > ? ? ? ?use ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?generic > ? ? ? ?hostgroups ? ? ? ? ? ? ? ? ?+host_group1 > ? ? ? ?register ? ? ? ? ? ? ? ? ? ? ? ?0 > } > > > host { > ? ? ? ?name ? ? ? ? ? ? ? ? ? ? ? ? ? host1 > ? ? ? ?use ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?host-template1 > ? ? ? ?} > > host { > ? ? ? ?name ? ? ? ? ? ? ? ? ? ? ? ? ? host2 > ? ? ? ?use ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?host-template1 > ? ? ? ?} > > Now I wanted to change the value for max_check_attempts ?used by the > service for host2. > > What I did was > > service { > ? ? name ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?service-check > ? ? command ? ? ? ? ? ? ? ? ? ? ? run-some-check.sh > ? ? max_check_attempts ? ? ?3 > ? ?host ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?host2 > } > > This created duplicate a warning when doing a verbose config check, > but no warning on the normal config check and it allowed Nagios to > reload and used the values from the host defined service! > > My questions are, > ? why does this work? > ? Is Nagios actually running both services but only showing one of > them in the gui and ill probably have some race condition between > them. > ? Is there a better way to do this? > > Thanks for your help, > Ritchie > -- > Fnord... > <-- http://23.me.uk --> <-- http://wiki.s23.org --> <-- > http://twitter.com/23me --> > <- -Only the lavender prairie dogs know the key to unlock the secret > of the tumble-weeds. --> > > ------------------------------------------------------------------------------ > WhatsUp Gold - Download Free Network Management Software > The most intuitive, comprehensive, and cost-effective network > management toolset available today. ?Delivers lowest initial > acquisition cost and overall TCO of any competing solution. > http://p.sf.net/sfu/whatsupgold-sd > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mikec at aggregateknowledge.com Mon May 9 18:35:11 2011 From: mikec at aggregateknowledge.com (Mike Chesnut) Date: Mon, 09 May 2011 09:35:11 -0700 Subject: check_http encrypted link In-Reply-To: <764BD5D0154F554C940E12CD96EE9D820969D9@ma-ex-01.micro-p.com> References: <764BD5D0154F554C940E12CD96EE9D820969D9@ma-ex-01.micro-p.com> Message-ID: <4DC817BF.3020206@aggregateknowledge.com> On 05/09/2011 07:20 AM, Tristan Drinkwater wrote: > I?m struggling to check a http link that?s encrypted. > > The full url works ok in a browser but I get ?unable to open a TCP > socket? error when I run ?check_http ?H domain/encrypted link? from the > command line. > > I?ve also tried ?check_http ?H domain ?u /encrypted link? but that?s not > working either. > > Is check_http even able to check such a thing? If by encrypted you mean served over SSL (i.e., https), then all you should have to do is include the "-S" parameter to check_http. You probably would want to do "-p 443" also. ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wallis at aps.anl.gov Mon May 9 19:08:48 2011 From: wallis at aps.anl.gov (Dave Wallis) Date: Mon, 09 May 2011 12:08:48 -0500 Subject: Question about check_disk "-L" option Message-ID: <4DC81FA0.3020900@aps.anl.gov> On Red Hat 6 clients, I need to monitor some NFS mount points for conditions like stale NFS file handles. The "check_disk" plugin describes the "-L" (--stat-remote-fs) option as providing this functionality. However, either I'm not understanding how the option works, or it's not working properly. Here is an example of what I'm seeing: # df -h /usr/local Filesystem Size Used Avail Use% Mounted on oxygennfs48:/usr/local 250G 214G 37G 86% /usr/local # # ./check_disk -w 20% -c 10% -p /usr/local DISK WARNING - free space: /usr/local 37846 MB (14% inode=98%);| /usr/local=218154MB;204800;230400;0;256000 # # ./check_disk -w 20% -c 10% -p /usr/local -L DISK UNKNOWN - free space:| # Does anyone have any experience using this option, or have any guesses why it's generating an error? -- David Wallis Principal Computer Engineer Information Technology Group Advanced Photon Source Argonne National Laboratory -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yuehung.liu at gmail.com Tue May 10 07:03:22 2011 From: yuehung.liu at gmail.com (Yueh-Hung Liu) Date: Tue, 10 May 2011 13:03:22 +0800 Subject: Question about check_disk "-L" option In-Reply-To: <4DC81FA0.3020900@aps.anl.gov> References: <4DC81FA0.3020900@aps.anl.gov> Message-ID: it's not an error, you specify to check /usr/local only and it's a remote fs, so no local fs will be checked and the "-L" option just test the access to nfs. On Tue, May 10, 2011 at 1:08 AM, Dave Wallis wrote: > On Red Hat 6 clients, I need to monitor some NFS mount points for conditions > like stale NFS file handles. The "check_disk" plugin describes the "-L" > (--stat-remote-fs) option as providing this functionality. However, either > I'm not understanding how the option works, or it's not working properly. > Here is an example of what I'm seeing: > > # df -h /usr/local > Filesystem???????????????? Size? Used?? Avail? Use%? Mounted on > oxygennfs48:/usr/local???? 250G? 214G?? 37G??? 86%?? /usr/local > # > # ./check_disk -w 20% -c 10% -p /usr/local > DISK WARNING - free space: /usr/local 37846 MB (14% inode=98%);| > /usr/local=218154MB;204800;230400;0;256000 > # > # ./check_disk -w 20% -c 10% -p /usr/local -L > DISK UNKNOWN - free space:| > # > > Does anyone have any experience using this option, or have any guesses why > it's generating an error? > > -- > David Wallis > > Principal Computer Engineer > Information Technology Group > Advanced Photon Source > Argonne National Laboratory > > ------------------------------------------------------------------------------ > WhatsUp Gold - Download Free Network Management Software > The most intuitive, comprehensive, and cost-effective network > management toolset available today. ?Delivers lowest initial > acquisition cost and overall TCO of any competing solution. > http://p.sf.net/sfu/whatsupgold-sd > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From t.h.amundsen at usit.uio.no Tue May 10 14:23:35 2011 From: t.h.amundsen at usit.uio.no (Trond Hasle Amundsen) Date: Tue, 10 May 2011 14:23:35 +0200 Subject: Check_Openmanage configuration question In-Reply-To: <40B7337A7D70B149A34D5A0FD9FDFA8CEACB@twgiex.twgi.net> (Daniel Ceola's message of "Mon, 9 May 2011 14:42:38 +0000") References: <40B7337A7D70B149A34D5A0FD9FDFA8CEACB@twgiex.twgi.net> Message-ID: <15toc3a2188.fsf@tux.uio.no> Daniel Ceola writes: > Hello all! Hi Daniel, > I have a question regarding the initial configuration of > check_openmanage. I downloaded the version of the script dated Feb 9 > (I don?t see a version number in the script) and am attempting to use > the script through SNMP. Tip: Run the plugin with the '-V' or '--version' switch to view the version number. > I?m attempting to begin using check_openmanage with our Dell servers. > I have installed the Dell OMSA software on one server and it seems to > be working just fine. I configured my command definition in a simple > fashion, according to the installation guide: > > # Dell Check openmanage > > define command{ > command_name check_openmanage > command_line $USER1$/check_openmanage -H $HOSTADDRESS$ > } > > I also configured my service definition in a simple fashion, according > to the installation guide: > > define service{ > use generic-service > host_name Server_Name > service_description Dell OMSA > check_command check_openmanage > } This looks correct to me. > However ? my Nagios console is reporting the status as (null). Also, > when I attempt to run the script from the command line (note the file > is saved as check_openmanage with no file extension, I also tried > check_openmanage.pl and receive the same results), I receive a few > errors > > nagios at UbuntuTest:/usr/local/nagios/libexec$ ./check_openmanage 192.168.1.5 > ./check_openmanage: line 27: require: command not found > ./check_openmanage: line 28: use: command not found > ./check_openmanage: line 29: use: command not found > ./check_openmanage: line 30: syntax error near unexpected token `(' > ./check_openmanage: line 30: `use POSIX qw(isatty ceil);' Weird. Your system seem to be running the plugin through a shell. The output above is exactly what you'll get if you run sh ./check_openmanage To specify perl as interpreter, run: perl ./check_openmanage However, this should not be needed. The system should identify it as a perl script and use perl to execute it by default. Have you edited the plugin in some way? Check that the md5sum is correct: $ md5sum check_openmanage 5281718fe9e5c4b9570fe76f0fb424ec check_openmanage The above sum is correct for version 3.6.6. You should verify that you get the same (if running 3.6.6). The latest version and its md5sum are available here: http://folk.uio.no/trondham/software/check_openmanage.html#download PS. In your example above you have forgotten the '-H' switch. PPS. The file extension (or the name itself) is unimportant. Cheers, -- Trond H. Amundsen Center for Information Technology Services, University of Oslo ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From DCeola at twgi.net Tue May 10 14:45:41 2011 From: DCeola at twgi.net (Daniel Ceola) Date: Tue, 10 May 2011 12:45:41 +0000 Subject: Check_Openmanage configuration question In-Reply-To: <15toc3a2188.fsf@tux.uio.no> References: <40B7337A7D70B149A34D5A0FD9FDFA8CEACB@twgiex.twgi.net> <15toc3a2188.fsf@tux.uio.no> Message-ID: <40B7337A7D70B149A34D5A0FD9FDFA8CECEE@twgiex.twgi.net> Trond, Thank you for the assistance. After reading your replies, I realized that in the script file, I somehow had accidentally left a blank line at the very top. After I removed the empty line, the system began running the script correctly, and I can now see results. I knew it had to be something simple like that! Thanks, Daniel Ceola -----Original Message----- From: Trond Hasle Amundsen [mailto:t.h.amundsen at usit.uio.no] Sent: Tuesday, May 10, 2011 8:24 AM To: Nagios Users List Subject: Re: [Nagios-users] Check_Openmanage configuration question Daniel Ceola writes: > Hello all! Hi Daniel, > I have a question regarding the initial configuration of > check_openmanage. I downloaded the version of the script dated Feb 9 > (I don?t see a version number in the script) and am attempting to use > the script through SNMP. Tip: Run the plugin with the '-V' or '--version' switch to view the version number. > I?m attempting to begin using check_openmanage with our Dell servers. > I have installed the Dell OMSA software on one server and it seems to > be working just fine. I configured my command definition in a simple > fashion, according to the installation guide: > > # Dell Check openmanage > > define command{ > command_name check_openmanage > command_line $USER1$/check_openmanage -H $HOSTADDRESS$ > } > > I also configured my service definition in a simple fashion, according > to the installation guide: > > define service{ > use generic-service > host_name Server_Name > service_description Dell OMSA > check_command check_openmanage > } This looks correct to me. > However ? my Nagios console is reporting the status as (null). Also, > when I attempt to run the script from the command line (note the file > is saved as check_openmanage with no file extension, I also tried > check_openmanage.pl and receive the same results), I receive a few > errors > > nagios at UbuntuTest:/usr/local/nagios/libexec$ ./check_openmanage 192.168.1.5 > ./check_openmanage: line 27: require: command not found > ./check_openmanage: line 28: use: command not found > ./check_openmanage: line 29: use: command not found > ./check_openmanage: line 30: syntax error near unexpected token `(' > ./check_openmanage: line 30: `use POSIX qw(isatty ceil);' Weird. Your system seem to be running the plugin through a shell. The output above is exactly what you'll get if you run sh ./check_openmanage To specify perl as interpreter, run: perl ./check_openmanage However, this should not be needed. The system should identify it as a perl script and use perl to execute it by default. Have you edited the plugin in some way? Check that the md5sum is correct: $ md5sum check_openmanage 5281718fe9e5c4b9570fe76f0fb424ec check_openmanage The above sum is correct for version 3.6.6. You should verify that you get the same (if running 3.6.6). The latest version and its md5sum are available here: http://folk.uio.no/trondham/software/check_openmanage.html#download PS. In your example above you have forgotten the '-H' switch. PPS. The file extension (or the name itself) is unimportant. Cheers, -- Trond H. Amundsen Center for Information Technology Services, University of Oslo ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wallis at aps.anl.gov Tue May 10 15:53:47 2011 From: wallis at aps.anl.gov (Dave Wallis) Date: Tue, 10 May 2011 08:53:47 -0500 Subject: Question about check_disk "-L" option In-Reply-To: References: <4DC81FA0.3020900@aps.anl.gov> Message-ID: <4DC9436B.5040500@aps.anl.gov> Yueh-Hung Liu wrote: > it's not an error, you specify to check /usr/local only and it's a > remote fs, so no local fs will be checked and the "-L" option just > test the access to nfs. > I should have included that the check_disk plugin using the "-L" option returns the value 3, which indicates unknown status. I would expect check_disk -L to return a 0 status if the remote file system is accessible. -- David Wallis Principal Computer Engineer Information Technology Group Advanced Photon Source Argonne National Laboratory ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yuehung.liu at gmail.com Tue May 10 16:31:00 2011 From: yuehung.liu at gmail.com (Yueh-Hung Liu) Date: Tue, 10 May 2011 22:31:00 +0800 Subject: Question about check_disk "-L" option In-Reply-To: <4DC9436B.5040500@aps.anl.gov> References: <4DC81FA0.3020900@aps.anl.gov> <4DC9436B.5040500@aps.anl.gov> Message-ID: i think check_disk, if has "-L", will expect that at least one local disk is available with any remote one. On Tue, May 10, 2011 at 9:53 PM, Dave Wallis wrote: > Yueh-Hung Liu wrote: >> it's not an error, you specify to check /usr/local only and it's a >> remote fs, so no local fs will be checked and the "-L" option just >> test the access to nfs. >> > > I should have included that the check_disk plugin using the "-L" option > returns the value 3, which indicates unknown status. I would expect > check_disk -L to return a 0 status if the remote file system is accessible. > > -- > David Wallis > > Principal Computer Engineer > Information Technology Group > Advanced Photon Source > Argonne National Laboratory > > > ------------------------------------------------------------------------------ > Achieve unprecedented app performance and reliability > What every C/C++ and Fortran developer should know. > Learn how Intel has extended the reach of its next-generation tools > to help boost performance applications - inlcuding clusters. > http://p.sf.net/sfu/intel-dev2devmay > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From khurramazizkhalid at yahoo.com Tue May 10 18:46:54 2011 From: khurramazizkhalid at yahoo.com (khurram aziz) Date: Tue, 10 May 2011 09:46:54 -0700 (PDT) Subject: enable SNMP trap handling in Nagios Message-ID: <970205.70291.qm@web45910.mail.sp1.yahoo.com> Hi, i am using Nagios 3.2.3 & want to enable SNMP Trap Handling so that I can check uptime of my servers ( snmp service has already been enabled on the servers). can sum1 help me with the configuration. Khurram Aziz Khalid -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mike-nagios at 5dninja.net Tue May 10 20:02:24 2011 From: mike-nagios at 5dninja.net (Mike Lindsey) Date: Tue, 10 May 2011 11:02:24 -0700 Subject: enable SNMP trap handling in Nagios In-Reply-To: <970205.70291.qm@web45910.mail.sp1.yahoo.com> References: <970205.70291.qm@web45910.mail.sp1.yahoo.com> Message-ID: <4DC97DB0.50508@5dninja.net> On 5/10/11 9:46 AM, khurram aziz wrote: > Hi, > > i am using Nagios 3.2.3 & want to enable SNMP Trap Handling so that I > can check uptime of my servers ( snmp service has already been enabled > on the servers). > > can sum1 help me with the configuration. Well, first off you don't need snmp traps to check uptime. $ /usr/local/nagios/libexec/check_snmp -H localhost -o .1.3.6.1.2.1.1.3.0 -C xxxxxx SNMP OK - Timeticks: (362041566) 41 days, 21:40:15.66 | $ If all you want to see is an uptime counter, add a service that does that. Replace localhost with $HOSTADDRESS$, and replace xxxxxx with your snmp community. Unfortunately, check_snmp doesn't seem to support having warning or critical thresholds, so unless snmpd is down, that will always return ok. You can use snmpget to get the raw timeticks: $ snmpget -Ovt -v2c -c xxxxx localhost .1.3.6.1.2.1.1.3.0 36207797 $ If you want a critical alert every time a box has rebooted, write a shell script that calls that snmpget command, passing in the host address and snmp community via the command line. Of course, that will throw an Unknown while the box is actually down (snmp can't tell if the host is down, or if you've passed the wrong snmp community.) If what you really want is to know when your box is down, use check_ssh: $ /usr/local/nagios/libexec/check_ssh localhost SSH OK - OpenSSH_5.1p1 FreeBSD-20080901 (protocol 2.0) $ That will throw a critical any time it can't connect, or if it can connect but the ssh version string isn't found. If you still want to use snmp traps, here's a link to some lovely documentation: http://snmptt.sourceforge.net/docs/snmptt.shtml There's even a section on integrating with Nagios, though I suggest you get some coffee and a snack and read the whole page. -- Mike Lindsey -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dit.dash at gmail.com Tue May 10 21:20:29 2011 From: dit.dash at gmail.com (dave stern - e-mail.pluribus.unum) Date: Tue, 10 May 2011 15:20:29 -0400 Subject: acknowledge triggers a script Message-ID: We have an interesting need. When a particular service goes red on our Nagios 3.2.1 server, we'd like to be able to click on "Acknowledge this service problem" and have that activate a local script. Anyone have any idea how this can be accomplished? TIA ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ryan at acceleration.net Tue May 10 21:58:23 2011 From: ryan at acceleration.net (Ryan Davis) Date: Tue, 10 May 2011 15:58:23 -0400 Subject: [Spam] acknowledge triggers a script In-Reply-To: References: Message-ID: <4DC998DF.1050709@acceleration.net> You might be able to do this with an event handler: http://nagios.sourceforge.net/docs/3_0/eventhandlers.html But I'm not sure if the handler will be run when someone acknowledges. I can think of one round-about way to do it: * make a wrapper program for your fix-it script that checks to see if NOTIFICATIONTYPE is "ACKNOWLEDGEMENT", and if so, calls the fix-it script. Any other notification type is ignored. * make a nagios command to call your wrapper program * make a nagios contact for your fix-it script, tell it to use the above nagios command as the service notification command * make a nagios service escalation to notify your fix-it contact all the time When the service is acknowledged, nagios will notify your dummy fix-it contact, who will call your fix-it script. I *think* that would work. HTH, Ryan Davis Acceleration.net Director of Programming Services 2831 NW 41st street, suite B Gainesville, FL 32606 Office: 352-335-6500 x 124 Fax: 352-335-6506 On 5/10/2011 3:20 PM, dave stern - e-mail.pluribus.unum wrote: > We have an interesting need. When a particular service goes red on our > Nagios 3.2.1 server, we'd like to be able to click on "Acknowledge this > service problem" and have that activate a local script. Anyone have any > idea how this can be accomplished? > > TIA > > ------------------------------------------------------------------------------ > Achieve unprecedented app performance and reliability > What every C/C++ and Fortran developer should know. > Learn how Intel has extended the reach of its next-generation tools > to help boost performance applications - inlcuding clusters. > http://p.sf.net/sfu/intel-dev2devmay > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mike-nagios at 5dninja.net Tue May 10 22:11:24 2011 From: mike-nagios at 5dninja.net (Mike Lindsey) Date: Tue, 10 May 2011 13:11:24 -0700 Subject: acknowledge triggers a script In-Reply-To: References: Message-ID: <4DC99BEC.8040001@5dninja.net> On 5/10/11 12:20 PM, dave stern - e-mail.pluribus.unum wrote: > We have an interesting need. When a particular service goes red on our > Nagios 3.2.1 server, we'd like to be able to click on "Acknowledge this > service problem" and have that activate a local script. Anyone have any > idea how this can be accomplished? Add a secondary CGI (bash script, perl, python, etc) and link to that using the ACTION_URL config variable for your hosts/service. Then you can have a link there that submits the ack command as well as executes your secondary command. If you don't want that intermediary step you're going to need to update the cgi source. -- Mike Lindsey ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dey.ranjib at gmail.com Tue May 10 22:31:45 2011 From: dey.ranjib at gmail.com (ranjib dey) Date: Wed, 11 May 2011 02:01:45 +0530 Subject: [Spam] acknowledge triggers a script In-Reply-To: <4DC998DF.1050709@acceleration.net> References: <4DC998DF.1050709@acceleration.net> Message-ID: Im not sure you can invoke a script just by acknowledging it. As the acknowledgement doesnt change the service state. But you can definitely submit a passive check when the service went down , thus triggering a soft to up or hard to up state change. This will be a cleaner solution. You can just use the notification route too but in that case you have to hack a bit (like polling the email/im [whatever you use to notify] and then trigger an even handler). We have implemented the second one, where a ruby script polls the email inbox (via cron) and checks of notification and if it finds certain notification type (like service downtime acknowledgement ) , triggers certain handlers. regards ranjib On Wed, May 11, 2011 at 1:28 AM, Ryan Davis wrote: > You might be able to do this with an event handler: > http://nagios.sourceforge.net/docs/3_0/eventhandlers.html > > But I'm not sure if the handler will be run when someone acknowledges. > > I can think of one round-about way to do it: > > - make a wrapper program for your fix-it script that checks to see if > NOTIFICATIONTYPE is "ACKNOWLEDGEMENT", and if so, calls the fix-it script. > Any other notification type is ignored. > - make a nagios command to call your wrapper program > - make a nagios contact for your fix-it script, tell it to use the > above nagios command as the service notification command > - make a nagios service escalation to notify your fix-it contact all > the time > > When the service is acknowledged, nagios will notify your dummy fix-it > contact, who will call your fix-it script. > > I *think* that would work. > > HTH, > > Ryan Davis > Acceleration.net > Director of Programming Services > 2831 NW 41st street, suite B > Gainesville, FL 32606 > > Office: 352-335-6500 x 124 > Fax: 352-335-6506 > > > On 5/10/2011 3:20 PM, dave stern - e-mail.pluribus.unum wrote: > > We have an interesting need. When a particular service goes red on our > Nagios 3.2.1 server, we'd like to be able to click on "Acknowledge this > service problem" and have that activate a local script. Anyone have any > idea how this can be accomplished? > > TIA > > ------------------------------------------------------------------------------ > Achieve unprecedented app performance and reliability > What every C/C++ and Fortran developer should know. > Learn how Intel has extended the reach of its next-generation tools > to help boost performance applications - inlcuding clusters. > http://p.sf.net/sfu/intel-dev2devmay > _______________________________________________ > Nagios-users mailing listNagios-users at lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > ------------------------------------------------------------------------------ > Achieve unprecedented app performance and reliability > What every C/C++ and Fortran developer should know. > Learn how Intel has extended the reach of its next-generation tools > to help boost performance applications - inlcuding clusters. > http://p.sf.net/sfu/intel-dev2devmay > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bparish at cognex.com Wed May 11 02:26:08 2011 From: bparish at cognex.com (Parish, Brent) Date: Tue, 10 May 2011 20:26:08 -0400 Subject: enable SNMP trap handling in Nagios In-Reply-To: <970205.70291.qm@web45910.mail.sp1.yahoo.com> References: <970205.70291.qm@web45910.mail.sp1.yahoo.com> Message-ID: <6265B2EB12D194469B958F2E703D81830BC8AA009D@viper.pc.cognex.com> If you do need to "alert" on uptime, I wrote a pretty simple Perl script you could use. It's nothing fancy, but then that has the added benefit of being easy to modify! :) We set ours to alert on a couple hundred days of uptime for our Solaris boxes, but you can set warning and critical thresholds to suit your needs. https://sites.google.com/site/parishnetworks/home/technology/nagios From: khurram aziz [mailto:khurramazizkhalid at yahoo.com] Sent: Tuesday, May 10, 2011 12:47 PM To: nagios mailinglist Subject: [Nagios-users] enable SNMP trap handling in Nagios Hi, i am using Nagios 3.2.3 & want to enable SNMP Trap Handling so that I can check uptime of my servers ( snmp service has already been enabled on the servers). can sum1 help me with the configuration. Khurram Aziz Khalid -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jon at netdork.net Wed May 11 05:44:53 2011 From: jon at netdork.net (Jonathan Angliss) Date: Tue, 10 May 2011 22:44:53 -0500 Subject: acknowledge triggers a script In-Reply-To: References: Message-ID: <4DCA0635.6060403@netdork.net> On 05/10/11 14:20, dave stern - e-mail.pluribus.unum wrote: > We have an interesting need. When a particular service goes red on our > Nagios 3.2.1 server, we'd like to be able to click on "Acknowledge this > service problem" and have that activate a local script. Anyone have any > idea how this can be accomplished? I'd do something similar to what Ryan Davis suggested. He was right on the money with looking at the NOTIFICATIONTYPE macro. Create a custom script that accepts whatever arguments you need to handle whatever it is you want to do. Check the macros list [1] and see what you have available at notification time. I'm just going to pass in the ack author, type, host, and service (if it's a service notification). This is mostly pseudo-bash, but gives you an idea... ===8<--------- #!/bin/sh HOST=$1 AUTHOR=$2 TYPE=$3 SVC=$4 case $TYPE in ACK*) echo "$HOST;$AUTHOR;$SVC" > /tmp/ack_log.txt ;; esac # If we want to handle other conditions in the same script, add to # the case statement ====8<-------- Then we need to define commands: define command { command_name host_notify_ack_handle command_line $USER1$/notify_ack_handle $HOSTNAME$ \ $HOSTACKAUTHOR$ $NOTIFICATIONTYPE$ } define command { command_name svc_notify_ack_handle command_line $USER1$/notify_ack_handle $HOSTNAME$ \ $SERVICEACKAUTHOR$ $NOTIFICATIONTYPE$ \ $SERVICEDESC$ } I wrapped the lines with \ for readability, should all be on one line. And finally, a contact that you add to the host/service that you want your custom notification handler to work on... define contact { use generic-contact service_notification_command svc_notify_ack_handle host_notification_command host_notify_ack_handle host_notification_period 24x7 host_notification_options d,u,r,f service_notification_period 24x7 service_notification_options w,u,c,r,f } This does execute on every notification type, but because of the case statement in the script, only does anything useful when the notification type is ACKNOWLEDGEMENT. [1]: http://nagios.sourceforge.net/docs/3_0/macrolist.html Hope that gives you some ideas to play with. I'd love to see what you come up with if you can post a follow up. -- Jonathan angliss ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagiosusers at edcint.co.nz Wed May 11 09:35:38 2011 From: nagiosusers at edcint.co.nz (Matthew Jurgens) Date: Wed, 11 May 2011 17:35:38 +1000 Subject: enable SNMP trap handling in Nagios In-Reply-To: <970205.70291.qm@web45910.mail.sp1.yahoo.com> References: <970205.70291.qm@web45910.mail.sp1.yahoo.com> Message-ID: <4DCA3C4A.2010805@edcint.co.nz> On 11/05/2011 2:46 AM, khurram aziz wrote: > Hi, > > i am using Nagios 3.2.3 & want to enable SNMP Trap Handling so that I > can check uptime of my servers ( snmp service has already been enabled > on the servers). > > can sum1 help me with the configuration. > If it is for Windows servers you can use the check_wmi_plus plugin from Nagios Exchange to check against uptime http://exchange.nagios.org/directory/Plugins/Operating-Systems/Windows/WMI/Check-WMI-Plus/details -- Smartmon System Monitoring www.smartmon.com.au -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marco.tirado at gmail.com Wed May 11 09:49:38 2011 From: marco.tirado at gmail.com (Marco Tirado) Date: Wed, 11 May 2011 09:49:38 +0200 Subject: enable SNMP trap handling in Nagios In-Reply-To: <4DCA3C4A.2010805@edcint.co.nz> References: <970205.70291.qm@web45910.mail.sp1.yahoo.com> <4DCA3C4A.2010805@edcint.co.nz> Message-ID: Hello: Going back to the original question of the thread, if you want to enable trap handling in Nagios you should look at nagtap and snmptt. http://www.nagtrap.org/doku.php/en:start http://snmptt.sourceforge.net/ BR Marco Tirado On Wed, May 11, 2011 at 9:35 AM, Matthew Jurgens wrote: > On 11/05/2011 2:46 AM, khurram aziz wrote: > > Hi, > > i am using Nagios 3.2.3 & want to enable SNMP Trap Handling so that I can > check uptime of my servers ( snmp service has already been enabled on the > servers). > > can sum1 help me with the configuration. > > > > If it is for Windows servers you can use the check_wmi_plus plugin from > Nagios Exchange to check against uptime > > http://exchange.nagios.org/directory/Plugins/Operating-Systems/Windows/WMI/Check-WMI-Plus/details > > -- > Smartmon System Monitoring > www.smartmon.com.au > > > ------------------------------------------------------------------------------ > Achieve unprecedented app performance and reliability > What every C/C++ and Fortran developer should know. > Learn how Intel has extended the reach of its next-generation tools > to help boost performance applications - inlcuding clusters. > http://p.sf.net/sfu/intel-dev2devmay > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tristand at micro-p.com Wed May 11 11:04:06 2011 From: tristand at micro-p.com (Tristan Drinkwater) Date: Wed, 11 May 2011 09:04:06 +0000 Subject: ndoutils 1.4b9 - Mysql Library not found Message-ID: <764BD5D0154F554C940E12CD96EE9D8209848E@ma-ex-01.micro-p.com> Hi guys, I'm looking to start filling a database for every alert that Nagios makes. I've come across the ndoutils but when I try to ./configure the install it keeps telling me that it can't find the mysql library's. I have tried the --with-mysql=/usr/lib/mysql and I've checked that the library does indeed exist there. Any ideas on how to get this installed? Or is there a better way of outputting nagios's email alerts into mysql? Thanks in advance Tristan ________________________________ Micro Peripherals Limited. Registered Office: Shorten Brook Way, Altham Business Park, Altham, Accrington, Lancs. BB5 5YJ. Tel: (01282) 776776 Fax: (01282) 858790 Micro Peripherals Limited. Registered in England No. 1511931. VAT No. GB 864 4387 91 DISCLAIMER: This e-mail and attachments are confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions presented are solely those of the author and do not necessarily represent those of Micro Peripherals Limited. If you are not the intended recipient, be advised that you have received this Email in error and that any use, dissemination, forwarding, printing, or copying of this Email is strictly prohibited. If this transmission is received in error please notify the sender immediately and delete this message from your E-mail system. All electronic transmissions to and from Micro Peripherals Ltd are recorded and may be monitored. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From trm.nagios at gmail.com Wed May 11 13:22:30 2011 From: trm.nagios at gmail.com (trm asn) Date: Wed, 11 May 2011 16:52:30 +0530 Subject: Nagios + Jasper Message-ID: Hi List, Has anyone configured Nagios with Jasper Report or anyone having any better solutions with existing nagios(3.2). /\ dE -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dey.ranjib at gmail.com Wed May 11 13:38:43 2011 From: dey.ranjib at gmail.com (ranjib dey) Date: Wed, 11 May 2011 17:08:43 +0530 Subject: ndoutils 1.4b9 - Mysql Library not found In-Reply-To: <764BD5D0154F554C940E12CD96EE9D8209848E@ma-ex-01.micro-p.com> References: <764BD5D0154F554C940E12CD96EE9D8209848E@ma-ex-01.micro-p.com> Message-ID: which OS you are running on? Do you have the mysql headers installed (mysql-devel.rpm or something similar)? regards ranjib On Wed, May 11, 2011 at 2:34 PM, Tristan Drinkwater wrote: > Hi guys, > > > > I?m looking to start filling a database for every alert that Nagios makes. > > > > I?ve come across the ndoutils but when I try to ./configure the install it > keeps telling me that it can?t find the mysql library?s. > > > > I have tried the ?-with-mysql=/usr/lib/mysql and I?ve checked that the > library does indeed exist there. > > > > Any ideas on how to get this installed? > > > > Or is there a better way of outputting nagios?s email alerts into mysql? > > > > Thanks in advance > > > > Tristan > > > > ------------------------------ > > Micro Peripherals Limited. > Registered Office: Shorten Brook Way, Altham Business Park, Altham, > Accrington, Lancs. BB5 5YJ. Tel: (01282) 776776 Fax: (01282) 858790 > Micro Peripherals Limited. Registered in England No. 1511931. VAT No. GB > 864 4387 91 > > DISCLAIMER: > This e-mail and attachments are confidential and are intended solely for > the use of the individual to > whom it is addressed. Any views or opinions presented are solely those of > the author and do not > necessarily represent those of Micro Peripherals Limited. > If you are not the intended recipient, be advised that you have received > this Email in error and that > any use, dissemination, forwarding, printing, or copying of this Email is > strictly prohibited. If this > transmission is received in error please notify the sender immediately and > delete this message from > your E-mail system. > All electronic transmissions to and from Micro Peripherals Ltd are recorded > and may be monitored. > > > ------------------------------------------------------------------------------ > Achieve unprecedented app performance and reliability > What every C/C++ and Fortran developer should know. > Learn how Intel has extended the reach of its next-generation tools > to help boost performance applications - inlcuding clusters. > http://p.sf.net/sfu/intel-dev2devmay > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tristand at micro-p.com Wed May 11 13:44:47 2011 From: tristand at micro-p.com (Tristan Drinkwater) Date: Wed, 11 May 2011 11:44:47 +0000 Subject: ndoutils 1.4b9 - Mysql Library not found In-Reply-To: References: <764BD5D0154F554C940E12CD96EE9D8209848E@ma-ex-01.micro-p.com> Message-ID: <764BD5D0154F554C940E12CD96EE9D8209859F@ma-ex-01.micro-p.com> Hi, I'm running fedora 14 with the latest mysql-devel packages installed. Thanks tristan From: ranjib dey [mailto:dey.ranjib at gmail.com] Sent: 11 May 2011 12:39 To: Nagios Users List Subject: Re: [Nagios-users] ndoutils 1.4b9 - Mysql Library not found which OS you are running on? Do you have the mysql headers installed (mysql-devel.rpm or something similar)? regards ranjib On Wed, May 11, 2011 at 2:34 PM, Tristan Drinkwater > wrote: Hi guys, I'm looking to start filling a database for every alert that Nagios makes. I've come across the ndoutils but when I try to ./configure the install it keeps telling me that it can't find the mysql library's. I have tried the --with-mysql=/usr/lib/mysql and I've checked that the library does indeed exist there. Any ideas on how to get this installed? Or is there a better way of outputting nagios's email alerts into mysql? Thanks in advance Tristan ________________________________ Micro Peripherals Limited. Registered Office: Shorten Brook Way, Altham Business Park, Altham, Accrington, Lancs. BB5 5YJ. Tel: (01282) 776776 Fax: (01282) 858790 Micro Peripherals Limited. Registered in England No. 1511931. VAT No. GB 864 4387 91 DISCLAIMER: This e-mail and attachments are confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions presented are solely those of the author and do not necessarily represent those of Micro Peripherals Limited. If you are not the intended recipient, be advised that you have received this Email in error and that any use, dissemination, forwarding, printing, or copying of this Email is strictly prohibited. If this transmission is received in error please notify the sender immediately and delete this message from your E-mail system. All electronic transmissions to and from Micro Peripherals Ltd are recorded and may be monitored. ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tristand at micro-p.com Wed May 11 14:05:39 2011 From: tristand at micro-p.com (Tristan Drinkwater) Date: Wed, 11 May 2011 12:05:39 +0000 Subject: ndoutils 1.4b9 - Mysql Library not found In-Reply-To: <764BD5D0154F554C940E12CD96EE9D8209859F@ma-ex-01.micro-p.com> References: <764BD5D0154F554C940E12CD96EE9D8209848E@ma-ex-01.micro-p.com> <764BD5D0154F554C940E12CD96EE9D8209859F@ma-ex-01.micro-p.com> Message-ID: <764BD5D0154F554C940E12CD96EE9D820985DF@ma-ex-01.micro-p.com> Arh, all ok now. I was still using the command switch after installing the devel package. A straight up ./configure show the lib as found. All's good. ) From: Tristan Drinkwater [mailto:tristand at micro-p.com] Sent: 11 May 2011 12:45 To: Nagios Users List Subject: Re: [Nagios-users] ndoutils 1.4b9 - Mysql Library not found Hi, I'm running fedora 14 with the latest mysql-devel packages installed. Thanks tristan From: ranjib dey [mailto:dey.ranjib at gmail.com] Sent: 11 May 2011 12:39 To: Nagios Users List Subject: Re: [Nagios-users] ndoutils 1.4b9 - Mysql Library not found which OS you are running on? Do you have the mysql headers installed (mysql-devel.rpm or something similar)? regards ranjib On Wed, May 11, 2011 at 2:34 PM, Tristan Drinkwater > wrote: Hi guys, I'm looking to start filling a database for every alert that Nagios makes. I've come across the ndoutils but when I try to ./configure the install it keeps telling me that it can't find the mysql library's. I have tried the --with-mysql=/usr/lib/mysql and I've checked that the library does indeed exist there. Any ideas on how to get this installed? Or is there a better way of outputting nagios's email alerts into mysql? Thanks in advance Tristan ________________________________ Micro Peripherals Limited. Registered Office: Shorten Brook Way, Altham Business Park, Altham, Accrington, Lancs. BB5 5YJ. Tel: (01282) 776776 Fax: (01282) 858790 Micro Peripherals Limited. Registered in England No. 1511931. VAT No. GB 864 4387 91 DISCLAIMER: This e-mail and attachments are confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions presented are solely those of the author and do not necessarily represent those of Micro Peripherals Limited. If you are not the intended recipient, be advised that you have received this Email in error and that any use, dissemination, forwarding, printing, or copying of this Email is strictly prohibited. If this transmission is received in error please notify the sender immediately and delete this message from your E-mail system. All electronic transmissions to and from Micro Peripherals Ltd are recorded and may be monitored. ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From prandal at herefordshire.gov.uk Wed May 11 14:11:13 2011 From: prandal at herefordshire.gov.uk (Randal, Phil) Date: Wed, 11 May 2011 12:11:13 +0000 Subject: enable SNMP trap handling in Nagios In-Reply-To: References: <970205.70291.qm@web45910.mail.sp1.yahoo.com> <4DCA3C4A.2010805@edcint.co.nz> Message-ID: <7CA580B59C1ABD45B4614ED90D4C7B853ACB0101@HC-EXMBX02.herefordshire.gov.uk> I'll second that. The documentation's a bit sparse for nagtrap, and overwhelming at times for snmptt, but you'll eventually get there. Installed both last night without too much hassle. Cheers, Phil -- Phil Randal | Infrastructure Engineer NHS Herefordshire & Herefordshire Council | Deputy Chief Executive's Office | I.C.T. Services Division Thorn Office Centre, Rotherwas, Hereford, HR2 6JT Tel: 01432 260160 From: Marco Tirado [mailto:marco.tirado at gmail.com] Sent: 11 May 2011 08:50 To: nagiosusers at edcint.co.nz; Nagios Users List Subject: Re: [Nagios-users] enable SNMP trap handling in Nagios Hello: Going back to the original question of the thread, if you want to enable trap handling in Nagios you should look at nagtap and snmptt. http://www.nagtrap.org/doku.php/en:start http://snmptt.sourceforge.net/ BR Marco Tirado On Wed, May 11, 2011 at 9:35 AM, Matthew Jurgens > wrote: On 11/05/2011 2:46 AM, khurram aziz wrote: Hi, i am using Nagios 3.2.3 & want to enable SNMP Trap Handling so that I can check uptime of my servers ( snmp service has already been enabled on the servers). can sum1 help me with the configuration. If it is for Windows servers you can use the check_wmi_plus plugin from Nagios Exchange to check against uptime http://exchange.nagios.org/directory/Plugins/Operating-Systems/Windows/WMI/Check-WMI-Plus/details -- Smartmon System Monitoring www.smartmon.com.au ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null Any opinion expressed in this e-mail or any attached files are those of the individual and not necessarily those of Herefordshire Council. You should be aware that Herefordshire Council monitors its email service. This e-mail and any attached files are confidential and intended solely for the use of the addressee. This communication may contain material protected by law from being passed on. If you are not the intended recipient and have received this e-mail in error, you are advised that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. If you have received this e-mail in error please contact the sender immediately and destroy all copies of it. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed May 11 14:12:38 2011 From: m.borsani at it.net (Marco Borsani) Date: Wed, 11 May 2011 14:12:38 +0200 Subject: smstools3 with nagios Message-ID: <00bf01cc0fd4$bb27c190$317744b0$@it.net> Hi all As many people to send sms with Nagios I usually use smstools2 , all is working fine. Now I am testing smstools3, I can send sms using command line (as root and Nagios user too), but Nagios program did not send any sms . Are there differences in the configuration between smstools2 an smstools3 ? regards Marco Borsani Unix and Monitoring Sysadmin Technical Operations Dpt. tel: +39 010 4310115 fax: +39 02 30130311 cell: +39 329 5953944 ITnet Srl Societ? con socio unico Direzione e Coordinamento di -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From atann at alphasrv.net Wed May 11 15:36:50 2011 From: atann at alphasrv.net (Andre Tann) Date: Wed, 11 May 2011 15:36:50 +0200 Subject: Problem with Konica and Canon printer In-Reply-To: <4DC1D5FE.4000308@adamsweet.org> References: <201105041435.13278@inter.netz> <201105042259.36428@inter.netz> <4DC1D5FE.4000308@adamsweet.org> Message-ID: <201105111536.50937@inter.netz> Hello Adam, Adam Sweet, Donnerstag 05 Mai 2011: > Take a look at Transitiv's check_snmp_printer.pl check: > > http://www.transitiv.co.uk/resources-page/nagios-plugins Thanks for you hint. I have installed this plugin now, but it seems not to be too chatty: # ./check_snmp_printer.pl -H kyocera.company.com check_snmp_printer OK - Status: idle Well, it's true that the printer is OK and idle. But how can one check details about toner and paper status? Do I overlook some option? Thanks again, Andre -- Andre Tann ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chris at mkadvantage.com Wed May 11 16:48:17 2011 From: chris at mkadvantage.com (Chris Schaft) Date: Wed, 11 May 2011 10:48:17 -0400 Subject: enable SNMP trap handling in Nagios In-Reply-To: <7CA580B59C1ABD45B4614ED90D4C7B853ACB0101@HC-EXMBX02.herefordshire.gov.uk> References: <970205.70291.qm@web45910.mail.sp1.yahoo.com> <4DCA3C4A.2010805@edcint.co.nz> <7CA580B59C1ABD45B4614ED90D4C7B853ACB0101@HC-EXMBX02.herefordshire.gov.uk> Message-ID: <00af01cc0fea$76de8440$649b8cc0$@mkadvantage.com> We have posted the instructions for Nagios trap integration on our site. We also have several dozen snmptt config files for traps as well as the MIBs (Cisco for now, other vendors if folks ask for them). These are free for anyone who wants them. You can get them by going to www.mkadvantage.com. Once you get there, select "Tools" then "MKA PE/Groundwork/Nagios" then the Trap configs. The MIBs page is there as well. If everyone finds these beneficial, please let me know and we will continue to populate these pages with more configs as time goes by. If anyone still has trouble with trap integration, please reach out to us on our contact us link. Thanks, Chris Schaft MKAdvantage chris at mkadvantage.com From: Randal, Phil [mailto:prandal at herefordshire.gov.uk] Sent: Wednesday, May 11, 2011 8:11 AM To: Nagios Users List Subject: Re: [Nagios-users] enable SNMP trap handling in Nagios I'll second that. The documentation's a bit sparse for nagtrap, and overwhelming at times for snmptt, but you'll eventually get there. Installed both last night without too much hassle. Cheers, Phil -- Phil Randal | Infrastructure Engineer NHS Herefordshire & Herefordshire Council | Deputy Chief Executive's Office | I.C.T. Services Division Thorn Office Centre, Rotherwas, Hereford, HR2 6JT Tel: 01432 260160 From: Marco Tirado [mailto:marco.tirado at gmail.com] Sent: 11 May 2011 08:50 To: nagiosusers at edcint.co.nz; Nagios Users List Subject: Re: [Nagios-users] enable SNMP trap handling in Nagios Hello: Going back to the original question of the thread, if you want to enable trap handling in Nagios you should look at nagtap and snmptt. http://www.nagtrap.org/doku.php/en:start http://snmptt.sourceforge.net/ BR Marco Tirado On Wed, May 11, 2011 at 9:35 AM, Matthew Jurgens wrote: On 11/05/2011 2:46 AM, khurram aziz wrote: Hi, i am using Nagios 3.2.3 & want to enable SNMP Trap Handling so that I can check uptime of my servers ( snmp service has already been enabled on the servers). can sum1 help me with the configuration. If it is for Windows servers you can use the check_wmi_plus plugin from Nagios Exchange to check against uptime http://exchange.nagios.org/directory/Plugins/Operating-Systems/Windows/WMI/C heck-WMI-Plus/details -- Smartmon System Monitoring www.smartmon.com.au ---------------------------------------------------------------------------- -- Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null Any opinion expressed in this e-mail or any attached files are those of the individual and not necessarily those of Herefordshire Council. You should be aware that Herefordshire Council monitors its email service. This e-mail and any attached files are confidential and intended solely for the use of the addressee. This communication may contain material protected by law from being passed on. If you are not the intended recipient and have received this e-mail in error, you are advised that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. If you have received this e-mail in error please contact the sender immediately and destroy all copies of it. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Wed May 11 18:01:15 2011 From: jim at jimavery.me.uk (Jim Avery) Date: Wed, 11 May 2011 17:01:15 +0100 Subject: Nagios + Jasper In-Reply-To: References: Message-ID: On 11 May 2011 12:22, trm asn wrote: > Hi List, > > Has anyone configured Nagios with Jasper Report or anyone having any better > solutions with existing nagios(3.2). I haven't tried it myself at all, but (in no particular order and according to their web sites listed below) ... it looks like Netways have: http://www.netways.de/en/de/produkte/jasper/integration/ and it's used in Opsera's reports module: http://www.opsview.com/sites/default/files/Opsview%20Reports%20Module_0.pdf and OpsView uses it too: http://opsview.com/products/opsview-enterprise/reporting-dashboards hth, Jim ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ennis at nmcourts.gov Wed May 11 18:10:15 2011 From: ennis at nmcourts.gov (Ennis Ibarra) Date: Wed, 11 May 2011 10:10:15 -0600 (MDT) Subject: smstools3 with nagios In-Reply-To: <00bf01cc0fd4$bb27c190$317744b0$@it.net> References: <00bf01cc0fd4$bb27c190$317744b0$@it.net> Message-ID: <374626750.268515.1305130214965.JavaMail.root@mail.nmcourts.gov> Check your commands file, see if there you can find a difference, what's the directory smstools2/3 is pointing to, what is the command? _____________________________________________ Supreme Court of New Mexico Ennis Ibarra ----- Original Message ----- From: "Marco Borsani" To: "NAGIOS" Sent: Wednesday, May 11, 2011 6:12:38 AM Subject: [Nagios-users] smstools3 with nagios Hi all As many people to send sms with Nagios I usually use smstools2 , all is working fine. Now I am testing smstools3, I can send sms using command line (as root and Nagios user too), but Nagios program did not send any sms ?. Are there differences in the configuration between smstools2 an smstools3 ? regards Marco Borsani Unix and Monitoring Sysadmin Technical Operations Dpt. tel: +39 010 4310115 fax: +39 02 30130311 cell: +39 329 5953944 ITnet Srl Societ? con socio unico Direzione e Coordinamento di ? ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 12 08:49:10 2011 From: m.borsani at it.net (Marco Borsani) Date: Thu, 12 May 2011 08:49:10 +0200 Subject: R: smstools3 with nagios In-Reply-To: <374626750.268515.1305130214965.JavaMail.root@mail.nmcourts.gov> References: <00bf01cc0fd4$bb27c190$317744b0$@it.net> <374626750.268515.1305130214965.JavaMail.root@mail.nmcourts.gov> Message-ID: <004801cc1070$b5f3ff30$21dbfd90$@it.net> Command file is the same. Running that command like root or Nagios user manually it is ok In the Nagios file (does not send sms): command_line /usr/local/bin/sendsms 0039$CONTACTPAGER$ "Host:$HOSTALIAS$ is $HOSTSTATE$ Type:$NOTIFICATIONTYPE$. $OUTPUT$ Date:$SHORTDATETIME$" In command line (running OK): #> /usr/local/bin/sendsms 0039$CONTACTPAGER$ "Host:$HOSTALIAS$ is $HOSTSTATE$ Type:$NOTIFICATIONTYPE$. $OUTPUT$ Date:$SHORTDATETIME$" Marco Da: Ennis Ibarra [mailto:ennis at nmcourts.gov] Inviato: mercoled? 11 maggio 2011 18:10 A: Nagios Users List Oggetto: Re: [Nagios-users] smstools3 with nagios Check your commands file, see if there you can find a difference, what's the directory smstools2/3 is pointing to, what is the command? _____________________________________________ Supreme Court of New Mexico Ennis Ibarra ----- Original Message ----- From: "Marco Borsani" To: "NAGIOS" Sent: Wednesday, May 11, 2011 6:12:38 AM Subject: [Nagios-users] smstools3 with nagios Hi all As many people to send sms with Nagios I usually use smstools2 , all is working fine. Now I am testing smstools3, I can send sms using command line (as root and Nagios user too), but Nagios program did not send any sms ?. Are there differences in the configuration between smstools2 an smstools3 ? regards Marco Borsani Unix and Monitoring Sysadmin Technical Operations Dpt. tel: +39 010 4310115 fax: +39 02 30130311 cell: +39 329 5953944 ITnet Srl Societ? con socio unico Direzione e Coordinamento di ? ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From michael.friedrich at univie.ac.at Thu May 12 09:19:53 2011 From: michael.friedrich at univie.ac.at (Michael Friedrich) Date: Thu, 12 May 2011 09:19:53 +0200 Subject: nagios patches 3 old, 1 new (fix flexible downtime on service hard state change doesn't get triggered/activated) In-Reply-To: <29B0783C-8CD3-4BD8-8295-7E59D0D6DF6A@gmail.com> References: <4DBBFC5E.8020001@univie.ac.at> <29B0783C-8CD3-4BD8-8295-7E59D0D6DF6A@gmail.com> Message-ID: <4DCB8A19.6030106@univie.ac.at> Hi Ton, Ton Voon wrote: >> 0001-fix-race-condition-on-flexible-downtime-commands-whe.patch > I'm going to push this one back to you to create a suitable test case. Use t-tap/test_commands.c and check return code is ERROR. > > I'd vary the inputs too to include 0 or blank or nothing Ok. Will do when I get more time for writing more tests. Putting nagios-users on CC in order to allow users experiencing the same problems to test this patch. >> [PATCH] move thread safe macro function prototypes with suffix _r and restore old compatible prototypes again >> >> => verified against latest t-tap tests, updated .gitignore >> 0003-move-thread-safe-macro-function-prototypes-with-suff.patch > I don't know enough around this area, but I know Andreas is keen on re-entrant functions, so I'll defer to him. Possibly, maybe it also needs some further adaptions. It's not business critical, just compatibility critical for addon developers. >> ===== >> >> NEW >> >> fix flexible downtime on service hard state change doesn't get triggered/activated >> >> recently, there was a change on flexible downtime triggering, >> allowing soft state changes to active a flexible downtime. >> >> this change removed the condition on hard_state_change check, >> so it only triggered those from soft state changes but not >> the well known older behavior. >> >> the tricky part is, that those 2 vars are not the same on each >> state change, so the replacement fix needs a sanitized "near-by" >> addin, which this patch introduces. >> >> this bug has been evaluated and debugged in deep, the fix >> now runs>2 months on productive systems, allowing us to >> trigger flexible downtimes on hard state changes too, next >> to the soft state changes being detected. >> >> please check https://dev.icinga.org/issues/1228 for a deeper >> analysis on this. >> >> >> 0004-fix-flexible-downtime-on-service-hard-state-change-d.patch > This one requires a test case too, due to its complexity. See t-tap/test_checks.c which has tests in the handle_async_check_results routine. Ok, thanks for the hint. In case there are any users in the Nagios world happen to have the same problem, I'd love to see some reports after having that patch applied against 3.2.3 or similarities. > >> please consider them for future releases as it will ease the porting-patches-from-icinga-core procedure. > To be honest, that's not my problem. You can make an argument that it is better for Nagios users, but an argument to make your life easier for future patches is not going to sway me. If you choose to fork, then you're accepting a certain cost of maintenance. Of course not your problem, not even Nagios devs ones, just Nagios users maybe. I was only taking the advantage to "give something back from Icinga". Take it or leave it. Just saying that if you're interested in further contributions, I'd expect some feedback (just like you did, so thanks for the reaction). If you're insisting on further automated test cases, it's fine, but will cause those patches to last longer on that list until resolving more important issues. Like I mentioned recently, there are some bugs affecting both, Icinga and Nagios I am currently working on. Talking of forks - I really appreciate the Centreon engine fork. Must have happened for a reason, remember the execvp patch on this list? I'm keen on seeing what they have been doing, and watching out for further ideas on their interesting ideas. the initial released code has various things already applied (http://www.centreon.com/Centreon/centreon-engine-download.html). Shinken is already proofing what's possible, let's welcome another competitor in the game :) Kind regards, Michael -- DI (FH) Michael Friedrich Vienna University Computer Center Universitaetsstrasse 7 A-1010 Vienna, Austria email: michael.friedrich at univie.ac.at phone: +43 1 4277 14359 mobile: +43 664 60277 14359 fax: +43 1 4277 14338 web: http://www.univie.ac.at/zid http://www.aco.net Icinga Core& IDOUtils Developer http://www.icinga.org ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay From ae at op5.se Thu May 12 13:13:00 2011 From: ae at op5.se (Andreas Ericsson) Date: Thu, 12 May 2011 13:13:00 +0200 Subject: [Nagios-users] nagios patches 3 old, 1 new (fix flexible downtime on service hard state change doesn't get triggered/activated) In-Reply-To: <4DCB8A19.6030106@univie.ac.at> References: <4DBBFC5E.8020001@univie.ac.at> <29B0783C-8CD3-4BD8-8295-7E59D0D6DF6A@gmail.com> <4DCB8A19.6030106@univie.ac.at> Message-ID: <4DCBC0BC.5000706@op5.se> On 05/12/2011 09:19 AM, Michael Friedrich wrote: > Hi Ton, > > Ton Voon wrote: >>> 0001-fix-race-condition-on-flexible-downtime-commands-whe.patch >> I'm going to push this one back to you to create a suitable test case. Use t-tap/test_commands.c and check return code is ERROR. >> >> I'd vary the inputs too to include 0 or blank or nothing > > Ok. Will do when I get more time for writing more tests. Putting > nagios-users on CC in order to allow users experiencing the same > problems to test this patch. > Good idea. Involving the community to help test things is something I've been wanting and trying to do for a long time. >>> [PATCH] move thread safe macro function prototypes with suffix _r and restore old compatible prototypes again >>> >>> => verified against latest t-tap tests, updated .gitignore >>> 0003-move-thread-safe-macro-function-prototypes-with-suff.patch >> I don't know enough around this area, but I know Andreas is keen on re-entrant functions, so I'll defer to him. > > Possibly, maybe it also needs some further adaptions. It's not business > critical, just compatibility critical for addon developers. > I'm fairly sure I applied that one, but perhaps I was lacking the proper amount of alcohol in my bloodstream and forgot to do the git -> cvs export step. The patch is good and will be applied though, since it would otherwise force us to bump the major version of Nagios for the next release. Thanks :) >>> ===== >>> >>> NEW >>> >>> fix flexible downtime on service hard state change doesn't get triggered/activated >>> >>> recently, there was a change on flexible downtime triggering, >>> allowing soft state changes to active a flexible downtime. >>> >>> this change removed the condition on hard_state_change check, >>> so it only triggered those from soft state changes but not >>> the well known older behavior. >>> >>> the tricky part is, that those 2 vars are not the same on each >>> state change, so the replacement fix needs a sanitized "near-by" >>> addin, which this patch introduces. >>> >>> this bug has been evaluated and debugged in deep, the fix >>> now runs>2 months on productive systems, allowing us to >>> trigger flexible downtimes on hard state changes too, next >>> to the soft state changes being detected. >>> >>> please check https://dev.icinga.org/issues/1228 for a deeper >>> analysis on this. >>> >>> >>> 0004-fix-flexible-downtime-on-service-hard-state-change-d.patch >> This one requires a test case too, due to its complexity. See t-tap/test_checks.c which has tests in the handle_async_check_results routine. > > Ok, thanks for the hint. In case there are any users in the Nagios world > happen to have the same problem, I'd love to see some reports after > having that patch applied against 3.2.3 or similarities. > Likewise. User-testing is very nearly as good as automated tests. At least for accepting the patch in the first place. Many thanks. >> >>> please consider them for future releases as it will ease the porting-patches-from-icinga-core procedure. >> To be honest, that's not my problem. You can make an argument that it is better for Nagios users, but an argument to make your life easier for future patches is not going to sway me. If you choose to fork, then you're accepting a certain cost of maintenance. > > Of course not your problem, not even Nagios devs ones, just Nagios users > maybe. > > I was only taking the advantage to "give something back from Icinga". > Take it or leave it. Just saying that if you're interested in further > contributions, I'd expect some feedback (just like you did, so thanks > for the reaction). > If you're insisting on further automated test cases, it's fine, but will > cause those patches to last longer on that list until resolving more > important issues. Like I mentioned recently, there are some bugs > affecting both, Icinga and Nagios I am currently working on. > Well, some patches are obviously correct and can be applied without adding tests for them. Where current behaviour changes, or new features are added in already complex areas is a different matter though, but getting the code queued somewhere might make it easier to accept from users testing them. > Talking of forks - I really appreciate the Centreon engine fork. Must > have happened for a reason, remember the execvp patch on this list? I'm > keen on seeing what they have been doing, and watching out for further > ideas on their interesting ideas. the initial released code has various > things already applied > (http://www.centreon.com/Centreon/centreon-engine-download.html). The sad part is that centreon forked three days after Nagios Enterprises cancelled the partnership contract with Merethis (the company behind centreon). To me, that smells a bit political. Thanks for the link though. I've been looking for it but was unable to find the download before you posted it. It should be interesting to see if they can solve the I/O load problems like someone here at the Bolzano conference mentioned they're working on. That's one of my goals too, but so far I haven't had time to sit down and think it through properly. If they have, we should be able to profit from their work quite easily. > Shinken is already proofing what's possible, let's welcome another > competitor in the game :) > Yes. And no. Shinken is incompatible with all of Nagios' current broker modules. Icinga have broken the ABI compatibility, but not to the same extent. Shinken has some very neat ideas (and some not so neat ones too). Like all good engineers, I'll happily borrow the good ones and let the bad ones go hang. -- 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. ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay From diego.roccia at gmail.com Thu May 12 14:02:20 2011 From: diego.roccia at gmail.com (Diego Roccia) Date: Thu, 12 May 2011 12:02:20 +0000 Subject: R: smstools3 with nagios In-Reply-To: <004801cc1070$b5f3ff30$21dbfd90$@it.net> References: <00bf01cc0fd4$bb27c190$317744b0$@it.net><374626750.268515.1305130214965.JavaMail.root@mail.nmcourts.gov><004801cc1070$b5f3ff30$21dbfd90$@it.net> Message-ID: <1229808935-1305201731-cardhu_decombobulator_blackberry.rim.net-1586259325-@b12.c7.bise7.blackberry> try from the nagios user Diego Roccia - from mobile -----Original Message----- From: "Marco Borsani" Date: Thu, 12 May 2011 08:49:10 To: 'Ennis Ibarra - NMCOURTS.GOV'; 'Nagios Users List' Reply-To: Nagios Users List Subject: [Nagios-users] R: smstools3 with nagios ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 12 14:14:56 2011 From: m.borsani at it.net (Marco Borsani) Date: Thu, 12 May 2011 14:14:56 +0200 Subject: R: R: smstools3 with nagios In-Reply-To: <1229808935-1305201731-cardhu_decombobulator_blackberry.rim.net-1586259325-@b12.c7.bise7.blackberry> References: <00bf01cc0fd4$bb27c190$317744b0$@it.net><374626750.268515.1305130214965.JavaMail.root@mail.nmcourts.gov><004801cc1070$b5f3ff30$21dbfd90$@it.net> <1229808935-1305201731-cardhu_decombobulator_blackberry.rim.net-1586259325-@b12.c7.bise7.blackberry> Message-ID: <009701cc109e$38316460$a8942d20$@it.net> I already done ... like I wrote in the first mail :-) -----Messaggio originale----- Da: Diego Roccia [mailto:diego.roccia at gmail.com] Inviato: gioved? 12 maggio 2011 14:02 A: Nagios Users List Oggetto: Re: [Nagios-users] R: smstools3 with nagios try from the nagios user Diego Roccia - from mobile -----Original Message----- From: "Marco Borsani" Date: Thu, 12 May 2011 08:49:10 To: 'Ennis Ibarra - NMCOURTS.GOV'; 'Nagios Users List' Reply-To: Nagios Users List Subject: [Nagios-users] R: smstools3 with nagios ---------------------------------------------------------------------------- -- Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay ---------------------------------------------------------------------------- -- Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From adam at adamsweet.org Thu May 12 14:20:14 2011 From: adam at adamsweet.org (Adam Sweet) Date: Thu, 12 May 2011 13:20:14 +0100 Subject: Problem with Konica and Canon printer In-Reply-To: <201105111536.50937@inter.netz> References: <201105041435.13278@inter.netz> <201105042259.36428@inter.netz> <4DC1D5FE.4000308@adamsweet.org> <201105111536.50937@inter.netz> Message-ID: <4DCBD07E.4060603@adamsweet.org> On 11/05/11 14:36, Andre Tann wrote: > Hello Adam, > > Adam Sweet, Donnerstag 05 Mai 2011: > >> Take a look at Transitiv's check_snmp_printer.pl check: >> >> http://www.transitiv.co.uk/resources-page/nagios-plugins > > Thanks for you hint. I have installed this plugin now, but it seems not > to be too chatty: > > # ./check_snmp_printer.pl -H kyocera.company.com > check_snmp_printer OK - Status: idle > > Well, it's true that the printer is OK and idle. But how can one check > details about toner and paper status? > > Do I overlook some option? If the printer doesn't report any issues with paper or toner, then the plugin won't tell you about it. The way it works is that there are device and printer status OIDs in the SNMP tree on the printers which says overall if everything is OK. If it's not OK, the plugins looks up the detected error state OID for the cause and then tells you what the problem is. The RFC the plugin is based upon defines the possible error states to be one of the following: Paper low No paper Toner low No toner Door open Jammed Offline Service needed If any of those are the case then the plugin will tell you, if there are no error states then it won't. I didn't see you say that you wanted to query for current toner and paper levels explicitly, if that's what you want then this plugin won't help you as it's not in the RFC and we didn't find that information in the SNMP tree on the printers we tested against. Regards, Adam Sweet -- http://blog.adamsweet.org/ ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From michael.friedrich at univie.ac.at Thu May 12 14:38:36 2011 From: michael.friedrich at univie.ac.at (Michael Friedrich) Date: Thu, 12 May 2011 14:38:36 +0200 Subject: [Nagios-devel] nagios patches 3 old, 1 new (fix flexible downtime on service hard state change doesn't get triggered/activated) In-Reply-To: <4DCBC0BC.5000706@op5.se> References: <4DBBFC5E.8020001@univie.ac.at> <29B0783C-8CD3-4BD8-8295-7E59D0D6DF6A@gmail.com> <4DCB8A19.6030106@univie.ac.at> <4DCBC0BC.5000706@op5.se> Message-ID: <4DCBD4CC.8040103@univie.ac.at> Hi, Andreas Ericsson wrote: > Good idea. Involving the community to help test things is something > I've been wanting and trying to do for a long time. the mailinglists are not optimal. try a dev blog, ask on fb/twitter, and maybe cleanup the bug tracker a bit. using new social media in a good way can make life easier. but i think i already mentioned that a while ago to tony on irc. > I'm fairly sure I applied that one, but perhaps I was lacking the > proper amount of alcohol in my bloodstream and forgot to do the > git -> cvs export step. The patch is good and will be applied though, > since it would otherwise force us to bump the major version of Nagios > for the next release. Thanks :) thought so, and the recent change to svn would have made the diff changed, idea - grab some beers (i'm sure you will on the nagios conference in italy) and do it together with ton and ethan, showing some git ;-)) > Well, some patches are obviously correct and can be applied without > adding tests for them. Where current behaviour changes, or new features > are added in already complex areas is a different matter though, but > getting the code queued somewhere might make it easier to accept from > users testing them. Point is, in that special change on previous release, no test was provided either. So by just reverting the diff, it could have resolved the issue either way. But I also understand Ton's demanding though I don't have time writing those tests myself. For me, it's working, and the other part of the cake can be done by someone else amongst fellow nagios users/contributors. > The sad part is that centreon forked three days after Nagios Enterprises > cancelled the partnership contract with Merethis (the company behind > centreon). To me, that smells a bit political. Even if it is, I like their recent patches and overall contributed work to Nagios. If there are politics those guys should do that on closed doors, and not disturb the way development flows. i did not like that on the netways stuff, on the shinken trademark thingies, and if that now pops up - well, as said, putting it into the right channels, but not nagios-devel imho. > Thanks for the link though. I've been looking for it but was unable to > find the download before you posted it. It should be interesting to see > if they can solve the I/O load problems like someone here at the > Bolzano conference mentioned they're working on. That's one of my goals > too, but so far I haven't had time to sit down and think it through > properly. If they have, we should be able to profit from their work > quite easily. Most possible. I'm keen on sharing some of my not-currently-available ressources thinking with them about future changes and/or improvements. > Yes. And no. Shinken is incompatible with all of Nagios' current > broker modules. Icinga have broken the ABI compatibility, but not to > the same extent. Shinken has some very neat ideas (and some not so > neat ones too). Like all good engineers, I'll happily borrow the > good ones and let the bad ones go hang. There comes the day in history where an ABI must be broken in order to allow the implementation of things you need. Although remaining compatible, this is not a good solution, I totally agree on that. Either way, Shinken did it right, introducing new things, independent of the down below code. Let's see what future might bring on that. Communication seems to rather broken in various ways, so let the code and releases talk instead, sharing ideas and man power. Kind regards, Michael -- DI (FH) Michael Friedrich Vienna University Computer Center Universitaetsstrasse 7 A-1010 Vienna, Austria email: michael.friedrich at univie.ac.at phone: +43 1 4277 14359 mobile: +43 664 60277 14359 fax: +43 1 4277 14338 web: http://www.univie.ac.at/zid http://www.aco.net Icinga Core& IDOUtils Developer http://www.icinga.org ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From it.toonz at gmail.com Thu May 12 14:45:37 2011 From: it.toonz at gmail.com (Toonz IT) Date: Thu, 12 May 2011 18:15:37 +0530 Subject: checking fine, no notifications Message-ID: Hi all, We are using FAN 2.0. Our host checking is going on fine, but no notifications are getting logged. "No notifications have been recorded in the current log file" Scheduling queus show all the checks for the future, there are critical and warning errors, but it just won't sho in notifications or send mails!!! please advice...... anth. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From smcafee at collaborativefusion.com Thu May 12 14:28:17 2011 From: smcafee at collaborativefusion.com (Sean McAfee) Date: Thu, 12 May 2011 08:28:17 -0400 Subject: R: smstools3 with nagios In-Reply-To: <004801cc1070$b5f3ff30$21dbfd90$@it.net> References: <00bf01cc0fd4$bb27c190$317744b0$@it.net> <374626750.268515.1305130214965.JavaMail.root@mail.nmcourts.gov> <004801cc1070$b5f3ff30$21dbfd90$@it.net> Message-ID: <4DCBD261.5010202@collaborativefusion.com> On 5/12/2011 02:49, Marco Borsani wrote: > Command file is the same. > > Running that command like root or Nagios user manually it is ok > > In the Nagios file (does not send sms): > > command_line /usr/local/bin/sendsms 0039$CONTACTPAGER$ "Host:$HOSTALIAS$ is > $HOSTSTATE$ Type:$NOTIFICATIONTYPE$. $OUTPUT$ Date:$SHORTDATETIME$" > > In command line (running OK): > > #> /usr/local/bin/sendsms 0039$CONTACTPAGER$ "Host:$HOSTALIAS$ is $HOSTSTATE$ > Type:$NOTIFICATIONTYPE$. $OUTPUT$ Date:$SHORTDATETIME$" > > Marco That's very similar to what I have: command_line /usr/local/bin/sendsms $CONTACTPAGER$ "** $NOTIFICATIONTYPE$ Host Alert: $HOSTNAME$ is $HOSTSTATE$ **" However, I have the country code (which smstools3 requires) defined in $CONTACTPAGER$. I'm betting this is something with escaping. Either check the Nagios debug log to see the expanded macro then paste it into a Nagios user shell or update $CONTACTPAGER$ to include the country code. ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Martin_Hugo at hboe.org Thu May 12 14:57:03 2011 From: Martin_Hugo at hboe.org (Martin Hugo) Date: Thu, 12 May 2011 12:57:03 +0000 Subject: R: smstools3 with nagios In-Reply-To: <004801cc1070$b5f3ff30$21dbfd90$@it.net> References: <00bf01cc0fd4$bb27c190$317744b0$@it.net> <374626750.268515.1305130214965.JavaMail.root@mail.nmcourts.gov> <004801cc1070$b5f3ff30$21dbfd90$@it.net> Message-ID: <70D7A4219FE365439DA53582BA6D8F2E176AA583@HCSD-MAIL2> Hi Marco, Not sure if this will help but I had a similar problem trying to monitor bandwidth on my HP Procurve switch ports. Command line worked OK, Nagios command failed. The solution was to hard code my password in the command definition instead of a variable and take that part out of the service definition. e.g. Command Definition: $USER1$/check_iftraffic3.pl -h $HOSTADDRESS$ -C $USER3$ -i etc Replace $USER3$ with actual password string. Service Definition: check_iftraffic3!!28!1000 Remove ! from service definition. Hope this helps in some way. Marty From: Marco Borsani [mailto:m.borsani at it.net] Sent: Thursday, May 12, 2011 2:49 AM To: 'Ennis Ibarra - NMCOURTS.GOV'; 'Nagios Users List' Subject: [Nagios-users] R: smstools3 with nagios Command file is the same. Running that command like root or Nagios user manually it is ok In the Nagios file (does not send sms): command_line /usr/local/bin/sendsms 0039$CONTACTPAGER$ "Host:$HOSTALIAS$ is $HOSTSTATE$ Type:$NOTIFICATIONTYPE$. $OUTPUT$ Date:$SHORTDATETIME$" In command line (running OK): #> /usr/local/bin/sendsms 0039$CONTACTPAGER$ "Host:$HOSTALIAS$ is $HOSTSTATE$ Type:$NOTIFICATIONTYPE$. $OUTPUT$ Date:$SHORTDATETIME$" Marco Da: Ennis Ibarra [mailto:ennis at nmcourts.gov] Inviato: mercoled? 11 maggio 2011 18:10 A: Nagios Users List Oggetto: Re: [Nagios-users] smstools3 with nagios Check your commands file, see if there you can find a difference, what's the directory smstools2/3 is pointing to, what is the command? _____________________________________________ Supreme Court of New Mexico Ennis Ibarra ----- Original Message ----- From: "Marco Borsani" To: "NAGIOS" Sent: Wednesday, May 11, 2011 6:12:38 AM Subject: [Nagios-users] smstools3 with nagios Hi all As many people to send sms with Nagios I usually use smstools2 , all is working fine. Now I am testing smstools3, I can send sms using command line (as root and Nagios user too), but Nagios program did not send any sms ?. Are there differences in the configuration between smstools2 an smstools3 ? regards Marco Borsani Unix and Monitoring Sysadmin Technical Operations Dpt. tel: +39 010 4310115 fax: +39 02 30130311 cell: +39 329 5953944 ITnet Srl Societ? con socio unico Direzione e Coordinamento di ? ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jmathis at merethis.com Thu May 12 16:52:15 2011 From: jmathis at merethis.com (Julien Mathis) Date: Thu, 12 May 2011 16:52:15 +0200 Subject: [Nagios-users] nagios patches 3 old, 1 new (fix flexible downtime on service hard state change doesn't get triggered/activated) In-Reply-To: <4DCBC0BC.5000706@op5.se> References: <4DBBFC5E.8020001@univie.ac.at> <29B0783C-8CD3-4BD8-8295-7E59D0D6DF6A@gmail.com> <4DCB8A19.6030106@univie.ac.at> <4DCBC0BC.5000706@op5.se> Message-ID: Hi On Thu, May 12, 2011 at 1:13 PM, Andreas Ericsson wrote: > > > Talking of forks - I really appreciate the Centreon engine fork. Must > > have happened for a reason, remember the execvp patch on this list? I'm > > keen on seeing what they have been doing, and watching out for further > > ideas on their interesting ideas. the initial released code has various > > things already applied > > (http://www.centreon.com/Centreon/centreon-engine-download.html). > > The sad part is that centreon forked three days after Nagios Enterprises > cancelled the partnership contract with Merethis (the company behind > centreon). To me, that smells a bit political. > Precision: the partnership agreement was broken by Nagios Enterprises on the first of April 2011. Merethis accepts the decision because we have never sold Nagios XI. This product did not exist when the Partnership had signed. For our part we are not angry. > Thanks for the link though. I've been looking for it but was unable to > find the download before you posted it. It should be interesting to see > if they can solve the I/O load problems like someone here at the > Bolzano conference mentioned they're working on. That's one of my goals > too, but so far I haven't had time to sit down and think it through > properly. If they have, we should be able to profit from their work > quite easily. > > Yes we will work on the subject. We hope you will benefit these developments. We have repeatedly offered our help, without success... > > Shinken is already proofing what's possible, let's welcome another > > competitor in the game :) > > > > Yes. And no. Shinken is incompatible with all of Nagios' current > broker modules. Icinga have broken the ABI compatibility, but not to > the same extent. Shinken has some very neat ideas (and some not so > neat ones too). Like all good engineers, I'll happily borrow the > good ones and let the bad ones go hang. > That's not the goal. We want to keep the compatibility. We do not want war. We do not want to split between all projects "Nagios (R) ". We just want to bring new thinking and help the project without breaking your organization. We hope you understand us. Regards, -- Julien MATHIS | CTO jmathis at merethis.com T?l : +33(0)1.78.12.00.23 Mobile : +33(0)6.85.43.88.38 MERETHIS est ?diteur du logiciel Centreon. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay -------------- next part -------------- _______________________________________________ Nagios-devel mailing list Nagios-devel at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-devel From Timothy.Boyer at opm.gov Thu May 12 20:59:19 2011 From: Timothy.Boyer at opm.gov (Boyer, Timothy A.) Date: Thu, 12 May 2011 14:59:19 -0400 Subject: Alerts Summary data location Message-ID: <0F3D91EA70124C468301FF70A8ED16D402A2E75609@BOYV7EXVS1.opm.gov> Where are the data for the Alerts Summary stored? I'm seeing some strange anomalies that I'd like to track down. For instance, if I do 'Top Alert Producers' for time period 'This Year', the top one is Rank Producer Type Host Service Total Alerts #1 Service server11 LOAD 736 If I choose Jan 1 2011 through April 30, I get Displaying all 0 matching alert producers Rank Producer Type Host Service Total Alerts and if I pick 'This Month', I get Rank Producer Type Host Service Total Alerts #1 Service server22 Task Scheduler 263 Something isn't adding up, and I'd like to investigate why. Thanks much... -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From luismiguelferreirasilva at gmail.com Thu May 12 23:29:43 2011 From: luismiguelferreirasilva at gmail.com (Luis Miguel Silva) Date: Thu, 12 May 2011 15:29:43 -0600 Subject: Remote command plugins Message-ID: Dear all, I'm pretty new to Nagios and i was wondering how can i extract information from remote hosts with Nagios? i.e. get the remote hosts's cpu load, available disk, etc? p.s. All my nodes have share ssh keys (so i can easily ssh into them); Any thoughts? Thanks, Luis ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From JLin at livescribe.com Fri May 13 02:57:42 2011 From: JLin at livescribe.com (Julie S. Lin) Date: Thu, 12 May 2011 17:57:42 -0700 Subject: recurring downtime Message-ID: <0699B9B3-B121-4FC6-9583-8F92502C5131@livescribe.com> HI I'm trying to set up recurring downtimes for automatic reboots Below is my script however , in the web interface under scheduled downtimes, I do not see this entry. the results are in my tmp fie and I see the event log saying the command is added [1300246895] SCHEDULE_SVC_DOWNTIME ;host1;service1;1410741500;1410741700;0;0;7200;Some One;Some Downtime Comment am I missing something? ************* #!/bin/sh # This is a sample shell script showing how you can submit the SCHEDULE_SVC_DOWNTIME command # to Nagios. Adjust variables to fit your environment as necessary. now=`date +%s` commandfile='/usr/local/nagios/var/rw/nagios.cmd' printf "[%lu] SCHEDULE_SVC_DOWNTIME;host1;smtp; 1410741500;1410741700;1;0;7200;Some One;Some Downtime Comment\n" $now > $commandfile #printf "[%lu] SCHEDULE_SVC_DOWNTIME ;host1;service1;1410741500;1410748700;0;0;7200;Some One;Some Downtime Comment\n" $now > /tmp/foome Julie S. Lin System Administrator jlin at livescribe.com (510) 553 4912 (o) (510) 367 5772 (c) ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dey.ranjib at gmail.com Fri May 13 06:19:38 2011 From: dey.ranjib at gmail.com (ranjib dey) Date: Fri, 13 May 2011 09:49:38 +0530 Subject: Remote command plugins In-Reply-To: References: Message-ID: Use nrpe On May 13, 2011 3:05 AM, "Luis Miguel Silva" < luismiguelferreirasilva at gmail.com> wrote: > Dear all, > > I'm pretty new to Nagios and i was wondering how can i extract > information from remote hosts with Nagios? > i.e. get the remote hosts's cpu load, available disk, etc? > > p.s. All my nodes have share ssh keys (so i can easily ssh into them); > > Any thoughts? > > Thanks, > Luis > > ------------------------------------------------------------------------------ > Achieve unprecedented app performance and reliability > What every C/C++ and Fortran developer should know. > Learn how Intel has extended the reach of its next-generation tools > to help boost performance applications - inlcuding clusters. > http://p.sf.net/sfu/intel-dev2devmay > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pitchfork at ederdrom.de Fri May 13 06:26:12 2011 From: pitchfork at ederdrom.de (Joerg Linge) Date: Fri, 13 May 2011 06:26:12 +0200 Subject: Remote command plugins In-Reply-To: References: Message-ID: <4DCCB2E4.90801@ederdrom.de> Luis Miguel Silva schrieb: > Dear all, > > I'm pretty new to Nagios and i was wondering how can i extract > information from remote hosts with Nagios? > i.e. get the remote hosts's cpu load, available disk, etc? > > p.s. All my nodes have share ssh keys (so i can easily ssh into them); you can use check_by_ssh which is part of nagios plugins package. you have to install the plugins you want to use (check_disk, check_load ...) on the remote side too. Joerg ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Andre.Kruger at TRW.COM Fri May 13 09:34:47 2011 From: Andre.Kruger at TRW.COM (Andre Kruger) Date: Fri, 13 May 2011 03:34:47 -0400 Subject: Notification after Acknowledgment Message-ID: <4DCCFB370200002F0001F2CB@trw.com> Hi Can you guys please give me your input on how you handle the following situation. Lets take monitoring a disk as an example. For arguments sake lets say when the disk reaches 80% capacity I send out a warning and at 90% I send out a critical. There is also a Service Escalation configured to send out notifications when this service reaches critical. So at 80 percent I get my notification all is well. I then go ahead and acknowledge the event and in doing so Nagios will not send out any further notifications. Which according to the Nagios logic is correct. The problem is if the disk in the mean time reaches critical, 90% capacity, I won't get another notification. Not even the Service Escalation helps here, because the event has already been acknowledged. Do you guys have any suggestions on how this problem can be solved? Regards Andre Please consider your environmental responsibility before printing this e-mail or any other document. Ask yourself whether you need a hard copy. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Fri May 13 09:57:39 2011 From: jim at jimavery.me.uk (Jim Avery) Date: Fri, 13 May 2011 08:57:39 +0100 Subject: Notification after Acknowledgment In-Reply-To: <4DCCFB370200002F0001F2CB@trw.com> References: <4DCCFB370200002F0001F2CB@trw.com> Message-ID: On 13 May 2011 08:34, Andre Kruger wrote: > Hi > > Can you guys please give me your input on how you handle the following > situation. > > Lets take monitoring a disk as an example. For arguments sake lets say when > the disk reaches 80% capacity I send out a warning and at 90% I send out a > critical. There is also a Service Escalation configured to send out > notifications when this service reaches critical. > > So at 80 percent I get my notification all is well. I then go ahead and > acknowledge the event and in doing so Nagios will not send out any further > notifications. Which according to the Nagios logic is correct. > > The problem is if the disk in the mean time reaches critical, 90% capacity, > I won't get another notification. Not even the Service Escalation helps > here, because the event has already been acknowledged. > > Do you guys have any suggestions on how this problem can be solved? > > Regards > Andre The way I sometimes use for prolonged issues like this is I will acknowledge the alert, but then raise the warning and critical thresholds in Nagios. The problem with this approach is that Nagios then reports the status as "OK" which might give a false impression to other users. It is also important to remember to reduce the warning threshold back to its usual level once the issue is resolved. For issues which might be fast-moving I would suggest that it is not appropriate to acknowledge the issue unless you are in a postion actively to manage it until resolution. ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Andre.Kruger at TRW.COM Fri May 13 10:01:27 2011 From: Andre.Kruger at TRW.COM (Andre Kruger) Date: Fri, 13 May 2011 04:01:27 -0400 Subject: Notification after Acknowledgment In-Reply-To: References: <4DCCFB370200002F0001F2CB@trw.com> Message-ID: <4DCD01770200002F0001F2D0@trw.com> Hi Thanks for that. I just read how non-sticky acknowledgments work from 3.2.3. I think this solves my problem. http://wiki.nagios.org/index.php/Acknowledgementlogic Assuming you have a service with notifications enabled for all states with a max retry attempts of 1, these are the notifications you should get based on the following transitions: service in OK service goes into WARNING - notification sent non-sticky acknowledgement applied service goes into CRITICAL. Acknowledgement removed. Notification sent non-sticky acknowledgement applied service goes into WARNING. Acknowledgement removed. Notification sent non-sticky acknowledgement applied service goes into CRITICAL. Acknowledgement removed. Notification sent service goes into OK. Recovery notification sent >>> Jim Avery 2011/05/13 09:57 >>> On 13 May 2011 08:34, Andre Kruger wrote: > Hi > > Can you guys please give me your input on how you handle the following > situation. > > Lets take monitoring a disk as an example. For arguments sake lets say when > the disk reaches 80% capacity I send out a warning and at 90% I send out a > critical. There is also a Service Escalation configured to send out > notifications when this service reaches critical. > > So at 80 percent I get my notification all is well. I then go ahead and > acknowledge the event and in doing so Nagios will not send out any further > notifications. Which according to the Nagios logic is correct. > > The problem is if the disk in the mean time reaches critical, 90% capacity, > I won't get another notification. Not even the Service Escalation helps > here, because the event has already been acknowledged. > > Do you guys have any suggestions on how this problem can be solved? > > Regards > Andre The way I sometimes use for prolonged issues like this is I will acknowledge the alert, but then raise the warning and critical thresholds in Nagios. The problem with this approach is that Nagios then reports the status as "OK" which might give a false impression to other users. It is also important to remember to reduce the warning threshold back to its usual level once the issue is resolved. For issues which might be fast-moving I would suggest that it is not appropriate to acknowledge the issue unless you are in a postion actively to manage it until resolution. ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null Please consider your environmental responsibility before printing this e-mail or any other document. Ask yourself whether you need a hard copy. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jason.Shaffer at crown.com Fri May 13 10:05:22 2011 From: Jason.Shaffer at crown.com (Jason.Shaffer at crown.com) Date: Fri, 13 May 2011 04:05:22 -0400 Subject: AUTO: Jason Shaffer is out of the office. (returning 05/16/2011) Message-ID: I am out of the office until 05/16/2011. I will respond to your message when I return. If you need immediate assistance please call 419-629-3097 and someone will be able to assist you. Note: This is an automated response to your message "Re: [Nagios-users] Remote command plugins" sent on 5/13/2011 12:19:38 AM. This is the only notification you will receive while this person is away. ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yuehung.liu at gmail.com Fri May 13 10:07:33 2011 From: yuehung.liu at gmail.com (Yueh-Hung Liu) Date: Fri, 13 May 2011 16:07:33 +0800 Subject: Notification after Acknowledgment In-Reply-To: <4DCCFB370200002F0001F2CB@trw.com> References: <4DCCFB370200002F0001F2CB@trw.com> Message-ID: what's the purpose of acknowledging the service problems? just to suppress the notifications or ....? On Fri, May 13, 2011 at 3:34 PM, Andre Kruger wrote: > Hi > > Can you guys please give me your input on how you handle the following > situation. > > Lets take monitoring a disk as an example. For arguments sake lets say when > the disk reaches 80% capacity I send out a warning and at 90% I send out a > critical. There is also a Service Escalation configured to send out > notifications when this service reaches critical. > > So at 80 percent I get my notification all is well. I then go ahead and > acknowledge the event and in doing so Nagios will not send out any further > notifications. Which according to the Nagios logic is correct. > > The problem is if the disk in the mean time reaches critical, 90% capacity, > I won't get another notification. Not even the Service Escalation helps > here, because the event has already been acknowledged. > > Do you guys have any suggestions on how this problem can be solved? > > Regards > Andre > > P Please consider your environmental responsibility before printing this > e-mail or any other document. Ask yourself whether you need a hard copy. > ------------------------------------------------------------------------------ > Achieve unprecedented app performance and reliability > What every C/C++ and Fortran developer should know. > Learn how Intel has extended the reach of its next-generation tools > to help boost performance applications - inlcuding clusters. > http://p.sf.net/sfu/intel-dev2devmay > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Deborah.Martin at kognitio.com Fri May 13 09:54:04 2011 From: Deborah.Martin at kognitio.com (Deborah Martin) Date: Fri, 13 May 2011 00:54:04 -0700 Subject: Notification after Acknowledgment In-Reply-To: <4DCCFB370200002F0001F2CB@trw.com> References: <4DCCFB370200002F0001F2CB@trw.com> Message-ID: Andre, I wouldn't acknowledge it unless you plan to actually do something about it. I use escalations which instigate callouts to engineers. When the oncall engineer acks an alert it means they are investigating. It would be pointless surely to ack something which you aren't going to do anything about. Also, think about why you'd ack at 80% if it's just a warning. We have thresholds of 85% for disk usage warnings but in all honesty it's there as exactly that - a warning. We don't send notifications for warnings on disk usage. We just monitor via the web interface. Notifications are sent on critical alerts because that is the time when action needs to be taken and users need to pay attention. But this is all based on our requirements rather than yours so this is just my tuppence worth! Regards, Deborah ________________________________ From: Andre Kruger [mailto:Andre.Kruger at TRW.COM] Sent: 13 May 2011 08:35 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Notification after Acknowledgment Hi Can you guys please give me your input on how you handle the following situation. Lets take monitoring a disk as an example. For arguments sake lets say when the disk reaches 80% capacity I send out a warning and at 90% I send out a critical. There is also a Service Escalation configured to send out notifications when this service reaches critical. So at 80 percent I get my notification all is well. I then go ahead and acknowledge the event and in doing so Nagios will not send out any further notifications. Which according to the Nagios logic is correct. The problem is if the disk in the mean time reaches critical, 90% capacity, I won't get another notification. Not even the Service Escalation helps here, because the event has already been acknowledged. Do you guys have any suggestions on how this problem can be solved? Regards Andre P Please consider your environmental responsibility before printing this e-mail or any other document. Ask yourself whether you need a hard copy. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Andre.Kruger at TRW.COM Fri May 13 10:10:32 2011 From: Andre.Kruger at TRW.COM (Andre Kruger) Date: Fri, 13 May 2011 04:10:32 -0400 Subject: Notification after Acknowledgment In-Reply-To: References: <4DCCFB370200002F0001F2CB@trw.com> Message-ID: <4DCD03980200002F0001F2D5@trw.com> Yes, it was to stop the notifications, but I would then like to receive notifications again when the service that was acknowledged goes into a critical state. But non-sticky acknowledgments has solved this problem for me. I think I am going to change my default to non-sticky. >>> Yueh-Hung Liu 2011/05/13 10:07 >>> what's the purpose of acknowledging the service problems? just to suppress the notifications or ....? On Fri, May 13, 2011 at 3:34 PM, Andre Kruger wrote: > Hi > > Can you guys please give me your input on how you handle the following > situation. > > Lets take monitoring a disk as an example. For arguments sake lets say when > the disk reaches 80% capacity I send out a warning and at 90% I send out a > critical. There is also a Service Escalation configured to send out > notifications when this service reaches critical. > > So at 80 percent I get my notification all is well. I then go ahead and > acknowledge the event and in doing so Nagios will not send out any further > notifications. Which according to the Nagios logic is correct. > > The problem is if the disk in the mean time reaches critical, 90% capacity, > I won't get another notification. Not even the Service Escalation helps > here, because the event has already been acknowledged. > > Do you guys have any suggestions on how this problem can be solved? > > Regards > Andre > > P Please consider your environmental responsibility before printing this > e-mail or any other document. Ask yourself whether you need a hard copy. > ------------------------------------------------------------------------------ > Achieve unprecedented app performance and reliability > What every C/C++ and Fortran developer should know. > Learn how Intel has extended the reach of its next-generation tools > to help boost performance applications - inlcuding clusters. > http://p.sf.net/sfu/intel-dev2devmay > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null Please consider your environmental responsibility before printing this e-mail or any other document. Ask yourself whether you need a hard copy. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Andre.Kruger at TRW.COM Fri May 13 10:29:59 2011 From: Andre.Kruger at TRW.COM (Andre Kruger) Date: Fri, 13 May 2011 04:29:59 -0400 Subject: Default Acknowledge Behavior Message-ID: <4DCD08270200002F0001F2DA@trw.com> Hi Can the default behavior for acknowledging an event be changed. As in can the default be changed from the "Sticky Acknowedgement" being always checked, to always unchecked? I have read a post on the internet that this is hard coded and you would have to change the source and recompile in order to accomplish this. http://article.gmane.org/gmane.network.nagios.user/54147 This post is very old...maybe this has changed in 3.2.3? Regards Andre Please consider your environmental responsibility before printing this e-mail or any other document. Ask yourself whether you need a hard copy. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Fri May 13 10:49:24 2011 From: ae at op5.se (Andreas Ericsson) Date: Fri, 13 May 2011 10:49:24 +0200 Subject: [Nagios-devel] nagios patches 3 old, 1 new (fix flexible downtime on service hard state change doesn't get triggered/activated) In-Reply-To: References: <4DBBFC5E.8020001@univie.ac.at> <29B0783C-8CD3-4BD8-8295-7E59D0D6DF6A@gmail.com> <4DCB8A19.6030106@univie.ac.at> <4DCBC0BC.5000706@op5.se> Message-ID: <4DCCF094.9040108@op5.se> On 05/12/2011 04:52 PM, Julien Mathis wrote: > >> Thanks for the link though. I've been looking for it but was unable to >> find the download before you posted it. It should be interesting to see >> if they can solve the I/O load problems like someone here at the >> Bolzano conference mentioned they're working on. That's one of my goals >> too, but so far I haven't had time to sit down and think it through >> properly. If they have, we should be able to profit from their work >> quite easily. >> >> > Yes we will work on the subject. We hope you will benefit these > developments. Glad to hear it :) Which version (svn revision number or git commit id) did you fork from? I'm trying to see what you've done so far, but with patches recently being applied in Nagios core as well, it's hard to make out the diff properly. If you're using an import of the code for your repositories it might be easiest just to publish those online, if possible. > We have repeatedly offered our help, without success... > That must be something I've missed. I know some patches have fallen between the cracks last year and some this spring when I was busy at $dayjob with various things, but the amount of patches submitted and that I've been poked for isn't such a vast amount that I'd think it worth announcing a new fullblown fork of Nagios for. Ah well. I know that not all patches that are submitted are accepted into the core. That's normal. If I *had* accepted all patches submitted in the 2 or more years that I've been reviewing and queueing patches for Nagios, few of the addons that exist today would still work without major surgery, and Nagios would have been bloated beyond belief. Some patches get accepted immediately. Some get deferred until the next major release because they break the API's that broker modules rely on. Some patches get accepted after a couple of rounds of review and polish, and some patches get dropped on the floor because they add something that is highly complex and useful only to some very few people, or they solve a problem for which there is a very easy different way to solve the same thing that doesn't involve adding complexity to the core. Some also have been dropped because they were downright crap. I tend to not remember who was responsible for a particular patch, but if the content of the patch is mentioned I will usually remember what I thought of it. Very engineerish, imo. > >>> Shinken is already proofing what's possible, let's welcome another >>> competitor in the game :) >>> >> >> Yes. And no. Shinken is incompatible with all of Nagios' current >> broker modules. Icinga have broken the ABI compatibility, but not to >> the same extent. Shinken has some very neat ideas (and some not so >> neat ones too). Like all good engineers, I'll happily borrow the >> good ones and let the bad ones go hang. >> > > That's not the goal. We want to keep the compatibility. > > We do not want war. We do not want to split between all projects "Nagios (R) > ". > We just want to bring new thinking and help the project without breaking > your > organization. We hope you understand us. > Sure do. So let's work together. Me, Ton and Ethan just had a meeting about an hour ago where we decided on some features that we want to implement in Nagios that, according to ideas.nagios.org and the Nagios bugtracker at tracker.nagios.org matches quite closely what the users want. I'll be sending out an email tomorrow afternoon, crossposting to nagios-users and nagios-devel (actually, it'll be several emails), requesting help in certain areas that we've decided to improve on in the very near future. I've also committed to make these changes my self, though I'd prefer to share the work with the rest of the community. Matthieu Kermagoret, among others, would be a valuable asset in that, as he's proven more than once that he's not only a competent coder but also very pleasant to work with. Feel free to pick up one of the tasks we've decided to do from those emails, either for Centreon Engine (from where we can backport it to Nagios if it plans out the way I expect it will), or as patches to Nagios. Or perhaps both. Either way works for me. -- 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. ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Deborah.Martin at kognitio.com Fri May 13 10:44:03 2011 From: Deborah.Martin at kognitio.com (Deborah Martin) Date: Fri, 13 May 2011 01:44:03 -0700 Subject: Default Acknowledge Behavior In-Reply-To: <4DCD08270200002F0001F2DA@trw.com> References: <4DCD08270200002F0001F2DA@trw.com> Message-ID: It might be nice to have a flag in nagios.cfg or somewhere so that the behaviour can be set system wide. This gives the flexibility to everyone to have the behaviour they want. ________________________________ From: Andre Kruger [mailto:Andre.Kruger at TRW.COM] Sent: 13 May 2011 09:30 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Default Acknowledge Behavior Hi Can the default behavior for acknowledging an event be changed. As in can the default be changed from the "Sticky Acknowedgement" being always checked, to always unchecked? I have read a post on the internet that this is hard coded and you would have to change the source and recompile in order to accomplish this. http://article.gmane.org/gmane.network.nagios.user/54147 This post is very old...maybe this has changed in 3.2.3? Regards Andre P Please consider your environmental responsibility before printing this e-mail or any other document. Ask yourself whether you need a hard copy. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benny at bennyvision.com Fri May 13 12:43:03 2011 From: benny at bennyvision.com (C. Bensend) Date: Fri, 13 May 2011 05:43:03 -0500 Subject: Default Acknowledge Behavior In-Reply-To: <4DCD08270200002F0001F2DA@trw.com> References: <4DCD08270200002F0001F2DA@trw.com> Message-ID: <0630c7c6e41c71f235ddb9c1fab8cc12.squirrel@webmail.stinkweasel.net> > Can the default behavior for acknowledging an event be changed. As in can > the default be changed from the "Sticky Acknowedgement" being always > checked, to always unchecked? > > I have read a post on the internet that this is hard coded and you would > have to change the source and recompile in order to accomplish this. > http://article.gmane.org/gmane.network.nagios.user/54147 > > This post is very old...maybe this has changed in 3.2.3? This behavior cannot be changed without hacking cgi/cmd.c. It's a simple change: on lines 951 and 977 (this is Nagios 3.2.3), remove the CHECKED from that line. That will make the checkboxes default to *not* checked. I believe this is a much more sane default than checked. Benny -- "You were doing well until everyone died." -- "God", Futurama ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Fri May 13 13:31:19 2011 From: jim at jimavery.me.uk (Jim Avery) Date: Fri, 13 May 2011 12:31:19 +0100 Subject: Notification after Acknowledgment In-Reply-To: <4DCD01770200002F0001F2D0@trw.com> References: <4DCCFB370200002F0001F2CB@trw.com> <4DCD01770200002F0001F2D0@trw.com> Message-ID: On 13 May 2011 09:01, Andre Kruger wrote: > I just read how non-sticky acknowledgments work from 3.2.3. I think this > solves my problem. > > http://wiki.nagios.org/index.php/Acknowledgementlogic Neat! Thanks I hadn't noticed that. ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From khurramazizkhalid at yahoo.com Fri May 13 16:57:34 2011 From: khurramazizkhalid at yahoo.com (khurram aziz) Date: Fri, 13 May 2011 07:57:34 -0700 (PDT) Subject: pnp4nagios & Nagios Message-ID: <5438.72234.qm@web45911.mail.sp1.yahoo.com> Hi All, I have configured "Nagios 3.2.3" with default settings and for generating graphs i have configured "pnp4nagios-0.6.11". I have added a server in Nagios by installing the host file on that server and its working fine. i am also able to generate graphs for that server in pnp4nagios. b Now i have added 4 of my web servers using SNMP and they are all added in Nagios but they dont appear in pnp4nagiogs. can some1 tell me how i can make these web servers appear in pnp4nagios so that i can generate graph. Khurram Aziz Khalid -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From luismiguelferreirasilva at gmail.com Fri May 13 17:22:20 2011 From: luismiguelferreirasilva at gmail.com (Luis Miguel Silva) Date: Fri, 13 May 2011 09:22:20 -0600 Subject: Remote command plugins In-Reply-To: <4DCCB2E4.90801@ederdrom.de> References: <4DCCB2E4.90801@ederdrom.de> Message-ID: <466B1AF4-34E7-4919-91B0-C088F1ACBDBE@gmail.com> Thank you very much! I'll do a little research on it :o) Thank you, Luis Miguel Silva On May 12, 2011, at 10:26 PM, Joerg Linge wrote: > Luis Miguel Silva schrieb: >> Dear all, >> >> I'm pretty new to Nagios and i was wondering how can i extract >> information from remote hosts with Nagios? >> i.e. get the remote hosts's cpu load, available disk, etc? >> >> p.s. All my nodes have share ssh keys (so i can easily ssh into them); > > you can use check_by_ssh which is part of nagios plugins package. > you have to install the plugins you want to use (check_disk, check_load ...) on the remote side too. > > Joerg > > ------------------------------------------------------------------------------ > Achieve unprecedented app performance and reliability > What every C/C++ and Fortran developer should know. > Learn how Intel has extended the reach of its next-generation tools > to help boost performance applications - inlcuding clusters. > http://p.sf.net/sfu/intel-dev2devmay > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Martin_Hugo at hboe.org Fri May 13 17:23:20 2011 From: Martin_Hugo at hboe.org (Martin Hugo) Date: Fri, 13 May 2011 15:23:20 +0000 Subject: pnp4nagios & Nagios In-Reply-To: <5438.72234.qm@web45911.mail.sp1.yahoo.com> References: <5438.72234.qm@web45911.mail.sp1.yahoo.com> Message-ID: <70D7A4219FE365439DA53582BA6D8F2E176AB581@HCSD-MAIL2> Did you add the pnp4nagios commands to your commands file? Are your hosts using the host-pnp template? Is your service definition using the srv-pnp template? Marty From: khurram aziz [mailto:khurramazizkhalid at yahoo.com] Sent: Friday, May 13, 2011 10:58 AM To: nagios mailinglist Subject: [Nagios-users] pnp4nagios & Nagios Hi All, I have configured "Nagios 3.2.3" with default settings and for generating graphs i have configured "pnp4nagios-0.6.11". I have added a server in Nagios by installing the host file on that server and its working fine. i am also able to generate graphs for that server in pnp4nagios. b Now i have added 4 of my web servers using SNMP and they are all added in Nagios but they dont appear in pnp4nagiogs. can some1 tell me how i can make these web servers appear in pnp4nagios so that i can generate graph. Khurram Aziz Khalid -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From khurramazizkhalid at yahoo.com Fri May 13 17:33:50 2011 From: khurramazizkhalid at yahoo.com (khurram aziz) Date: Fri, 13 May 2011 08:33:50 -0700 (PDT) Subject: pnp4nagios & Nagios In-Reply-To: <70D7A4219FE365439DA53582BA6D8F2E176AB581@HCSD-MAIL2> References: <5438.72234.qm@web45911.mail.sp1.yahoo.com> <70D7A4219FE365439DA53582BA6D8F2E176AB581@HCSD-MAIL2> Message-ID: <41060.72234.qm@web45911.mail.sp1.yahoo.com> * Did you add the pnp4nagios commands to your commands file? * NO i did not add any pnp4nagios commands to my commands file, not for the server that is showing grpahs in pnp4nagios and not for the servers which i have added using SNMP * Are your hosts using the host-pnp template? * NO, my hosts are using the default templates * Is your service definition using the srv-pnp template? * No, my service definitions are using the default definitions. Khurram Aziz Khalid ________________________________ From: Martin Hugo To: Nagios Users List Sent: Fri, May 13, 2011 8:23:20 PM Subject: Re: [Nagios-users] pnp4nagios & Nagios Did you add the pnp4nagios commands to your commands file? Are your hosts using the host-pnp template? Is your service definition using the srv-pnp template? Marty From:khurram aziz [mailto:khurramazizkhalid at yahoo.com] Sent: Friday, May 13, 2011 10:58 AM To: nagios mailinglist Subject: [Nagios-users] pnp4nagios & Nagios Hi All, I have configured "Nagios 3.2.3" with default settings and for generating graphs i have configured "pnp4nagios-0.6.11". I have added a server in Nagios by installing the host file on that server and its working fine. i am also able to generate graphs for that server in pnp4nagios. b Now i have added 4 of my web servers using SNMP and they are all added in Nagios but they dont appear in pnp4nagiogs. can some1 tell me how i can make these web servers appear in pnp4nagios so that i can generate graph. Khurram Aziz Khalid -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From terry at cnysupport.com Fri May 13 17:09:47 2011 From: terry at cnysupport.com (Terry Carmen) Date: Fri, 13 May 2011 11:09:47 -0400 Subject: Message Subject - PROBLEM Service Alert: is UP Message-ID: <20110513110947.17193scp2mqnfruo@www.cnysupport.com> I've been receiving a continuous stream of these messages and can't seem to figure out why or make them stop. Nagios is sending repeated notifications that various hosts are "up" even though they have never been down. I've googled a number of similar problems, but unfortunately no applicable solutions. Does anybody have any ideas what I could check? Thanks! Terry /// email text below ****** Nagios ***** Notification Type: PROBLEM Host: State: UP Address: Info: PING OK - Packet loss = 0%, RTA = 37.37 ms ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From michael.friedrich at univie.ac.at Fri May 13 17:44:51 2011 From: michael.friedrich at univie.ac.at (Michael Friedrich) Date: Fri, 13 May 2011 17:44:51 +0200 Subject: pnp4nagios & Nagios In-Reply-To: <41060.72234.qm@web45911.mail.sp1.yahoo.com> References: <5438.72234.qm@web45911.mail.sp1.yahoo.com> <70D7A4219FE365439DA53582BA6D8F2E176AB581@HCSD-MAIL2> <41060.72234.qm@web45911.mail.sp1.yahoo.com> Message-ID: <4DCD51F3.8090602@univie.ac.at> khurram aziz wrote: > > * Did you add the pnp4nagios commands to your commands file? > o NO i did not add any pnp4nagios commands to my > commands file, not for the server that is showing grpahs > in pnp4nagios and not for the servers which i have added > using SNMP > * Are your hosts using the host-pnp template? > o NO, my hosts are using the default templates > * Is your service definition using the srv-pnp template? > o No, my service definitions are using the default definitions. > > Khurram Aziz Khalid check - service defitions - enable perfdata - check plugin itsself - does it return perfdata - read the pluginapi.html for further information how perfdata will look like > > > ------------------------------------------------------------------------ > *From:* Martin Hugo > *To:* Nagios Users List > *Sent:* Fri, May 13, 2011 8:23:20 PM > *Subject:* Re: [Nagios-users] pnp4nagios & Nagios > > Did you add the pnp4nagios commands to your commands file? Are your > hosts using the host-pnp template? Is your service definition using > the srv-pnp template? > > Marty > > *From:*khurram aziz [mailto:khurramazizkhalid at yahoo.com] > *Sent:* Friday, May 13, 2011 10:58 AM > *To:* nagios mailinglist > *Subject:* [Nagios-users] pnp4nagios & Nagios > > Hi All, > > I have configured "*Nagios 3.2.3*" with default settings and for > generating graphs i have configured "*pnp4nagios-0.6.11*". I have > added a server in Nagios by installing the host file on that server > and its working fine. i am also able to generate graphs for that > server in pnp4nagios. b > Now i have added 4 of my web servers using SNMP and they are all added > in Nagios but they dont appear in pnp4nagiogs. can some1 tell me how i > can make these web servers appear in pnp4nagios so that i can generate > graph. > > Khurram Aziz Khalid > > > ------------------------------------------------------------------------------ > Achieve unprecedented app performance and reliability > What every C/C++ and Fortran developer should know. > Learn how Intel has extended the reach of its next-generation tools > to help boost performance applications - inlcuding clusters. > http://p.sf.net/sfu/intel-dev2devmay > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- DI (FH) Michael Friedrich Vienna University Computer Center Universitaetsstrasse 7 A-1010 Vienna, Austria email: michael.friedrich at univie.ac.at phone: +43 1 4277 14359 mobile: +43 664 60277 14359 fax: +43 1 4277 14338 web: http://www.univie.ac.at/zid http://www.aco.net Icinga Core& IDOUtils Developer http://www.icinga.org -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From khurramazizkhalid at yahoo.com Fri May 13 18:07:26 2011 From: khurramazizkhalid at yahoo.com (khurram aziz) Date: Fri, 13 May 2011 09:07:26 -0700 (PDT) Subject: pnp4nagios & Nagios In-Reply-To: <4DCD51F3.8090602@univie.ac.at> References: <5438.72234.qm@web45911.mail.sp1.yahoo.com> <70D7A4219FE365439DA53582BA6D8F2E176AB581@HCSD-MAIL2> <41060.72234.qm@web45911.mail.sp1.yahoo.com> <4DCD51F3.8090602@univie.ac.at> Message-ID: <58210.55786.qm@web45910.mail.sp1.yahoo.com> perfdata is enabled is I am using generic services for all of my servers. graphs are generated by using perfdata for the server on which i have installed the client and performance data is also being collected for the server which is added using SNMP. Attaced screenshot shows that performance data is being collected for the later server. Khurram Aziz Khalid ________________________________ From: Michael Friedrich To: nagios-users at lists.sourceforge.net Sent: Fri, May 13, 2011 8:44:51 PM Subject: Re: [Nagios-users] pnp4nagios & Nagios khurram aziz wrote: * Did you add the pnp4nagios commands to your commands file? > > * NO i did not add any pnp4nagios commands to my commands >file, not for the server that is showing grpahs in pnp4nagios >and not for the servers which i have added using SNMP > > * Are your hosts using the host-pnp template? > * NO, my hosts are using the default templates > * Is your service definition using the srv-pnp template? > * No, my service definitions are using the default >definitions. > > Khurram Aziz Khalid check - service defitions - enable perfdata - check plugin itsself - does it return perfdata - read the pluginapi.html for further information how perfdata will look like > > > > ________________________________ From: Martin Hugo >To: Nagios Users List >Sent: Fri, May 13, 2011 8:23:20 PM >Subject: Re: [Nagios-users] pnp4nagios & Nagios > > >Did you add the pnp4nagios commands to your commands file? >Are your hosts using the host-pnp template? Is your service >definition using the srv-pnp template? > >Marty > >From:khurram aziz [mailto:khurramazizkhalid at yahoo.com] >Sent: Friday, May 13, 2011 10:58 AM >To: nagios mailinglist >Subject: [Nagios-users] pnp4nagios & Nagios > >Hi All, > >I have configured "Nagios 3.2.3" with default settings and for >generating graphs i have configured "pnp4nagios-0.6.11". I >have added a server in Nagios by installing the host file on >that server and its working fine. i am also able to generate >graphs for that server in pnp4nagios. b >Now i have added 4 of my web servers using SNMP and they are >all added in Nagios but they dont appear in pnp4nagiogs. can >some1 tell me how i can make these web servers appear in >pnp4nagios so that i can generate graph. > >Khurram Aziz Khalid > > ------------------------------------------------------------------------------ >Achieve unprecedented app performance and reliability What every C/C++ and >Fortran developer should know. Learn how Intel has extended the reach of its >next-generation tools to help boost performance applications - inlcuding >clusters. http://p.sf.net/sfu/intel-dev2devmay > _______________________________________________ Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include >Nagios version, plugin version (-v) and OS when reporting any issue. ::: >Messages without supporting info will risk being sent to /dev/null -- DI (FH) Michael Friedrich Vienna University Computer Center Universitaetsstrasse 7 A-1010 Vienna, Austria email: michael.friedrich at univie.ac.at phone: +43 1 4277 14359 mobile: +43 664 60277 14359 fax: +43 1 4277 14338 web: http://www.univie.ac.at/zid http://www.aco.net Icinga Core & IDOUtils Developer http://www.icinga.org -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Perfdata.png Type: application/octet-stream Size: 12055 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From terry at cnysupport.com Fri May 13 17:59:49 2011 From: terry at cnysupport.com (Terry Carmen) Date: Fri, 13 May 2011 11:59:49 -0400 Subject: Message Subject - PROBLEM Service Alert: is UP (fixed) In-Reply-To: <20110513110947.17193scp2mqnfruo@www.cnysupport.com> References: <20110513110947.17193scp2mqnfruo@www.cnysupport.com> Message-ID: <20110513115949.18609o9i4u6jcynk@www.cnysupport.com> Quoting Terry Carmen : > I've been receiving a continuous stream of these messages and can't > seem to figure out why or make them stop. > > Nagios is sending repeated notifications that various hosts are "up" > even though they have never been down. > > I've googled a number of similar problems, but unfortunately no > applicable solutions. > > Does anybody have any ideas what I could check? Here's an update: I found a seemingly unrelated problem. I had duplicated the notify-host-by-email command into the notify-service-by-email command. While this accounted for the inappropriate message content, fixing it seems to have also fixed the repeating notifications (haven't received any in a while). No idea why fixing the invalid message text would also fix the repeating notifications, but it seems OK now. I'm posting the answer here in case anybody else runs into this problem. The lines below are working nicely on a system that uses postfix as the mailer. This also takes care of postix's sendmail not respecting the -s (subject) command line option. The macros below add the subject to the message. ////////////////////////// from commands.cfg /////////////////////// # 'notify-host-by-email' command definition define command{ command_name notify-host-by-email command_line /usr/bin/printf "%b" "Subject: ** $NOTIFICATIONTYPE$ Host Alert: $HOSTNAME$ is $HOSTSTATE$ **\n\n***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n\nService: $SERVICECHECKCOMMAND$Host Output: [$HOSTOUTPUT$]\n\nHost Output (Long): $LONGHOSTOUTPUT$\n\nPerformance Data: $HOSTPERFDATA$\n\n" | /usr/sbin/sendmail -f nagios at example.com $CONTACTEMAIL$ } # 'notify-service-by-email' command definition define command{ command_name notify-service-by-email command_line /usr/bin/printf "%b" "Subject: ** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **\n\n***** Nagios @VERSION@ *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nService Output: $SERVICEOUTPUT$\n\nLong Service Output: $LONGSERVICEOUTPUT$\n\nAdditional Info:\n\n$OUTPUT$" | /usr/sbin/sendmail -f nagios at example.com $CONTACTEMAIL$ } ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Fri May 13 18:13:44 2011 From: jim at jimavery.me.uk (Jim Avery) Date: Fri, 13 May 2011 17:13:44 +0100 Subject: Message Subject - PROBLEM Service Alert: is UP In-Reply-To: <20110513110947.17193scp2mqnfruo@www.cnysupport.com> References: <20110513110947.17193scp2mqnfruo@www.cnysupport.com> Message-ID: On 13 May 2011 16:09, Terry Carmen wrote: > I've been receiving a continuous stream of these messages and can't > seem to figure out why or make them stop. > > Nagios is sending repeated notifications that various hosts are "up" > even though they have never been down. > > I've googled a number of similar problems, but unfortunately no > applicable solutions. > > Does anybody have any ideas what I could check? I would find the relevant host entry in the file /usr/local/nagios/var/objects.cache, then make sure you understand all the directives in that host definition - by all means post it here too if you want a group opinion. Check that you don't have more than one contact defined having the same email address. Also, check the status history for that host and see if anything is happening in-between those times when it is UP. Maybe it's going DOWN in-between but you're just not getting the DOWN alerts! It would be useful to know a bit more about what you're seeing, for example are these repeat emails occurring with a particular frequency? Do you get a whole bunch of them at once and then none for a while? Do they eventually stop and if so after how many repeats? hth, Jim ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Martin_Hugo at hboe.org Fri May 13 18:20:48 2011 From: Martin_Hugo at hboe.org (Martin Hugo) Date: Fri, 13 May 2011 16:20:48 +0000 Subject: pnp4nagios & Nagios In-Reply-To: <58210.55786.qm@web45910.mail.sp1.yahoo.com> References: <5438.72234.qm@web45911.mail.sp1.yahoo.com> <70D7A4219FE365439DA53582BA6D8F2E176AB581@HCSD-MAIL2> <41060.72234.qm@web45911.mail.sp1.yahoo.com> <4DCD51F3.8090602@univie.ac.at> <58210.55786.qm@web45910.mail.sp1.yahoo.com> Message-ID: <70D7A4219FE365439DA53582BA6D8F2E176AB5F1@HCSD-MAIL2> Hmm, don't know why it is not showing up. I know that I have to add the host-pnp and srv-pnp templates to my hosts and services to generate graphs. I typically add host-pnp to every host definition and then just add srv-pnp to every service check that I want graphed. So a windows server would be "use windows-server,host-pnp" and my switches are "use generic-switch,host-pnp". I also made all the edits to the Nagios.cfg and commands file as documented in the Nagios Manual. I am running on CentOS installed from source. Martin T. Hugo Network Administrator Hilliard City Schools 614-921-7102 (Ph) 614-771-7243 (Fax) [Think before you print.]Think before you print From: khurram aziz [mailto:khurramazizkhalid at yahoo.com] Sent: Friday, May 13, 2011 12:07 PM To: Nagios Users List Subject: Re: [Nagios-users] pnp4nagios & Nagios perfdata is enabled is I am using generic services for all of my servers. graphs are generated by using perfdata for the server on which i have installed the client and performance data is also being collected for the server which is added using SNMP. Attaced screenshot shows that performance data is being collected for the later server. Khurram Aziz Khalid ________________________________ From: Michael Friedrich To: nagios-users at lists.sourceforge.net Sent: Fri, May 13, 2011 8:44:51 PM Subject: Re: [Nagios-users] pnp4nagios & Nagios khurram aziz wrote: * Did you add the pnp4nagios commands to your commands file? * NO i did not add any pnp4nagios commands to my commands file, not for the server that is showing grpahs in pnp4nagios and not for the servers which i have added using SNMP * Are your hosts using the host-pnp template? * NO, my hosts are using the default templates * Is your service definition using the srv-pnp template? * No, my service definitions are using the default definitions. Khurram Aziz Khalid check - service defitions - enable perfdata - check plugin itsself - does it return perfdata - read the pluginapi.html for further information how perfdata will look like ________________________________ From: Martin Hugo To: Nagios Users List Sent: Fri, May 13, 2011 8:23:20 PM Subject: Re: [Nagios-users] pnp4nagios & Nagios Did you add the pnp4nagios commands to your commands file? Are your hosts using the host-pnp template? Is your service definition using the srv-pnp template? Marty From: khurram aziz [mailto:khurramazizkhalid at yahoo.com] Sent: Friday, May 13, 2011 10:58 AM To: nagios mailinglist Subject: [Nagios-users] pnp4nagios & Nagios Hi All, I have configured "Nagios 3.2.3" with default settings and for generating graphs i have configured "pnp4nagios-0.6.11". I have added a server in Nagios by installing the host file on that server and its working fine. i am also able to generate graphs for that server in pnp4nagios. b Now i have added 4 of my web servers using SNMP and they are all added in Nagios but they dont appear in pnp4nagiogs. can some1 tell me how i can make these web servers appear in pnp4nagios so that i can generate graph. Khurram Aziz Khalid ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- DI (FH) Michael Friedrich Vienna University Computer Center Universitaetsstrasse 7 A-1010 Vienna, Austria email: michael.friedrich at univie.ac.at phone: +43 1 4277 14359 mobile: +43 664 60277 14359 fax: +43 1 4277 14338 web: http://www.univie.ac.at/zid http://www.aco.net Icinga Core & IDOUtils Developer http://www.icinga.org -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 87 bytes Desc: image001.gif URL: -------------- next part -------------- ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From khurramazizkhalid at yahoo.com Fri May 13 18:45:29 2011 From: khurramazizkhalid at yahoo.com (khurram aziz) Date: Fri, 13 May 2011 09:45:29 -0700 (PDT) Subject: pnp4nagios & Nagios In-Reply-To: <70D7A4219FE365439DA53582BA6D8F2E176AB5F1@HCSD-MAIL2> References: <5438.72234.qm@web45911.mail.sp1.yahoo.com> <70D7A4219FE365439DA53582BA6D8F2E176AB581@HCSD-MAIL2> <41060.72234.qm@web45911.mail.sp1.yahoo.com> <4DCD51F3.8090602@univie.ac.at> <58210.55786.qm@web45910.mail.sp1.yahoo.com> <70D7A4219FE365439DA53582BA6D8F2E176AB5F1@HCSD-MAIL2> Message-ID: <966572.16430.qm@web45915.mail.sp1.yahoo.com> can u give me the templates and tell the exact path where i need to place them. Khurram Aziz Khalid ________________________________ From: Martin Hugo To: Nagios Users List Sent: Fri, May 13, 2011 9:20:48 PM Subject: Re: [Nagios-users] pnp4nagios & Nagios Hmm, don?t know why it is not showing up. I know that I have to add the host-pnp and srv-pnp templates to my hosts and services to generate graphs. I typically add host-pnp to every host definition and then just add srv-pnp to every service check that I want graphed. So a windows server would be ?use windows-server,host-pnp? and my switches are ?use generic-switch,host-pnp?. I also made all the edits to the Nagios.cfg and commands file as documented in the Nagios Manual. I am running on CentOS installed from source. Martin T. Hugo Network Administrator Hilliard City Schools 614-921-7102 (Ph) 614-771-7243 (Fax) Think before you print From:khurram aziz [mailto:khurramazizkhalid at yahoo.com] Sent: Friday, May 13, 2011 12:07 PM To: Nagios Users List Subject: Re: [Nagios-users] pnp4nagios & Nagios perfdata is enabled is I am using generic services for all of my servers. graphs are generated by using perfdata for the server on which i have installed the client and performance data is also being collected for the server which is added using SNMP. Attaced screenshot shows that performance data is being collected for the later server. Khurram Aziz Khalid ________________________________ From:Michael Friedrich To: nagios-users at lists.sourceforge.net Sent: Fri, May 13, 2011 8:44:51 PM Subject: Re: [Nagios-users] pnp4nagios & Nagios khurram aziz wrote: * Did you add the pnp4nagios commands to your commands file? * NO i did not add any pnp4nagios commands to my commands file, not for the server that is showing grpahs in pnp4nagios and not for the servers which i have added using SNMP * Are your hosts using the host-pnp template? * NO, my hosts are using the default templates * Is your service definition using the srv-pnp template? * No, my service definitions are using the default definitions. Khurram Aziz Khalid check - service defitions - enable perfdata - check plugin itsself - does it return perfdata - read the pluginapi.html for further information how perfdata will look like ________________________________ From:Martin Hugo To: Nagios Users List Sent: Fri, May 13, 2011 8:23:20 PM Subject: Re: [Nagios-users] pnp4nagios & Nagios Did you add the pnp4nagios commands to your commands file? Are your hosts using the host-pnp template? Is your service definition using the srv-pnp template? Marty From:khurram aziz [mailto:khurramazizkhalid at yahoo.com] Sent: Friday, May 13, 2011 10:58 AM To: nagios mailinglist Subject: [Nagios-users] pnp4nagios & Nagios Hi All, I have configured "Nagios 3.2.3" with default settings and for generating graphs i have configured "pnp4nagios-0.6.11". I have added a server in Nagios by installing the host file on that server and its working fine. i am also able to generate graphs for that server in pnp4nagios. b Now i have added 4 of my web servers using SNMP and they are all added in Nagios but they dont appear in pnp4nagiogs. can some1 tell me how i can make these web servers appear in pnp4nagios so that i can generate graph. Khurram Aziz Khalid ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- DI (FH) Michael Friedrich Vienna University Computer Center Universitaetsstrasse 7 A-1010 Vienna, Austria email: michael.friedrich at univie.ac.at phone: +43 1 4277 14359 mobile: +43 664 60277 14359 fax: +43 1 4277 14338 web: http://www.univie.ac.at/zid http://www.aco.net Icinga Core & IDOUtils Developer http://www.icinga.org -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 87 bytes Desc: image001.gif URL: -------------- next part -------------- ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cbeattie at geninfo.com Fri May 13 20:52:32 2011 From: cbeattie at geninfo.com (Chris Beattie) Date: Fri, 13 May 2011 14:52:32 -0400 Subject: recurring downtime In-Reply-To: <0699B9B3-B121-4FC6-9583-8F92502C5131@livescribe.com> References: <0699B9B3-B121-4FC6-9583-8F92502C5131@livescribe.com> Message-ID: <4DCD7DF0.9020908@geninfo.com> Julie S. Lin wrote: > > I'm trying to set up recurring downtimes for automatic reboots Below Have you considered scheduling host downtime instead? There's one fewer parameter to pass to the script. I think the service name is the tripping point. I was able to copypaste your command into a shell on my Nagios (with minor mods to work in my environment) and have it work. My services.cfg contains this: use standard_service name Disk_C service_description Disk: C display_name Disk: C check_command check_nt_disk!C!85!95 No matter what you use for the service name, it will show up in nagios.log. However, it's only when I use Disk: C that the downtime shows up on the web page. If I use Disk_C it does not. All the services for which I regularly schedule downtime happen to have the same string for their name, service_description, and display_name. I didn't need to figure out which one I needed. However, I did get tripped up setting service escalations the first time, because those use the service_description and not the name. It might be the same case here. -- -Chris ------ Nothing in this message is intended to make or accept an offer or to form a contract, except that an attachment that is an image of a contract bearing the signature of an officer of our company may be or become a contract. This message (including any attachments) is intended only for the use of the individual or entity to whom it is addressed. It may contain information that is non-public, proprietary, privileged, confidential, and exempt from disclosure under applicable law or may constitute as attorney work product. If you are not the intended recipient, we hereby notify you that any use, dissemination, distribution, or copying of this message is strictly prohibited. If you have received this message in error, please notify us immediately by telephone and delete this message immediately. Thank you. ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jlin at livescribe.com Fri May 13 21:56:08 2011 From: jlin at livescribe.com (Julie S. Lin) Date: Fri, 13 May 2011 12:56:08 -0700 Subject: recurring downtime In-Reply-To: <4DCD7DF0.9020908@geninfo.com> References: <0699B9B3-B121-4FC6-9583-8F92502C5131@livescribe.com> <4DCD7DF0.9020908@geninfo.com> Message-ID: HI Chris thanks so much I could have sworn I tried "smtp" vs "SMTP" but seems to be working now! identical service descriptions matter I guess. :) Julie S. Lin System Administrator jlin at livescribe.com (510) 553 4912 (o) (510) 367 5772 (c) On May 13, 2011, at 11:52 AM, Chris Beattie wrote: > Julie S. Lin wrote: >> >> I'm trying to set up recurring downtimes for automatic reboots Below > > Have you considered scheduling host downtime instead? There's one > fewer > parameter to pass to the script. I think the service name is the > tripping point. I was able to copypaste your command into a shell > on my > Nagios (with minor mods to work in my environment) and have it work. > > My services.cfg contains this: > > use standard_service > name Disk_C > service_description Disk: C > display_name Disk: C > check_command check_nt_disk!C!85!95 > > No matter what you use for the service name, it will show up in > nagios.log. However, it's only when I use Disk: C that the downtime > shows up on the web page. If I use Disk_C it does not. > > All the services for which I regularly schedule downtime happen to > have > the same string for their name, service_description, and display_name. > I didn't need to figure out which one I needed. However, I did get > tripped up setting service escalations the first time, because those > use > the service_description and not the name. It might be the same case > here. > > -- > -Chris > > ------ > > > Nothing in this message is intended to make or accept an offer or to > form a contract, except that an attachment that is an image of a > contract bearing the signature of an officer of our company may be > or become a contract. This message (including any attachments) is > intended only for the use of the individual or entity to whom it is > addressed. It may contain information that is non-public, > proprietary, privileged, confidential, and exempt from disclosure > under applicable law or may constitute as attorney work product. If > you are not the intended recipient, we hereby notify you that any > use, dissemination, distribution, or copying of this message is > strictly prohibited. If you have received this message in error, > please notify us immediately by telephone and delete this message > immediately. > > Thank you. > > > ------------------------------------------------------------------------------ > Achieve unprecedented app performance and reliability > What every C/C++ and Fortran developer should know. > Learn how Intel has extended the reach of its next-generation tools > to help boost performance applications - inlcuding clusters. > http://p.sf.net/sfu/intel-dev2devmay > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From caver13 at sbcglobal.net Fri May 13 23:18:51 2011 From: caver13 at sbcglobal.net (Adam Coleman) Date: Fri, 13 May 2011 14:18:51 -0700 (PDT) Subject: Email-Web interface contradiction Message-ID: <102329.46717.qm@web82805.mail.mud.yahoo.com> Howdy, I have a Nagios 2.10 installation that has sent me email (see below for text) today saying that a host is down. The problem is that the web interface says the host hasn't been checked in a week, and isn't scheduled to be checked again. Does anyone have an idea what is going on here? Thanks, Adam ////Email message text:////////////////////////////////// ***** Nagios? ***** Notification Type: PROBLEM Service: HTTP Host: [host name] State: CRITICAL for 0d 0h 3m 2s Address: [host address] Info: Connection refused Date/Time: Fri May 13 17:46:26 UTC 2011 ACK by: Comment: -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stanislas.leveau at ac-caen.fr Sat May 14 12:20:13 2011 From: stanislas.leveau at ac-caen.fr (Leveau Stanislas) Date: Sat, 14 May 2011 12:20:13 +0200 Subject: Email-Web interface contradiction In-Reply-To: <102329.46717.qm@web82805.mail.mud.yahoo.com> References: <102329.46717.qm@web82805.mail.mud.yahoo.com> Message-ID: <1c7a64003bac98c9.4dce737d@ac-caen.fr> Hi What is your nagios configuration about this service, timeperiods... Regards Stan Le 13/05/11, Adam Coleman a ?crit : > > > Howdy, > > I have a Nagios 2.10 installation that has sent me email (see below for text) today saying that a host is down. The problem is that the web interface says the host hasn't been checked in a week, and isn't scheduled to be checked again. Does anyone have an idea what is going on here? > > Thanks, > > Adam > > ////Email message text:////////////////////////////////// > ***** Nagios? ***** > > Notification Type: PROBLEM > > Service: HTTP > Host: [host name] > State: CRITICAL for 0d 0h 3m 2s > Address: [host address] > > Info: > > Connection refused > > Date/Time: Fri May 13 17:46:26 UTC 2011 > > ACK by: > Comment: > > > > > -- *************************************************** LEVEAU Stanislas Service Informatique de l'Acad?mie de CAEN D?partement du Suivi Technique Tel : 02 31 30 17 86 *************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From msarro at gmail.com Mon May 16 14:48:39 2011 From: msarro at gmail.com (Matty Sarro) Date: Mon, 16 May 2011 08:48:39 -0400 Subject: Newbie Question Message-ID: Hey everyone, I am still a newbie to nagios, so please bear with me. I am trying to find a plugin that will monitor the contents of a particular DB table. If certain status codes show up, then generate an alert. Is there something available off the shelf that can do this? Or will I have to write something myself? I already have a skeleton of a python script together to do the test, but I'd hate to completely implement it if there's a plugin out there that's fully fleshed out. Any help would be appreciated -Matthew ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From terry at cnysupport.com Mon May 16 15:34:16 2011 From: terry at cnysupport.com (Terry Carmen) Date: Mon, 16 May 2011 09:34:16 -0400 Subject: Newbie Question In-Reply-To: References: Message-ID: <20110516093416.48415i2h0wfmzxso@www.cnysupport.com> Quoting Matty Sarro : > Hey everyone, > I am still a newbie to nagios, so please bear with me. I am trying to > find a plugin that will monitor the contents of a particular DB table. > If certain status codes show up, then generate an alert. Is there > something available off the shelf that can do this? What database server? Terry -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From msarro at gmail.com Mon May 16 15:47:10 2011 From: msarro at gmail.com (Matty Sarro) Date: Mon, 16 May 2011 09:47:10 -0400 Subject: Newbie Question In-Reply-To: <20110516093416.48415i2h0wfmzxso@www.cnysupport.com> References: <20110516093416.48415i2h0wfmzxso@www.cnysupport.com> Message-ID: This is for mysql. I saw a plugin called check_mysql_query but it doesn't seem to be included in the plugins package I downloaded. I'm going to try reinstalling the plugins in case something got borked. I can't find it on exchange either. I may have one other possibility after some more searching: check_mysql_count Any further suggestions would really be appreciated though. -Matty On Mon, May 16, 2011 at 9:34 AM, Terry Carmen wrote: > Quoting Matty Sarro : > >> Hey everyone, >> I am still a newbie to nagios, so please bear with me. I am trying to >> find a plugin that will monitor the contents of a particular DB table. >> If certain status codes show up, then generate an alert. Is there >> something available off the shelf that can do this? > > What database server? > > Terry > > > ------------------------------------------------------------------------------ > Achieve unprecedented app performance and reliability > What every C/C++ and Fortran developer should know. > Learn how Intel has extended the reach of its next-generation tools > to help boost performance applications - inlcuding clusters. > http://p.sf.net/sfu/intel-dev2devmay > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From msarro at gmail.com Mon May 16 16:01:22 2011 From: msarro at gmail.com (Matty Sarro) Date: Mon, 16 May 2011 10:01:22 -0400 Subject: Newbie Question In-Reply-To: References: <20110516093416.48415i2h0wfmzxso@www.cnysupport.com> Message-ID: Weird, I just reinstalled the plugins and I still don't see check_mysql_query or check_mysql. This is installing from source following the quickstart guide. On Mon, May 16, 2011 at 9:47 AM, Matty Sarro wrote: > This is for mysql. I saw a plugin called check_mysql_query but it > doesn't seem to be included in the plugins package I downloaded. I'm > going to try reinstalling the plugins in case something got borked. I > can't find it on exchange either. > > I may have one other possibility after some more searching: > check_mysql_count > > Any further suggestions would really be appreciated though. > -Matty > > On Mon, May 16, 2011 at 9:34 AM, Terry Carmen wrote: >> Quoting Matty Sarro : >> >>> Hey everyone, >>> I am still a newbie to nagios, so please bear with me. I am trying to >>> find a plugin that will monitor the contents of a particular DB table. >>> If certain status codes show up, then generate an alert. Is there >>> something available off the shelf that can do this? >> >> What database server? >> >> Terry >> >> >> ------------------------------------------------------------------------------ >> Achieve unprecedented app performance and reliability >> What every C/C++ and Fortran developer should know. >> Learn how Intel has extended the reach of its next-generation tools >> to help boost performance applications - inlcuding clusters. >> http://p.sf.net/sfu/intel-dev2devmay >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting >> any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Mon May 16 16:00:57 2011 From: jim at jimavery.me.uk (Jim Avery) Date: Mon, 16 May 2011 15:00:57 +0100 Subject: Newbie Question In-Reply-To: References: <20110516093416.48415i2h0wfmzxso@www.cnysupport.com> Message-ID: On 16 May 2011 14:47, Matty Sarro wrote: > This is for mysql. I saw a plugin called check_mysql_query but it > doesn't seem to be included in the plugins package I downloaded. I'm > going to try reinstalling the plugins in case something got borked. I > can't find it on exchange either. > > I may have one other possibility after some more searching: > check_mysql_count > > Any further suggestions would really be appreciated though. If you can't find anything suitable 'off the shelf' then there is a plugin "check_snmptraps.pl" included with the NagTrap addon which is supposed to be for checking the number of traps in the nagtrap database but I expect it would be easy to rewrite it to query whatever MySQL database you like. ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From giles at coochey.net Mon May 16 16:20:47 2011 From: giles at coochey.net (Giles Coochey) Date: Mon, 16 May 2011 16:20:47 +0200 Subject: Newbie Question In-Reply-To: References: <20110516093416.48415i2h0wfmzxso@www.cnysupport.com> Message-ID: On Mon, May 16, 2011 16:01, Matty Sarro wrote: > Weird, I just reinstalled the plugins and I still don't see > check_mysql_query or check_mysql. This is installing from source > following the quickstart guide. > You may need some mysql devel packages on your system? ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From msarro at gmail.com Mon May 16 16:21:07 2011 From: msarro at gmail.com (Matty Sarro) Date: Mon, 16 May 2011 10:21:07 -0400 Subject: Newbie Question In-Reply-To: References: <20110516093416.48415i2h0wfmzxso@www.cnysupport.com> Message-ID: Thanks everyone! It turns out there is a dependency for check_mysql_query to compile correctly. I installed the dep, recompiled, and now have access to it. This looks like it will return exactly what I need. Thanks again! On Mon, May 16, 2011 at 10:00 AM, Jim Avery wrote: > On 16 May 2011 14:47, Matty Sarro wrote: >> This is for mysql. I saw a plugin called check_mysql_query but it >> doesn't seem to be included in the plugins package I downloaded. I'm >> going to try reinstalling the plugins in case something got borked. I >> can't find it on exchange either. >> >> I may have one other possibility after some more searching: >> check_mysql_count >> >> Any further suggestions would really be appreciated though. > > > If you can't find anything suitable 'off the shelf' then there is a > plugin "check_snmptraps.pl" included with the NagTrap addon which is > supposed to be for checking the number of traps in the nagtrap > database but I expect it would be easy to rewrite it to query whatever > MySQL database you like. > > ------------------------------------------------------------------------------ > Achieve unprecedented app performance and reliability > What every C/C++ and Fortran developer should know. > Learn how Intel has extended the reach of its next-generation tools > to help boost performance applications - inlcuding clusters. > http://p.sf.net/sfu/intel-dev2devmay > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rosenski at wave-computer.de Mon May 16 16:25:50 2011 From: rosenski at wave-computer.de (Axel Rosenski) Date: Mon, 16 May 2011 16:25:50 +0200 Subject: Newbie Question In-Reply-To: References: Message-ID: <201105161625.50730.rosenski@wave-computer.de> Hi, did you install the plugins from source? You have to install libmysqlclient and reinstall the plugins again. configure checks the libraries on your system. Regards Axel Am Montag, 16. Mai. 11, 16:01:22 schrieb Matty Sarro: > Weird, I just reinstalled the plugins and I still don't see > check_mysql_query or check_mysql. This is installing from source > following the quickstart guide. > > On Mon, May 16, 2011 at 9:47 AM, Matty Sarro wrote: > > This is for mysql. I saw a plugin called check_mysql_query but it > > doesn't seem to be included in the plugins package I downloaded. I'm > > going to try reinstalling the plugins in case something got borked. I > > can't find it on exchange either. > > > > I may have one other possibility after some more searching: > > check_mysql_count > > > > Any further suggestions would really be appreciated though. > > -Matty > > > > On Mon, May 16, 2011 at 9:34 AM, Terry Carmen wrote: > >> Quoting Matty Sarro : > >>> Hey everyone, > >>> I am still a newbie to nagios, so please bear with me. I am trying to > >>> find a plugin that will monitor the contents of a particular DB table. > >>> If certain status codes show up, then generate an alert. Is there > >>> something available off the shelf that can do this? > >> > >> What database server? > >> > >> Terry > >> > >> > >> ------------------------------------------------------------------------ > >> ------ Achieve unprecedented app performance and reliability > >> What every C/C++ and Fortran developer should know. > >> Learn how Intel has extended the reach of its next-generation tools > >> to help boost performance applications - inlcuding clusters. > >> http://p.sf.net/sfu/intel-dev2devmay > >> _______________________________________________ > >> Nagios-users mailing list > >> Nagios-users at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/nagios-users > >> > >> ::: Please include Nagios version, plugin version (-v) and OS when > >> ::: reporting > >> > >> any issue. > >> > >> ::: Messages without supporting info will risk being sent to /dev/null > > --------------------------------------------------------------------------- > --- Achieve unprecedented app performance and reliability > What every C/C++ and Fortran developer should know. > Learn how Intel has extended the reach of its next-generation tools > to help boost performance applications - inlcuding clusters. > http://p.sf.net/sfu/intel-dev2devmay > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > ::: reporting any issue. Messages without supporting info will risk being > ::: sent to /dev/null -- Axel Rosenski - Administration - ______________________________ Wave Computersysteme GmbH Philipp-Reis-Str. 1-3 / 9 35440 Linden Gesch?ftsf?hrer: Carsten Kellmann Registergericht Gie?en HRB 1823 Tel.: +49 (0)6403 / 9050 8317 Fax: +49 (0)6403 / 9050 5089 mailto:rosenski at wave-computer.de http://www.wave-computer.de ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From msarro at gmail.com Mon May 16 17:49:47 2011 From: msarro at gmail.com (Matty Sarro) Date: Mon, 16 May 2011 11:49:47 -0400 Subject: Newbie Question In-Reply-To: <201105161625.50730.rosenski@wave-computer.de> References: <201105161625.50730.rosenski@wave-computer.de> Message-ID: That fixed it :) Thanks all! On Mon, May 16, 2011 at 10:25 AM, Axel Rosenski wrote: > Hi, > did you install the plugins from source? > > You have to install libmysqlclient and reinstall the plugins again. configure > checks the libraries on your system. > > Regards Axel > > > Am Montag, 16. Mai. 11, 16:01:22 schrieb Matty Sarro: >> Weird, I just reinstalled the plugins and I still don't see >> check_mysql_query or check_mysql. This is installing from source >> following the quickstart guide. >> >> On Mon, May 16, 2011 at 9:47 AM, Matty Sarro wrote: >> > This is for mysql. I saw a plugin called check_mysql_query but it >> > doesn't seem to be included in the plugins package I downloaded. I'm >> > going to try reinstalling the plugins in case something got borked. I >> > can't find it on exchange either. >> > >> > I may have one other possibility after some more searching: >> > check_mysql_count >> > >> > Any further suggestions would really be appreciated though. >> > -Matty >> > >> > On Mon, May 16, 2011 at 9:34 AM, Terry Carmen > wrote: >> >> Quoting Matty Sarro : >> >>> Hey everyone, >> >>> I am still a newbie to nagios, so please bear with me. I am trying to >> >>> find a plugin that will monitor the contents of a particular DB table. >> >>> If certain status codes show up, then generate an alert. Is there >> >>> something available off the shelf that can do this? >> >> >> >> What database server? >> >> >> >> Terry >> >> >> >> >> >> ------------------------------------------------------------------------ >> >> ------ Achieve unprecedented app performance and reliability >> >> What every C/C++ and Fortran developer should know. >> >> Learn how Intel has extended the reach of its next-generation tools >> >> to help boost performance applications - inlcuding clusters. >> >> http://p.sf.net/sfu/intel-dev2devmay >> >> _______________________________________________ >> >> Nagios-users mailing list >> >> Nagios-users at lists.sourceforge.net >> >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> >> >> >> ::: Please include Nagios version, plugin version (-v) and OS when >> >> ::: reporting >> >> >> >> any issue. >> >> >> >> ::: Messages without supporting info will risk being sent to /dev/null >> >> --------------------------------------------------------------------------- >> --- Achieve unprecedented app performance and reliability >> What every C/C++ and Fortran developer should know. >> Learn how Intel has extended the reach of its next-generation tools >> to help boost performance applications - inlcuding clusters. >> http://p.sf.net/sfu/intel-dev2devmay >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> >> ::: Please include Nagios version, plugin version (-v) and OS when >> ::: reporting any issue. Messages without supporting info will risk being >> ::: sent to /dev/null > > > -- > Axel Rosenski > - Administration - > ______________________________ > Wave Computersysteme GmbH > Philipp-Reis-Str. 1-3 / 9 > 35440 Linden > > Gesch?ftsf?hrer: Carsten Kellmann > Registergericht Gie?en HRB 1823 > > Tel.: +49 (0)6403 / 9050 8317 > Fax: +49 (0)6403 / 9050 5089 > mailto:rosenski at wave-computer.de > http://www.wave-computer.de > > > ------------------------------------------------------------------------------ > Achieve unprecedented app performance and reliability > What every C/C++ and Fortran developer should know. > Learn how Intel has extended the reach of its next-generation tools > to help boost performance applications - inlcuding clusters. > http://p.sf.net/sfu/intel-dev2devmay > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon May 16 20:44:31 2011 From: work at paul.dubuc.org (Paul M. Dubuc) Date: Mon, 16 May 2011 14:44:31 -0400 Subject: Flap Detection: Why do only HARD state changes count? Message-ID: <4DD1708F.6070304@paul.dubuc.org> This isn't explicitly stated in the documentation, but it seems that flap detection state changes only apply to HARD states. So it's possible that a service check and toggle back and forth indefinitely between OK and not OK (unless max_check_attempts is set to 1) and flapping will not be detected. I tested this with a service that does this and verified the behavior. The Last State Change time gets updated with each SOFT state change, but the % state change for flap detection remains at 0% until I set max_check_attempts to 1 and let it toggle between hard state changes. Is this a bug or is it by design? Is there a way to include SOFT state transitions in flap detection? I'm using Nagios Core 3.2.3. ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From amh at metricwise.net Mon May 16 20:18:51 2011 From: amh at metricwise.net (Adam Heinz) Date: Mon, 16 May 2011 14:18:51 -0400 Subject: Error: Could not read object configuration data! Message-ID: Running nagios-3.2.3-8.fc14.x86_64 rpm, clicking most links in the leftnav result in the "Error: Could not read object configuration data!" First things first, from every FAQ I've read: # nagios -v /etc/nagios/nagios.cfg Total Warnings: 0 Total Errors: 0 # /etc/init.d/nagios status nagios (pid 17797) is running... # tail /var/log/nagios/nagios.log [1305566224] Nagios 3.2.3 starting... (PID=17796) [1305566224] Local time is Mon May 16 17:17:04 UTC 2011 [1305566224] LOG VERSION: 2.0 [1305566225] Finished daemonizing... (New PID=17797) [1305566585] SERVICE ALERT: localhost;HTTP;CRITICAL;SOFT;1;HTTP CRITICAL - Invalid HTTP response received from host: So it's running check_http no problem with a nominal failure (nothing at /, so 403). Same behavior when I run check_http from the command line, so all that appears to be working as expected. Reading http://www.mail-archive.com/nagios-users at lists.sourceforge.net/msg19610.html makes me wonder if I have some sort of file permissions issue such that nagios is running fine, but apache is unable to read certain files when it executes CGI. I haven't figured out how to turn up the log level for CGI. Turning Apache's LogLevel up to debug hasn't shown me anything interesting. Any ideas? ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dey.ranjib at gmail.com Tue May 17 05:39:28 2011 From: dey.ranjib at gmail.com (ranjib dey) Date: Tue, 17 May 2011 09:09:28 +0530 Subject: Flap Detection: Why do only HARD state changes count? In-Reply-To: <4DD1708F.6070304@paul.dubuc.org> References: <4DD1708F.6070304@paul.dubuc.org> Message-ID: This is by design. As you have mentioned you can tweak the Max check attention to trigger hard state change soon after a soft state transition On May 17, 2011 12:20 AM, "Paul M. Dubuc" wrote: > This isn't explicitly stated in the documentation, but it seems that flap > detection state changes only apply to HARD states. So it's possible that a > service check and toggle back and forth indefinitely between OK and not OK > (unless max_check_attempts is set to 1) and flapping will not be detected. I > tested this with a service that does this and verified the behavior. The Last > State Change time gets updated with each SOFT state change, but the % state > change for flap detection remains at 0% until I set max_check_attempts to 1 > and let it toggle between hard state changes. > > Is this a bug or is it by design? Is there a way to include SOFT state > transitions in flap detection? > > I'm using Nagios Core 3.2.3. > > ------------------------------------------------------------------------------ > Achieve unprecedented app performance and reliability > What every C/C++ and Fortran developer should know. > Learn how Intel has extended the reach of its next-generation tools > to help boost performance applications - inlcuding clusters. > http://p.sf.net/sfu/intel-dev2devmay > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From terry at cnysupport.com Tue May 17 06:36:11 2011 From: terry at cnysupport.com (Terry Carmen) Date: Tue, 17 May 2011 00:36:11 -0400 Subject: Newbie Question In-Reply-To: References: <201105161625.50730.rosenski@wave-computer.de> Message-ID: <20110517003611.95554lro0f9iqa04@www.cnysupport.com> Quoting Matty Sarro : >>> >>> Hey everyone, >>> >>> I am still a newbie to nagios, so please bear with me. I am trying to >>> >>> find a plugin that will monitor the contents of a particular DB table. >>> >>> If certain status codes show up, then generate an alert. Is there >>> >>> something available off the shelf that can do this? FWIW, you might be looking at the wrong end of the problem. Instead of having Nagios constantly query the database for your status codes, why don't you add a trigger on the table to do what you want when the record is updated. This could include generating a trap or notifying Nagios though another method. It's much more efficient to work with the actual data at the source, than to keep watching from the outside. http://dev.mysql.com/doc/refman/5.0/en/create-trigger.html Terry -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From atann at alphasrv.net Tue May 17 09:54:04 2011 From: atann at alphasrv.net (Andre Tann) Date: Tue, 17 May 2011 09:54:04 +0200 Subject: Passive check windows clients Message-ID: <201105170954.04419@inter.netz> Hello everyone, I have been googling around for a while now, but still don't have a satisfying answer: How can I passive-check the disk and load state of a windows client? What I want is that if the client is up, it tells its disk/load state once a day or so to nagios. If the client is down or somewhere on the road, never mind. And how would I do this with mac clients? Thanks for some tips or headwords for google. -- Andre Tann ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcasale at activenetwerx.com Tue May 17 10:54:01 2011 From: jcasale at activenetwerx.com (Joseph L. Casale) Date: Tue, 17 May 2011 08:54:01 +0000 Subject: Passive check windows clients In-Reply-To: <201105170954.04419@inter.netz> References: <201105170954.04419@inter.netz> Message-ID: >How can I passive-check the disk and load state of a windows client? >What I want is that if the client is up, it tells its disk/load state >once a day or so to nagios. If the client is down or somewhere on the >road, never mind. > >And how would I do this with mac clients? Don't use a mac personally, but you can schedule the check locally at a frequency you desire, and submit this to a passive job def with its freshness check disabled so it will never timeout. HTH, jlc ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Tue May 17 10:57:02 2011 From: ae at op5.se (Andreas Ericsson) Date: Tue, 17 May 2011 10:57:02 +0200 Subject: RFC/RFP: Service parents Message-ID: <4DD2385E.5020407@op5.se> Ahoy. This is the first of a few requests for comments and patches that I'll be sending out, requesting comments and patches. Please keep bikeshedding to a minimum. One of the more common ideas at ideas.nagios.org is to make Nagios easier to configure with regards to service dependencies in order to suppress notifications from being sent out. The most common case when this happens is when an agent on a monitored host goes to lunch but several of the checks configured for the host depends on that agent being up and running. The idea to easily solve such dependencies is to allow services to have "parents". There will be some few limitations to how these parents work, however, since we want to make it easy for people to use and we also want to make it easy to implement. * The parent of a service must reside on the same host as the child service. * If the parent is in any non-ok state, notifications from the child service will be blocked, but the child service check will still be executed normally. * Internally, Nagios will create a servicedependency with a simple notification_failure_criteria = ~STATE_OK upon the service parent. This is necessary to avoid breaking the eventbroker ABI. In Nagios 4, this can be changed, but for now we remain binary compatible with current eventbrokers. Comments and patches welcome. -- 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. ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From atann at alphasrv.net Tue May 17 11:31:11 2011 From: atann at alphasrv.net (Andre Tann) Date: Tue, 17 May 2011 11:31:11 +0200 Subject: Passive check windows clients In-Reply-To: References: <201105170954.04419@inter.netz> Message-ID: <720370d1-06e1-4674-a203-1c9814d28bde@email.android.com> >Don't use a mac personally, but you can schedule the check locally at a >frequency you desire, and submit this to a passive job def with its >freshness >check disabled so it will never timeout. Ok. And what piece of software would be needed on the windows side to check disk/load? Thanks, Andre ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From maxs at webwizarddesign.com Tue May 17 11:34:35 2011 From: maxs at webwizarddesign.com (Max Schubert) Date: Tue, 17 May 2011 05:34:35 -0400 Subject: [Nagios-devel] RFC/RFP: Service parents In-Reply-To: <4DD2385E.5020407@op5.se> References: <4DD2385E.5020407@op5.se> Message-ID: Andreas, How does this differ functionality from the current ability to describe dependencies with servicedependency? Is it just easier to define (I agree that would be a win) ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Tue May 17 11:48:50 2011 From: ae at op5.se (Andreas Ericsson) Date: Tue, 17 May 2011 11:48:50 +0200 Subject: [Nagios-users] RFC/RFP: Service parents In-Reply-To: References: <4DD2385E.5020407@op5.se> Message-ID: <4DD24482.90105@op5.se> On 05/17/2011 11:34 AM, Max Schubert wrote: > Andreas, > > How does this differ functionality from the current ability to > describe dependencies with servicedependency? Is it just easier to > define (I agree that would be a win) > It's just easier to describe, and it ties in nicely with different additions to the configuration syntax being planned. It does have some limitations, but in 99.5% of all dependencies I've seen, it matches the usecase people put dependencies to so it should be quite a nice win anyway. -- 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. ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay From maxs at webwizarddesign.com Tue May 17 11:53:16 2011 From: maxs at webwizarddesign.com (Max Schubert) Date: Tue, 17 May 2011 05:53:16 -0400 Subject: [Nagios-devel] RFC/RFP: Service parents In-Reply-To: <4DD24482.90105@op5.se> References: <4DD2385E.5020407@op5.se> <4DD24482.90105@op5.se> Message-ID: On Tue, May 17, 2011 at 5:48 AM, Andreas Ericsson wrote: > On 05/17/2011 11:34 AM, Max Schubert wrote: >> Andreas, >> >> How does this differ functionality from the current ability to >> describe dependencies with servicedependency? ?Is it just easier to >> define (I agree that would be a win) >> > > It's just easier to describe, and it ties in nicely with different > additions to the configuration syntax being planned. It does have > some limitations, but in 99.5% of all dependencies I've seen, it > matches the usecase people put dependencies to so it should be quite > a nice win anyway. I agree - the current syntax is very flexible but understanding how to implement it properly for some users results in a very painful learning curve. Any plans to detatch notification attributes from service / host definitions in 4.x and make them their own top-level configuration class like escalations to make it easier to scale notification definitions for large projects? - Max ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Tue May 17 13:13:37 2011 From: jim at jimavery.me.uk (Jim Avery) Date: Tue, 17 May 2011 12:13:37 +0100 Subject: Passive check windows clients In-Reply-To: <720370d1-06e1-4674-a203-1c9814d28bde@email.android.com> References: <201105170954.04419@inter.netz> <720370d1-06e1-4674-a203-1c9814d28bde@email.android.com> Message-ID: On 17 May 2011 10:31, Andre Tann wrote: > > >>Don't use a mac personally, but you can schedule the check locally at a >>frequency you desire, and submit this to a passive job def with its >>freshness >>check disabled so it will never timeout. > > Ok. And what piece of software would be needed on the windows side to check disk/load? > > Thanks, > Andre The NSClient++ agent will do this quite nicely. You will of course need nsca installed on your Nagios server to receive and process the incoming alerts. The config directives in the NSClient++ configuration file will need to look something like this: [modules] NSCAAgent.dll [NSCA Agent] ;# CHECK INTERVAL (in seconds) ; How often we should run the checks and submit the results. interval=300 ; ;# ENCRYPTION METHOD ; This option determines the method by which the send_nsca client will encrypt the packets it sends ; to the nsca daemon. The encryption method you choose will be a balance between security and ; performance, as strong encryption methods consume more processor resources. ; You should evaluate your security needs when choosing an encryption method. ; ; Note: The encryption method you specify here must match the decryption method the nsca daemon uses ; (as specified in the nsca.cfg file)!! ; Values: ; 0 = None (Do NOT use this option) ; 1 = Simple XOR (No security, just obfuscation, but very fast) ; 2 = DES ; 3 = 3DES (Triple DES) ; 4 = CAST-128 ; 6 = xTEA ; 8 = BLOWFISH ; 9 = TWOFISH ; 11 = RC2 ; 14 = RIJNDAEL-128 (AES) ; 20 = SERPENT encryption_method=1 ; ;# ENCRYPTION PASSWORD ; This is the password/passphrase that should be used to encrypt the sent packets. password=obfuscate ; ;# BIND TO ADDRESS ; Allows you to bind server to a specific local address. This has to be a dotted ip adress not a hostname. ; Leaving this blank will bind to "one" local interface. ; -- not supported as of now -- ;bind_to_address= ; ;# LOCAL HOST NAME ; The name of this host (if empty "computername" will be used. ;hostname= ; ;# NAGIOS SERVER ADDRESS ; The address to the nagios server to submit results to. nsca_host=100.1.2.3 ; ;# NAGIOS SERVER PORT ; The port to the nagios server to submit results to. nsca_port=5667 ; [NSCA Commands] CPU=CheckCPU warn=98 crit=99 time=1m warn=90 crit=95 time=5m warn=80 crit=90 time=15m ShowAll Disks=CheckDriveSize ShowAll MaxWarnUsed=90% MaxCritUsed=95% CheckAllOthers FilterType=FIXED Drive=E:\ You will probably want to include a passive host check too - I haven't configured one here as I use an active check myself for those. hth, Jim ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Tue May 17 13:24:47 2011 From: jim at jimavery.me.uk (Jim Avery) Date: Tue, 17 May 2011 12:24:47 +0100 Subject: RFC/RFP: Service parents In-Reply-To: <4DD2385E.5020407@op5.se> References: <4DD2385E.5020407@op5.se> Message-ID: On 17 May 2011 09:57, Andreas Ericsson wrote: > Comments and patches welcome. That sounds good - servicedependencies can be quite painful to understand. Ultimately I would quite like it if the cgi could display the child services indented below the parent to make it more obvious what the relationships are to the end user. Likewise, I would like the option, much like the 'blocking outages' screen to be able to view only the blocking service, not the affected child services. Cheers, Jim ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From aravind at linuz.in Tue May 17 13:24:55 2011 From: aravind at linuz.in (Aravind M D) Date: Tue, 17 May 2011 16:54:55 +0530 Subject: Log2ndo Message-ID: Hi All, I am trying to export the historical nagios log data to database using log2ndo but only nagios_logentries getting populated all the other tables are empty. Command which i am using is log2ndo -s /var/log/nagios3/archives/nagios-05-17-2011-00.log -d /var/cache/nagios3/ndo.sock -i default Please help me to export the historical data to database. Rgds, Aravind M D -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Tue May 17 13:57:55 2011 From: ae at op5.se (Andreas Ericsson) Date: Tue, 17 May 2011 13:57:55 +0200 Subject: [Nagios-users] RFC/RFP: Service parents In-Reply-To: References: <4DD2385E.5020407@op5.se> <4DD24482.90105@op5.se> Message-ID: <4DD262C3.70307@op5.se> On 05/17/2011 11:53 AM, Max Schubert wrote: > On Tue, May 17, 2011 at 5:48 AM, Andreas Ericsson wrote: >> On 05/17/2011 11:34 AM, Max Schubert wrote: >>> Andreas, >>> >>> How does this differ functionality from the current ability to >>> describe dependencies with servicedependency? Is it just easier to >>> define (I agree that would be a win) >>> >> >> It's just easier to describe, and it ties in nicely with different >> additions to the configuration syntax being planned. It does have >> some limitations, but in 99.5% of all dependencies I've seen, it >> matches the usecase people put dependencies to so it should be quite >> a nice win anyway. > > I agree - the current syntax is very flexible but understanding how to > implement it properly for some users results in a very painful > learning curve. > Yes, that's more or less the only reason to implement service parents. > Any plans to detatch notification attributes from service / host > definitions in 4.x and make them their own top-level configuration > class like escalations to make it easier to scale notification > definitions for large projects? > Not really. What would such an object look like? How would it add additional benefit compared to using templates for hosts and services? I think if I could just see some sort of example definition of it I'd get an inkling of why some seem to think it's such a great idea. Right now, I see no additional benefit to it. -- 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. ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay From lists at catsnest.co.uk Tue May 17 14:14:30 2011 From: lists at catsnest.co.uk (lists) Date: Tue, 17 May 2011 13:14:30 +0100 Subject: RFC/RFP: Service parents In-Reply-To: <4DD2385E.5020407@op5.se> References: <4DD2385E.5020407@op5.se> Message-ID: You can probally ask these questions your self but... If my understanding of this is correct, How will this work in a templated environment? eg Will the parent service be configured via a hostname / service name pair Or just a service name, that Nagios will look on the applied host to find? (I ask as we use host templates to apply service to hosts). I am probably being very anal here, would this situation work? Host | - service0 NRPE --> -- service1 App check1 -- service2 App check2 | - service3 HTTP check1 - service4 HTTP check2 Could we have "HTTP check1" depend on "App check1" but not "NRPE"? eg NRPE dies so service1 alerts are suppressed, but "service3" will alert if needed. But if "App check1" fails (but not NRPE) "HTTP check1" will not alert? -- Ritchie On Tue, May 17, 2011 at 9:57 AM, Andreas Ericsson wrote: > Ahoy. > > This is the first of a few requests for comments and patches that > I'll be sending out, requesting comments and patches. Please keep > bikeshedding to a minimum. > > One of the more common ideas at ideas.nagios.org is to make Nagios > easier to configure with regards to service dependencies in order > to suppress notifications from being sent out. The most common > case when this happens is when an agent on a monitored host goes to > lunch but several of the checks configured for the host depends on > that agent being up and running. > > The idea to easily solve such dependencies is to allow services to > have "parents". There will be some few limitations to how these > parents work, however, since we want to make it easy for people to > use and we also want to make it easy to implement. > * The parent of a service must reside on the same host as the child > ?service. > * If the parent is in any non-ok state, notifications from the child > ?service will be blocked, but the child service check will still be > ?executed normally. > * Internally, Nagios will create a servicedependency with a simple > ? ?notification_failure_criteria = ~STATE_OK > ?upon the service parent. This is necessary to avoid breaking the > ?eventbroker ABI. In Nagios 4, this can be changed, but for now we > ?remain binary compatible with current eventbrokers. > > > Comments and patches welcome. > > -- > 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. > > ------------------------------------------------------------------------------ > Achieve unprecedented app performance and reliability > What every C/C++ and Fortran developer should know. > Learn how Intel has extended the reach of its next-generation tools > to help boost performance applications - inlcuding clusters. > http://p.sf.net/sfu/intel-dev2devmay > _______________________________________________ > Nagios-devel mailing list > Nagios-devel at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-devel > ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Nagios-devel mailing list Nagios-devel at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-devel From trm.nagios at gmail.com Tue May 17 14:18:15 2011 From: trm.nagios at gmail.com (trm asn) Date: Tue, 17 May 2011 17:48:15 +0530 Subject: Integration of reports-module Message-ID: Dear List, Is there any possibility to integrate op5 "reports-module" in Nagios 3.2.3 . /\ dE ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Tue May 17 14:27:17 2011 From: ae at op5.se (Andreas Ericsson) Date: Tue, 17 May 2011 14:27:17 +0200 Subject: RFC/RFP Service sets Message-ID: <4DD269A5.5070804@op5.se> Ahoy (again). One of the ideas that surfaced on the Nagios developer meeting in Bolzano was a concept dubbed "service sets". Consider them basically "partial host service profiles" and you'll have roughly the right idea. The benefits of adding service sets is that users can share config settings for various types of hosts rather than some particular check, and also that the question "does Nagios support monitoring X?" is quite easily answerable on a higher level than "no, but you can add checks for this and that, and this too, so it sort of does anyway", which tends to leave people who have no idea of how Nagios works quite baffled. There are two implementation suggestions so far, perhaps best explained in sample configuration: --%<--%<--%<--%<--%<-- # compound-in-compound style (aka, "extended template style"): define service_set { name windows-services use windows-service-template contact_groups windows-admins parents NSClient define service { description NSClient ; parent of all the others ... } define service { description Disk usage C check_command check_nsclient!C!80!90 .... } } define service_set { use database-service-template name psql-services contact_groups db-admins parents PSQL Listener define service { description PSQL Listener; parent of the other ones .... } define service { description Cache hit ratio ... } define service { description Slow queries ... } } define host { host_name win-psql1 service_sets windows-services,psql-services } --%<--%<--%<--%<--%<-- Pros: * Less typing. * Config is more normalized with less redundant information. * Service sets can also double as templates for the services they contain. * A service-set is obviously safe-contained and quite easy to share under whatever name the recipient wishes to set for it. * Rules can be set so that the 'parents' directive inside a service_set has to refer to a service inside the service_set, for which the parents directive is then ignored. * The service set object will always be created when we're adding services to it, so we needn't stash them separately for adding later (ie, much easier to parse). Cons: * The config style used means current config parsers have to be modified to grok multi-level compounds in order to understand service-sets. --%<--%<--%<--%<--%<-- # regular object-by-object style define service { use windows-service-template description Disk usage C service_sets windows-services parents NSClient ... } define service { use windows-service-template description NSClient service_sets windows-services ... } define service { use database-service-template description PSQL Listener service_sets psql-services ... } define service { use database-service-template description Cache hit ratio parents PSQL Listener service_sets psql-services ... } define service { use database-service-template parents PSQL Listener description Slow queries service_sets psql-services ... } define host { host_name win-psql1 service_sets windows-services,psql-services } --%<--%<--%<--%<--%<-- Pros: * Can be used very nearly seamlessly with the current configuration parser. * Current config parsers need very little modification to work. * A single service can belong to many service sets without requiring duplication. Cons: * Harder to separate and isolate service sets for sharing. * Services get overloaded so they have to belong to either a host, a hostgroup or a service_set, which leads to more complex logic. * Service sets will require lookups and they can't be parsed as efficiently as the compound-in-compound method. Please note that the current way of specifying services will still continue to work, although I'd quite like to deprecate adding services to hostgroups sometime in the near future, as I feel we're overloading group objects quite enough as it is. A conversion tool to create service sets out of the hostgroup-enslaved services would have to be written before the deprecation and before the end of the support for such configs though. Comments, patches and conversion tools are very welcome. Authors of configuration UI's should take plan to ignore both the service_sets variable in objects and the service_set object type sometime soon, so they will continue to work before the format is set in stone but after we've started implementing this. -- 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. ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Tue May 17 14:37:24 2011 From: ae at op5.se (Andreas Ericsson) Date: Tue, 17 May 2011 14:37:24 +0200 Subject: Integration of reports-module In-Reply-To: References: Message-ID: <4DD26C04.5070209@op5.se> On 05/17/2011 02:18 PM, trm asn wrote: > > Is there any possibility to integrate op5 "reports-module" in Nagios 3.2.3 . > Not really. First of all because the op5-reports-module functionality has been superseded by Merlin, and secondly because it by its very nature already gets tightly coupled with Nagios as soon as it's loaded into the Nagios core. What we could do is to add a relatively simple module download, build and install tool that takes care of installing modules such as merlin, livestatus, DNX, NDOUtils and whatnot. I could add a fairly simple framework for it and then random module authors could take care of adding support for their own modules or addons. That's probably the closest we're going to get to shipping addons and modules along with Nagios core, and it's really the only sensible thing to do. -- 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. ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From standalone.sysadmin at gmail.com Tue May 17 15:21:32 2011 From: standalone.sysadmin at gmail.com (Matt Simmons) Date: Tue, 17 May 2011 09:21:32 -0400 Subject: [Nagios-devel] RFC/RFP Service sets In-Reply-To: <4DD269A5.5070804@op5.se> References: <4DD269A5.5070804@op5.se> Message-ID: Hi, On first glance, I liked the nested config example, but after thinking about it for a little while, I'm starting to lean toward specifying the service_sets per service. In cases where multiple groups contribute to the Nagios configuration of an entity, doing this will allow each group to "subscribe" their services, and file permissions on the individual cfg files can be maintained, whereas storing things in the nested service_set object requires everyone to be able to write to that (plus it adds some additional complexity). For what it's worth, I'm one of those people who are using host groups to assign services to machines because I like being able to minimize my work and maximize my results, and that's the shortest cut I've seen so far. This replaces that functionality nicely, I think. --Matt On Tue, May 17, 2011 at 8:27 AM, Andreas Ericsson wrote: > Ahoy (again). > > One of the ideas that surfaced on the Nagios developer meeting in > Bolzano was a concept dubbed "service sets". Consider them basically > "partial host service profiles" and you'll have roughly the right > idea. > > The benefits of adding service sets is that users can share config > settings for various types of hosts rather than some particular check, > and also that the question "does Nagios support monitoring X?" is > quite easily answerable on a higher level than "no, but you can add > checks for this and that, and this too, so it sort of does anyway", > which tends to leave people who have no idea of how Nagios works > quite baffled. > > There are two implementation suggestions so far, perhaps best explained > in sample configuration: > > --%<--%<--%<--%<--%<-- > # compound-in-compound style (aka, "extended template style"): > define service_set { > ? ? ? ?name ? ? windows-services > ? ? ? ?use ? ? ?windows-service-template > ? ? ? ?contact_groups ?windows-admins > ? ? ? ?parents ? ? ? ? NSClient > > ? ? ? ?define service { > ? ? ? ? ? ? ? ?description ? ?NSClient ; parent of all the others > ? ? ? ? ? ? ? ?... > ? ? ? ?} > ? ? ? ?define service { > ? ? ? ? ? ? ? ?description Disk usage C > ? ? ? ? ? ? ? ?check_command ?check_nsclient!C!80!90 > ? ? ? ? ? ? ? ?.... > ? ? ? ?} > } > > define service_set { > ? ? ? ?use database-service-template > ? ? ? ?name psql-services > ? ? ? ?contact_groups db-admins > ? ? ? ?parents PSQL Listener > > ? ? ? ?define service { > ? ? ? ? ? ? ? ?description PSQL Listener; parent of the other ones > ? ? ? ? ? ? ? ?.... > ? ? ? ?} > ? ? ? ?define service { > ? ? ? ? ? ? ? ?description Cache hit ratio > ? ? ? ? ? ? ? ?... > ? ? ? ?} > ? ? ? ?define service { > ? ? ? ? ? ? ? ?description Slow queries > ? ? ? ? ? ? ? ?... > ? ? ? ?} > } > > define host { > ? ? ? ?host_name ? ? ? ? win-psql1 > ? ? ? ?service_sets ? ? ?windows-services,psql-services > } > --%<--%<--%<--%<--%<-- > Pros: > * Less typing. > * Config is more normalized with less redundant information. > * Service sets can also double as templates for the services > ?they contain. > * A service-set is obviously safe-contained and quite easy to > ?share under whatever name the recipient wishes to set for it. > * Rules can be set so that the 'parents' directive inside a > ?service_set has to refer to a service inside the service_set, > ?for which the parents directive is then ignored. > * The service set object will always be created when we're adding > ?services to it, so we needn't stash them separately for adding > ?later (ie, much easier to parse). > > Cons: > * The config style used means current config parsers have to be > ?modified to grok multi-level compounds in order to understand > ?service-sets. > > > --%<--%<--%<--%<--%<-- > # regular object-by-object style > define service { > ? ? ? ?use windows-service-template > ? ? ? ?description ? ? ?Disk usage C > ? ? ? ?service_sets ? ? windows-services > ? ? ? ?parents ? ? ? ? ?NSClient > ? ? ? ?... > } > > define service { > ? ? ? ?use windows-service-template > ? ? ? ?description ? ? ?NSClient > ? ? ? ?service_sets ? ? windows-services > ? ? ? ?... > } > > define service { > ? ? ? ?use database-service-template > ? ? ? ?description ? ? PSQL Listener > ? ? ? ?service_sets ? ?psql-services > ? ? ? ?... > } > > define service { > ? ? ? ?use database-service-template > ? ? ? ?description ? ? Cache hit ratio > ? ? ? ?parents ? ? ? ? PSQL Listener > ? ? ? ?service_sets ? ?psql-services > ? ? ? ?... > } > > define service { > ? ? ? ?use database-service-template > ? ? ? ?parents PSQL Listener > ? ? ? ?description Slow queries > ? ? ? ?service_sets psql-services > ? ? ? ?... > } > > define host { > ? ? ? ?host_name ? ? ? ? win-psql1 > ? ? ? ?service_sets ? ? ?windows-services,psql-services > } > --%<--%<--%<--%<--%<-- > Pros: > * Can be used very nearly seamlessly with the current configuration > ?parser. > * Current config parsers need very little modification to work. > * A single service can belong to many service sets without requiring > ?duplication. > > Cons: > * Harder to separate and isolate service sets for sharing. > * Services get overloaded so they have to belong to either a host, > ?a hostgroup or a service_set, which leads to more complex logic. > * Service sets will require lookups and they can't be parsed as > ?efficiently as the compound-in-compound method. > > > Please note that the current way of specifying services will still > continue to work, although I'd quite like to deprecate adding > services to hostgroups sometime in the near future, as I feel we're > overloading group objects quite enough as it is. A conversion tool > to create service sets out of the hostgroup-enslaved services would > have to be written before the deprecation and before the end of the > support for such configs though. > > Comments, patches and conversion tools are very welcome. > > Authors of configuration UI's should take plan to ignore both the > service_sets variable in objects and the service_set object type > sometime soon, so they will continue to work before the format is > set in stone but after we've started implementing this. > > -- > 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. > > ------------------------------------------------------------------------------ > Achieve unprecedented app performance and reliability > What every C/C++ and Fortran developer should know. > Learn how Intel has extended the reach of its next-generation tools > to help boost performance applications - inlcuding clusters. > http://p.sf.net/sfu/intel-dev2devmay > _______________________________________________ > Nagios-devel mailing list > Nagios-devel at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-devel > -- LITTLE GIRL: But which cookie will you eat FIRST? COOKIE MONSTER: Me think you have misconception of cookie-eating process. ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marco.tirado at gmail.com Tue May 17 16:24:30 2011 From: marco.tirado at gmail.com (Marco Tirado) Date: Tue, 17 May 2011 16:24:30 +0200 Subject: Integration of reports-module In-Reply-To: <4DD26C04.5070209@op5.se> References: <4DD26C04.5070209@op5.se> Message-ID: Hello: I agree with Andreas. I believe that the Open Monitoring Distribution (OMD) is a first step in this direction. http://omdistro.org/ BR Marco Tirado On Tue, May 17, 2011 at 2:37 PM, Andreas Ericsson wrote: > On 05/17/2011 02:18 PM, trm asn wrote: > > > > Is there any possibility to integrate op5 "reports-module" in Nagios > 3.2.3 . > > > > Not really. First of all because the op5-reports-module functionality > has been superseded by Merlin, and secondly because it by its very > nature already gets tightly coupled with Nagios as soon as it's > loaded into the Nagios core. > > What we could do is to add a relatively simple module download, build > and install tool that takes care of installing modules such as merlin, > livestatus, DNX, NDOUtils and whatnot. I could add a fairly simple > framework for it and then random module authors could take care of > adding support for their own modules or addons. > > That's probably the closest we're going to get to shipping addons and > modules along with Nagios core, and it's really the only sensible > thing to do. > > -- > 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. > > > ------------------------------------------------------------------------------ > Achieve unprecedented app performance and reliability > What every C/C++ and Fortran developer should know. > Learn how Intel has extended the reach of its next-generation tools > to help boost performance applications - inlcuding clusters. > http://p.sf.net/sfu/intel-dev2devmay > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From a31modela at hotmail.com Tue May 17 20:00:22 2011 From: a31modela at hotmail.com (steve f) Date: Tue, 17 May 2011 14:00:22 -0400 Subject: Mass Acknowledge a Service Message-ID: I have a check that checks the size of multiple partitions and we recently added some data that surpassed the threshold value and I have over 100 clients alerting. There is nothing I can do about the space issue, it will go back to normal in a few weeks. Is it possible to acknowledge all 100 at once? I do have a service group associated with this check but dont see that it can be ack'ed all at once. Is it possible to edit the status.dat file with a reference to a host group instead of a host name to accomplish this? : servicecomment { host_name=strxxxxxxxx host_group = GROUPNAME HERE service_description=Legacy Partition Size entry_type=4 comment_id=129 source=0 persistent=0 entry_time=1305654252 expires=0 expire_time=0 author=Nagios Admin comment_data=known issue } -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.wittenberg.r0ko at statefarm.com Tue May 17 20:06:40 2011 From: daniel.wittenberg.r0ko at statefarm.com (Daniel Wittenberg) Date: Tue, 17 May 2011 18:06:40 +0000 Subject: Mass Acknowledge a Service In-Reply-To: References: Message-ID: <43EB55D703EFCD4880834FDFE47811D201C341@WPSDGQGP.OPR.STATEFARM.ORG> If you are using multisite for your interface you can filter the view to only show those and then ack them all at once. Dan From: steve f [mailto:a31modela at hotmail.com] Sent: Tuesday, May 17, 2011 1:00 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Mass Acknowledge a Service I have a check that checks the size of multiple partitions and we recently added some data that surpassed the threshold value and I have over 100 clients alerting. There is nothing I can do about the space issue, it will go back to normal in a few weeks. Is it possible to acknowledge all 100 at once? I do have a service group associated with this check but dont see that it can be ack'ed all at once. Is it possible to edit the status.dat file with a reference to a host group instead of a host name to accomplish this? : servicecomment { host_name=strxxxxxxxx host_group = GROUPNAME HERE service_description=Legacy Partition Size entry_type=4 comment_id=129 source=0 persistent=0 entry_time=1305654252 expires=0 expire_time=0 author=Nagios Admin comment_data=known issue } -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From trm.nagios at gmail.com Tue May 17 20:09:18 2011 From: trm.nagios at gmail.com (trm asn) Date: Tue, 17 May 2011 23:39:18 +0530 Subject: Segmentation fault Nagios 3.2.3 Message-ID: Dear List , I am getting the segmentation fault in nagios 3.2.3 while starting nagios. ------------------------------------------------------------- gdb /usr/local/nagios/bin/nagios GNU gdb (GDB) Red Hat Enterprise Linux (7.0.1-32.el5_6.2) Copyright (C) 2009 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-redhat-linux-gnu". For bug reporting instructions, please see: ... Reading symbols from /usr/local/nagios/bin/nagios...(no debugging symbols found)...done. (gdb) run /usr/local/nagios/etc/nagios.cfg Starting program: /usr/local/nagios/bin/nagios /usr/local/nagios/etc/nagios.cfg warning: no loadable sections found in added symbol-file system-supplied DSO at 0x2aaaaaaab000 [Thread debugging using libthread_db enabled] Nagios Core 3.2.3 Copyright (c) 2009-2010 Nagios Core Development Team and Community Contributors Copyright (c) 1999-2009 Ethan Galstad Last Modified: 10-03-2010 License: GPL Website: http://www.nagios.org Nagios 3.2.3 starting... (PID=9772) Local time is Tue May 17 23:37:29 IST 2011 Program received signal SIGSEGV, Segmentation fault. 0x00002aaaaaae532c in ?? () from /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/libperl.so -------------------------------------------------------------------------- strace ./nagios -d /usr/local/nagios/etc/nagios.cfg execve("./nagios", ["./nagios", "-d", "/usr/local/nagios/etc/nagios.cfg"], [/* 19 vars */]) = 0 brk(0) = 0x1179d000 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aba3123d000 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aba3123e000 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) open("/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/tls/x86_64/libperl.so", O_RDONLY) = -1 ENOENT (No such file or directory) stat("/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/tls/x86_64", 0x7fff00917240) = -1 ENOENT (No such file or directory) open("/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/tls/libperl.so", O_RDONLY) = -1 ENOENT (No such file or directory) stat("/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/tls", 0x7fff00917240) = -1 ENOENT (No such file or directory) open("/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/x86_64/libperl.so", O_RDONLY) = -1 ENOENT (No such file or directory) stat("/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/x86_64", 0x7fff00917240) = -1 ENOENT (No such file or directory) open("/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/libperl.so", O_RDONLY) = 3 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\340\34\3\0\0\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=1259888, ...}) = 0 mmap(NULL, 3363648, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2aba3123f000 mprotect(0x2aba3136b000, 2093056, PROT_NONE) = 0 mmap(0x2aba3156a000, 36864, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x12b000) = 0x2aba3156a000 mmap(0x2aba31573000, 4928, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2aba31573000 close(3) = 0 open("/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/libresolv.so.2", O_RDONLY) = -1 ENOENT (No such file or directory) open("/etc/ld.so.cache", O_RDONLY) = 3 fstat(3, {st_mode=S_IFREG|0644, st_size=31936, ...}) = 0 mmap(NULL, 31936, PROT_READ, MAP_PRIVATE, 3, 0) = 0x2aba31575000 close(3) = 0 open("/lib64/libresolv.so.2", O_RDONLY) = 3 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\2402@\347=\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=92736, ...}) = 0 mmap(0x3de7400000, 2181864, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x3de7400000 mprotect(0x3de7411000, 2097152, PROT_NONE) = 0 mmap(0x3de7611000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x11000) = 0x3de7611000 mmap(0x3de7613000, 6888, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x3de7613000 close(3) = 0 open("/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/libnsl.so.1", O_RDONLY) = -1 ENOENT (No such file or directory) open("/lib64/libnsl.so.1", O_RDONLY) = 3 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\240@\0\363>\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=114352, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aba3157d000 mmap(0x3ef3000000, 2194096, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x3ef3000000 mprotect(0x3ef3015000, 2093056, PROT_NONE) = 0 mmap(0x3ef3214000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x14000) = 0x3ef3214000 mmap(0x3ef3216000, 6832, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x3ef3216000 close(3) = 0 open("/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory) open("/lib64/libdl.so.2", O_RDONLY) = 3 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\20\16\300\342=\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=23360, ...}) = 0 mmap(0x3de2c00000, 2109696, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x3de2c00000 mprotect(0x3de2c02000, 2097152, PROT_NONE) = 0 mmap(0x3de2e02000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x3de2e02000 close(3) = 0 open("/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/libm.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) open("/lib64/libm.so.6", O_RDONLY) = 3 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0`>\0\343=\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=615136, ...}) = 0 mmap(0x3de3000000, 2629848, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x3de3000000 mprotect(0x3de3082000, 2093056, PROT_NONE) = 0 mmap(0x3de3281000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x81000) = 0x3de3281000 close(3) = 0 open("/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/libcrypt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory) open("/lib64/libcrypt.so.1", O_RDONLY) = 3 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\360\t\200\344=\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=48600, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aba3157e000 mmap(0x3de4800000, 2322880, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x3de4800000 mprotect(0x3de4809000, 2093056, PROT_NONE) = 0 mmap(0x3de4a08000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x8000) = 0x3de4a08000 mmap(0x3de4a0a000, 184768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x3de4a0a000 close(3) = 0 open("/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/libutil.so.1", O_RDONLY) = -1 ENOENT (No such file or directory) open("/lib64/libutil.so.1", O_RDONLY) = 3 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\200\16@\345=\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=18152, ...}) = 0 mmap(0x3de5400000, 2105616, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x3de5400000 mprotect(0x3de5402000, 2093056, PROT_NONE) = 0 mmap(0x3de5601000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1000) = 0x3de5601000 close(3) = 0 open("/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file or directory) open("/lib64/libpthread.so.0", O_RDONLY) = 3 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\240W@\343=\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=145824, ...}) = 0 mmap(0x3de3400000, 2204528, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x3de3400000 mprotect(0x3de3416000, 2093056, PROT_NONE) = 0 mmap(0x3de3615000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x15000) = 0x3de3615000 mmap(0x3de3617000, 13168, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x3de3617000 close(3) = 0 open("/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) open("/lib64/libc.so.6", O_RDONLY) = 3 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\220\332\201\342=\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=1722304, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aba3157f000 mmap(0x3de2800000, 3502424, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x3de2800000 mprotect(0x3de294e000, 2097152, PROT_NONE) = 0 mmap(0x3de2b4e000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x14e000) = 0x3de2b4e000 mmap(0x3de2b53000, 16728, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x3de2b53000 close(3) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aba31580000 arch_prctl(ARCH_SET_FS, 0x2aba31580790) = 0 mprotect(0x3de2b4e000, 16384, PROT_READ) = 0 mprotect(0x3de3615000, 4096, PROT_READ) = 0 mprotect(0x3de5601000, 4096, PROT_READ) = 0 mprotect(0x3de4a08000, 4096, PROT_READ) = 0 mprotect(0x3de3281000, 4096, PROT_READ) = 0 mprotect(0x3de2e02000, 4096, PROT_READ) = 0 mprotect(0x3ef3214000, 4096, PROT_READ) = 0 mprotect(0x3de7611000, 4096, PROT_READ) = 0 mprotect(0x3de261b000, 4096, PROT_READ) = 0 munmap(0x2aba31575000, 31936) = 0 set_tid_address(0x2aba31580820) = 9708 set_robust_list(0x2aba31580830, 0x18) = 0 futex(0x7fff00917d6c, FUTEX_WAKE_PRIVATE, 1) = 0 rt_sigaction(SIGRTMIN, {0x3de3405380, [], SA_RESTORER|SA_SIGINFO, 0x3de340eb10}, NULL, 8) = 0 rt_sigaction(SIGRT_1, {0x3de34052b0, [], SA_RESTORER|SA_RESTART|SA_SIGINFO, 0x3de340eb10}, NULL, 8) = 0 rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 getrlimit(RLIMIT_STACK, {rlim_cur=10240*1024, rlim_max=RLIM_INFINITY}) = 0 brk(0) = 0x1179d000 brk(0x117be000) = 0x117be000 umask(022) = 022 open("/usr/local/nagios/etc/nagios.cfg", O_RDONLY) = 3 fstat(3, {st_mode=S_IFREG|0664, st_size=43594, ...}) = 0 mmap(NULL, 43594, PROT_READ, MAP_PRIVATE, 3, 0) = 0x2aba31581000 open("/usr/local/nagios/etc/resource.cfg", O_RDONLY) = 4 fstat(4, {st_mode=S_IFREG|0664, st_size=1340, ...}) = 0 mmap(NULL, 1340, PROT_READ, MAP_PRIVATE, 4, 0) = 0x2aba3158c000 munmap(0x2aba3158c000, 1340) = 0 close(4) = 0 open("/tmp", O_RDONLY|O_NONBLOCK|O_DIRECTORY) = 4 fcntl(4, F_SETFD, FD_CLOEXEC) = 0 close(4) = 0 open("/usr/local/nagios/var/spool/checkresults", O_RDONLY|O_NONBLOCK|O_DIRECTORY) = 4 fcntl(4, F_SETFD, FD_CLOEXEC) = 0 close(4) = 0 open("/usr/share/zoneinfo/Asia/Calcutta", O_RDONLY) = 4 fstat(4, {st_mode=S_IFREG|0644, st_size=265, ...}) = 0 fstat(4, {st_mode=S_IFREG|0644, st_size=265, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aba3158c000 read(4, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\4\0\0\0\4\0\0\0\0"..., 4096) = 265 lseek(4, -156, SEEK_CUR) = 109 read(4, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\5\0\0\0\5\0\0\0\0"..., 4096) = 156 close(4) = 0 munmap(0x2aba3158c000, 4096) = 0 munmap(0x2aba31581000, 43594) = 0 close(3) = 0 open("/usr/local/nagios/var/nagios.debug", O_RDWR|O_CREAT|O_APPEND, 0666) = 3 getgid() = 0 getuid() = 0 getuid() = 0 socket(PF_FILE, SOCK_STREAM, 0) = 4 fcntl(4, F_SETFL, O_RDWR|O_NONBLOCK) = 0 connect(4, {sa_family=AF_FILE, path="/var/run/nscd/socket"...}, 110) = -1 ENOENT (No such file or directory) close(4) = 0 socket(PF_FILE, SOCK_STREAM, 0) = 4 fcntl(4, F_SETFL, O_RDWR|O_NONBLOCK) = 0 connect(4, {sa_family=AF_FILE, path="/var/run/nscd/socket"...}, 110) = -1 ENOENT (No such file or directory) close(4) = 0 open("/etc/nsswitch.conf", O_RDONLY) = 4 fstat(4, {st_mode=S_IFREG|0644, st_size=1696, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aba31581000 read(4, "#\n# /etc/nsswitch.conf\n#\n# An ex"..., 4096) = 1696 read(4, "", 4096) = 0 close(4) = 0 munmap(0x2aba31581000, 4096) = 0 open("/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/libnss_files.so.2", O_RDONLY) = -1 ENOENT (No such file or directory) open("/etc/ld.so.cache", O_RDONLY) = 4 fstat(4, {st_mode=S_IFREG|0644, st_size=31936, ...}) = 0 mmap(NULL, 31936, PROT_READ, MAP_PRIVATE, 4, 0) = 0x2aba31581000 close(4) = 0 open("/lib64/libnss_files.so.2", O_RDONLY) = 4 read(4, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\340\37\0\0\0\0\0\0"..., 832) = 832 fstat(4, {st_mode=S_IFREG|0755, st_size=53880, ...}) = 0 mmap(NULL, 2139432, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0x2aba31589000 mprotect(0x2aba31593000, 2093056, PROT_NONE) = 0 mmap(0x2aba31792000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x9000) = 0x2aba31792000 close(4) = 0 mprotect(0x2aba31792000, 4096, PROT_READ) = 0 munmap(0x2aba31581000, 31936) = 0 open("/etc/group", O_RDONLY) = 4 fcntl(4, F_GETFD) = 0 fcntl(4, F_SETFD, FD_CLOEXEC) = 0 fstat(4, {st_mode=S_IFREG|0644, st_size=1467, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aba31581000 read(4, "root:x:0:root\nbin:x:1:root,bin,d"..., 4096) = 1467 close(4) = 0 munmap(0x2aba31581000, 4096) = 0 getegid() = 0 setgid(501) = 0 socket(PF_FILE, SOCK_STREAM, 0) = 4 fcntl(4, F_SETFL, O_RDWR|O_NONBLOCK) = 0 connect(4, {sa_family=AF_FILE, path="/var/run/nscd/socket"...}, 110) = -1 ENOENT (No such file or directory) close(4) = 0 socket(PF_FILE, SOCK_STREAM, 0) = 4 fcntl(4, F_SETFL, O_RDWR|O_NONBLOCK) = 0 connect(4, {sa_family=AF_FILE, path="/var/run/nscd/socket"...}, 110) = -1 ENOENT (No such file or directory) close(4) = 0 open("/etc/passwd", O_RDONLY) = 4 fcntl(4, F_GETFD) = 0 fcntl(4, F_SETFD, FD_CLOEXEC) = 0 fstat(4, {st_mode=S_IFREG|0644, st_size=2779, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aba31581000 read(4, "root:x:0:0:root:/root:/bin/bash\n"..., 4096) = 2779 close(4) = 0 munmap(0x2aba31581000, 4096) = 0 geteuid() = 0 open("/proc/sys/kernel/ngroups_max", O_RDONLY) = 4 read(4, "65536\n", 31) = 6 close(4) = 0 open("/etc/group", O_RDONLY) = 4 fcntl(4, F_GETFD) = 0 fcntl(4, F_SETFD, FD_CLOEXEC) = 0 fstat(4, {st_mode=S_IFREG|0644, st_size=1467, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aba31581000 lseek(4, 0, SEEK_CUR) = 0 read(4, "root:x:0:root\nbin:x:1:root,bin,d"..., 4096) = 1467 read(4, "", 4096) = 0 close(4) = 0 munmap(0x2aba31581000, 4096) = 0 setgroups(2, [501, 502]) = 0 setuid(501) = 0 getgid() = 501 getuid() = 501 open("/usr/local/nagios/var/nagios.log", O_RDWR|O_CREAT|O_APPEND, 0666) = 4 fstat(4, {st_mode=S_IFREG|0644, st_size=4749855, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aba31581000 write(4, "[1305655472] Nagios 3.2.3 starti"..., 49) = 49 close(4) = 0 munmap(0x2aba31581000, 4096) = 0 open("/usr/local/nagios/var/nagios.log", O_RDWR|O_CREAT|O_APPEND, 0666) = 4 fstat(4, {st_mode=S_IFREG|0644, st_size=4749904, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aba31581000 write(4, "[1305655472] Local time is Tue M"..., 56) = 56 close(4) = 0 munmap(0x2aba31581000, 4096) = 0 open("/usr/local/nagios/var/nagios.log", O_RDWR|O_CREAT|O_APPEND, 0666) = 4 fstat(4, {st_mode=S_IFREG|0644, st_size=4749960, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aba31581000 write(4, "[1305655472] LOG VERSION: 2.0\n", 30) = 30 close(4) = 0 munmap(0x2aba31581000, 4096) = 0 open("/usr/local/nagios/etc/nagios.cfg", O_RDONLY) = 4 fstat(4, {st_mode=S_IFREG|0664, st_size=43594, ...}) = 0 mmap(NULL, 43594, PROT_READ, MAP_PRIVATE, 4, 0) = 0x2aba31794000 munmap(0x2aba31794000, 43594) = 0 close(4) = 0 open("/usr/local/nagios/etc/nagios.cfg", O_RDONLY) = 4 fstat(4, {st_mode=S_IFREG|0664, st_size=43594, ...}) = 0 mmap(NULL, 43594, PROT_READ, MAP_PRIVATE, 4, 0) = 0x2aba31794000 open("/usr/local/nagios/etc/objects/commands.cfg", O_RDONLY) = 5 fstat(5, {st_mode=S_IFREG|0664, st_size=19919, ...}) = 0 mmap(NULL, 19919, PROT_READ, MAP_PRIVATE, 5, 0) = 0x2aba3179f000 munmap(0x2aba3179f000, 19919) = 0 close(5) = 0 open("/usr/local/nagios/etc/objects/contacts.cfg", O_RDONLY) = 5 fstat(5, {st_mode=S_IFREG|0664, st_size=14859, ...}) = 0 mmap(NULL, 14859, PROT_READ, MAP_PRIVATE, 5, 0) = 0x2aba3179f000 munmap(0x2aba3179f000, 14859) = 0 close(5) = 0 open("/usr/local/nagios/etc/objects/timeperiods.cfg", O_RDONLY) = 5 fstat(5, {st_mode=S_IFREG|0664, st_size=3208, ...}) = 0 mmap(NULL, 3208, PROT_READ, MAP_PRIVATE, 5, 0) = 0x2aba3179f000 munmap(0x2aba3179f000, 3208) = 0 close(5) = 0 open("/usr/local/nagios/etc/objects/contactgroups.cfg", O_RDONLY) = 5 fstat(5, {st_mode=S_IFREG|0644, st_size=3010, ...}) = 0 mmap(NULL, 3010, PROT_READ, MAP_PRIVATE, 5, 0) = 0x2aba3179f000 munmap(0x2aba3179f000, 3010) = 0 close(5) = 0 open("/usr/local/nagios/etc/objects/dependencies.cfg", O_RDONLY) = 5 fstat(5, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0 close(5) = 0 open("/usr/local/nagios/etc/objects/escalations.cfg", O_RDONLY) = 5 fstat(5, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0 close(5) = 0 open("/usr/local/nagios/etc/objects/hosts.cfg", O_RDONLY) = 5 fstat(5, {st_mode=S_IFREG|0644, st_size=227082, ...}) = 0 mmap(NULL, 227082, PROT_READ, MAP_PRIVATE, 5, 0) = 0x2aba3179f000 brk(0x117df000) = 0x117df000 brk(0x11800000) = 0x11800000 brk(0x117ff000) = 0x117ff000 brk(0x11820000) = 0x11820000 munmap(0x2aba3179f000, 227082) = 0 close(5) = 0 open("/usr/local/nagios/etc/objects/hostgroups.cfg", O_RDONLY) = 5 fstat(5, {st_mode=S_IFREG|0644, st_size=26513, ...}) = 0 mmap(NULL, 26513, PROT_READ, MAP_PRIVATE, 5, 0) = 0x2aba3179f000 munmap(0x2aba3179f000, 26513) = 0 close(5) = 0 open("/usr/local/nagios/etc/objects/services.cfg", O_RDONLY) = 5 fstat(5, {st_mode=S_IFREG|0644, st_size=293292, ...}) = 0 mmap(NULL, 293292, PROT_READ, MAP_PRIVATE, 5, 0) = 0x2aba3179f000 brk(0x11841000) = 0x11841000 brk(0x11862000) = 0x11862000 brk(0x11861000) = 0x11861000 brk(0x11882000) = 0x11882000 munmap(0x2aba3179f000, 293292) = 0 close(5) = 0 open("/usr/local/nagios/etc/objects/servicegroups.cfg", O_RDONLY) = 5 fstat(5, {st_mode=S_IFREG|0644, st_size=394, ...}) = 0 mmap(NULL, 394, PROT_READ, MAP_PRIVATE, 5, 0) = 0x2aba3179f000 munmap(0x2aba3179f000, 394) = 0 close(5) = 0 munmap(0x2aba31794000, 43594) = 0 close(4) = 0 brk(0x118a3000) = 0x118a3000 brk(0x118c4000) = 0x118c4000 brk(0x118e5000) = 0x118e5000 brk(0x11906000) = 0x11906000 brk(0x11927000) = 0x11927000 brk(0x11948000) = 0x11948000 brk(0x11969000) = 0x11969000 brk(0x1198a000) = 0x1198a000 brk(0x119ab000) = 0x119ab000 brk(0x119cc000) = 0x119cc000 open("/usr/local/nagios/var/objects.cache", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 4 fstat(4, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aba31794000 write(4, "################################"..., 4096) = 4096 write(4, "_bandwidth\n\tcommand_line\t$USER1$"..., 4096) = 4096 write(4, "s: $HOSTADDRESS$\\nInfo: $HOSTOUT"..., 4096) = 4096 write(4, "_Setup\n\tmembers\tBLR_SHARED_SAN_S"..., 4096) = 4096 write(4, "_New_3,Flightraja-Apache_New_2,F"..., 4096) = 4096 write(4, "NDYA_COM_starselect,INDYA_COM_St"..., 4096) = 4096 write(4, "as\tOriensoft_BLR-Setup\n\tmembers\t"..., 4096) = 4096 write(4, "ll_Foundry_End,Mobile_Ent_Junipe"..., 4096) = 4096 write(4, "\n\ndefine contact {\n\tcontact_name"..., 4096) = 4096 write(4, "commands\tnotify-by-email\n\thost_n"..., 4096) = 4096 write(4, "ions\td,u,r\n\tnotifications_enable"..., 4096) = 4096 write(4, "\t0\n\tnotification_options\td,u,r\n\t"..., 4096) = 4096 write(4, "\tmax_check_attempts\t3\n\tactive_ch"..., 4096) = 4096 write(4, "erval\t1.000000\n\tmax_check_attemp"..., 4096) = 4096 write(4, "ks_enabled\t1\n\tpassive_checks_ena"..., 4096) = 4096 write(4, "nabled\t1\n\tpassive_checks_enabled"..., 4096) = 4096 write(4, "checks_enabled\t1\n\tobsess_over_ho"..., 4096) = 4096 write(4, "ecks_enabled\t1\n\tpassive_checks_e"..., 4096) = 4096 write(4, "checks_enabled\t1\n\tobsess_over_ho"..., 4096) = 4096 write(4, "hold\t0.000000\n\thigh_flap_thresho"..., 4096) = 4096 write(4, "gh_flap_threshold\t0.000000\n\tflap"..., 4096) = 4096 write(4, "enabled\t1\n\tlow_flap_threshold\t0."..., 4096) = 4096 write(4, "e\to\n\tcheck_interval\t1.000000\n\tre"..., 4096) = 4096 write(4, "heck_command\tcheck-host-alive\n\tc"..., 4096) = 4096 write(4, "r_cloud\n\taddress\t124.153.110.20\n"..., 4096) = 4096 write(4, "rediction_enabled\t1\n\tretain_stat"..., 4096) = 4096 write(4, "sess_over_host\t1\n\tevent_handler_"..., 4096) = 4096 write(4, "at4.via.com\n\talias\tFlightraja-12"..., 4096) = 4096 write(4, "etection_enabled\t1\n\tflap_detecti"..., 4096) = 4096 write(4, "nterval\t5.000000\n\tretry_interval"..., 4096) = 4096 write(4, "124.153.102.91\n\tcheck_period\t24x"..., 4096) = 4096 write(4, "a\t1\n\tfailure_prediction_enabled\t"..., 4096) = 4096 write(4, "s_threshold\t0\n\tcheck_freshness\t0"..., 4096) = 4096 write(4, "hreshold\t0.000000\n\thigh_flap_thr"..., 4096) = 4096 write(4, "\n\tretry_interval\t1.000000\n\tmax_c"..., 4096) = 4096 write(4, "ct_groups\tMonitoring-alerts,flig"..., 4096) = 4096 write(4, "\t1\n\t}\n\ndefine host {\n\thost_name\t"..., 4096) = 4096 write(4, "delay\t0.000000\n\tstalking_options"..., 4096) = 4096 write(4, "ection_enabled\t1\n\tflap_detection"..., 4096) = 4096 write(4, "\tmax_check_attempts\t3\n\tactive_ch"..., 4096) = 4096 write(4, "t_groups\tMonitoring-alerts,fligh"..., 4096) = 4096 write(4, "traja_New_7\n\talias\tFlightraja_Ne"..., 4096) = 4096 write(4, "n\t1\n\tretain_nonstatus_informatio"..., 4096) = 4096 write(4, "\n\tstalking_options\tn\n\tprocess_pe"..., 4096) = 4096 write(4, "\t120.000000\n\tfirst_notification_"..., 4096) = 4096 write(4, "talking_options\tn\n\tprocess_perf_"..., 4096) = 4096 write(4, "ure_prediction_enabled\t1\n\tretain"..., 4096) = 4096 write(4, "talking_options\tn\n\tprocess_perf_"..., 4096) = 4096 write(4, "fication_options\td,u,r\n\tnotifica"..., 4096) = 4096 write(4, "ld\t0.000000\n\tflap_detection_enab"..., 4096) = 4096 write(4, "\n\tpassive_checks_enabled\t1\n\tobse"..., 4096) = 4096 write(4, "\t24x7\n\tinitial_state\to\n\tcheck_in"..., 4096) = 4096 write(4, "09.38\n\tcheck_period\t24x7\n\tcheck_"..., 4096) = 4096 write(4, "01\n\talias\tIIL-BLR_BCAST_01\n\taddr"..., 4096) = 4096 write(4, "iod\t24x7\n\tcheck_command\tcheck-ho"..., 4096) = 4096 write(4, "ver\n\talias\tINDYA_COM_INDYAFORUM_"..., 4096) = 4096 write(4, "ata\t1\n\tfailure_prediction_enable"..., 4096) = 4096 write(4, "ons_enabled\t1\n\tnotification_inte"..., 4096) = 4096 write(4, "ptions\to,d,u\n\tfreshness_threshol"..., 4096) = 4096 write(4, "_handler_enabled\t1\n\tlow_flap_thr"..., 4096) = 4096 write(4, "active_checks_enabled\t1\n\tpassive"..., 4096) = 4096 write(4, "l\t5.000000\n\tretry_interval\t1.000"..., 4096) = 4096 write(4, "tification_period\t24x7\n\tinitial_"..., 4096) = 4096 write(4, "eck_command\tcheck-host-alive\n\tco"..., 4096) = 4096 write(4, "ity-3568-in4sql\n\talias\tIn4Veloci"..., 4096) = 4096 write(4, "led\t1\n\tlow_flap_threshold\t0.0000"..., 4096) = 4096 write(4, "otification_period\t24x7\n\tinitial"..., 4096) = 4096 write(4, "od\t24x7\n\tcheck_command\tcheck-hos"..., 4096) = 4096 write(4, "nformation\t1\n\t}\n\ndefine host {\n\t"..., 4096) = 4096 write(4, "ification_delay\t0.000000\n\tstalki"..., 4096) = 4096 write(4, "eck_freshness\t0\n\tnotification_op"..., 4096) = 4096 write(4, "r_host\t1\n\tevent_handler_enabled\t"..., 4096) = 4096 write(4, "etry_interval\t1.000000\n\tmax_chec"..., 4096) = 4096 write(4, "cks_enabled\t1\n\tobsess_over_host\t"..., 4096) = 4096 write(4, "gh_flap_threshold\t0.000000\n\tflap"..., 4096) = 4096 write(4, "lap_detection_options\to,d,u\n\tfre"..., 4096) = 4096 write(4, "ap_threshold\t0.000000\n\thigh_flap"..., 4096) = 4096 write(4, "_threshold\t0.000000\n\thigh_flap_t"..., 4096) = 4096 write(4, "t\t1\n\tevent_handler_enabled\t1\n\tlo"..., 4096) = 4096 write(4, "\n\tpassive_checks_enabled\t1\n\tobse"..., 4096) = 4096 write(4, "ed\t1\n\tobsess_over_host\t1\n\tevent_"..., 4096) = 4096 write(4, "cks_enabled\t1\n\tpassive_checks_en"..., 4096) = 4096 write(4, "ive_checks_enabled\t1\n\tpassive_ch"..., 4096) = 4096 write(4, "abled\t1\n\tobsess_over_host\t1\n\teve"..., 4096) = 4096 write(4, "0\n\tmax_check_attempts\t3\n\tactive_"..., 4096) = 4096 write(4, "ion_period\t24x7\n\tinitial_state\to"..., 4096) = 4096 write(4, "t_groups\tMonitoring-alerts\n\tnoti"..., 4096) = 4096 write(4, "st-alive\n\tcontact_groups\tMonitor"..., 4096) = 4096 write(4, "MG_Blr_Shared_Non_FW__Cust_Switc"..., 4096) = 4096 write(4, "iod\t24x7\n\tcheck_command\tcheck-ho"..., 4096) = 4096 write(4, "fication_period\t24x7\n\tinitial_st"..., 4096) = 4096 write(4, "\t5.000000\n\tretry_interval\t1.0000"..., 4096) = 4096 write(4, "x_check_attempts\t3\n\tactive_check"..., 4096) = 4096 write(4, "tempts\t3\n\tactive_checks_enabled\t"..., 4096) = 4096 write(4, "\tpassive_checks_enabled\t1\n\tobses"..., 4096) = 4096 write(4, "\tlow_flap_threshold\t0.000000\n\thi"..., 4096) = 4096 write(4, "s_enabled\t1\n\tobsess_over_host\t1\n"..., 4096) = 4096 write(4, ")\n\taddress\t124.153.104.65\n\tcheck"..., 4096) = 4096 write(4, "\n\talias\tOpenrialto_Solutions-371"..., 4096) = 4096 write(4, "on\t1\n\t}\n\ndefine host {\n\thost_nam"..., 4096) = 4096 write(4, "iction_enabled\t1\n\tretain_status_"..., 4096) = 4096 write(4, "fications_enabled\t1\n\tnotificatio"..., 4096) = 4096 write(4, "nabled\t1\n\tpassive_checks_enabled"..., 4096) = 4096 write(4, "act_groups\tMonitoring-alerts\n\tno"..., 4096) = 4096 write(4, "-alerts\n\tnotification_period\t24x"..., 4096) = 4096 write(4, "ation\t1\n\t}\n\ndefine host {\n\thost_"..., 4096) = 4096 write(4, "data\t1\n\tfailure_prediction_enabl"..., 4096) = 4096 write(4, "ng_options\tn\n\tprocess_perf_data\t"..., 4096) = 4096 write(4, "000\n\tfirst_notification_delay\t0."..., 4096) = 4096 write(4, "hreshold\t0\n\tcheck_freshness\t0\n\tn"..., 4096) = 4096 write(4, "d\t0.000000\n\thigh_flap_threshold\t"..., 4096) = 4096 write(4, "_threshold\t0.000000\n\tflap_detect"..., 4096) = 4096 write(4, "ness_threshold\t0\n\tcheck_freshnes"..., 4096) = 4096 write(4, "_enabled\t1\n\tnotification_interva"..., 4096) = 4096 write(4, "000\n\tstalking_options\tn\n\tprocess"..., 4096) = 4096 write(4, "ons\tn\n\tprocess_perf_data\t1\n\tfail"..., 4096) = 4096 write(4, "check_freshness\t0\n\tnotification_"..., 4096) = 4096 write(4, "n_options\td,u,r\n\tnotifications_e"..., 4096) = 4096 write(4, "_threshold\t0.000000\n\tflap_detect"..., 4096) = 4096 write(4, "hreshold\t0.000000\n\tflap_detectio"..., 4096) = 4096 write(4, "etection_enabled\t1\n\tflap_detecti"..., 4096) = 4096 write(4, "tion_enabled\t1\n\tflap_detection_o"..., 4096) = 4096 write(4, "_service\t1\n\tevent_handler_enable"..., 4096) = 4096 write(4, "l\t1.000000\n\tmax_check_attempts\t3"..., 4096) = 4096 write(4, "mp!200.0,20%!500.0,60%\n\tcontact_"..., 4096) = 4096 write(4, "onstatus_information\t1\n\t}\n\ndefin"..., 4096) = 4096 write(4, "tifications_enabled\t1\n\tnotificat"..., 4096) = 4096 write(4, "h_flap_threshold\t0.000000\n\tflap_"..., 4096) = 4096 write(4, "ve_checks_enabled\t1\n\tobsess_over"..., 4096) = 4096 write(4, "\n\tparallelize_check\t1\n\tactive_ch"..., 4096) = 4096 write(4, "000000\n\tretry_interval\t1.000000\n"..., 4096) = 4096 write(4, "Srv\n\tservice_description\tCHECK_I"..., 4096) = 4096 write(4, "led\t1\n\tretain_status_information"..., 4096) = 4096 write(4, "0000\n\tflap_detection_enabled\t1\n\t"..., 4096) = 4096 write(4, "\n\tactive_checks_enabled\t1\n\tpassi"..., 4096) = 4096 write(4, "iod\t24x7\n\tinitial_state\to\n\tcheck"..., 4096) = 4096 write(4, "check_period\t24x7\n\tcheck_command"..., 4096) = 4096 write(4, "us_information\t1\n\t}\n\ndefine serv"..., 4096) = 4096 write(4, "ication_delay\t0.000000\n\tstalking"..., 4096) = 4096 write(4, "\n\tfreshness_threshold\t0\n\tcheck_f"..., 4096) = 4096 write(4, "od\t24x7\n\tinitial_state\to\n\tcheck_"..., 4096) = 4096 write(4, "rvice_description\tPagefile Use\n\t"..., 4096) = 4096 write(4, "c,r\n\tnotifications_enabled\t1\n\tno"..., 4096) = 4096 write(4, "ap_threshold\t0.000000\n\tflap_dete"..., 4096) = 4096 write(4, "ECK_ICMP\n\tcheck_period\t24x7\n\tche"..., 4096) = 4096 write(4, "e_prediction_enabled\t1\n\tretain_s"..., 4096) = 4096 write(4, "g-alerts\n\tnotification_period\t24"..., 4096) = 4096 write(4, "ice {\n\thost_name\tBiogenex_BXINBL"..., 4096) = 4096 write(4, "\tnotification_interval\t60.000000"..., 4096) = 4096 write(4, "d\t0.000000\n\tflap_detection_enabl"..., 4096) = 4096 write(4, "\to\n\tcheck_interval\t1.000000\n\tret"..., 4096) = 4096 write(4, "\n\tservice_description\tDrive C Sp"..., 4096) = 4096 write(4, "_prediction_enabled\t1\n\tretain_st"..., 4096) = 4096 write(4, "flap_threshold\t0.000000\n\tflap_de"..., 4096) = 4096 write(4, "ive_checks_enabled\t1\n\tpassive_ch"..., 4096) = 4096 write(4, "riod\t24x7\n\tinitial_state\to\n\tchec"..., 4096) = 4096 write(4, "list\n\tcheck_period\t24x7\n\tcheck_c"..., 4096) = 4096 write(4, "onstatus_information\t1\n\t}\n\ndefin"..., 4096) = 4096 write(4, "cess_perf_data\t1\n\tfailure_predic"..., 4096) = 4096 write(4, "\n\tnotification_interval\t60.00000"..., 4096) = 4096 write(4, "d\t1\n\tlow_flap_threshold\t0.000000"..., 4096) = 4096 write(4, "ze_check\t1\n\tactive_checks_enable"..., 4096) = 4096 write(4, "on_period\t24x7\n\tinitial_state\to\n"..., 4096) = 4096 write(4, "ck SMTP port status\n\tcheck_perio"..., 4096) = 4096 write(4, "tain_status_information\t1\n\tretai"..., 4096) = 4096 write(4, "\n\tnotifications_enabled\t1\n\tnotif"..., 4096) = 4096 write(4, "00000\n\tflap_detection_enabled\t1\n"..., 4096) = 4096 write(4, "eck\t1\n\tactive_checks_enabled\t1\n\t"..., 4096) = 4096 write(4, "!check_tcpserver\n\tcontact_groups"..., 4096) = 4096 write(4, "n\t1\n\t}\n\ndefine service {\n\thost_n"..., 4096) = 4096 write(4, "talking_options\tn\n\tprocess_perf_"..., 4096) = 4096 write(4, "hness\t0\n\tnotification_options\tu,"..., 4096) = 4096 write(4, "flap_threshold\t0.000000\n\thigh_fl"..., 4096) = 4096 write(4, "00\n\tretry_interval\t1.000000\n\tmax"..., 4096) = 4096 write(4, "\n\tcontact_groups\tMonitoring-aler"..., 4096) = 4096 write(4, "}\n\ndefine service {\n\thost_name\tD"..., 4096) = 4096 write(4, "ss_perf_data\t1\n\tfailure_predicti"..., 4096) = 4096 write(4, "options\tu,w,c,r\n\tnotifications_e"..., 4096) = 4096 write(4, "ection_options\to,w,u,c\n\tfreshnes"..., 4096) = 4096 write(4, "sess_over_service\t1\n\tevent_handl"..., 4096) = 4096 write(4, "al\t5.000000\n\tretry_interval\t1.00"..., 4096) = 4096 write(4, "_period\t24x7\n\tcheck_command\tchec"..., 4096) = 4096 write(4, "on\t1\n\tretain_nonstatus_informati"..., 4096) = 4096 write(4, "ification_interval\t60.000000\n\tfi"..., 4096) = 4096 write(4, "led\t1\n\tflap_detection_options\to,"..., 4096) = 4096 write(4, "ve_checks_enabled\t1\n\tobsess_over"..., 4096) = 4096 write(4, "erval\t5.000000\n\tretry_interval\t1"..., 4096) = 4096 write(4, "K_ICMP\n\tcheck_period\t24x7\n\tcheck"..., 4096) = 4096 write(4, "ation\t1\n\tretain_nonstatus_inform"..., 4096) = 4096 write(4, "0000\n\tstalking_options\tn\n\tproces"..., 4096) = 4096 write(4, "reshness\t0\n\tnotification_options"..., 4096) = 4096 write(4, ".000000\n\tflap_detection_enabled\t"..., 4096) = 4096 write(4, "1\n\tpassive_checks_enabled\t1\n\tobs"..., 4096) = 4096 write(4, "interval\t1.000000\n\tmax_check_att"..., 4096) = 4096 write(4, "s\tMonitoring-alerts\n\tnotificatio"..., 4096) = 4096 write(4, "t\n\tcheck_period\t24x7\n\tcheck_comm"..., 4096) = 4096 write(4, "efine service {\n\thost_name\tFligh"..., 4096) = 4096 write(4, "ss_perf_data\t1\n\tfailure_predicti"..., 4096) = 4096 write(4, "abled\t1\n\tnotification_interval\t6"..., 4096) = 4096 write(4, "eshness_threshold\t0\n\tcheck_fresh"..., 4096) = 4096 write(4, "ap_threshold\t0.000000\n\thigh_flap"..., 4096) = 4096 write(4, "lize_check\t1\n\tactive_checks_enab"..., 4096) = 4096 write(4, "tification_period\t24x7\n\tinitial_"..., 4096) = 4096 write(4, "traja-Tomcat_1\n\tservice_descript"..., 4096) = 4096 write(4, "rmation\t1\n\tretain_nonstatus_info"..., 4096) = 4096 write(4, "0.000000\n\tstalking_options\tn\n\tpr"..., 4096) = 4096 write(4, "fications_enabled\t1\n\tnotificatio"..., 4096) = 4096 write(4, "on_enabled\t1\n\tflap_detection_opt"..., 4096) = 4096 write(4, "vice\t1\n\tevent_handler_enabled\t1\n"..., 4096) = 4096 write(4, "heck_attempts\t4\n\tis_volatile\t0\n\t"..., 4096) = 4096 write(4, "\tnotification_period\t24x7\n\tiniti"..., 4096) = 4096 write(4, "cription\tCHECK_ICMP\n\tcheck_perio"..., 4096) = 4096 write(4, "etain_nonstatus_information\t1\n\t}"..., 4096) = 4096 write(4, "\t1\n\tfailure_prediction_enabled\t1"..., 4096) = 4096 write(4, "\t60.000000\n\tfirst_notification_d"..., 4096) = 4096 write(4, "cation_options\tu,w,c,r\n\tnotifica"..., 4096) = 4096 write(4, "000000\n\thigh_flap_threshold\t0.00"..., 4096) = 4096 write(4, "rts\n\tnotification_period\t24x7\n\ti"..., 4096) = 4096 write(4, "period\t24x7\n\tcheck_command\tcheck"..., 4096) = 4096 write(4, "tus_information\t1\n\tretain_nonsta"..., 4096) = 4096 write(4, ",r\n\tnotifications_enabled\t1\n\tnot"..., 4096) = 4096 write(4, "ap_threshold\t0.000000\n\thigh_flap"..., 4096) = 4096 write(4, "interval\t1.000000\n\tmax_check_att"..., 4096) = 4096 write(4, "k_command\tcheck_bl\n\tcontact_grou"..., 4096) = 4096 write(4, "obbit_Blr\n\tservice_description\tC"..., 4096) = 4096 write(4, "\n\tfailure_prediction_enabled\t1\n\t"..., 4096) = 4096 write(4, "hreshold\t0\n\tcheck_freshness\t0\n\tn"..., 4096) = 4096 write(4, "ce\t1\n\tevent_handler_enabled\t1\n\tl"..., 4096) = 4096 write(4, "\n\tcheck_interval\t1.000000\n\tretry"..., 4096) = 4096 write(4, "e\tHomagindia_Linux_Mail_server\n\t"..., 4096) = 4096 write(4, "ptions\tn\n\tprocess_perf_data\t1\n\tf"..., 4096) = 4096 write(4, "_options\tu,w,c,r\n\tnotifications_"..., 4096) = 4096 write(4, "on_enabled\t1\n\tflap_detection_opt"..., 4096) = 4096 write(4, "r_service\t1\n\tevent_handler_enabl"..., 4096) = 4096 write(4, "is_volatile\t0\n\tparallelize_check"..., 4096) = 4096 write(4, "ts\n\tnotification_period\t24x7\n\tin"..., 4096) = 4096 write(4, "e service {\n\thost_name\tIIL-1075-"..., 4096) = 4096 write(4, "notification_delay\t0.000000\n\tsta"..., 4096) = 4096 write(4, "detection_enabled\t1\n\tflap_detect"..., 4096) = 4096 write(4, "ck\t1\n\tactive_checks_enabled\t1\n\tp"..., 4096) = 4096 write(4, ",60%\n\tcontact_groups\tMonitoring-"..., 4096) = 4096 write(4, "in_nonstatus_information\t1\n\t}\n\nd"..., 4096) = 4096 write(4, "ification_interval\t60.000000\n\tfi"..., 4096) = 4096 write(4, "\thigh_flap_threshold\t0.000000\n\tf"..., 4096) = 4096 write(4, "ts\t3\n\tis_volatile\t0\n\tparallelize"..., 4096) = 4096 write(4, "ck_command\tcheck_icmp!200.0,20%!"..., 4096) = 4096 write(4, "retain_status_information\t1\n\tret"..., 4096) = 4096 write(4, "notifications_enabled\t1\n\tnotific"..., 4096) = 4096 write(4, "ld\t0.000000\n\tflap_detection_enab"..., 4096) = 4096 write(4, "d\t1\n\tpassive_checks_enabled\t1\n\to"..., 4096) = 4096 write(4, "x_check_attempts\t3\n\tis_volatile\t"..., 4096) = 4096 write(4, "53.104.156\n\tcontact_groups\tMonit"..., 4096) = 4096 write(4, "fication_interval\t60.000000\n\tfir"..., 4096) = 4096 write(4, "\t0\n\tparallelize_check\t1\n\tactive_"..., 4096) = 4096 write(4, "-URLMONITOR\n\tservice_description"..., 4096) = 4096 write(4, "hold\t0\n\tcheck_freshness\t0\n\tnotif"..., 4096) = 4096 write(4, "terval\t1.000000\n\tmax_check_attem"..., 4096) = 4096 write(4, "n\t1\n\tretain_nonstatus_informatio"..., 4096) = 4096 write(4, "0.000000\n\tflap_detection_enabled"..., 4096) = 4096 write(4, "dya_Admin_Group1\n\tnotification_p"..., 4096) = 4096 write(4, "ne service {\n\thost_name\tINDYA_CO"..., 4096) = 4096 write(4, "ification_options\tu,w,c,r\n\tnotif"..., 4096) = 4096 write(4, "igh_flap_threshold\t0.000000\n\tfla"..., 4096) = 4096 write(4, "_interval\t1.000000\n\tretry_interv"..., 4096) = 4096 write(4, "\n\tstalking_options\tn\n\tprocess_pe"..., 4096) = 4096 write(4, "ed\t1\n\tflap_detection_options\to,w"..., 4096) = 4096 write(4, "checks_enabled\t1\n\tpassive_checks"..., 4096) = 4096 write(4, "l_state\to\n\tcheck_interval\t1.0000"..., 4096) = 4096 write(4, "ption\tCHECK_MAIL_QUEUE\n\tcheck_pe"..., 4096) = 4096 write(4, "ailure_prediction_enabled\t1\n\tret"..., 4096) = 4096 write(4, "ess_threshold\t0\n\tcheck_freshness"..., 4096) = 4096 write(4, "t_handler_enabled\t1\n\tlow_flap_th"..., 4096) = 4096 write(4, "_interval\t1.000000\n\tmax_check_at"..., 4096) = 4096 write(4, "information\t1\n\tretain_nonstatus_"..., 4096) = 4096 write(4, "ions_enabled\t1\n\tnotification_int"..., 4096) = 4096 write(4, "_detection_enabled\t1\n\tflap_detec"..., 4096) = 4096 write(4, "tive_checks_enabled\t1\n\tpassive_c"..., 4096) = 4096 write(4, "TRWIN7_Server\n\tservice_descripti"..., 4096) = 4096 write(4, "val\t60.000000\n\tfirst_notificatio"..., 4096) = 4096 write(4, "_service\t1\n\tevent_handler_enable"..., 4096) = 4096 write(4, "\t1.000000\n\tretry_interval\t1.0000"..., 4096) = 4096 write(4, "in_nonstatus_information\t1\n\t}\n\nd"..., 4096) = 4096 write(4, "erval\t60.000000\n\tfirst_notificat"..., 4096) = 4096 write(4, "s_over_service\t1\n\tevent_handler_"..., 4096) = 4096 write(4, "_check_attempts\t3\n\tis_volatile\t0"..., 4096) = 4096 write(4, "od\t24x7\n\tcheck_command\tcheck_nrp"..., 4096) = 4096 write(4, "in_status_information\t1\n\tretain_"..., 4096) = 4096 write(4, "cations_enabled\t1\n\tnotification_"..., 4096) = 4096 write(4, "ax_check_attempts\t3\n\tis_volatile"..., 4096) = 4096 write(4, "n\tCHECK_DISK_SLASH_SANDISK\n\tchec"..., 4096) = 4096 write(4, "\t1\n\tfailure_prediction_enabled\t1"..., 4096) = 4096 write(4, "\n\tnotification_options\tu,w,c,r\n\t"..., 4096) = 4096 write(4, "l\t1.000000\n\tretry_interval\t1.000"..., 4096) = 4096 write(4, "ECK_DISK_BOOT\n\tcheck_period\t24x7"..., 4096) = 4096 write(4, "lure_prediction_enabled\t1\n\tretai"..., 4096) = 4096 write(4, "cation_interval\t60.000000\n\tfirst"..., 4096) = 4096 write(4, "0000\n\tflap_detection_enabled\t1\n\t"..., 4096) = 4096 write(4, "d\t1\n\tobsess_over_service\t1\n\teven"..., 4096) = 4096 write(4, "1.000000\n\tmax_check_attempts\t3\n\t"..., 4096) = 4096 write(4, "tact_groups\tMonitoring-alerts\n\tn"..., 4096) = 4096 write(4, "service {\n\thost_name\tINDYA_COM_S"..., 4096) = 4096 write(4, "ion_delay\t0.000000\n\tstalking_opt"..., 4096) = 4096 write(4, "enabled\t1\n\tflap_detection_option"..., 4096) = 4096 write(4, "\t1\n\tactive_checks_enabled\t1\n\tpas"..., 4096) = 4096 write(4, "l\t1.000000\n\tretry_interval\t1.000"..., 4096) = 4096 write(4, "heck_icmp!200.0,20%!500.0,60%\n\tc"..., 4096) = 4096 write(4, "ame\tINDYA_COM_games\n\tservice_des"..., 4096) = 4096 write(4, "etain_status_information\t1\n\treta"..., 4096) = 4096 write(4, "ication_delay\t0.000000\n\tstalking"..., 4096) = 4096 write(4, "ion_options\tu,w,c,r\n\tnotificatio"..., 4096) = 4096 write(4, "p_detection_enabled\t1\n\tflap_dete"..., 4096) = 4096 write(4, "nabled\t1\n\tobsess_over_service\t1\n"..., 4096) = 4096 write(4, "1.000000\n\tmax_check_attempts\t4\n\t"..., 4096) = 4096 write(4, "\tMonitoring-alerts\n\tnotification"..., 4096) = 4096 write(4, "5-NETMAGIC_2D3170_50_12822178392"..., 4096) = 4096 write(4, "enabled\t1\n\tnotification_interval"..., 4096) = 4096 write(4, "service\t1\n\tevent_handler_enabled"..., 4096) = 4096 write(4, "1.000000\n\tmax_check_attempts\t3\n\t"..., 4096) = 4096 write(4, "\tcontact_groups\tMonitoring-alert"..., 4096) = 4096 write(4, "ion\t1\n\t}\n\ndefine service {\n\thost"..., 4096) = 4096 write(4, "cation_interval\t60.000000\n\tfirst"..., 4096) = 4096 write(4, "\tflap_detection_enabled\t1\n\tflap_"..., 4096) = 4096 write(4, "\tactive_checks_enabled\t1\n\tpassiv"..., 4096) = 4096 write(4, "\n\tcontact_groups\tMonitoring-aler"..., 4096) = 4096 write(4, "_information\t1\n\tretain_nonstatus"..., 4096) = 4096 write(4, "ions_enabled\t1\n\tnotification_int"..., 4096) = 4096 write(4, "ld\t0.000000\n\thigh_flap_threshold"..., 4096) = 4096 write(4, "x_check_attempts\t3\n\tis_volatile\t"..., 4096) = 4096 write(4, "bi-3087-W1_Ubuntu_Server\n\tservic"..., 4096) = 4096 write(4, "000\n\tfirst_notification_delay\t0."..., 4096) = 4096 write(4, "d\t0.000000\n\tflap_detection_enabl"..., 4096) = 4096 write(4, "al\t1.000000\n\tmax_check_attempts\t"..., 4096) = 4096 write(4, "eriod\t24x7\n\tcheck_command\tcheck_"..., 4096) = 4096 write(4, "\t1\n\tfailure_prediction_enabled\t1"..., 4096) = 4096 write(4, ",r\n\tnotifications_enabled\t1\n\tnot"..., 4096) = 4096 write(4, "led\t1\n\tlow_flap_threshold\t0.0000"..., 4096) = 4096 write(4, "al\t1.000000\n\tmax_check_attempts\t"..., 4096) = 4096 write(4, "heck_icmp!200.0,20%!500.0,60%\n\tc"..., 4096) = 4096 write(4, "_data\t1\n\tfailure_prediction_enab"..., 4096) = 4096 write(4, "u,c\n\tfreshness_threshold\t0\n\tchec"..., 4096) = 4096 write(4, "\tlow_flap_threshold\t0.000000\n\thi"..., 4096) = 4096 write(4, "e_check\t1\n\tactive_checks_enabled"..., 4096) = 4096 write(4, "d\t24x7\n\tinitial_state\to\n\tcheck_i"..., 4096) = 4096 write(4, "icals_Pharmaceuticals_Srv\n\tservi"..., 4096) = 4096 write(4, "al\t60.000000\n\tfirst_notification"..., 4096) = 4096 write(4, "ow_flap_threshold\t0.000000\n\thigh"..., 4096) = 4096 write(4, "00.0,20%!500.0,60%\n\tcontact_grou"..., 4096) = 4096 write(4, "ion_enabled\t1\n\tretain_status_inf"..., 4096) = 4096 write(4, "\to,w,u,c\n\tfreshness_threshold\t0\n"..., 4096) = 4096 write(4, "eck_attempts\t3\n\tis_volatile\t0\n\tp"..., 4096) = 4096 write(4, "7\n\tcheck_command\tcheck_bl\n\tconta"..., 4096) = 4096 write(4, "ne service {\n\thost_name\tJustdial"..., 4096) = 4096 write(4, "failure_prediction_enabled\t1\n\tre"..., 4096) = 4096 write(4, "notification_interval\t60.000000\n"..., 4096) = 4096 write(4, "_threshold\t0\n\tcheck_freshness\t0\n"..., 4096) = 4096 write(4, "_flap_threshold\t0.000000\n\thigh_f"..., 4096) = 4096 write(4, "nabled\t1\n\tpassive_checks_enabled"..., 4096) = 4096 write(4, "ck_attempts\t4\n\tis_volatile\t0\n\tpa"..., 4096) = 4096 write(4, "\tcheck_interval\t1.000000\n\tretry_"..., 4096) = 4096 write(4, "ntact_groups\tMonitoring-alerts\n\t"..., 4096) = 4096 write(4, "eriod\t24x7\n\tcheck_command\tcheck_"..., 4096) = 4096 write(4, "\ndefine service {\n\thost_name\tMRT"..., 4096) = 4096 write(4, "abled\t1\n\tretain_status_informati"..., 4096) = 4096 write(4, "00\n\tstalking_options\tn\n\tprocess_"..., 4096) = 4096 write(4, "n_enabled\t1\n\tflap_detection_opti"..., 4096) = 4096 write(4, "\n\tcheck_command\tcheck_nt_uptime\n"..., 4096) = 4096 write(4, " service {\n\thost_name\tMicrosense"..., 4096) = 4096 write(4, "ess_perf_data\t1\n\tfailure_predict"..., 4096) = 4096 write(4, "notification_delay\t0.000000\n\tsta"..., 4096) = 4096 write(4, "shness_threshold\t0\n\tcheck_freshn"..., 4096) = 4096 write(4, "er_service\t1\n\tevent_handler_enab"..., 4096) = 4096 write(4, "x_check_attempts\t3\n\tis_volatile\t"..., 4096) = 4096 write(4, "s\tMonitoring-alerts\n\tnotificatio"..., 4096) = 4096 write(4, "\tservice_description\tCHECK_ICMP\n"..., 4096) = 4096 write(4, "perf_data\t1\n\tfailure_prediction_"..., 4096) = 4096 write(4, "ss\t0\n\tnotification_options\tu,w,c"..., 4096) = 4096 write(4, "\t1\n\tlow_flap_threshold\t0.000000\n"..., 4096) = 4096 write(4, "\tmax_check_attempts\t3\n\tis_volati"..., 4096) = 4096 write(4, "!-C chn2000 -o sysUpTime.0\n\tcont"..., 4096) = 4096 write(4, "led\t1\n\tretain_status_information"..., 4096) = 4096 write(4, "s\t0\n\tnotification_options\tu,w,c,"..., 4096) = 4096 write(4, "d\t0.000000\n\thigh_flap_threshold\t"..., 4096) = 4096 write(4, "lelize_check\t1\n\tactive_checks_en"..., 4096) = 4096 write(4, "period\t24x7\n\tinitial_state\to\n\tch"..., 4096) = 4096 write(4, "\tcheck_command\tcheck_nrpe!check_"..., 4096) = 4096 write(4, "nformation\t1\n\t}\n\ndefine service "..., 4096) = 4096 write(4, "y\t0.000000\n\tstalking_options\tn\n\t"..., 4096) = 4096 write(4, "ess\t0\n\tnotification_options\tu,w,"..., 4096) = 4096 write(4, "h_flap_threshold\t0.000000\n\tflap_"..., 4096) = 4096 write(4, "00\n\tmax_check_attempts\t3\n\tis_vol"..., 4096) = 4096 write(4, "od\t24x7\n\tcheck_command\tcheck_dns"..., 4096) = 4096 write(4, "name\tNMG-Frontend_NAS1-Server\n\ts"..., 4096) = 4096 write(4, "00\n\tfirst_notification_delay\t0.0"..., 4096) = 4096 write(4, "0.000000\n\thigh_flap_threshold\t0."..., 4096) = 4096 write(4, "volatile\t0\n\tparallelize_check\t1\n"..., 4096) = 4096 write(4, "riod\t24x7\n\tcheck_command\tcheck_n"..., 4096) = 4096 write(4, "\n\tretain_nonstatus_information\t1"..., 4096) = 4096 write(4, "00000\n\tstalking_options\tn\n\tproce"..., 4096) = 4096 write(4, "tion_options\tu,w,c,r\n\tnotificati"..., 4096) = 4096 write(4, "0000\n\thigh_flap_threshold\t0.0000"..., 4096) = 4096 write(4, "eck_command\tcheck_nt_uptime\n\tcon"..., 4096) = 4096 write(4, "n\t1\n\t}\n\ndefine service {\n\thost_n"..., 4096) = 4096 write(4, ".000000\n\tfirst_notification_dela"..., 4096) = 4096 write(4, ".000000\n\tflap_detection_enabled\t"..., 4096) = 4096 write(4, "checks_enabled\t1\n\tpassive_checks"..., 4096) = 4096 write(4, "fication_period\t24x7\n\tinitial_st"..., 4096) = 4096 write(4, "e service {\n\thost_name\tNMG_Blr_9"..., 4096) = 4096 write(4, "lay\t0.000000\n\tstalking_options\tn"..., 4096) = 4096 write(4, "reshold\t0\n\tcheck_freshness\t0\n\tno"..., 4096) = 4096 write(4, "ss_over_service\t1\n\tevent_handler"..., 4096) = 4096 write(4, "\n\tcontact_groups\tnetwork-admin\n\t"..., 4096) = 4096 write(4, "_nonstatus_information\t1\n\t}\n\ndef"..., 4096) = 4096 write(4, "60.000000\n\tfirst_notification_de"..., 4096) = 4096 write(4, "lap_detection_options\to,w,u,c\n\tf"..., 4096) = 4096 write(4, "s_over_service\t1\n\tevent_handler_"..., 4096) = 4096 write(4, "l_state\to\n\tcheck_interval\t1.0000"..., 4096) = 4096 write(4, "red_Fw_Switch 2_HP_2510\n\tservice"..., 4096) = 4096 write(4, "0000\n\tstalking_options\tn\n\tproces"..., 4096) = 4096 write(4, "ection_enabled\t1\n\tflap_detection"..., 4096) = 4096 write(4, "00000\n\tmax_check_attempts\t3\n\tis_"..., 4096) = 4096 write(4, "\tIP_Blacklist\n\tcheck_period\t24x7"..., 4096) = 4096 write(4, "n\t1\n\tretain_nonstatus_informatio"..., 4096) = 4096 write(4, "tions\tn\n\tprocess_perf_data\t1\n\tfa"..., 4096) = 4096 write(4, "terval\t60.000000\n\tfirst_notifica"..., 4096) = 4096 write(4, "\tfreshness_threshold\t0\n\tcheck_fr"..., 4096) = 4096 write(4, "eck_interval\t1.000000\n\tretry_int"..., 4096) = 4096 write(4, ",20%!500.0,60%\n\tcontact_groups\tM"..., 4096) = 4096 write(4, "MG_Tally_BSSRDNT_Srv\n\tservice_de"..., 4096) = 4096 write(4, "_status_information\t1\n\tretain_no"..., 4096) = 4096 write(4, "ion_delay\t0.000000\n\tstalking_opt"..., 4096) = 4096 write(4, "notification_options\tu,w,c,r\n\tno"..., 4096) = 4096 write(4, "p_threshold\t0.000000\n\tflap_detec"..., 4096) = 4096 write(4, "hecks_enabled\t1\n\tobsess_over_ser"..., 4096) = 4096 write(4, "retry_interval\t1.000000\n\tmax_che"..., 4096) = 4096 write(4, "nitoring-alerts\n\tnotification_pe"..., 4096) = 4096 write(4, "HECK_ICMP\n\tcheck_period\t24x7\n\tch"..., 4096) = 4096 write(4, "_nonstatus_information\t1\n\t}\n\ndef"..., 4096) = 4096 write(4, "erf_data\t1\n\tfailure_prediction_e"..., 4096) = 4096 write(4, "\tu,w,c,r\n\tnotifications_enabled\t"..., 4096) = 4096 write(4, "flap_threshold\t0.000000\n\tflap_de"..., 4096) = 4096 write(4, "bsess_over_service\t1\n\tevent_hand"..., 4096) = 4096 write(4, "20.0,20%\n\tcontact_groups\tMonitor"..., 4096) = 4096 write(4, "diction_enabled\t1\n\tretain_status"..., 4096) = 4096 write(4, "_freshness\t0\n\tnotification_optio"..., 4096) = 4096 write(4, "\thigh_flap_threshold\t0.000000\n\tf"..., 4096) = 4096 write(4, "\t0\n\tparallelize_check\t1\n\tactive_"..., 4096) = 4096 write(4, "roups\tMonitoring-alerts\n\tnotific"..., 4096) = 4096 write(4, "efine service {\n\thost_name\tOrien"..., 4096) = 4096 write(4, "000000\n\tstalking_options\tn\n\tproc"..., 4096) = 4096 write(4, "s\to,w,u,c\n\tfreshness_threshold\t0"..., 4096) = 4096 write(4, "ice\t1\n\tevent_handler_enabled\t1\n\t"..., 4096) = 4096 write(4, "\tMonitoring-alerts\n\tnotification"..., 4096) = 4096 write(4, "_information\t1\n\t}\n\ndefine servic"..., 4096) = 4096 write(4, "elay\t0.000000\n\tstalking_options\t"..., 4096) = 4096 write(4, "_check\t1\n\tactive_checks_enabled\t"..., 4096) = 4096 write(4, "%\n\tcontact_groups\tMonitoring-ale"..., 4096) = 4096 write(4, "scalix_Srv\n\tservice_description\t"..., 4096) = 4096 write(4, "etain_nonstatus_information\t1\n\t}"..., 4096) = 4096 write(4, "n_delay\t0.000000\n\tstalking_optio"..., 4096) = 4096 write(4, "n_options\tu,w,c,r\n\tnotifications"..., 4096) = 4096 write(4, "heck\t1\n\tactive_checks_enabled\t1\n"..., 4096) = 4096 write(4, "\tcontact_groups\tMonitoring-alert"..., 4096) = 4096 write(4, "_prediction_enabled\t1\n\tretain_st"..., 4096) = 4096 write(4, "notifications_enabled\t1\n\tnotific"..., 4096) = 4096 write(4, "00000\n\tflap_detection_enabled\t1\n"..., 4096) = 4096 write(4, "cks_enabled\t1\n\tobsess_over_servi"..., 4096) = 4096 write(4, "d\t24x7\n\tinitial_state\to\n\tcheck_i"..., 4096) = 4096 write(4, "service {\n\thost_name\tSquare_Driv"..., 4096) = 4096 write(4, "notification_delay\t0.000000\n\tsta"..., 4096) = 4096 write(4, "0000\n\thigh_flap_threshold\t0.0000"..., 4096) = 4096 write(4, "\n\tcheck_interval\t1.000000\n\tretry"..., 4096) = 4096 write(4, "v\n\tservice_description\tCHECK_ICM"..., 4096) = 4096 write(4, "perf_data\t1\n\tfailure_prediction_"..., 4096) = 4096 write(4, "ve_checks_enabled\t1\n\tpassive_che"..., 4096) = 4096 write(4, "ng-alerts\n\tnotification_period\t2"..., 4096) = 4096 write(4, "\t0.000000\n\tstalking_options\tn\n\tp"..., 4096) = 4096 write(4, "tifications_enabled\t1\n\tnotificat"..., 4096) = 4096 write(4, ".000000\n\thigh_flap_threshold\t0.0"..., 4096) = 4096 write(4, "tive_checks_enabled\t1\n\tpassive_c"..., 4096) = 4096 write(4, "ts\n\tnotification_period\t24x7\n\tin"..., 4096) = 4096 write(4, "B_Node1_143\n\tservice_description"..., 4096) = 4096 write(4, "ion_enabled\t1\n\tretain_status_inf"..., 4096) = 4096 write(4, "erval\t60.000000\n\tfirst_notificat"..., 4096) = 4096 write(4, "0\n\tcheck_freshness\t0\n\tnotificati"..., 4096) = 4096 write(4, "ld\t0.000000\n\tflap_detection_enab"..., 4096) = 4096 write(4, "1\n\tobsess_over_service\t1\n\tevent_"..., 4096) = 4096 write(4, "0000\n\tmax_check_attempts\t3\n\tis_v"..., 4096) = 4096 write(4, ".0,60%\n\tcontact_groups\tMonitorin"..., 4096) = 4096 write(4, "e13\n\tservice_description\tCheck T"..., 4096) = 4096 write(4, "elay\t0.000000\n\tstalking_options\t"..., 4096) = 4096 write(4, "ed\t1\n\tobsess_over_service\t1\n\teve"..., 4096) = 4096 write(4, "erval\t1.000000\n\tretry_interval\t1"..., 4096) = 4096 write(4, "nitoring-alerts\n\tnotification_pe"..., 4096) = 4096 write(4, "\tcheck_icmp!200.0,20%!500.0,60%\n"..., 4096) = 4096 write(4, "nformation\t1\n\t}\n\ndefine service "..., 4096) = 4096 write(4, "u,w,c,r\n\tnotifications_enabled\t1"..., 4096) = 4096 write(4, "\tflap_detection_options\to,w,u,c\n"..., 4096) = 4096 write(4, "nabled\t1\n\tlow_flap_threshold\t0.0"..., 4096) = 4096 write(4, "e\t0\n\tparallelize_check\t1\n\tactive"..., 4096) = 4096 write(4, "tion_period\t24x7\n\tinitial_state\t"..., 4096) = 4096 write(4, "\tcheck_command\tcheck_bl\n\tcontact"..., 4096) = 4096 write(4, "formation\t1\n\t}\n\ndefine service {"..., 4096) = 4096 write(4, "000000\n\tstalking_options\tn\n\tproc"..., 4096) = 4096 write(4, "led\t1\n\tnotification_interval\t60."..., 4096) = 4096 write(4, "lap_detection_enabled\t1\n\tflap_de"..., 4096) = 4096 write(4, "ed\t1\n\tobsess_over_service\t1\n\teve"..., 4096) = 4096 write(4, "ification_period\t24x7\n\tinitial_s"..., 4096) = 4096 write(4, "on_enabled\t1\n\tretain_status_info"..., 4096) = 4096 write(4, "bled\t1\n\tnotification_interval\t60"..., 4096) = 4096 write(4, ",w,u,c\n\tfreshness_threshold\t0\n\tc"..., 4096) = 4096 write(4, "old\t0.000000\n\tflap_detection_ena"..., 4096) = 4096 write(4, "rvice\t1\n\tevent_handler_enabled\t1"..., 4096) = 4096 write(4, "allelize_check\t1\n\tactive_checks_"..., 4096) = 4096 write(4, "\tMonitoring-alerts\n\tnotification"..., 4096) = 4096 write(4, "{\n\thost_name\tVIA_Human-Server5-3"..., 4096) = 4096 write(4, "data\t1\n\tfailure_prediction_enabl"..., 4096) = 4096 write(4, "irst_notification_delay\t0.000000"..., 4096) = 4096 write(4, "threshold\t0\n\tcheck_freshness\t0\n\t"..., 4096) = 4096 write(4, "hold\t0.000000\n\thigh_flap_thresho"..., 4096) = 4096 write(4, "tive_checks_enabled\t1\n\tpassive_c"..., 4096) = 4096 write(4, "ax_check_attempts\t3\n\tis_volatile"..., 4096) = 4096 write(4, "nitoring-alerts\n\tnotification_pe"..., 4096) = 4096 write(4, "um_Srv_1_Delhi\n\tservice_descript"..., 4096) = 4096 write(4, "_enabled\t1\n\tretain_status_inform"..., 4096) = 4096 write(4, ".000000\n\tfirst_notification_dela"..., 4096) = 4096 write(4, "\t0\n\tnotification_options\tu,w,c,r"..., 4096) = 4096 write(4, "\n\thigh_flap_threshold\t0.000000\n\t"..., 4096) = 4096 write(4, "7\n\tinitial_state\to\n\tcheck_interv"..., 4096) = 4096 write(4, "D Space\n\tcheck_period\t24x7\n\tchec"..., 4096) = 4096 write(4, "ication_delay\t0.000000\n\tstalking"..., 4096) = 4096 write(4, ",w,u,c\n\tfreshness_threshold\t0\n\tc"..., 4096) = 4096 write(4, "\t1.000000\n\tmax_check_attempts\t3\n"..., 4096) = 4096 write(4, "ups\tMonitoring-alerts\n\tnotificat"..., 4096) = 4096 write(4, "\tIP_Blacklist\n\tcheck_period\t24x7"..., 759) = 759 close(4) = 0 munmap(0x2aba31794000, 4096) = 0 brk(0x119ed000) = 0x119ed000 brk(0x11a0e000) = 0x11a0e000 brk(0x11a2f000) = 0x11a2f000 brk(0x11a50000) = 0x11a50000 brk(0x11a71000) = 0x11a71000 brk(0x11a92000) = 0x11a92000 brk(0x11ab3000) = 0x11ab3000 brk(0x11ad4000) = 0x11ad4000 brk(0x11af5000) = 0x11af5000 brk(0x11b16000) = 0x11b16000 brk(0x11b37000) = 0x11b37000 brk(0x11b58000) = 0x11b58000 brk(0x11b79000) = 0x11b79000 brk(0x11b9a000) = 0x11b9a000 brk(0x11bbb000) = 0x11bbb000 brk(0x11bdc000) = 0x11bdc000 brk(0x11bfd000) = 0x11bfd000 brk(0x11c1e000) = 0x11c1e000 brk(0x11c3f000) = 0x11c3f000 brk(0x11c60000) = 0x11c60000 brk(0x11c81000) = 0x11c81000 brk(0x11ca2000) = 0x11ca2000 open("/usr/local/nagios/var/spool/checkresults/nagiosSq9yG2", O_RDWR|O_CREAT|O_EXCL, 0600) = 4 close(4) = 0 unlink("/usr/local/nagios/var/spool/checkresults/nagiosSq9yG2") = 0 open("/usr/local/nagios/var/spool/checkresults/nagiosurFkL2", O_RDWR|O_CREAT|O_EXCL, 0600) = 4 close(4) = 0 unlink("/usr/local/nagios/var/spool/checkresults/nagiosurFkL2") = 0 stat("/usr/local/nagios/bin/p1.pl", {st_mode=S_IFREG|0664, st_size=31878, ...}) = 0 rt_sigaction(SIGFPE, {0x1, [FPE], SA_RESTORER|SA_RESTART, 0x3de28302d0}, {SIG_DFL, [], 0}, 8) = 0 getuid() = 501 geteuid() = 501 getgid() = 501 getegid() = 501 open("/usr/lib/locale/locale-archive", O_RDONLY) = 4 fstat(4, {st_mode=S_IFREG|0644, st_size=56471248, ...}) = 0 mmap(NULL, 56471248, PROT_READ, MAP_PRIVATE, 4, 0) = 0x2aba31794000 close(4) = 0 open("/dev/urandom", O_RDONLY) = 4 read(4, "\327=#\307", 4) = 4 close(4) = 0 stat("/usr/lib64/perl5/site_perl/5.8.7/x86_64-linux-thread-multi", 0x7fff009177f0) = -1 ENOENT (No such file or directory) stat("/usr/lib/perl5/site_perl/5.8.7", 0x7fff009177f0) = -1 ENOENT (No such file or directory) stat("/usr/lib64/perl5/site_perl/5.8.6/x86_64-linux-thread-multi", 0x7fff009177f0) = -1 ENOENT (No such file or directory) stat("/usr/lib/perl5/site_perl/5.8.6", 0x7fff009177f0) = -1 ENOENT (No such file or directory) stat("/usr/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi", 0x7fff009177f0) = -1 ENOENT (No such file or directory) stat("/usr/lib/perl5/site_perl/5.8.5", 0x7fff009177f0) = -1 ENOENT (No such file or directory) stat("/usr/lib64/perl5/vendor_perl/5.8.7/x86_64-linux-thread-multi", 0x7fff009177f0) = -1 ENOENT (No such file or directory) stat("/usr/lib/perl5/vendor_perl/5.8.7", 0x7fff009177f0) = -1 ENOENT (No such file or directory) stat("/usr/lib64/perl5/vendor_perl/5.8.6/x86_64-linux-thread-multi", 0x7fff009177f0) = -1 ENOENT (No such file or directory) stat("/usr/lib/perl5/vendor_perl/5.8.6", 0x7fff009177f0) = -1 ENOENT (No such file or directory) stat("/usr/lib64/perl5/vendor_perl/5.8.5/x86_64-linux-thread-multi", 0x7fff009177f0) = -1 ENOENT (No such file or directory) stat("/usr/lib/perl5/vendor_perl/5.8.5", 0x7fff009177f0) = -1 ENOENT (No such file or directory) ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0 lseek(0, 0, SEEK_CUR) = -1 ESPIPE (Illegal seek) ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0 lseek(1, 0, SEEK_CUR) = -1 ESPIPE (Illegal seek) ioctl(2, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0 lseek(2, 0, SEEK_CUR) = -1 ESPIPE (Illegal seek) open("/usr/local/nagios/bin/p1.pl", O_RDONLY) = 4 ioctl(4, SNDCTL_TMR_TIMEBASE or TCGETS, 0x7fff009176c0) = -1 ENOTTY (Inappropriate ioctl for device) lseek(4, 0, SEEK_CUR) = 0 fcntl(4, F_SETFD, FD_CLOEXEC) = 0 fstat(4, {st_mode=S_IFREG|0664, st_size=31878, ...}) = 0 rt_sigaction(SIGCHLD, NULL, {SIG_DFL, [], 0}, 8) = 0 readlink("/proc/self/exe", "/usr/local/nagios/bin/nagios"..., 4095) = 28 --- SIGSEGV (Segmentation fault) @ 0 (0) --- +++ killed by SIGSEGV +++ /\ dE ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From caver13 at sbcglobal.net Tue May 17 20:11:57 2011 From: caver13 at sbcglobal.net (Adam Coleman) Date: Tue, 17 May 2011 11:11:57 -0700 (PDT) Subject: Email-Web interface contradiction Message-ID: <819556.45383.qm@web82805.mail.mud.yahoo.com> I'm not sure what you mean. At this time, it doesn't have a "Next Scheduled Active Check". It also is the host, which would mean that the service is just check_host_alive, right? >Hi > >What is your nagios configuration about this service, timeperiods... > >Regards >Stan -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From a31modela at hotmail.com Tue May 17 20:23:40 2011 From: a31modela at hotmail.com (steve f) Date: Tue, 17 May 2011 14:23:40 -0400 Subject: Mass Acknowledge a Service In-Reply-To: <43EB55D703EFCD4880834FDFE47811D201C341@WPSDGQGP.OPR.STATEFARM.ORG> References: , <43EB55D703EFCD4880834FDFE47811D201C341@WPSDGQGP.OPR.STATEFARM.ORG> Message-ID: Hey Dan, Thanks for the heads up on multisite. Gonna dig into it and maybe install it or something like it. Thanks, Steve From: daniel.wittenberg.r0ko at statefarm.com To: nagios-users at lists.sourceforge.net Date: Tue, 17 May 2011 18:06:40 +0000 Subject: Re: [Nagios-users] Mass Acknowledge a Service If you are using multisite for your interface you can filter the view to only show those and then ack them all at once. Dan From: steve f [mailto:a31modela at hotmail.com] Sent: Tuesday, May 17, 2011 1:00 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Mass Acknowledge a Service I have a check that checks the size of multiple partitions and we recently added some data that surpassed the threshold value and I have over 100 clients alerting. There is nothing I can do about the space issue, it will go back to normal in a few weeks. Is it possible to acknowledge all 100 at once? I do have a service group associated with this check but dont see that it can be ack'ed all at once. Is it possible to edit the status.dat file with a reference to a host group instead of a host name to accomplish this? : servicecomment { host_name=strxxxxxxxx host_group = GROUPNAME HERE service_description=Legacy Partition Size entry_type=4 comment_id=129 source=0 persistent=0 entry_time=1305654252 expires=0 expire_time=0 author=Nagios Admin comment_data=known issue } ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From trm.nagios at gmail.com Tue May 17 20:31:36 2011 From: trm.nagios at gmail.com (trm asn) Date: Wed, 18 May 2011 00:01:36 +0530 Subject: Segmentation fault Nagios 3.2.3 In-Reply-To: References: Message-ID: On Tue, May 17, 2011 at 11:39 PM, trm asn wrote: > Dear List , > > I am getting the segmentation fault in nagios 3.2.3 while starting nagios. > > ------------------------------------------------------------- > ?gdb /usr/local/nagios/bin/nagios > > GNU gdb (GDB) Red Hat Enterprise Linux (7.0.1-32.el5_6.2) > Copyright (C) 2009 Free Software Foundation, Inc. > License GPLv3+: GNU GPL version 3 or later > This is free software: you are free to change and redistribute it. > There is NO WARRANTY, to the extent permitted by law. ?Type "show copying" > and "show warranty" for details. > This GDB was configured as "x86_64-redhat-linux-gnu". > For bug reporting instructions, please see: > ... > Reading symbols from /usr/local/nagios/bin/nagios...(no debugging > symbols found)...done. > (gdb) run /usr/local/nagios/etc/nagios.cfg > Starting program: /usr/local/nagios/bin/nagios /usr/local/nagios/etc/nagios.cfg > warning: no loadable sections found in added symbol-file > system-supplied DSO at 0x2aaaaaaab000 > [Thread debugging using libthread_db enabled] > > Nagios Core 3.2.3 > Copyright (c) 2009-2010 Nagios Core Development Team and Community Contributors > Copyright (c) 1999-2009 Ethan Galstad > Last Modified: 10-03-2010 > License: GPL > > Website: http://www.nagios.org > Nagios 3.2.3 starting... (PID=9772) > Local time is Tue May 17 23:37:29 IST 2011 > > Program received signal SIGSEGV, Segmentation fault. > 0x00002aaaaaae532c in ?? () from > /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/libperl.so > > -------------------------------------------------------------------------- > strace ./nagios -d /usr/local/nagios/etc/nagios.cfg > > execve("./nagios", ["./nagios", "-d", > "/usr/local/nagios/etc/nagios.cfg"], [/* 19 vars */]) = 0 > brk(0) ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?= 0x1179d000 > mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, > 0) = 0x2aba3123d000 > mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, > 0) = 0x2aba3123e000 > access("/etc/ld.so.preload", R_OK) ? ? ?= -1 ENOENT (No such file or directory) > open("/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/tls/x86_64/libperl.so", > O_RDONLY) = -1 ENOENT (No such file or directory) > stat("/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/tls/x86_64", > 0x7fff00917240) = -1 ENOENT (No such file or directory) > open("/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/tls/libperl.so", > O_RDONLY) = -1 ENOENT (No such file or directory) > stat("/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/tls", > 0x7fff00917240) = -1 ENOENT (No such file or directory) > open("/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/x86_64/libperl.so", > O_RDONLY) = -1 ENOENT (No such file or directory) > stat("/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/x86_64", > 0x7fff00917240) = -1 ENOENT (No such file or directory) > open("/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/libperl.so", > O_RDONLY) = 3 > read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\340\34\3\0\0\0\0\0"..., > 832) = 832 > fstat(3, {st_mode=S_IFREG|0755, st_size=1259888, ...}) = 0 > mmap(NULL, 3363648, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, > 0) = 0x2aba3123f000 > mprotect(0x2aba3136b000, 2093056, PROT_NONE) = 0 > mmap(0x2aba3156a000, 36864, PROT_READ|PROT_WRITE, > MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x12b000) = 0x2aba3156a000 > mmap(0x2aba31573000, 4928, PROT_READ|PROT_WRITE, > MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2aba31573000 > close(3) ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?= 0 > open("/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/libresolv.so.2", > O_RDONLY) = -1 ENOENT (No such file or directory) > open("/etc/ld.so.cache", O_RDONLY) ? ? ?= 3 > fstat(3, {st_mode=S_IFREG|0644, st_size=31936, ...}) = 0 > mmap(NULL, 31936, PROT_READ, MAP_PRIVATE, 3, 0) = 0x2aba31575000 > close(3) ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?= 0 > open("/lib64/libresolv.so.2", O_RDONLY) = 3 > read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\2402@\347=\0\0\0"..., > 832) = 832 > fstat(3, {st_mode=S_IFREG|0755, st_size=92736, ...}) = 0 > mmap(0x3de7400000, 2181864, PROT_READ|PROT_EXEC, > MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x3de7400000 > mprotect(0x3de7411000, 2097152, PROT_NONE) = 0 > mmap(0x3de7611000, 8192, PROT_READ|PROT_WRITE, > MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x11000) = 0x3de7611000 > mmap(0x3de7613000, 6888, PROT_READ|PROT_WRITE, > MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x3de7613000 > close(3) ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?= 0 > open("/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/libnsl.so.1", > O_RDONLY) = -1 ENOENT (No such file or directory) > open("/lib64/libnsl.so.1", O_RDONLY) ? ?= 3 > read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\240@\0\363>\0\0\0"..., > 832) = 832 > fstat(3, {st_mode=S_IFREG|0755, st_size=114352, ...}) = 0 > mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, > 0) = 0x2aba3157d000 > mmap(0x3ef3000000, 2194096, PROT_READ|PROT_EXEC, > MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x3ef3000000 > mprotect(0x3ef3015000, 2093056, PROT_NONE) = 0 > mmap(0x3ef3214000, 8192, PROT_READ|PROT_WRITE, > MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x14000) = 0x3ef3214000 > mmap(0x3ef3216000, 6832, PROT_READ|PROT_WRITE, > MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x3ef3216000 > close(3) ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?= 0 > open("/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/libdl.so.2", > O_RDONLY) = -1 ENOENT (No such file or directory) > open("/lib64/libdl.so.2", O_RDONLY) ? ? = 3 > read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\20\16\300\342=\0\0\0"..., > 832) = 832 > fstat(3, {st_mode=S_IFREG|0755, st_size=23360, ...}) = 0 > mmap(0x3de2c00000, 2109696, PROT_READ|PROT_EXEC, > MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x3de2c00000 > mprotect(0x3de2c02000, 2097152, PROT_NONE) = 0 > mmap(0x3de2e02000, 8192, PROT_READ|PROT_WRITE, > MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x3de2e02000 > close(3) ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?= 0 > open("/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/libm.so.6", > O_RDONLY) = -1 ENOENT (No such file or directory) > open("/lib64/libm.so.6", O_RDONLY) ? ? ?= 3 > read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0`>\0\343=\0\0\0"..., > 832) = 832 > fstat(3, {st_mode=S_IFREG|0755, st_size=615136, ...}) = 0 > mmap(0x3de3000000, 2629848, PROT_READ|PROT_EXEC, > MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x3de3000000 > mprotect(0x3de3082000, 2093056, PROT_NONE) = 0 > mmap(0x3de3281000, 8192, PROT_READ|PROT_WRITE, > MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x81000) = 0x3de3281000 > close(3) ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?= 0 > open("/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/libcrypt.so.1", > O_RDONLY) = -1 ENOENT (No such file or directory) > open("/lib64/libcrypt.so.1", O_RDONLY) ?= 3 > read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\360\t\200\344=\0\0\0"..., > 832) = 832 > fstat(3, {st_mode=S_IFREG|0755, st_size=48600, ...}) = 0 > mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, > 0) = 0x2aba3157e000 > mmap(0x3de4800000, 2322880, PROT_READ|PROT_EXEC, > MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x3de4800000 > mprotect(0x3de4809000, 2093056, PROT_NONE) = 0 > mmap(0x3de4a08000, 8192, PROT_READ|PROT_WRITE, > MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x8000) = 0x3de4a08000 > mmap(0x3de4a0a000, 184768, PROT_READ|PROT_WRITE, > MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x3de4a0a000 > close(3) ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?= 0 > open("/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/libutil.so.1", > O_RDONLY) = -1 ENOENT (No such file or directory) > open("/lib64/libutil.so.1", O_RDONLY) ? = 3 > read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\200\16@\345=\0\0\0"..., > 832) = 832 > fstat(3, {st_mode=S_IFREG|0755, st_size=18152, ...}) = 0 > mmap(0x3de5400000, 2105616, PROT_READ|PROT_EXEC, > MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x3de5400000 > mprotect(0x3de5402000, 2093056, PROT_NONE) = 0 > mmap(0x3de5601000, 8192, PROT_READ|PROT_WRITE, > MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1000) = 0x3de5601000 > close(3) ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?= 0 > open("/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/libpthread.so.0", > O_RDONLY) = -1 ENOENT (No such file or directory) > open("/lib64/libpthread.so.0", O_RDONLY) = 3 > read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\240W@\343=\0\0\0"..., > 832) = 832 > fstat(3, {st_mode=S_IFREG|0755, st_size=145824, ...}) = 0 > mmap(0x3de3400000, 2204528, PROT_READ|PROT_EXEC, > MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x3de3400000 > mprotect(0x3de3416000, 2093056, PROT_NONE) = 0 > mmap(0x3de3615000, 8192, PROT_READ|PROT_WRITE, > MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x15000) = 0x3de3615000 > mmap(0x3de3617000, 13168, PROT_READ|PROT_WRITE, > MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x3de3617000 > close(3) ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?= 0 > open("/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/libc.so.6", > O_RDONLY) = -1 ENOENT (No such file or directory) > open("/lib64/libc.so.6", O_RDONLY) ? ? ?= 3 > read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\220\332\201\342=\0\0\0"..., > 832) = 832 > fstat(3, {st_mode=S_IFREG|0755, st_size=1722304, ...}) = 0 > mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, > 0) = 0x2aba3157f000 > mmap(0x3de2800000, 3502424, PROT_READ|PROT_EXEC, > MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x3de2800000 > mprotect(0x3de294e000, 2097152, PROT_NONE) = 0 > mmap(0x3de2b4e000, 20480, PROT_READ|PROT_WRITE, > MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x14e000) = 0x3de2b4e000 > mmap(0x3de2b53000, 16728, PROT_READ|PROT_WRITE, > MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x3de2b53000 > close(3) ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?= 0 > mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, > 0) = 0x2aba31580000 > arch_prctl(ARCH_SET_FS, 0x2aba31580790) = 0 > mprotect(0x3de2b4e000, 16384, PROT_READ) = 0 > mprotect(0x3de3615000, 4096, PROT_READ) = 0 > mprotect(0x3de5601000, 4096, PROT_READ) = 0 > mprotect(0x3de4a08000, 4096, PROT_READ) = 0 > mprotect(0x3de3281000, 4096, PROT_READ) = 0 > mprotect(0x3de2e02000, 4096, PROT_READ) = 0 > mprotect(0x3ef3214000, 4096, PROT_READ) = 0 > mprotect(0x3de7611000, 4096, PROT_READ) = 0 > mprotect(0x3de261b000, 4096, PROT_READ) = 0 > munmap(0x2aba31575000, 31936) ? ? ? ? ? = 0 > set_tid_address(0x2aba31580820) ? ? ? ? = 9708 > set_robust_list(0x2aba31580830, 0x18) ? = 0 > futex(0x7fff00917d6c, FUTEX_WAKE_PRIVATE, 1) = 0 > rt_sigaction(SIGRTMIN, {0x3de3405380, [], SA_RESTORER|SA_SIGINFO, > 0x3de340eb10}, NULL, 8) = 0 > rt_sigaction(SIGRT_1, {0x3de34052b0, [], > SA_RESTORER|SA_RESTART|SA_SIGINFO, 0x3de340eb10}, NULL, 8) = 0 > rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 > getrlimit(RLIMIT_STACK, {rlim_cur=10240*1024, rlim_max=RLIM_INFINITY}) = 0 > brk(0) ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?= 0x1179d000 > brk(0x117be000) ? ? ? ? ? ? ? ? ? ? ? ? = 0x117be000 > umask(022) ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?= 022 > open("/usr/local/nagios/etc/nagios.cfg", O_RDONLY) = 3 > fstat(3, {st_mode=S_IFREG|0664, st_size=43594, ...}) = 0 > mmap(NULL, 43594, PROT_READ, MAP_PRIVATE, 3, 0) = 0x2aba31581000 > open("/usr/local/nagios/etc/resource.cfg", O_RDONLY) = 4 > fstat(4, {st_mode=S_IFREG|0664, st_size=1340, ...}) = 0 > mmap(NULL, 1340, PROT_READ, MAP_PRIVATE, 4, 0) = 0x2aba3158c000 > munmap(0x2aba3158c000, 1340) ? ? ? ? ? ?= 0 > close(4) ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?= 0 > open("/tmp", O_RDONLY|O_NONBLOCK|O_DIRECTORY) = 4 > fcntl(4, F_SETFD, FD_CLOEXEC) ? ? ? ? ? = 0 > close(4) ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?= 0 > open("/usr/local/nagios/var/spool/checkresults", > O_RDONLY|O_NONBLOCK|O_DIRECTORY) = 4 > fcntl(4, F_SETFD, FD_CLOEXEC) ? ? ? ? ? = 0 > close(4) ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?= 0 > open("/usr/share/zoneinfo/Asia/Calcutta", O_RDONLY) = 4 > fstat(4, {st_mode=S_IFREG|0644, st_size=265, ...}) = 0 > fstat(4, {st_mode=S_IFREG|0644, st_size=265, ...}) = 0 > mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, > 0) = 0x2aba3158c000 > read(4, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\4\0\0\0\4\0\0\0\0"..., > 4096) = 265 > lseek(4, -156, SEEK_CUR) ? ? ? ? ? ? ? ?= 109 > read(4, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\5\0\0\0\5\0\0\0\0"..., > 4096) = 156 > close(4) ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?= 0 > munmap(0x2aba3158c000, 4096) ? ? ? ? ? ?= 0 > munmap(0x2aba31581000, 43594) ? ? ? ? ? = 0 > close(3) ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?= 0 > open("/usr/local/nagios/var/nagios.debug", O_RDWR|O_CREAT|O_APPEND, 0666) = 3 > getgid() ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?= 0 > getuid() ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?= 0 > getuid() ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?= 0 > socket(PF_FILE, SOCK_STREAM, 0) ? ? ? ? = 4 > fcntl(4, F_SETFL, O_RDWR|O_NONBLOCK) ? ?= 0 > connect(4, {sa_family=AF_FILE, path="/var/run/nscd/socket"...}, 110) = > -1 ENOENT (No such file or directory) > close(4) ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?= 0 > socket(PF_FILE, SOCK_STREAM, 0) ? ? ? ? = 4 > fcntl(4, F_SETFL, O_RDWR|O_NONBLOCK) ? ?= 0 > connect(4, {sa_family=AF_FILE, path="/var/run/nscd/socket"...}, 110) = > -1 ENOENT (No such file or directory) > close(4) ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?= 0 > open("/etc/nsswitch.conf", O_RDONLY) ? ?= 4 > fstat(4, {st_mode=S_IFREG|0644, st_size=1696, ...}) = 0 > mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, > 0) = 0x2aba31581000 > read(4, "#\n# /etc/nsswitch.conf\n#\n# An ex"..., 4096) = 1696 > read(4, "", 4096) ? ? ? ? ? ? ? ? ? ? ? = 0 > close(4) ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?= 0 > munmap(0x2aba31581000, 4096) ? ? ? ? ? ?= 0 > open("/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/libnss_files.so.2", > O_RDONLY) = -1 ENOENT (No such file or directory) > open("/etc/ld.so.cache", O_RDONLY) ? ? ?= 4 > fstat(4, {st_mode=S_IFREG|0644, st_size=31936, ...}) = 0 > mmap(NULL, 31936, PROT_READ, MAP_PRIVATE, 4, 0) = 0x2aba31581000 > close(4) ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?= 0 > open("/lib64/libnss_files.so.2", O_RDONLY) = 4 > read(4, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\340\37\0\0\0\0\0\0"..., > 832) = 832 > fstat(4, {st_mode=S_IFREG|0755, st_size=53880, ...}) = 0 > mmap(NULL, 2139432, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, > 0) = 0x2aba31589000 > mprotect(0x2aba31593000, 2093056, PROT_NONE) = 0 > mmap(0x2aba31792000, 8192, PROT_READ|PROT_WRITE, > MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x9000) = 0x2aba31792000 > close(4) ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?= 0 > mprotect(0x2aba31792000, 4096, PROT_READ) = 0 > munmap(0x2aba31581000, 31936) ? ? ? ? ? = 0 > open("/etc/group", O_RDONLY) ? ? ? ? ? ?= 4 > fcntl(4, F_GETFD) ? ? ? ? ? ? ? ? ? ? ? = 0 > fcntl(4, F_SETFD, FD_CLOEXEC) ? ? ? ? ? = 0 > fstat(4, {st_mode=S_IFREG|0644, st_size=1467, ...}) = 0 > mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, > 0) = 0x2aba31581000 > read(4, "root:x:0:root\nbin:x:1:root,bin,d"..., 4096) = 1467 > close(4) ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?= 0 > munmap(0x2aba31581000, 4096) ? ? ? ? ? ?= 0 > getegid() ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? = 0 > setgid(501) ? ? ? ? ? ? ? ? ? ? ? ? ? ? = 0 > socket(PF_FILE, SOCK_STREAM, 0) ? ? ? ? = 4 > fcntl(4, F_SETFL, O_RDWR|O_NONBLOCK) ? ?= 0 > connect(4, {sa_family=AF_FILE, path="/var/run/nscd/socket"...}, 110) = > -1 ENOENT (No such file or directory) > close(4) ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?= 0 > socket(PF_FILE, SOCK_STREAM, 0) ? ? ? ? = 4 > fcntl(4, F_SETFL, O_RDWR|O_NONBLOCK) ? ?= 0 > connect(4, {sa_family=AF_FILE, path="/var/run/nscd/socket"...}, 110) = > -1 ENOENT (No such file or directory) > close(4) ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?= 0 > open("/etc/passwd", O_RDONLY) ? ? ? ? ? = 4 > fcntl(4, F_GETFD) ? ? ? ? ? ? ? ? ? ? ? = 0 > fcntl(4, F_SETFD, FD_CLOEXEC) ? ? ? ? ? = 0 > fstat(4, {st_mode=S_IFREG|0644, st_size=2779, ...}) = 0 > mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, > 0) = 0x2aba31581000 > read(4, "root:x:0:0:root:/root:/bin/bash\n"..., 4096) = 2779 > close(4) ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?= 0 > munmap(0x2aba31581000, 4096) ? ? ? ? ? ?= 0 > geteuid() ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? = 0 > open("/proc/sys/kernel/ngroups_max", O_RDONLY) = 4 > read(4, "65536\n", 31) ? ? ? ? ? ? ? ? ?= 6 > close(4) ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?= 0 > open("/etc/group", O_RDONLY) ? ? ? ? ? ?= 4 > fcntl(4, F_GETFD) ? ? ? ? ? ? ? ? ? ? ? = 0 > fcntl(4, F_SETFD, FD_CLOEXEC) ? ? ? ? ? = 0 > fstat(4, {st_mode=S_IFREG|0644, st_size=1467, ...}) = 0 > mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, > 0) = 0x2aba31581000 > lseek(4, 0, SEEK_CUR) ? ? ? ? ? ? ? ? ? = 0 > read(4, "root:x:0:root\nbin:x:1:root,bin,d"..., 4096) = 1467 > read(4, "", 4096) ? ? ? ? ? ? ? ? ? ? ? = 0 > close(4) ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?= 0 > munmap(0x2aba31581000, 4096) ? ? ? ? ? ?= 0 > setgroups(2, [501, 502]) ? ? ? ? ? ? ? ?= 0 > setuid(501) ? ? ? ? ? ? ? ? ? ? ? ? ? ? = 0 > getgid() ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?= 501 > getuid() ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?= 501 > open("/usr/local/nagios/var/nagios.log", O_RDWR|O_CREAT|O_APPEND, 0666) = 4 > fstat(4, {st_mode=S_IFREG|0644, st_size=4749855, ...}) = 0 > mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, > 0) = 0x2aba31581000 > write(4, "[1305655472] Nagios 3.2.3 starti"..., 49) = 49 > close(4) ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?= 0 > munmap(0x2aba31581000, 4096) ? ? ? ? ? ?= 0 > open("/usr/local/nagios/var/nagios.log", O_RDWR|O_CREAT|O_APPEND, 0666) = 4 > fstat(4, {st_mode=S_IFREG|0644, st_size=4749904, ...}) = 0 > mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, > 0) = 0x2aba31581000 > write(4, "[1305655472] Local time is Tue M"..., 56) = 56 > close(4) ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?= 0 > munmap(0x2aba31581000, 4096) ? ? ? ? ? ?= 0 > open("/usr/local/nagios/var/nagios.log", O_RDWR|O_CREAT|O_APPEND, 0666) = 4 > fstat(4, {st_mode=S_IFREG|0644, st_size=4749960, ...}) = 0 > mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, > 0) = 0x2aba31581000 > write(4, "[1305655472] LOG VERSION: 2.0\n", 30) = 30 > close(4) ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?= 0 > munmap(0x2aba31581000, 4096) ? ? ? ? ? ?= 0 > open("/usr/local/nagios/etc/nagios.cfg", O_RDONLY) = 4 > fstat(4, {st_mode=S_IFREG|0664, st_size=43594, ...}) = 0 > mmap(NULL, 43594, PROT_READ, MAP_PRIVATE, 4, 0) = 0x2aba31794000 > munmap(0x2aba31794000, 43594) ? ? ? ? ? = 0 > close(4) ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?= 0 > open("/usr/local/nagios/etc/nagios.cfg", O_RDONLY) = 4 > fstat(4, {st_mode=S_IFREG|0664, st_size=43594, ...}) = 0 > mmap(NULL, 43594, PROT_READ, MAP_PRIVATE, 4, 0) = 0x2aba31794000 > open("/usr/local/nagios/etc/objects/commands.cfg", O_RDONLY) = 5 > fstat(5, {st_mode=S_IFREG|0664, st_size=19919, ...}) = 0 > mmap(NULL, 19919, PROT_READ, MAP_PRIVATE, 5, 0) = 0x2aba3179f000 > munmap(0x2aba3179f000, 19919) ? ? ? ? ? = 0 > close(5) ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?= 0 > open("/usr/local/nagios/etc/objects/contacts.cfg", O_RDONLY) = 5 > fstat(5, {st_mode=S_IFREG|0664, st_size=14859, ...}) = 0 > mmap(NULL, 14859, PROT_READ, MAP_PRIVATE, 5, 0) = 0x2aba3179f000 > munmap(0x2aba3179f000, 14859) ? ? ? ? ? = 0 > close(5) ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?= 0 > open("/usr/local/nagios/etc/objects/timeperiods.cfg", O_RDONLY) = 5 > fstat(5, {st_mode=S_IFREG|0664, st_size=3208, ...}) = 0 > mmap(NULL, 3208, PROT_READ, MAP_PRIVATE, 5, 0) = 0x2aba3179f000 > munmap(0x2aba3179f000, 3208) ? ? ? ? ? ?= 0 > close(5) ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?= 0 > open("/usr/local/nagios/etc/objects/contactgroups.cfg", O_RDONLY) = 5 > fstat(5, {st_mode=S_IFREG|0644, st_size=3010, ...}) = 0 > mmap(NULL, 3010, PROT_READ, MAP_PRIVATE, 5, 0) = 0x2aba3179f000 > munmap(0x2aba3179f000, 3010) ? ? ? ? ? ?= 0 > close(5) ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?= 0 > open("/usr/local/nagios/etc/objects/dependencies.cfg", O_RDONLY) = 5 > fstat(5, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0 > close(5) ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?= 0 > open("/usr/local/nagios/etc/objects/escalations.cfg", O_RDONLY) = 5 > fstat(5, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0 > close(5) ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?= 0 > open("/usr/local/nagios/etc/objects/hosts.cfg", O_RDONLY) = 5 > fstat(5, {st_mode=S_IFREG|0644, st_size=227082, ...}) = 0 > mmap(NULL, 227082, PROT_READ, MAP_PRIVATE, 5, 0) = 0x2aba3179f000 > brk(0x117df000) ? ? ? ? ? ? ? ? ? ? ? ? = 0x117df000 > brk(0x11800000) ? ? ? ? ? ? ? ? ? ? ? ? = 0x11800000 > brk(0x117ff000) ? ? ? ? ? ? ? ? ? ? ? ? = 0x117ff000 > brk(0x11820000) ? ? ? ? ? ? ? ? ? ? ? ? = 0x11820000 > munmap(0x2aba3179f000, 227082) ? ? ? ? ?= 0 > close(5) ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?= 0 > open("/usr/local/nagios/etc/objects/hostgroups.cfg", O_RDONLY) = 5 > fstat(5, {st_mode=S_IFREG|0644, st_size=26513, ...}) = 0 > mmap(NULL, 26513, PROT_READ, MAP_PRIVATE, 5, 0) = 0x2aba3179f000 > munmap(0x2aba3179f000, 26513) ? ? ? ? ? = 0 > close(5) ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?= 0 > open("/usr/local/nagios/etc/objects/services.cfg", O_RDONLY) = 5 > fstat(5, {st_mode=S_IFREG|0644, st_size=293292, ...}) = 0 > mmap(NULL, 293292, PROT_READ, MAP_PRIVATE, 5, 0) = 0x2aba3179f000 > brk(0x11841000) ? ? ? ? ? ? ? ? ? ? ? ? = 0x11841000 > brk(0x11862000) ? ? ? ? ? ? ? ? ? ? ? ? = 0x11862000 > brk(0x11861000) ? ? ? ? ? ? ? ? ? ? ? ? = 0x11861000 > brk(0x11882000) ? ? ? ? ? ? ? ? ? ? ? ? = 0x11882000 > munmap(0x2aba3179f000, 293292) ? ? ? ? ?= 0 > close(5) ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?= 0 > open("/usr/local/nagios/etc/objects/servicegroups.cfg", O_RDONLY) = 5 > fstat(5, {st_mode=S_IFREG|0644, st_size=394, ...}) = 0 > mmap(NULL, 394, PROT_READ, MAP_PRIVATE, 5, 0) = 0x2aba3179f000 > munmap(0x2aba3179f000, 394) ? ? ? ? ? ? = 0 > close(5) ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?= 0 > munmap(0x2aba31794000, 43594) ? ? ? ? ? = 0 > close(4) ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?= 0 > brk(0x118a3000) ? ? ? ? ? ? ? ? ? ? ? ? = 0x118a3000 > brk(0x118c4000) ? ? ? ? ? ? ? ? ? ? ? ? = 0x118c4000 > brk(0x118e5000) ? ? ? ? ? ? ? ? ? ? ? ? = 0x118e5000 > brk(0x11906000) ? ? ? ? ? ? ? ? ? ? ? ? = 0x11906000 > brk(0x11927000) ? ? ? ? ? ? ? ? ? ? ? ? = 0x11927000 > brk(0x11948000) ? ? ? ? ? ? ? ? ? ? ? ? = 0x11948000 > brk(0x11969000) ? ? ? ? ? ? ? ? ? ? ? ? = 0x11969000 > brk(0x1198a000) ? ? ? ? ? ? ? ? ? ? ? ? = 0x1198a000 > brk(0x119ab000) ? ? ? ? ? ? ? ? ? ? ? ? = 0x119ab000 > brk(0x119cc000) ? ? ? ? ? ? ? ? ? ? ? ? = 0x119cc000 > open("/usr/local/nagios/var/objects.cache", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 4 > fstat(4, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0 > mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, > 0) = 0x2aba31794000 > write(4, "################################"..., 4096) = 4096 > write(4, "_bandwidth\n\tcommand_line\t$USER1$"..., 4096) = 4096 > write(4, "s: $HOSTADDRESS$\\nInfo: $HOSTOUT"..., 4096) = 4096 > write(4, "_Setup\n\tmembers\tBLR_SHARED_SAN_S"..., 4096) = 4096 > write(4, "_New_3,Flightraja-Apache_New_2,F"..., 4096) = 4096 > write(4, "NDYA_COM_starselect,INDYA_COM_St"..., 4096) = 4096 > write(4, "as\tOriensoft_BLR-Setup\n\tmembers\t"..., 4096) = 4096 > write(4, "ll_Foundry_End,Mobile_Ent_Junipe"..., 4096) = 4096 > write(4, "\n\ndefine contact {\n\tcontact_name"..., 4096) = 4096 > write(4, "commands\tnotify-by-email\n\thost_n"..., 4096) = 4096 > write(4, "ions\td,u,r\n\tnotifications_enable"..., 4096) = 4096 > write(4, "\t0\n\tnotification_options\td,u,r\n\t"..., 4096) = 4096 > write(4, "\tmax_check_attempts\t3\n\tactive_ch"..., 4096) = 4096 > write(4, "erval\t1.000000\n\tmax_check_attemp"..., 4096) = 4096 > write(4, "ks_enabled\t1\n\tpassive_checks_ena"..., 4096) = 4096 > write(4, "nabled\t1\n\tpassive_checks_enabled"..., 4096) = 4096 > write(4, "checks_enabled\t1\n\tobsess_over_ho"..., 4096) = 4096 > write(4, "ecks_enabled\t1\n\tpassive_checks_e"..., 4096) = 4096 > write(4, "checks_enabled\t1\n\tobsess_over_ho"..., 4096) = 4096 > write(4, "hold\t0.000000\n\thigh_flap_thresho"..., 4096) = 4096 > write(4, "gh_flap_threshold\t0.000000\n\tflap"..., 4096) = 4096 > write(4, "enabled\t1\n\tlow_flap_threshold\t0."..., 4096) = 4096 > write(4, "e\to\n\tcheck_interval\t1.000000\n\tre"..., 4096) = 4096 > write(4, "heck_command\tcheck-host-alive\n\tc"..., 4096) = 4096 > write(4, "r_cloud\n\taddress\t124.153.110.20\n"..., 4096) = 4096 > write(4, "rediction_enabled\t1\n\tretain_stat"..., 4096) = 4096 > write(4, "sess_over_host\t1\n\tevent_handler_"..., 4096) = 4096 > write(4, "at4.via.com\n\talias\tFlightraja-12"..., 4096) = 4096 > write(4, "etection_enabled\t1\n\tflap_detecti"..., 4096) = 4096 > write(4, "nterval\t5.000000\n\tretry_interval"..., 4096) = 4096 > write(4, "124.153.102.91\n\tcheck_period\t24x"..., 4096) = 4096 > write(4, "a\t1\n\tfailure_prediction_enabled\t"..., 4096) = 4096 > write(4, "s_threshold\t0\n\tcheck_freshness\t0"..., 4096) = 4096 > write(4, "hreshold\t0.000000\n\thigh_flap_thr"..., 4096) = 4096 > write(4, "\n\tretry_interval\t1.000000\n\tmax_c"..., 4096) = 4096 > write(4, "ct_groups\tMonitoring-alerts,flig"..., 4096) = 4096 > write(4, "\t1\n\t}\n\ndefine host {\n\thost_name\t"..., 4096) = 4096 > write(4, "delay\t0.000000\n\tstalking_options"..., 4096) = 4096 > write(4, "ection_enabled\t1\n\tflap_detection"..., 4096) = 4096 > write(4, "\tmax_check_attempts\t3\n\tactive_ch"..., 4096) = 4096 > write(4, "t_groups\tMonitoring-alerts,fligh"..., 4096) = 4096 > write(4, "traja_New_7\n\talias\tFlightraja_Ne"..., 4096) = 4096 > write(4, "n\t1\n\tretain_nonstatus_informatio"..., 4096) = 4096 > write(4, "\n\tstalking_options\tn\n\tprocess_pe"..., 4096) = 4096 > write(4, "\t120.000000\n\tfirst_notification_"..., 4096) = 4096 > write(4, "talking_options\tn\n\tprocess_perf_"..., 4096) = 4096 > write(4, "ure_prediction_enabled\t1\n\tretain"..., 4096) = 4096 > write(4, "talking_options\tn\n\tprocess_perf_"..., 4096) = 4096 > write(4, "fication_options\td,u,r\n\tnotifica"..., 4096) = 4096 > write(4, "ld\t0.000000\n\tflap_detection_enab"..., 4096) = 4096 > write(4, "\n\tpassive_checks_enabled\t1\n\tobse"..., 4096) = 4096 > write(4, "\t24x7\n\tinitial_state\to\n\tcheck_in"..., 4096) = 4096 > write(4, "09.38\n\tcheck_period\t24x7\n\tcheck_"..., 4096) = 4096 > write(4, "01\n\talias\tIIL-BLR_BCAST_01\n\taddr"..., 4096) = 4096 > write(4, "iod\t24x7\n\tcheck_command\tcheck-ho"..., 4096) = 4096 > write(4, "ver\n\talias\tINDYA_COM_INDYAFORUM_"..., 4096) = 4096 > write(4, "ata\t1\n\tfailure_prediction_enable"..., 4096) = 4096 > write(4, "ons_enabled\t1\n\tnotification_inte"..., 4096) = 4096 > write(4, "ptions\to,d,u\n\tfreshness_threshol"..., 4096) = 4096 > write(4, "_handler_enabled\t1\n\tlow_flap_thr"..., 4096) = 4096 > write(4, "active_checks_enabled\t1\n\tpassive"..., 4096) = 4096 > write(4, "l\t5.000000\n\tretry_interval\t1.000"..., 4096) = 4096 > write(4, "tification_period\t24x7\n\tinitial_"..., 4096) = 4096 > write(4, "eck_command\tcheck-host-alive\n\tco"..., 4096) = 4096 > write(4, "ity-3568-in4sql\n\talias\tIn4Veloci"..., 4096) = 4096 > write(4, "led\t1\n\tlow_flap_threshold\t0.0000"..., 4096) = 4096 > write(4, "otification_period\t24x7\n\tinitial"..., 4096) = 4096 > write(4, "od\t24x7\n\tcheck_command\tcheck-hos"..., 4096) = 4096 > write(4, "nformation\t1\n\t}\n\ndefine host {\n\t"..., 4096) = 4096 > write(4, "ification_delay\t0.000000\n\tstalki"..., 4096) = 4096 > write(4, "eck_freshness\t0\n\tnotification_op"..., 4096) = 4096 > write(4, "r_host\t1\n\tevent_handler_enabled\t"..., 4096) = 4096 > write(4, "etry_interval\t1.000000\n\tmax_chec"..., 4096) = 4096 > write(4, "cks_enabled\t1\n\tobsess_over_host\t"..., 4096) = 4096 > write(4, "gh_flap_threshold\t0.000000\n\tflap"..., 4096) = 4096 > write(4, "lap_detection_options\to,d,u\n\tfre"..., 4096) = 4096 > write(4, "ap_threshold\t0.000000\n\thigh_flap"..., 4096) = 4096 > write(4, "_threshold\t0.000000\n\thigh_flap_t"..., 4096) = 4096 > write(4, "t\t1\n\tevent_handler_enabled\t1\n\tlo"..., 4096) = 4096 > write(4, "\n\tpassive_checks_enabled\t1\n\tobse"..., 4096) = 4096 > write(4, "ed\t1\n\tobsess_over_host\t1\n\tevent_"..., 4096) = 4096 > write(4, "cks_enabled\t1\n\tpassive_checks_en"..., 4096) = 4096 > write(4, "ive_checks_enabled\t1\n\tpassive_ch"..., 4096) = 4096 > write(4, "abled\t1\n\tobsess_over_host\t1\n\teve"..., 4096) = 4096 > write(4, "0\n\tmax_check_attempts\t3\n\tactive_"..., 4096) = 4096 > write(4, "ion_period\t24x7\n\tinitial_state\to"..., 4096) = 4096 > write(4, "t_groups\tMonitoring-alerts\n\tnoti"..., 4096) = 4096 > write(4, "st-alive\n\tcontact_groups\tMonitor"..., 4096) = 4096 > write(4, "MG_Blr_Shared_Non_FW__Cust_Switc"..., 4096) = 4096 > write(4, "iod\t24x7\n\tcheck_command\tcheck-ho"..., 4096) = 4096 > write(4, "fication_period\t24x7\n\tinitial_st"..., 4096) = 4096 > write(4, "\t5.000000\n\tretry_interval\t1.0000"..., 4096) = 4096 > write(4, "x_check_attempts\t3\n\tactive_check"..., 4096) = 4096 > write(4, "tempts\t3\n\tactive_checks_enabled\t"..., 4096) = 4096 > write(4, "\tpassive_checks_enabled\t1\n\tobses"..., 4096) = 4096 > write(4, "\tlow_flap_threshold\t0.000000\n\thi"..., 4096) = 4096 > write(4, "s_enabled\t1\n\tobsess_over_host\t1\n"..., 4096) = 4096 > write(4, ")\n\taddress\t124.153.104.65\n\tcheck"..., 4096) = 4096 > write(4, "\n\talias\tOpenrialto_Solutions-371"..., 4096) = 4096 > write(4, "on\t1\n\t}\n\ndefine host {\n\thost_nam"..., 4096) = 4096 > write(4, "iction_enabled\t1\n\tretain_status_"..., 4096) = 4096 > write(4, "fications_enabled\t1\n\tnotificatio"..., 4096) = 4096 > write(4, "nabled\t1\n\tpassive_checks_enabled"..., 4096) = 4096 > write(4, "act_groups\tMonitoring-alerts\n\tno"..., 4096) = 4096 > write(4, "-alerts\n\tnotification_period\t24x"..., 4096) = 4096 > write(4, "ation\t1\n\t}\n\ndefine host {\n\thost_"..., 4096) = 4096 > write(4, "data\t1\n\tfailure_prediction_enabl"..., 4096) = 4096 > write(4, "ng_options\tn\n\tprocess_perf_data\t"..., 4096) = 4096 > write(4, "000\n\tfirst_notification_delay\t0."..., 4096) = 4096 > write(4, "hreshold\t0\n\tcheck_freshness\t0\n\tn"..., 4096) = 4096 > write(4, "d\t0.000000\n\thigh_flap_threshold\t"..., 4096) = 4096 > write(4, "_threshold\t0.000000\n\tflap_detect"..., 4096) = 4096 > write(4, "ness_threshold\t0\n\tcheck_freshnes"..., 4096) = 4096 > write(4, "_enabled\t1\n\tnotification_interva"..., 4096) = 4096 > write(4, "000\n\tstalking_options\tn\n\tprocess"..., 4096) = 4096 > write(4, "ons\tn\n\tprocess_perf_data\t1\n\tfail"..., 4096) = 4096 > write(4, "check_freshness\t0\n\tnotification_"..., 4096) = 4096 > write(4, "n_options\td,u,r\n\tnotifications_e"..., 4096) = 4096 > write(4, "_threshold\t0.000000\n\tflap_detect"..., 4096) = 4096 > write(4, "hreshold\t0.000000\n\tflap_detectio"..., 4096) = 4096 > write(4, "etection_enabled\t1\n\tflap_detecti"..., 4096) = 4096 > write(4, "tion_enabled\t1\n\tflap_detection_o"..., 4096) = 4096 > write(4, "_service\t1\n\tevent_handler_enable"..., 4096) = 4096 > write(4, "l\t1.000000\n\tmax_check_attempts\t3"..., 4096) = 4096 > write(4, "mp!200.0,20%!500.0,60%\n\tcontact_"..., 4096) = 4096 > write(4, "onstatus_information\t1\n\t}\n\ndefin"..., 4096) = 4096 > write(4, "tifications_enabled\t1\n\tnotificat"..., 4096) = 4096 > write(4, "h_flap_threshold\t0.000000\n\tflap_"..., 4096) = 4096 > write(4, "ve_checks_enabled\t1\n\tobsess_over"..., 4096) = 4096 > write(4, "\n\tparallelize_check\t1\n\tactive_ch"..., 4096) = 4096 > write(4, "000000\n\tretry_interval\t1.000000\n"..., 4096) = 4096 > write(4, "Srv\n\tservice_description\tCHECK_I"..., 4096) = 4096 > write(4, "led\t1\n\tretain_status_information"..., 4096) = 4096 > write(4, "0000\n\tflap_detection_enabled\t1\n\t"..., 4096) = 4096 > write(4, "\n\tactive_checks_enabled\t1\n\tpassi"..., 4096) = 4096 > write(4, "iod\t24x7\n\tinitial_state\to\n\tcheck"..., 4096) = 4096 > write(4, "check_period\t24x7\n\tcheck_command"..., 4096) = 4096 > write(4, "us_information\t1\n\t}\n\ndefine serv"..., 4096) = 4096 > write(4, "ication_delay\t0.000000\n\tstalking"..., 4096) = 4096 > write(4, "\n\tfreshness_threshold\t0\n\tcheck_f"..., 4096) = 4096 > write(4, "od\t24x7\n\tinitial_state\to\n\tcheck_"..., 4096) = 4096 > write(4, "rvice_description\tPagefile Use\n\t"..., 4096) = 4096 > write(4, "c,r\n\tnotifications_enabled\t1\n\tno"..., 4096) = 4096 > write(4, "ap_threshold\t0.000000\n\tflap_dete"..., 4096) = 4096 > write(4, "ECK_ICMP\n\tcheck_period\t24x7\n\tche"..., 4096) = 4096 > write(4, "e_prediction_enabled\t1\n\tretain_s"..., 4096) = 4096 > write(4, "g-alerts\n\tnotification_period\t24"..., 4096) = 4096 > write(4, "ice {\n\thost_name\tBiogenex_BXINBL"..., 4096) = 4096 > write(4, "\tnotification_interval\t60.000000"..., 4096) = 4096 > write(4, "d\t0.000000\n\tflap_detection_enabl"..., 4096) = 4096 > write(4, "\to\n\tcheck_interval\t1.000000\n\tret"..., 4096) = 4096 > write(4, "\n\tservice_description\tDrive C Sp"..., 4096) = 4096 > write(4, "_prediction_enabled\t1\n\tretain_st"..., 4096) = 4096 > write(4, "flap_threshold\t0.000000\n\tflap_de"..., 4096) = 4096 > write(4, "ive_checks_enabled\t1\n\tpassive_ch"..., 4096) = 4096 > write(4, "riod\t24x7\n\tinitial_state\to\n\tchec"..., 4096) = 4096 > write(4, "list\n\tcheck_period\t24x7\n\tcheck_c"..., 4096) = 4096 > write(4, "onstatus_information\t1\n\t}\n\ndefin"..., 4096) = 4096 > write(4, "cess_perf_data\t1\n\tfailure_predic"..., 4096) = 4096 > write(4, "\n\tnotification_interval\t60.00000"..., 4096) = 4096 > write(4, "d\t1\n\tlow_flap_threshold\t0.000000"..., 4096) = 4096 > write(4, "ze_check\t1\n\tactive_checks_enable"..., 4096) = 4096 > write(4, "on_period\t24x7\n\tinitial_state\to\n"..., 4096) = 4096 > write(4, "ck SMTP port status\n\tcheck_perio"..., 4096) = 4096 > write(4, "tain_status_information\t1\n\tretai"..., 4096) = 4096 > write(4, "\n\tnotifications_enabled\t1\n\tnotif"..., 4096) = 4096 > write(4, "00000\n\tflap_detection_enabled\t1\n"..., 4096) = 4096 > write(4, "eck\t1\n\tactive_checks_enabled\t1\n\t"..., 4096) = 4096 > write(4, "!check_tcpserver\n\tcontact_groups"..., 4096) = 4096 > write(4, "n\t1\n\t}\n\ndefine service {\n\thost_n"..., 4096) = 4096 > write(4, "talking_options\tn\n\tprocess_perf_"..., 4096) = 4096 > write(4, "hness\t0\n\tnotification_options\tu,"..., 4096) = 4096 > write(4, "flap_threshold\t0.000000\n\thigh_fl"..., 4096) = 4096 > write(4, "00\n\tretry_interval\t1.000000\n\tmax"..., 4096) = 4096 > write(4, "\n\tcontact_groups\tMonitoring-aler"..., 4096) = 4096 > write(4, "}\n\ndefine service {\n\thost_name\tD"..., 4096) = 4096 > write(4, "ss_perf_data\t1\n\tfailure_predicti"..., 4096) = 4096 > write(4, "options\tu,w,c,r\n\tnotifications_e"..., 4096) = 4096 > write(4, "ection_options\to,w,u,c\n\tfreshnes"..., 4096) = 4096 > write(4, "sess_over_service\t1\n\tevent_handl"..., 4096) = 4096 > write(4, "al\t5.000000\n\tretry_interval\t1.00"..., 4096) = 4096 > write(4, "_period\t24x7\n\tcheck_command\tchec"..., 4096) = 4096 > write(4, "on\t1\n\tretain_nonstatus_informati"..., 4096) = 4096 > write(4, "ification_interval\t60.000000\n\tfi"..., 4096) = 4096 > write(4, "led\t1\n\tflap_detection_options\to,"..., 4096) = 4096 > write(4, "ve_checks_enabled\t1\n\tobsess_over"..., 4096) = 4096 > write(4, "erval\t5.000000\n\tretry_interval\t1"..., 4096) = 4096 > write(4, "K_ICMP\n\tcheck_period\t24x7\n\tcheck"..., 4096) = 4096 > write(4, "ation\t1\n\tretain_nonstatus_inform"..., 4096) = 4096 > write(4, "0000\n\tstalking_options\tn\n\tproces"..., 4096) = 4096 > write(4, "reshness\t0\n\tnotification_options"..., 4096) = 4096 > write(4, ".000000\n\tflap_detection_enabled\t"..., 4096) = 4096 > write(4, "1\n\tpassive_checks_enabled\t1\n\tobs"..., 4096) = 4096 > write(4, "interval\t1.000000\n\tmax_check_att"..., 4096) = 4096 > write(4, "s\tMonitoring-alerts\n\tnotificatio"..., 4096) = 4096 > write(4, "t\n\tcheck_period\t24x7\n\tcheck_comm"..., 4096) = 4096 > write(4, "efine service {\n\thost_name\tFligh"..., 4096) = 4096 > write(4, "ss_perf_data\t1\n\tfailure_predicti"..., 4096) = 4096 > write(4, "abled\t1\n\tnotification_interval\t6"..., 4096) = 4096 > write(4, "eshness_threshold\t0\n\tcheck_fresh"..., 4096) = 4096 > write(4, "ap_threshold\t0.000000\n\thigh_flap"..., 4096) = 4096 > write(4, "lize_check\t1\n\tactive_checks_enab"..., 4096) = 4096 > write(4, "tification_period\t24x7\n\tinitial_"..., 4096) = 4096 > write(4, "traja-Tomcat_1\n\tservice_descript"..., 4096) = 4096 > write(4, "rmation\t1\n\tretain_nonstatus_info"..., 4096) = 4096 > write(4, "0.000000\n\tstalking_options\tn\n\tpr"..., 4096) = 4096 > write(4, "fications_enabled\t1\n\tnotificatio"..., 4096) = 4096 > write(4, "on_enabled\t1\n\tflap_detection_opt"..., 4096) = 4096 > write(4, "vice\t1\n\tevent_handler_enabled\t1\n"..., 4096) = 4096 > write(4, "heck_attempts\t4\n\tis_volatile\t0\n\t"..., 4096) = 4096 > write(4, "\tnotification_period\t24x7\n\tiniti"..., 4096) = 4096 > write(4, "cription\tCHECK_ICMP\n\tcheck_perio"..., 4096) = 4096 > write(4, "etain_nonstatus_information\t1\n\t}"..., 4096) = 4096 > write(4, "\t1\n\tfailure_prediction_enabled\t1"..., 4096) = 4096 > write(4, "\t60.000000\n\tfirst_notification_d"..., 4096) = 4096 > write(4, "cation_options\tu,w,c,r\n\tnotifica"..., 4096) = 4096 > write(4, "000000\n\thigh_flap_threshold\t0.00"..., 4096) = 4096 > write(4, "rts\n\tnotification_period\t24x7\n\ti"..., 4096) = 4096 > write(4, "period\t24x7\n\tcheck_command\tcheck"..., 4096) = 4096 > write(4, "tus_information\t1\n\tretain_nonsta"..., 4096) = 4096 > write(4, ",r\n\tnotifications_enabled\t1\n\tnot"..., 4096) = 4096 > write(4, "ap_threshold\t0.000000\n\thigh_flap"..., 4096) = 4096 > write(4, "interval\t1.000000\n\tmax_check_att"..., 4096) = 4096 > write(4, "k_command\tcheck_bl\n\tcontact_grou"..., 4096) = 4096 > write(4, "obbit_Blr\n\tservice_description\tC"..., 4096) = 4096 > write(4, "\n\tfailure_prediction_enabled\t1\n\t"..., 4096) = 4096 > write(4, "hreshold\t0\n\tcheck_freshness\t0\n\tn"..., 4096) = 4096 > write(4, "ce\t1\n\tevent_handler_enabled\t1\n\tl"..., 4096) = 4096 > write(4, "\n\tcheck_interval\t1.000000\n\tretry"..., 4096) = 4096 > write(4, "e\tHomagindia_Linux_Mail_server\n\t"..., 4096) = 4096 > write(4, "ptions\tn\n\tprocess_perf_data\t1\n\tf"..., 4096) = 4096 > write(4, "_options\tu,w,c,r\n\tnotifications_"..., 4096) = 4096 > write(4, "on_enabled\t1\n\tflap_detection_opt"..., 4096) = 4096 > write(4, "r_service\t1\n\tevent_handler_enabl"..., 4096) = 4096 > write(4, "is_volatile\t0\n\tparallelize_check"..., 4096) = 4096 > write(4, "ts\n\tnotification_period\t24x7\n\tin"..., 4096) = 4096 > write(4, "e service {\n\thost_name\tIIL-1075-"..., 4096) = 4096 > write(4, "notification_delay\t0.000000\n\tsta"..., 4096) = 4096 > write(4, "detection_enabled\t1\n\tflap_detect"..., 4096) = 4096 > write(4, "ck\t1\n\tactive_checks_enabled\t1\n\tp"..., 4096) = 4096 > write(4, ",60%\n\tcontact_groups\tMonitoring-"..., 4096) = 4096 > write(4, "in_nonstatus_information\t1\n\t}\n\nd"..., 4096) = 4096 > write(4, "ification_interval\t60.000000\n\tfi"..., 4096) = 4096 > write(4, "\thigh_flap_threshold\t0.000000\n\tf"..., 4096) = 4096 > write(4, "ts\t3\n\tis_volatile\t0\n\tparallelize"..., 4096) = 4096 > write(4, "ck_command\tcheck_icmp!200.0,20%!"..., 4096) = 4096 > write(4, "retain_status_information\t1\n\tret"..., 4096) = 4096 > write(4, "notifications_enabled\t1\n\tnotific"..., 4096) = 4096 > write(4, "ld\t0.000000\n\tflap_detection_enab"..., 4096) = 4096 > write(4, "d\t1\n\tpassive_checks_enabled\t1\n\to"..., 4096) = 4096 > write(4, "x_check_attempts\t3\n\tis_volatile\t"..., 4096) = 4096 > write(4, "53.104.156\n\tcontact_groups\tMonit"..., 4096) = 4096 > write(4, "fication_interval\t60.000000\n\tfir"..., 4096) = 4096 > write(4, "\t0\n\tparallelize_check\t1\n\tactive_"..., 4096) = 4096 > write(4, "-URLMONITOR\n\tservice_description"..., 4096) = 4096 > write(4, "hold\t0\n\tcheck_freshness\t0\n\tnotif"..., 4096) = 4096 > write(4, "terval\t1.000000\n\tmax_check_attem"..., 4096) = 4096 > write(4, "n\t1\n\tretain_nonstatus_informatio"..., 4096) = 4096 > write(4, "0.000000\n\tflap_detection_enabled"..., 4096) = 4096 > write(4, "dya_Admin_Group1\n\tnotification_p"..., 4096) = 4096 > write(4, "ne service {\n\thost_name\tINDYA_CO"..., 4096) = 4096 > write(4, "ification_options\tu,w,c,r\n\tnotif"..., 4096) = 4096 > write(4, "igh_flap_threshold\t0.000000\n\tfla"..., 4096) = 4096 > write(4, "_interval\t1.000000\n\tretry_interv"..., 4096) = 4096 > write(4, "\n\tstalking_options\tn\n\tprocess_pe"..., 4096) = 4096 > write(4, "ed\t1\n\tflap_detection_options\to,w"..., 4096) = 4096 > write(4, "checks_enabled\t1\n\tpassive_checks"..., 4096) = 4096 > write(4, "l_state\to\n\tcheck_interval\t1.0000"..., 4096) = 4096 > write(4, "ption\tCHECK_MAIL_QUEUE\n\tcheck_pe"..., 4096) = 4096 > write(4, "ailure_prediction_enabled\t1\n\tret"..., 4096) = 4096 > write(4, "ess_threshold\t0\n\tcheck_freshness"..., 4096) = 4096 > write(4, "t_handler_enabled\t1\n\tlow_flap_th"..., 4096) = 4096 > write(4, "_interval\t1.000000\n\tmax_check_at"..., 4096) = 4096 > write(4, "information\t1\n\tretain_nonstatus_"..., 4096) = 4096 > write(4, "ions_enabled\t1\n\tnotification_int"..., 4096) = 4096 > write(4, "_detection_enabled\t1\n\tflap_detec"..., 4096) = 4096 > write(4, "tive_checks_enabled\t1\n\tpassive_c"..., 4096) = 4096 > write(4, "TRWIN7_Server\n\tservice_descripti"..., 4096) = 4096 > write(4, "val\t60.000000\n\tfirst_notificatio"..., 4096) = 4096 > write(4, "_service\t1\n\tevent_handler_enable"..., 4096) = 4096 > write(4, "\t1.000000\n\tretry_interval\t1.0000"..., 4096) = 4096 > write(4, "in_nonstatus_information\t1\n\t}\n\nd"..., 4096) = 4096 > write(4, "erval\t60.000000\n\tfirst_notificat"..., 4096) = 4096 > write(4, "s_over_service\t1\n\tevent_handler_"..., 4096) = 4096 > write(4, "_check_attempts\t3\n\tis_volatile\t0"..., 4096) = 4096 > write(4, "od\t24x7\n\tcheck_command\tcheck_nrp"..., 4096) = 4096 > write(4, "in_status_information\t1\n\tretain_"..., 4096) = 4096 > write(4, "cations_enabled\t1\n\tnotification_"..., 4096) = 4096 > write(4, "ax_check_attempts\t3\n\tis_volatile"..., 4096) = 4096 > write(4, "n\tCHECK_DISK_SLASH_SANDISK\n\tchec"..., 4096) = 4096 > write(4, "\t1\n\tfailure_prediction_enabled\t1"..., 4096) = 4096 > write(4, "\n\tnotification_options\tu,w,c,r\n\t"..., 4096) = 4096 > write(4, "l\t1.000000\n\tretry_interval\t1.000"..., 4096) = 4096 > write(4, "ECK_DISK_BOOT\n\tcheck_period\t24x7"..., 4096) = 4096 > write(4, "lure_prediction_enabled\t1\n\tretai"..., 4096) = 4096 > write(4, "cation_interval\t60.000000\n\tfirst"..., 4096) = 4096 > write(4, "0000\n\tflap_detection_enabled\t1\n\t"..., 4096) = 4096 > write(4, "d\t1\n\tobsess_over_service\t1\n\teven"..., 4096) = 4096 > write(4, "1.000000\n\tmax_check_attempts\t3\n\t"..., 4096) = 4096 > write(4, "tact_groups\tMonitoring-alerts\n\tn"..., 4096) = 4096 > write(4, "service {\n\thost_name\tINDYA_COM_S"..., 4096) = 4096 > write(4, "ion_delay\t0.000000\n\tstalking_opt"..., 4096) = 4096 > write(4, "enabled\t1\n\tflap_detection_option"..., 4096) = 4096 > write(4, "\t1\n\tactive_checks_enabled\t1\n\tpas"..., 4096) = 4096 > write(4, "l\t1.000000\n\tretry_interval\t1.000"..., 4096) = 4096 > write(4, "heck_icmp!200.0,20%!500.0,60%\n\tc"..., 4096) = 4096 > write(4, "ame\tINDYA_COM_games\n\tservice_des"..., 4096) = 4096 > write(4, "etain_status_information\t1\n\treta"..., 4096) = 4096 > write(4, "ication_delay\t0.000000\n\tstalking"..., 4096) = 4096 > write(4, "ion_options\tu,w,c,r\n\tnotificatio"..., 4096) = 4096 > write(4, "p_detection_enabled\t1\n\tflap_dete"..., 4096) = 4096 > write(4, "nabled\t1\n\tobsess_over_service\t1\n"..., 4096) = 4096 > write(4, "1.000000\n\tmax_check_attempts\t4\n\t"..., 4096) = 4096 > write(4, "\tMonitoring-alerts\n\tnotification"..., 4096) = 4096 > write(4, "5-NETMAGIC_2D3170_50_12822178392"..., 4096) = 4096 > write(4, "enabled\t1\n\tnotification_interval"..., 4096) = 4096 > write(4, "service\t1\n\tevent_handler_enabled"..., 4096) = 4096 > write(4, "1.000000\n\tmax_check_attempts\t3\n\t"..., 4096) = 4096 > write(4, "\tcontact_groups\tMonitoring-alert"..., 4096) = 4096 > write(4, "ion\t1\n\t}\n\ndefine service {\n\thost"..., 4096) = 4096 > write(4, "cation_interval\t60.000000\n\tfirst"..., 4096) = 4096 > write(4, "\tflap_detection_enabled\t1\n\tflap_"..., 4096) = 4096 > write(4, "\tactive_checks_enabled\t1\n\tpassiv"..., 4096) = 4096 > write(4, "\n\tcontact_groups\tMonitoring-aler"..., 4096) = 4096 > write(4, "_information\t1\n\tretain_nonstatus"..., 4096) = 4096 > write(4, "ions_enabled\t1\n\tnotification_int"..., 4096) = 4096 > write(4, "ld\t0.000000\n\thigh_flap_threshold"..., 4096) = 4096 > write(4, "x_check_attempts\t3\n\tis_volatile\t"..., 4096) = 4096 > write(4, "bi-3087-W1_Ubuntu_Server\n\tservic"..., 4096) = 4096 > write(4, "000\n\tfirst_notification_delay\t0."..., 4096) = 4096 > write(4, "d\t0.000000\n\tflap_detection_enabl"..., 4096) = 4096 > write(4, "al\t1.000000\n\tmax_check_attempts\t"..., 4096) = 4096 > write(4, "eriod\t24x7\n\tcheck_command\tcheck_"..., 4096) = 4096 > write(4, "\t1\n\tfailure_prediction_enabled\t1"..., 4096) = 4096 > write(4, ",r\n\tnotifications_enabled\t1\n\tnot"..., 4096) = 4096 > write(4, "led\t1\n\tlow_flap_threshold\t0.0000"..., 4096) = 4096 > write(4, "al\t1.000000\n\tmax_check_attempts\t"..., 4096) = 4096 > write(4, "heck_icmp!200.0,20%!500.0,60%\n\tc"..., 4096) = 4096 > write(4, "_data\t1\n\tfailure_prediction_enab"..., 4096) = 4096 > write(4, "u,c\n\tfreshness_threshold\t0\n\tchec"..., 4096) = 4096 > write(4, "\tlow_flap_threshold\t0.000000\n\thi"..., 4096) = 4096 > write(4, "e_check\t1\n\tactive_checks_enabled"..., 4096) = 4096 > write(4, "d\t24x7\n\tinitial_state\to\n\tcheck_i"..., 4096) = 4096 > write(4, "icals_Pharmaceuticals_Srv\n\tservi"..., 4096) = 4096 > write(4, "al\t60.000000\n\tfirst_notification"..., 4096) = 4096 > write(4, "ow_flap_threshold\t0.000000\n\thigh"..., 4096) = 4096 > write(4, "00.0,20%!500.0,60%\n\tcontact_grou"..., 4096) = 4096 > write(4, "ion_enabled\t1\n\tretain_status_inf"..., 4096) = 4096 > write(4, "\to,w,u,c\n\tfreshness_threshold\t0\n"..., 4096) = 4096 > write(4, "eck_attempts\t3\n\tis_volatile\t0\n\tp"..., 4096) = 4096 > write(4, "7\n\tcheck_command\tcheck_bl\n\tconta"..., 4096) = 4096 > write(4, "ne service {\n\thost_name\tJustdial"..., 4096) = 4096 > write(4, "failure_prediction_enabled\t1\n\tre"..., 4096) = 4096 > write(4, "notification_interval\t60.000000\n"..., 4096) = 4096 > write(4, "_threshold\t0\n\tcheck_freshness\t0\n"..., 4096) = 4096 > write(4, "_flap_threshold\t0.000000\n\thigh_f"..., 4096) = 4096 > write(4, "nabled\t1\n\tpassive_checks_enabled"..., 4096) = 4096 > write(4, "ck_attempts\t4\n\tis_volatile\t0\n\tpa"..., 4096) = 4096 > write(4, "\tcheck_interval\t1.000000\n\tretry_"..., 4096) = 4096 > write(4, "ntact_groups\tMonitoring-alerts\n\t"..., 4096) = 4096 > write(4, "eriod\t24x7\n\tcheck_command\tcheck_"..., 4096) = 4096 > write(4, "\ndefine service {\n\thost_name\tMRT"..., 4096) = 4096 > write(4, "abled\t1\n\tretain_status_informati"..., 4096) = 4096 > write(4, "00\n\tstalking_options\tn\n\tprocess_"..., 4096) = 4096 > write(4, "n_enabled\t1\n\tflap_detection_opti"..., 4096) = 4096 > write(4, "\n\tcheck_command\tcheck_nt_uptime\n"..., 4096) = 4096 > write(4, " service {\n\thost_name\tMicrosense"..., 4096) = 4096 > write(4, "ess_perf_data\t1\n\tfailure_predict"..., 4096) = 4096 > write(4, "notification_delay\t0.000000\n\tsta"..., 4096) = 4096 > write(4, "shness_threshold\t0\n\tcheck_freshn"..., 4096) = 4096 > write(4, "er_service\t1\n\tevent_handler_enab"..., 4096) = 4096 > write(4, "x_check_attempts\t3\n\tis_volatile\t"..., 4096) = 4096 > write(4, "s\tMonitoring-alerts\n\tnotificatio"..., 4096) = 4096 > write(4, "\tservice_description\tCHECK_ICMP\n"..., 4096) = 4096 > write(4, "perf_data\t1\n\tfailure_prediction_"..., 4096) = 4096 > write(4, "ss\t0\n\tnotification_options\tu,w,c"..., 4096) = 4096 > write(4, "\t1\n\tlow_flap_threshold\t0.000000\n"..., 4096) = 4096 > write(4, "\tmax_check_attempts\t3\n\tis_volati"..., 4096) = 4096 > write(4, "!-C chn2000 -o sysUpTime.0\n\tcont"..., 4096) = 4096 > write(4, "led\t1\n\tretain_status_information"..., 4096) = 4096 > write(4, "s\t0\n\tnotification_options\tu,w,c,"..., 4096) = 4096 > write(4, "d\t0.000000\n\thigh_flap_threshold\t"..., 4096) = 4096 > write(4, "lelize_check\t1\n\tactive_checks_en"..., 4096) = 4096 > write(4, "period\t24x7\n\tinitial_state\to\n\tch"..., 4096) = 4096 > write(4, "\tcheck_command\tcheck_nrpe!check_"..., 4096) = 4096 > write(4, "nformation\t1\n\t}\n\ndefine service "..., 4096) = 4096 > write(4, "y\t0.000000\n\tstalking_options\tn\n\t"..., 4096) = 4096 > write(4, "ess\t0\n\tnotification_options\tu,w,"..., 4096) = 4096 > write(4, "h_flap_threshold\t0.000000\n\tflap_"..., 4096) = 4096 > write(4, "00\n\tmax_check_attempts\t3\n\tis_vol"..., 4096) = 4096 > write(4, "od\t24x7\n\tcheck_command\tcheck_dns"..., 4096) = 4096 > write(4, "name\tNMG-Frontend_NAS1-Server\n\ts"..., 4096) = 4096 > write(4, "00\n\tfirst_notification_delay\t0.0"..., 4096) = 4096 > write(4, "0.000000\n\thigh_flap_threshold\t0."..., 4096) = 4096 > write(4, "volatile\t0\n\tparallelize_check\t1\n"..., 4096) = 4096 > write(4, "riod\t24x7\n\tcheck_command\tcheck_n"..., 4096) = 4096 > write(4, "\n\tretain_nonstatus_information\t1"..., 4096) = 4096 > write(4, "00000\n\tstalking_options\tn\n\tproce"..., 4096) = 4096 > write(4, "tion_options\tu,w,c,r\n\tnotificati"..., 4096) = 4096 > write(4, "0000\n\thigh_flap_threshold\t0.0000"..., 4096) = 4096 > write(4, "eck_command\tcheck_nt_uptime\n\tcon"..., 4096) = 4096 > write(4, "n\t1\n\t}\n\ndefine service {\n\thost_n"..., 4096) = 4096 > write(4, ".000000\n\tfirst_notification_dela"..., 4096) = 4096 > write(4, ".000000\n\tflap_detection_enabled\t"..., 4096) = 4096 > write(4, "checks_enabled\t1\n\tpassive_checks"..., 4096) = 4096 > write(4, "fication_period\t24x7\n\tinitial_st"..., 4096) = 4096 > write(4, "e service {\n\thost_name\tNMG_Blr_9"..., 4096) = 4096 > write(4, "lay\t0.000000\n\tstalking_options\tn"..., 4096) = 4096 > write(4, "reshold\t0\n\tcheck_freshness\t0\n\tno"..., 4096) = 4096 > write(4, "ss_over_service\t1\n\tevent_handler"..., 4096) = 4096 > write(4, "\n\tcontact_groups\tnetwork-admin\n\t"..., 4096) = 4096 > write(4, "_nonstatus_information\t1\n\t}\n\ndef"..., 4096) = 4096 > write(4, "60.000000\n\tfirst_notification_de"..., 4096) = 4096 > write(4, "lap_detection_options\to,w,u,c\n\tf"..., 4096) = 4096 > write(4, "s_over_service\t1\n\tevent_handler_"..., 4096) = 4096 > write(4, "l_state\to\n\tcheck_interval\t1.0000"..., 4096) = 4096 > write(4, "red_Fw_Switch 2_HP_2510\n\tservice"..., 4096) = 4096 > write(4, "0000\n\tstalking_options\tn\n\tproces"..., 4096) = 4096 > write(4, "ection_enabled\t1\n\tflap_detection"..., 4096) = 4096 > write(4, "00000\n\tmax_check_attempts\t3\n\tis_"..., 4096) = 4096 > write(4, "\tIP_Blacklist\n\tcheck_period\t24x7"..., 4096) = 4096 > write(4, "n\t1\n\tretain_nonstatus_informatio"..., 4096) = 4096 > write(4, "tions\tn\n\tprocess_perf_data\t1\n\tfa"..., 4096) = 4096 > write(4, "terval\t60.000000\n\tfirst_notifica"..., 4096) = 4096 > write(4, "\tfreshness_threshold\t0\n\tcheck_fr"..., 4096) = 4096 > write(4, "eck_interval\t1.000000\n\tretry_int"..., 4096) = 4096 > write(4, ",20%!500.0,60%\n\tcontact_groups\tM"..., 4096) = 4096 > write(4, "MG_Tally_BSSRDNT_Srv\n\tservice_de"..., 4096) = 4096 > write(4, "_status_information\t1\n\tretain_no"..., 4096) = 4096 > write(4, "ion_delay\t0.000000\n\tstalking_opt"..., 4096) = 4096 > write(4, "notification_options\tu,w,c,r\n\tno"..., 4096) = 4096 > write(4, "p_threshold\t0.000000\n\tflap_detec"..., 4096) = 4096 > write(4, "hecks_enabled\t1\n\tobsess_over_ser"..., 4096) = 4096 > write(4, "retry_interval\t1.000000\n\tmax_che"..., 4096) = 4096 > write(4, "nitoring-alerts\n\tnotification_pe"..., 4096) = 4096 > write(4, "HECK_ICMP\n\tcheck_period\t24x7\n\tch"..., 4096) = 4096 > write(4, "_nonstatus_information\t1\n\t}\n\ndef"..., 4096) = 4096 > write(4, "erf_data\t1\n\tfailure_prediction_e"..., 4096) = 4096 > write(4, "\tu,w,c,r\n\tnotifications_enabled\t"..., 4096) = 4096 > write(4, "flap_threshold\t0.000000\n\tflap_de"..., 4096) = 4096 > write(4, "bsess_over_service\t1\n\tevent_hand"..., 4096) = 4096 > write(4, "20.0,20%\n\tcontact_groups\tMonitor"..., 4096) = 4096 > write(4, "diction_enabled\t1\n\tretain_status"..., 4096) = 4096 > write(4, "_freshness\t0\n\tnotification_optio"..., 4096) = 4096 > write(4, "\thigh_flap_threshold\t0.000000\n\tf"..., 4096) = 4096 > write(4, "\t0\n\tparallelize_check\t1\n\tactive_"..., 4096) = 4096 > write(4, "roups\tMonitoring-alerts\n\tnotific"..., 4096) = 4096 > write(4, "efine service {\n\thost_name\tOrien"..., 4096) = 4096 > write(4, "000000\n\tstalking_options\tn\n\tproc"..., 4096) = 4096 > write(4, "s\to,w,u,c\n\tfreshness_threshold\t0"..., 4096) = 4096 > write(4, "ice\t1\n\tevent_handler_enabled\t1\n\t"..., 4096) = 4096 > write(4, "\tMonitoring-alerts\n\tnotification"..., 4096) = 4096 > write(4, "_information\t1\n\t}\n\ndefine servic"..., 4096) = 4096 > write(4, "elay\t0.000000\n\tstalking_options\t"..., 4096) = 4096 > write(4, "_check\t1\n\tactive_checks_enabled\t"..., 4096) = 4096 > write(4, "%\n\tcontact_groups\tMonitoring-ale"..., 4096) = 4096 > write(4, "scalix_Srv\n\tservice_description\t"..., 4096) = 4096 > write(4, "etain_nonstatus_information\t1\n\t}"..., 4096) = 4096 > write(4, "n_delay\t0.000000\n\tstalking_optio"..., 4096) = 4096 > write(4, "n_options\tu,w,c,r\n\tnotifications"..., 4096) = 4096 > write(4, "heck\t1\n\tactive_checks_enabled\t1\n"..., 4096) = 4096 > write(4, "\tcontact_groups\tMonitoring-alert"..., 4096) = 4096 > write(4, "_prediction_enabled\t1\n\tretain_st"..., 4096) = 4096 > write(4, "notifications_enabled\t1\n\tnotific"..., 4096) = 4096 > write(4, "00000\n\tflap_detection_enabled\t1\n"..., 4096) = 4096 > write(4, "cks_enabled\t1\n\tobsess_over_servi"..., 4096) = 4096 > write(4, "d\t24x7\n\tinitial_state\to\n\tcheck_i"..., 4096) = 4096 > write(4, "service {\n\thost_name\tSquare_Driv"..., 4096) = 4096 > write(4, "notification_delay\t0.000000\n\tsta"..., 4096) = 4096 > write(4, "0000\n\thigh_flap_threshold\t0.0000"..., 4096) = 4096 > write(4, "\n\tcheck_interval\t1.000000\n\tretry"..., 4096) = 4096 > write(4, "v\n\tservice_description\tCHECK_ICM"..., 4096) = 4096 > write(4, "perf_data\t1\n\tfailure_prediction_"..., 4096) = 4096 > write(4, "ve_checks_enabled\t1\n\tpassive_che"..., 4096) = 4096 > write(4, "ng-alerts\n\tnotification_period\t2"..., 4096) = 4096 > write(4, "\t0.000000\n\tstalking_options\tn\n\tp"..., 4096) = 4096 > write(4, "tifications_enabled\t1\n\tnotificat"..., 4096) = 4096 > write(4, ".000000\n\thigh_flap_threshold\t0.0"..., 4096) = 4096 > write(4, "tive_checks_enabled\t1\n\tpassive_c"..., 4096) = 4096 > write(4, "ts\n\tnotification_period\t24x7\n\tin"..., 4096) = 4096 > write(4, "B_Node1_143\n\tservice_description"..., 4096) = 4096 > write(4, "ion_enabled\t1\n\tretain_status_inf"..., 4096) = 4096 > write(4, "erval\t60.000000\n\tfirst_notificat"..., 4096) = 4096 > write(4, "0\n\tcheck_freshness\t0\n\tnotificati"..., 4096) = 4096 > write(4, "ld\t0.000000\n\tflap_detection_enab"..., 4096) = 4096 > write(4, "1\n\tobsess_over_service\t1\n\tevent_"..., 4096) = 4096 > write(4, "0000\n\tmax_check_attempts\t3\n\tis_v"..., 4096) = 4096 > write(4, ".0,60%\n\tcontact_groups\tMonitorin"..., 4096) = 4096 > write(4, "e13\n\tservice_description\tCheck T"..., 4096) = 4096 > write(4, "elay\t0.000000\n\tstalking_options\t"..., 4096) = 4096 > write(4, "ed\t1\n\tobsess_over_service\t1\n\teve"..., 4096) = 4096 > write(4, "erval\t1.000000\n\tretry_interval\t1"..., 4096) = 4096 > write(4, "nitoring-alerts\n\tnotification_pe"..., 4096) = 4096 > write(4, "\tcheck_icmp!200.0,20%!500.0,60%\n"..., 4096) = 4096 > write(4, "nformation\t1\n\t}\n\ndefine service "..., 4096) = 4096 > write(4, "u,w,c,r\n\tnotifications_enabled\t1"..., 4096) = 4096 > write(4, "\tflap_detection_options\to,w,u,c\n"..., 4096) = 4096 > write(4, "nabled\t1\n\tlow_flap_threshold\t0.0"..., 4096) = 4096 > write(4, "e\t0\n\tparallelize_check\t1\n\tactive"..., 4096) = 4096 > write(4, "tion_period\t24x7\n\tinitial_state\t"..., 4096) = 4096 > write(4, "\tcheck_command\tcheck_bl\n\tcontact"..., 4096) = 4096 > write(4, "formation\t1\n\t}\n\ndefine service {"..., 4096) = 4096 > write(4, "000000\n\tstalking_options\tn\n\tproc"..., 4096) = 4096 > write(4, "led\t1\n\tnotification_interval\t60."..., 4096) = 4096 > write(4, "lap_detection_enabled\t1\n\tflap_de"..., 4096) = 4096 > write(4, "ed\t1\n\tobsess_over_service\t1\n\teve"..., 4096) = 4096 > write(4, "ification_period\t24x7\n\tinitial_s"..., 4096) = 4096 > write(4, "on_enabled\t1\n\tretain_status_info"..., 4096) = 4096 > write(4, "bled\t1\n\tnotification_interval\t60"..., 4096) = 4096 > write(4, ",w,u,c\n\tfreshness_threshold\t0\n\tc"..., 4096) = 4096 > write(4, "old\t0.000000\n\tflap_detection_ena"..., 4096) = 4096 > write(4, "rvice\t1\n\tevent_handler_enabled\t1"..., 4096) = 4096 > write(4, "allelize_check\t1\n\tactive_checks_"..., 4096) = 4096 > write(4, "\tMonitoring-alerts\n\tnotification"..., 4096) = 4096 > write(4, "{\n\thost_name\tVIA_Human-Server5-3"..., 4096) = 4096 > write(4, "data\t1\n\tfailure_prediction_enabl"..., 4096) = 4096 > write(4, "irst_notification_delay\t0.000000"..., 4096) = 4096 > write(4, "threshold\t0\n\tcheck_freshness\t0\n\t"..., 4096) = 4096 > write(4, "hold\t0.000000\n\thigh_flap_thresho"..., 4096) = 4096 > write(4, "tive_checks_enabled\t1\n\tpassive_c"..., 4096) = 4096 > write(4, "ax_check_attempts\t3\n\tis_volatile"..., 4096) = 4096 > write(4, "nitoring-alerts\n\tnotification_pe"..., 4096) = 4096 > write(4, "um_Srv_1_Delhi\n\tservice_descript"..., 4096) = 4096 > write(4, "_enabled\t1\n\tretain_status_inform"..., 4096) = 4096 > write(4, ".000000\n\tfirst_notification_dela"..., 4096) = 4096 > write(4, "\t0\n\tnotification_options\tu,w,c,r"..., 4096) = 4096 > write(4, "\n\thigh_flap_threshold\t0.000000\n\t"..., 4096) = 4096 > write(4, "7\n\tinitial_state\to\n\tcheck_interv"..., 4096) = 4096 > write(4, "D Space\n\tcheck_period\t24x7\n\tchec"..., 4096) = 4096 > write(4, "ication_delay\t0.000000\n\tstalking"..., 4096) = 4096 > write(4, ",w,u,c\n\tfreshness_threshold\t0\n\tc"..., 4096) = 4096 > write(4, "\t1.000000\n\tmax_check_attempts\t3\n"..., 4096) = 4096 > write(4, "ups\tMonitoring-alerts\n\tnotificat"..., 4096) = 4096 > write(4, "\tIP_Blacklist\n\tcheck_period\t24x7"..., 759) = 759 > close(4) ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?= 0 > munmap(0x2aba31794000, 4096) ? ? ? ? ? ?= 0 > brk(0x119ed000) ? ? ? ? ? ? ? ? ? ? ? ? = 0x119ed000 > brk(0x11a0e000) ? ? ? ? ? ? ? ? ? ? ? ? = 0x11a0e000 > brk(0x11a2f000) ? ? ? ? ? ? ? ? ? ? ? ? = 0x11a2f000 > brk(0x11a50000) ? ? ? ? ? ? ? ? ? ? ? ? = 0x11a50000 > brk(0x11a71000) ? ? ? ? ? ? ? ? ? ? ? ? = 0x11a71000 > brk(0x11a92000) ? ? ? ? ? ? ? ? ? ? ? ? = 0x11a92000 > brk(0x11ab3000) ? ? ? ? ? ? ? ? ? ? ? ? = 0x11ab3000 > brk(0x11ad4000) ? ? ? ? ? ? ? ? ? ? ? ? = 0x11ad4000 > brk(0x11af5000) ? ? ? ? ? ? ? ? ? ? ? ? = 0x11af5000 > brk(0x11b16000) ? ? ? ? ? ? ? ? ? ? ? ? = 0x11b16000 > brk(0x11b37000) ? ? ? ? ? ? ? ? ? ? ? ? = 0x11b37000 > brk(0x11b58000) ? ? ? ? ? ? ? ? ? ? ? ? = 0x11b58000 > brk(0x11b79000) ? ? ? ? ? ? ? ? ? ? ? ? = 0x11b79000 > brk(0x11b9a000) ? ? ? ? ? ? ? ? ? ? ? ? = 0x11b9a000 > brk(0x11bbb000) ? ? ? ? ? ? ? ? ? ? ? ? = 0x11bbb000 > brk(0x11bdc000) ? ? ? ? ? ? ? ? ? ? ? ? = 0x11bdc000 > brk(0x11bfd000) ? ? ? ? ? ? ? ? ? ? ? ? = 0x11bfd000 > brk(0x11c1e000) ? ? ? ? ? ? ? ? ? ? ? ? = 0x11c1e000 > brk(0x11c3f000) ? ? ? ? ? ? ? ? ? ? ? ? = 0x11c3f000 > brk(0x11c60000) ? ? ? ? ? ? ? ? ? ? ? ? = 0x11c60000 > brk(0x11c81000) ? ? ? ? ? ? ? ? ? ? ? ? = 0x11c81000 > brk(0x11ca2000) ? ? ? ? ? ? ? ? ? ? ? ? = 0x11ca2000 > open("/usr/local/nagios/var/spool/checkresults/nagiosSq9yG2", > O_RDWR|O_CREAT|O_EXCL, 0600) = 4 > close(4) ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?= 0 > unlink("/usr/local/nagios/var/spool/checkresults/nagiosSq9yG2") = 0 > open("/usr/local/nagios/var/spool/checkresults/nagiosurFkL2", > O_RDWR|O_CREAT|O_EXCL, 0600) = 4 > close(4) ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?= 0 > unlink("/usr/local/nagios/var/spool/checkresults/nagiosurFkL2") = 0 > stat("/usr/local/nagios/bin/p1.pl", {st_mode=S_IFREG|0664, > st_size=31878, ...}) = 0 > rt_sigaction(SIGFPE, {0x1, [FPE], SA_RESTORER|SA_RESTART, > 0x3de28302d0}, {SIG_DFL, [], 0}, 8) = 0 > getuid() ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?= 501 > geteuid() ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? = 501 > getgid() ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?= 501 > getegid() ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? = 501 > open("/usr/lib/locale/locale-archive", O_RDONLY) = 4 > fstat(4, {st_mode=S_IFREG|0644, st_size=56471248, ...}) = 0 > mmap(NULL, 56471248, PROT_READ, MAP_PRIVATE, 4, 0) = 0x2aba31794000 > close(4) ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?= 0 > open("/dev/urandom", O_RDONLY) ? ? ? ? ?= 4 > read(4, "\327=#\307", 4) ? ? ? ? ? ? ? ?= 4 > close(4) ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?= 0 > stat("/usr/lib64/perl5/site_perl/5.8.7/x86_64-linux-thread-multi", > 0x7fff009177f0) = -1 ENOENT (No such file or directory) > stat("/usr/lib/perl5/site_perl/5.8.7", 0x7fff009177f0) = -1 ENOENT (No > such file or directory) > stat("/usr/lib64/perl5/site_perl/5.8.6/x86_64-linux-thread-multi", > 0x7fff009177f0) = -1 ENOENT (No such file or directory) > stat("/usr/lib/perl5/site_perl/5.8.6", 0x7fff009177f0) = -1 ENOENT (No > such file or directory) > stat("/usr/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi", > 0x7fff009177f0) = -1 ENOENT (No such file or directory) > stat("/usr/lib/perl5/site_perl/5.8.5", 0x7fff009177f0) = -1 ENOENT (No > such file or directory) > stat("/usr/lib64/perl5/vendor_perl/5.8.7/x86_64-linux-thread-multi", > 0x7fff009177f0) = -1 ENOENT (No such file or directory) > stat("/usr/lib/perl5/vendor_perl/5.8.7", 0x7fff009177f0) = -1 ENOENT > (No such file or directory) > stat("/usr/lib64/perl5/vendor_perl/5.8.6/x86_64-linux-thread-multi", > 0x7fff009177f0) = -1 ENOENT (No such file or directory) > stat("/usr/lib/perl5/vendor_perl/5.8.6", 0x7fff009177f0) = -1 ENOENT > (No such file or directory) > stat("/usr/lib64/perl5/vendor_perl/5.8.5/x86_64-linux-thread-multi", > 0x7fff009177f0) = -1 ENOENT (No such file or directory) > stat("/usr/lib/perl5/vendor_perl/5.8.5", 0x7fff009177f0) = -1 ENOENT > (No such file or directory) > ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0 > lseek(0, 0, SEEK_CUR) ? ? ? ? ? ? ? ? ? = -1 ESPIPE (Illegal seek) > ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0 > lseek(1, 0, SEEK_CUR) ? ? ? ? ? ? ? ? ? = -1 ESPIPE (Illegal seek) > ioctl(2, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0 > lseek(2, 0, SEEK_CUR) ? ? ? ? ? ? ? ? ? = -1 ESPIPE (Illegal seek) > open("/usr/local/nagios/bin/p1.pl", O_RDONLY) = 4 > ioctl(4, SNDCTL_TMR_TIMEBASE or TCGETS, 0x7fff009176c0) = -1 ENOTTY > (Inappropriate ioctl for device) > lseek(4, 0, SEEK_CUR) ? ? ? ? ? ? ? ? ? = 0 > fcntl(4, F_SETFD, FD_CLOEXEC) ? ? ? ? ? = 0 > fstat(4, {st_mode=S_IFREG|0664, st_size=31878, ...}) = 0 > rt_sigaction(SIGCHLD, NULL, {SIG_DFL, [], 0}, 8) = 0 > readlink("/proc/self/exe", "/usr/local/nagios/bin/nagios"..., 4095) = 28 > --- SIGSEGV (Segmentation fault) @ 0 (0) --- > +++ killed by SIGSEGV +++ > > > /\ > dE > Recompiled without "embedded-perl" option, now it's working fine . Still I am not able to understand why it was happened. /\ dE ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 17 22:25:36 2011 From: work at paul.dubuc.org (Paul M. Dubuc) Date: Tue, 17 May 2011 16:25:36 -0400 Subject: Segmentation fault Nagios 3.2.3 In-Reply-To: References: Message-ID: <4DD2D9C0.4020606@paul.dubuc.org> >> > > Recompiled without "embedded-perl" option, now it's working fine . > Still I am not able to understand why it was happened. > > > /\ > dE These messages look suspicious: >access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) > open("/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/tls/x86_64/libperl.so", > O_RDONLY) = -1 ENOENT (No such file or directory) > stat("/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/tls/x86_64", > 0x7fff00917240) = -1 ENOENT (No such file or directory) > open("/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/tls/libperl.so", > O_RDONLY) = -1 ENOENT (No such file or directory) > stat("/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/tls", > 0x7fff00917240) = -1 ENOENT (No such file or directory) > open("/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/x86_64/libperl.so", > O_RDONLY) = -1 ENOENT (No such file or directory) > stat("/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/x86_64", > 0x7fff00917240) = -1 ENOENT (No such file or directory) > open("/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/libperl.so", Looks like you're running Nagios on a system that doesn't have (64-bit) perl libs installed. ------------------------------------------------------------------------------ What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its next-generation tools to help Windows* and Linux* C/C++ and Fortran developers boost performance applications - including clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From matt at conundrum.com Tue May 17 22:46:45 2011 From: matt at conundrum.com (Matthew Pounsett) Date: Tue, 17 May 2011 16:46:45 -0400 Subject: Dependencies in redundant networks and services Message-ID: <4546C8C6-1DA3-415F-A535-210F594DFDEB@conundrum.com> I'm trying to sort out setting up dependencies for services and networks which contain redundancies, and it *looks* like I may be out of luck. I'm hoping someone can comment... the googling I've done has raised one question about this in the past which received no answer. The documentation for service dependencies is pretty clear that if service A is dependent on service B and C, then if either service B or C fails, service A will be treated as blocked (depending on the defined failure criteria). Does anyone have a working solution where service A is able to use either B *OR* C in order to perform its function? In this case, there'd need to be a way to tell Nagios that service A is blocked only if service B and C are both failed. The documentation is less clear about how multiple parents are handled, but given that host dependencies are documented to behave in the same way as service dependencies, it stands to reason that parents use the same logic... that if host A has two parents (routers B and C) then either router B or C being down would result in host A being considered unreachable. Again, I'm looking for a way to define a situation where host A can be reached via either router B or router C, and should only be considered unreachable if both routers are down. Does anyone have any suggestions for dealing with this? Thanks! ------------------------------------------------------------------------------ What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its next-generation tools to help Windows* and Linux* C/C++ and Fortran developers boost performance applications - including clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mike-nagios at 5dninja.net Tue May 17 23:08:41 2011 From: mike-nagios at 5dninja.net (Mike Lindsey) Date: Tue, 17 May 2011 14:08:41 -0700 Subject: CMDB backend and feeder mechanism? Message-ID: <4DD2E3D9.2080507@5dninja.net> I'm interesting in hearing what kind of CMDB people tend to use, who also use Nagios. How do you track and maintain your hosts, how do you map that into your Nagios configuration? I'm particularly interested in those with particularly complex environments. We have an internally developed CMDB, as an internally developed Nagios configuration management tool, that I'm working on getting final approval to release as open source. I'd love a chance to pick some brains about what works, and particularly what doesn't work. -- Mike Lindsey ------------------------------------------------------------------------------ What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its next-generation tools to help Windows* and Linux* C/C++ and Fortran developers boost performance applications - including clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From trm.nagios at gmail.com Wed May 18 07:09:22 2011 From: trm.nagios at gmail.com (trm asn) Date: Wed, 18 May 2011 10:39:22 +0530 Subject: Segmentation fault Nagios 3.2.3 In-Reply-To: <4DD2D9C0.4020606@paul.dubuc.org> References: <4DD2D9C0.4020606@paul.dubuc.org> Message-ID: On Wed, May 18, 2011 at 1:55 AM, Paul M. Dubuc wrote: > >>> >> >> Recompiled without "embedded-perl" option, now it's working fine . >> Still I am not able to understand why it was happened. >> >> >> /\ >> dE > > These messages look suspicious: > >>access("/etc/ld.so.preload", R_OK) ? ? ?= -1 ENOENT (No such file or >> directory) >> >> open("/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/tls/x86_64/libperl.so", >> O_RDONLY) = -1 ENOENT (No such file or directory) >> stat("/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/tls/x86_64", >> 0x7fff00917240) = -1 ENOENT (No such file or directory) >> >> open("/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/tls/libperl.so", >> O_RDONLY) = -1 ENOENT (No such file or directory) >> stat("/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/tls", >> 0x7fff00917240) = -1 ENOENT (No such file or directory) >> >> open("/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/x86_64/libperl.so", >> O_RDONLY) = -1 ENOENT (No such file or directory) >> stat("/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/x86_64", >> 0x7fff00917240) = -1 ENOENT (No such file or directory) >> open("/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/libperl.so", > > Looks like you're running Nagios on a system that doesn't have (64-bit) perl > libs installed. > > Below are the insrhe perl packages , which are installed. perl.x86_64 4:5.8.8-32.el5_5.2 installed perl-Compress-Zlib.x86_64 1.42-1.fc6 installed perl-Crypt-DES.x86_64 2.05-3.2.el5.rf installed perl-DBD-MySQL.x86_64 3.0007-2.el5 installed perl-DBI.x86_64 1.52-2.el5 installed perl-Digest-SHA1.x86_64 2.11-1.2.1 installed perl-Git.x86_64 1.7.4.5-1.w5 installed perl-HTML-Parser.x86_64 3.55-1.fc6 installed perl-Net-DNS.x86_64 0.59-3.el5 installed perl-Net-IP.noarch 1.25-2.fc6 installed perl-Net-SMTP-SSL.noarch 1.01-1.el5.rf installed perl-Net-SNMP.noarch 5.2.0-1.2.el5.rf installed perl-Net-SSLeay.x86_64 1.30-4.fc6 installed perl-Socket6.x86_64 0.19-3.fc6 installed perl-String-CRC32.x86_64 1.4-2.fc6 installed perl-TermReadKey.x86_64 2.30-4.el5 installed perl-URI.noarch 1.35-3 installed perl-libwww-perl.noarch 5.805-1.1.1 installed subversion-perl.x86_64 1.6.13-0.1.el5.rf installed /\ dE ------------------------------------------------------------------------------ What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its next-generation tools to help Windows* and Linux* C/C++ and Fortran developers boost performance applications - including clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mail at catsnest.co.uk Wed May 18 10:09:33 2011 From: mail at catsnest.co.uk (mail at catsnest.co.uk) Date: Wed, 18 May 2011 09:09:33 +0100 Subject: Mass Acknowledge a Service In-Reply-To: References: Message-ID: If you are happy to use a dirty script instead of the gui you can just use the external command listener file: I use a script like this: I would need updating for your needs but works quite well... ===================================================== #!/bin/bash nagiosLog="/opt/nagios/var/nagios.log" nagiosCommand="/opt/nagios/var/rw/nagios.cmd" now=`perl -e "print time;"` OS=`uname -s`; ORIG_IFS=$IFS ; IFS=$'\n' for check in $(grep "CURRENT SERVICE STATE" $nagiosLog |grep "windows_updates" | nawk -F": " '{print $2}' |sort -u ) ; do echo $check | nawk -F";" -v now=$now '{ printf( "[%u] ACKNOWLEDGE_SVC_PROBLEM;"$1";"$2";2;1;0;admin;Awating Patching\n", now ) }' >> $nagiosCommand done IFS=$ORIG_IFS ===================================================== -- Ritchie On Tue, May 17, 2011 at 7:00 PM, steve f wrote: > I have a check that checks the size of multiple partitions and we recently > added some data that surpassed the threshold value and I have over 100 > clients alerting.? There is nothing I can do about the space issue, it will > go back to normal in a few weeks. > > Is it possible to acknowledge all 100 at once?? I do have a service group > associated with this check but dont see that it can be ack'ed all at once. > Is it possible to edit the status.dat file with a reference to a host group > instead of a host name to accomplish this? : > > servicecomment { > ??????? host_name=strxxxxxxxx > > ?????? host_group = GROUPNAME HERE > > ??????? service_description=Legacy Partition Size > ??????? entry_type=4 > ??????? comment_id=129 > ??????? source=0 > ??????? persistent=0 > ??????? entry_time=1305654252 > ??????? expires=0 > ??????? expire_time=0 > ??????? author=Nagios Admin > ??????? comment_data=known issue > ??????? } > > > ------------------------------------------------------------------------------ > Achieve unprecedented app performance and reliability > What every C/C++ and Fortran developer should know. > Learn how Intel has extended the reach of its next-generation tools > to help boost performance applications - inlcuding clusters. > http://p.sf.net/sfu/intel-dev2devmay > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its next-generation tools to help Windows* and Linux* C/C++ and Fortran developers boost performance applications - including clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed May 18 11:56:07 2011 From: ae at op5.se (Andreas Ericsson) Date: Wed, 18 May 2011 11:56:07 +0200 Subject: Segmentation fault Nagios 3.2.3 In-Reply-To: <4DD2D9C0.4020606@paul.dubuc.org> References: <4DD2D9C0.4020606@paul.dubuc.org> Message-ID: <4DD397B7.7080504@op5.se> On 05/17/2011 10:25 PM, Paul M. Dubuc wrote: > >>> >> >> Recompiled without "embedded-perl" option, now it's working fine . >> Still I am not able to understand why it was happened. >> >> >> /\ >> dE > > These messages look suspicious: > > >access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) > > > open("/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/tls/x86_64/libperl.so", > > O_RDONLY) = -1 ENOENT (No such file or directory) > > stat("/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/tls/x86_64", > > 0x7fff00917240) = -1 ENOENT (No such file or directory) > > open("/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/tls/libperl.so", > > O_RDONLY) = -1 ENOENT (No such file or directory) > > stat("/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/tls", > > 0x7fff00917240) = -1 ENOENT (No such file or directory) > > open("/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/x86_64/libperl.so", > > O_RDONLY) = -1 ENOENT (No such file or directory) > > stat("/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/x86_64", > > 0x7fff00917240) = -1 ENOENT (No such file or directory) > > open("/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/libperl.so", > > Looks like you're running Nagios on a system that doesn't have (64-bit) perl > libs installed. > No they don't. The linker just tries a bunch of paths before another bunch of paths and stops looking when it finds a suitable file. -- 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. ------------------------------------------------------------------------------ What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its next-generation tools to help Windows* and Linux* C/C++ and Fortran developers boost performance applications - including clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed May 18 11:59:39 2011 From: ae at op5.se (Andreas Ericsson) Date: Wed, 18 May 2011 11:59:39 +0200 Subject: Mass Acknowledge a Service In-Reply-To: References: Message-ID: <4DD3988B.9020707@op5.se> On 05/17/2011 08:00 PM, steve f wrote: > > I have a check that checks the size of multiple partitions and we > recently added some data that surpassed the threshold value and I > have over 100 clients alerting. There is nothing I can do about the > space issue, it will go back to normal in a few weeks. > > Is it possible to acknowledge all 100 at once? With Ninja, Thruk or Multisite, yes. With vanilla Nagios UI; No. > I do have a service > group associated with this check but dont see that it can be ack'ed > all at once. Is it possible to edit the status.dat file with a > reference to a host group instead of a host name to accomplish this? No. status.dat can only be read in flattened format, as is proper for an autogenerated file. Sorry. -- 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. ------------------------------------------------------------------------------ What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its next-generation tools to help Windows* and Linux* C/C++ and Fortran developers boost performance applications - including clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed May 18 11:57:53 2011 From: ae at op5.se (Andreas Ericsson) Date: Wed, 18 May 2011 11:57:53 +0200 Subject: Segmentation fault Nagios 3.2.3 In-Reply-To: References: Message-ID: <4DD39821.8020400@op5.se> On 05/17/2011 08:09 PM, trm asn wrote: > Dear List , > > I am getting the segmentation fault in nagios 3.2.3 while starting nagios. > While starting or just after it's started? Embedded perl *should* work nicely until it tries to run plugins that misbehave in some way, although I suppose this could happen if you're using a too old libperl as well. The normal recommendation when experiencing troubles while embedded perl is compiled in is to simply recompile without it and hope for the best. -- 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. ------------------------------------------------------------------------------ What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its next-generation tools to help Windows* and Linux* C/C++ and Fortran developers boost performance applications - including clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed May 18 12:09:19 2011 From: ae at op5.se (Andreas Ericsson) Date: Wed, 18 May 2011 12:09:19 +0200 Subject: RFC/RFP: Service parents In-Reply-To: References: <4DD2385E.5020407@op5.se> Message-ID: <4DD39ACF.9010606@op5.se> On 05/17/2011 02:14 PM, lists wrote: > You can probally ask these questions your self but... > If my understanding of this is correct, How will this work in a > templated environment? > eg Will the parent service be configured via a hostname / service name pair > Or just a service name, that Nagios will look on the applied host to find? > (I ask as we use host templates to apply service to hosts). > > I am probably being very anal here, would this situation work? > Host > | > - service0 NRPE --> > -- service1 App check1 > -- service2 App check2 > | > - service3 HTTP check1 > - service4 HTTP check2 > > Could we have "HTTP check1" depend on "App check1" but not "NRPE"? > Yes, but if NRPE is a real parent (ie, a binary check to see that the agent is running), there's no way it will fail without also making App check1 failing. A bigger question though is why you'd want to. If something serves the proper html page over the network, does it really matter to you if App checkX is working? > eg NRPE dies so service1 alerts are suppressed, but "service3" will > alert if needed. > But if "App check1" fails (but not NRPE) "HTTP check1" will not alert? I should think so, but that depends on how we decide to implement it. A service that returns OK when its parent has returned non-OK is obviously misconfigured (since it really shouldn't be ok with a non-OK parent), but there's no real reason to dive deeper than a single level for parenting checks. We can just let users shoot themselves in the foot with misconfigured parent chains and ignore all multi-depth traversals completely. -- 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. ------------------------------------------------------------------------------ What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its next-generation tools to help Windows* and Linux* C/C++ and Fortran developers boost performance applications - including clusters. http://p.sf.net/sfu/intel-dev2devmay From ae at op5.se Wed May 18 12:15:09 2011 From: ae at op5.se (Andreas Ericsson) Date: Wed, 18 May 2011 12:15:09 +0200 Subject: [Nagios-users] RFC/RFP Service sets In-Reply-To: References: <4DD269A5.5070804@op5.se> Message-ID: <4DD39C2D.1000709@op5.se> On 05/17/2011 03:21 PM, Matt Simmons wrote: > Hi, > > On first glance, I liked the nested config example, but after thinking > about it for a little while, I'm starting to lean toward specifying > the service_sets per service. In cases where multiple groups > contribute to the Nagios configuration of an entity, doing this will > allow each group to "subscribe" their services, and file permissions > on the individual cfg files can be maintained, whereas storing things > in the nested service_set object requires everyone to be able to write > to that (plus it adds some additional complexity). > Not really. You can quite easily group service sets based on who is supposed to edit them and give file permissions to db admins for all files containing service-sets handling database stuff, and for windows admins to handle the service-sets that take care of windows-checks and so on. You're a bit too stuck to the "services.cfg" way of thinking, where one type of object is only ever listed in one file. Nothing prevents you from having one file per service set, and when you want to share service sets with other users around the world, that's most likely what will happen anyway. > For what it's worth, I'm one of those people who are using host groups > to assign services to machines because I like being able to minimize > my work and maximize my results, and that's the shortest cut I've seen > so far. This replaces that functionality nicely, I think. > That's the general idea, so we can finally stop overloading hostgroups or implement stuff to hide hostgroups that are only used to assign services (which would be a patch to a patched thing, and therefore quite ugly on a conceptual level). -- 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. ------------------------------------------------------------------------------ What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its next-generation tools to help Windows* and Linux* C/C++ and Fortran developers boost performance applications - including clusters. http://p.sf.net/sfu/intel-dev2devmay From Jochen.Bern at LINworks.de Wed May 18 13:11:52 2011 From: Jochen.Bern at LINworks.de (Jochen Bern) Date: Wed, 18 May 2011 13:11:52 +0200 Subject: RFC/RFP: Service parents In-Reply-To: <4DD39ACF.9010606@op5.se> References: <4DD2385E.5020407@op5.se> <4DD39ACF.9010606@op5.se> Message-ID: <4DD3A978.7050407@LINworks.de> On 05/18/2011 12:09 PM, Andreas Ericsson wrote: > A service that returns OK when its parent has returned non-OK is > obviously misconfigured (since it really shouldn't be ok with a non-OK > parent) Probably just a tangent, but I strongly disagree with this statement. You *don't* want to try and parse a complex web page for the marketing-dpt-configurable, non-User-Experience-disrupting error message du jour when you can just check the handful data-providing backend services directly via their well-defined interfaces. [ Sometimes I wonder whether we should switch logfiles to HTML to get web developers interested in what they write to them. >:-C ] Kind regards, J. Bern -- Jochen Bern, Systemingenieur --- LINworks GmbH Postfach 100121, 64201 Darmstadt | Robert-Koch-Str. 9, 64331 Weiterstadt PGP (1024D/4096g) FP = D18B 41B1 16C0 11BA 7F8C DCF7 E1D5 FAF4 444E 1C27 Tel. +49 6151 9067-231, Zentr. -0, Fax -299 - Amtsg. Darmstadt HRB 85202 Unternehmenssitz Weiterstadt, Gesch?ftsf?hrer Metin Dogan, Oliver Michel ------------------------------------------------------------------------------ What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its next-generation tools to help Windows* and Linux* C/C++ and Fortran developers boost performance applications - including clusters. http://p.sf.net/sfu/intel-dev2devmay From maxs at webwizarddesign.com Wed May 18 14:12:15 2011 From: maxs at webwizarddesign.com (Max Schubert) Date: Wed, 18 May 2011 08:12:15 -0400 Subject: Notification configuration (Was RFC/RFP: Service parents) Message-ID: Andreas, On Tue, May 17, 2011 at 7:57 AM, Andreas Ericsson wrote: >> Any plans to detatch notification attributes from service / host >> definitions in 4.x and make them their own top-level configuration >> class like escalations ?to make it easier to scale notification >> definitions for large projects? >> > > Not really. What would such an object look like? How would it add > additional benefit compared to using templates for hosts and services? > I think if I could just see some sort of example definition of it I'd > get an inkling of why some seem to think it's such a great idea. Right > now, I see no additional benefit to it. It would look just like an escalation. What doesn't work well for large configurations with notification policies being stuck into host and service objects is this scenario (which is the one we are in at work by design): * Multiple configuration editors who own various parts of the Nagios configuration tree - in our case this used to be one big tree, now we have set up separate trees for separate projects - we have about 20-30 people who can edit their project-specific configurations. * A set of services that are global in nature - service -> hostgroup -> host - baseline monitoring required by all projects using standards established by multiple organizations in our company - for our example, base host monitoring with an SNMP agent (6 services across every host) - we have other global services as well and a core team who develop, maintain an augment both our distributed Nagios software and these global services and configurations * A set of services that are specific to each project using our distributed variant of Nagios - managed by subject matter experts on each team. With this scenario, how do we let each group that is responsible for hosts that have these global services on them create individually tailored notification policies since there is one notification policy per service? * We configure our base service and host to 'notify' on every state change using the command name do_nothing * We created a custom patch so that when the string 'do_nothing' is seen in the command name this state change only increments the notification count - it does not trigger any external command to run * We created a patch (partial - no serialization to disk) for escalation logic that tracks in memory when a fault escalation was sent so that OK escalations are only sent in response to something that was in a fault state. We are working on completing this patch so that across restarts the state is saved. * We have all groups use escalations to define their notification policies - the service and host notification commands then trigger our distributed pollers to send escalation requests to a network-based notification service we have that then lets the notification requests trigger email, SMS, SNMP traps, etc without having to re-configure Nagios for every notification transport /. method change. Yeah, it is very ugly, and why? Because 1 notification policy per service, that doesn't scale well when taking advantage of service -> hostgroup -> host mappings, which is a critical pattern to use when scaling a configuration. We have over 9000 hosts being monitored by our distributed framework (and growing) with around 30 configuration editors and 120+ users. Our distributed framework was centralized and a ''one project for all" but now is a cluster of distributed set ups, one distributed set up per project, which is scaling nicely. Our largest distributed installations have 3900 and 5100 hosts in them respectively - we have 4 other distributed instances that are just getting ramped up and only have a few dozen hosts apiece at this point. So while this is ugly, it works! All editors can define escalation objects that take into account both their individual needs for global service notifications as well as any project-specific notifications - and by putting project-specific hosts in project-specific host groups, for most groups, two escalation policy definitions are all that are needed per project - one for hosts, one for services. If all notifications were just done through an escalation like configuration object, life for a big project would be much easier. 1) Having notifications clearly separated as their own configuration template in the Nagios DSL makes it much less confusing for people new to Nagios to understand 'where to configure notifications' 2) The configuration flexibility of the escalation template makes it very easy to work with for a large configuration. Our global and project specific scenario and all the notification changes we made is also serving us very well as we grow. Notifications as separate objects would let us back out a number of patches and would reallly simplify our configuraiton and let our pollers run hotter . - Max ------------------------------------------------------------------------------ What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its next-generation tools to help Windows* and Linux* C/C++ and Fortran developers boost performance applications - including clusters. http://p.sf.net/sfu/intel-dev2devmay From Stephanie_Gelder at walkergreenbank.co.uk Wed May 18 13:54:55 2011 From: Stephanie_Gelder at walkergreenbank.co.uk (Stephanie Gelder) Date: Wed, 18 May 2011 12:54:55 +0100 Subject: Services Not being checked Message-ID: <4DD3C19F020000300003D17C@mailhost.walkergreenbank.co.uk> Hi. I'm ok with Nagios, but I'm not linux guru so treat me gently :) I have reinstalled Nagios onto a new Server it was running on a very old pc that had hardware issues. So I've now re-installed it on a Dell R300 with 16 Gig of memory complete overkill but it's what I had available. I am running Nagios Core 3.2.3 on Fedora Linux. [root at nagios]# uname -a Linux nagios.***.*** 2.6.35.13-91.fc14.x86_64 #1 SMP Tue May 3 13:23:06 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux I have problems with checking services I have at the moment 107 devices on it printers and switches, (the old bashed up PC had around 300 devices on it and worked fine before the hardware died). Anyway I am trying to monitor services and for all the switches it seems fine, but for all of the printers it's not working. Automatically so I am wondering if i've done something wrong but I cannot work out what is wrong it all appears to be fine, please see below. But when I try monitoring services it will start and for the odd printer work fine but the next printer in the list it will not work for and what happens is it check the service once and it's fine but then when it comes to do the second check on either the check_ping or check_printer service it either disables checking the service or moves the date forward a week for the next check. I'm stuck as to why these services are either not being checked or put forward to only check them in a weeks time. All my switches that work are in a group called generic-switch I've tried putting half a dozen of the printers into generic-switch instead of novell-printer and they have exactly the same results so I don't think it's got anything to do with that. Any help would be appreciated. Stephanie In the nagios.log file after trying to run a service the second time it shows up as below:- Warning: Check of service 'PING' on host 'ANS-ACCOUNTS01' could not be rescheduled properly. Scheduling check for next week... [1305715325] Warning: Check of service 'Printer Status' on host 'ANS-ACCOUNTS01' could not be rescheduled properly. Scheduling check for next week... So using this example:- printers.cfg includes define host{ use novell-printer host_name ANS-ACCOUNTS01 alias Dell Colour Laser 5110cn parents LGH-242 icon_image printer.png statusmap_image printer.gd2 address ***.***.***.*** } define hostgroup{ hostgroup_name LGH-NOV alias *** - Novell Printers members **,ANS-ACCOUNTS01,**,**,**,**,** } define service{ use printer-service host_name ANS-ACCOUNTS01,**,**,**,**,** service_description Printer Status check_command check_printer! normal_check_interval 2 retry_check_interval 1 } define service{ use printer-service host_name ANS-ACCOUNTS01,**,**,**,** service_description PING check_command check_ping!3000.0,80%!5000.0,100% normal_check_interval 5 retry_check_interval 1 } In the templates.cfg file:- define host{ name generic-host ; The name of this host template notifications_enabled 1 ; Host notifications are enabled event_handler_enabled 1 ; Host event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled failure_prediction_enabled 1 ; Failure prediction is enabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information 1 ; Retain non-status information across program restarts notification_period 24x7 ; Send host notifications at any time register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE! } define host{ name novell-printer ; The name of this host template use generic-host ; Inherit these default values check_period 24x7 ; By default, printers are monitored round the clock check_interval 2 ; Actively check the printer every 2 minutes retry_interval 1 ; Schedule host check retries at 1 minute intervals max_check_attempts 10 ; Check each printer 10 times (max) check_command check-host-alive ; Default command to check if printers are "alive" notification_period 24x7 ; Printers are only used during the workday notification_interval 60 ; Resend notifications every 30 minutes notification_options d,r ; Only send notifications for specific host states contact_groups admins ; Notifications get sent to the admins by default register 0 ; DONT REGISTER THIS - ITS JUST A TEMPLATE } In the timeperiods.cfg file:- define timeperiod{ timeperiod_name 24x7 alias 24 Hours A Day, 7 Days A Week sunday 00:00-24:00 monday 00:00-24:00 tuesday 00:00-24:00 wednesday 00:00-24:00 thursday 00:00-24:00 friday 00:00-24:00 saturday 00:00-24:00 } IMPORTANT This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the sender and delete the email. Walker Greenbank PLC is a company registered in England and Wales registered number 61880. Registered office: Chalfont House, Oxford Road, Denham UB9 4DX. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its next-generation tools to help Windows* and Linux* C/C++ and Fortran developers boost performance applications - including clusters. http://p.sf.net/sfu/intel-dev2devmay -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rosenski at wave-computer.de Wed May 18 14:14:15 2011 From: rosenski at wave-computer.de (Axel Rosenski) Date: Wed, 18 May 2011 14:14:15 +0200 Subject: Host downtime set - service notifications still sent Message-ID: <201105181414.15934.rosenski@wave-computer.de> Hi all, I've had a problem with a scheduled downtime for a host. The host was rebooted and some service checks failed and went in a hard critical state. After receiving some messages I scheduled a downtime for this host, but I still received service notifications from nagios. Is that the normal behaviour and would it be better to disable notifications for services and the host? Regards Axel -- Axel Rosenski - Administration - ______________________________ Wave Computersysteme GmbH Philipp-Reis-Str. 1-3 / 9 35440 Linden Gesch?ftsf?hrer: Carsten Kellmann Registergericht Gie?en HRB 1823 Tel.: +49 (0)6403 / 9050 8317 Fax: +49 (0)6403 / 9050 5089 mailto:rosenski at wave-computer.de http://www.wave-computer.de ------------------------------------------------------------------------------ What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its next-generation tools to help Windows* and Linux* C/C++ and Fortran developers boost performance applications - including clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zarrelli at linux.it Wed May 18 14:29:06 2011 From: zarrelli at linux.it (Giorgio Zarrelli) Date: Wed, 18 May 2011 14:29:06 +0200 Subject: Services Not being checked In-Reply-To: <4DD3C19F020000300003D17C@mailhost.walkergreenbank.co.uk> References: <4DD3C19F020000300003D17C@mailhost.walkergreenbank.co.uk> Message-ID: <1127F3C2-8948-4468-926D-999851FAE4E4@linux.it> Hi I'm on mobile so I can miss something. Can you show me the printer-service template definition? Ciao, Giorgio Il giorno 18/mag/2011, alle ore 13:54, "Stephanie Gelder" ha scritto: > Hi. > > I'm ok with Nagios, but I'm not linux guru so treat me gently :) > > I have reinstalled Nagios onto a new Server it was running on a very old pc that had hardware issues. So I've now re-installed it on a Dell R300 with 16 Gig of memory complete overkill but it's what I had available. > > I am running Nagios Core 3.2.3 on Fedora Linux. > [root at nagios]# uname -a > Linux nagios.***.*** 2.6.35.13-91.fc14.x86_64 #1 SMP Tue May 3 13:23:06 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux > > I have problems with checking services I have at the moment 107 devices on it printers and switches, (the old bashed up PC had around 300 devices on it and worked fine before the hardware died). Anyway I am trying to monitor services and for all the switches it seems fine, but for all of the printers it's not working. Automatically so I am wondering if i've done something wrong but I cannot work out what is wrong it all appears to be fine, please see below. But when I try monitoring services it will start and for the odd printer work fine but the next printer in the list it will not work for and what happens is it check the service once and it's fine but then when it comes to do the second check on either the check_ping or check_printer service it either disables checking the service or moves the date forward a week for the next check. > > I'm stuck as to why these services are either not being checked or put forward to only check them in a weeks time. > > All my switches that work are in a group called generic-switch > > I've tried putting half a dozen of the printers into generic-switch instead of novell-printer and they have exactly the same results so I don't think it's got anything to do with that. Any help would be appreciated. > > Stephanie > > In the nagios.log file after trying to run a service the second time it shows up as below:- > > Warning: Check of service 'PING' on host 'ANS-ACCOUNTS01' could not be rescheduled properly. Scheduling check for next week... > [1305715325] Warning: Check of service 'Printer Status' on host 'ANS-ACCOUNTS01' could not be rescheduled properly. Scheduling check for next week... > > So using this example:- > > printers.cfg includes > > define host{ > use novell-printer > host_name ANS-ACCOUNTS01 > alias Dell Colour Laser 5110cn > parents LGH-242 > icon_image printer.png > statusmap_image printer.gd2 > address ***.***.***.*** > } > > > define hostgroup{ > hostgroup_name LGH-NOV > alias *** - Novell Printers > members **,ANS-ACCOUNTS01,**,**,**,**,** > } > define service{ > use printer-service > host_name ANS-ACCOUNTS01,**,**,**,**,** > service_description Printer Status > check_command check_printer! > normal_check_interval 2 > retry_check_interval 1 > } > > define service{ > use printer-service > host_name ANS-ACCOUNTS01,**,**,**,** > service_description PING > check_command check_ping!3000.0,80%!5000.0,100% > normal_check_interval 5 > retry_check_interval 1 > } > In the templates.cfg file:- > > > define host{ > name generic-host ; The name of this host template > notifications_enabled 1 ; Host notifications are enabled > event_handler_enabled 1 ; Host event handler is enabled > flap_detection_enabled 1 ; Flap detection is enabled > failure_prediction_enabled 1 ; Failure prediction is enabled > process_perf_data 1 ; Process performance data > retain_status_information 1 ; Retain status information across program restarts > retain_nonstatus_information 1 ; Retain non-status information across program restarts > notification_period 24x7 ; Send host notifications at any time > register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE! > } > > define host{ > name novell-printer ; The name of this host template > use generic-host ; Inherit these default values > check_period 24x7 ; By default, printers are monitored round the clock > check_interval 2 ; Actively check the printer every 2 minutes > retry_interval 1 ; Schedule host check retries at 1 minute intervals > max_check_attempts 10 ; Check each printer 10 times (max) > check_command check-host-alive ; Default command to check if printers are "alive" > notification_period 24x7 ; Printers are only used during the workday > notification_interval 60 ; Resend notifications every 30 minutes > notification_options d,r ; Only send notifications for specific host states > contact_groups admins ; Notifications get sent to the admins by default > register 0 ; DONT REGISTER THIS - ITS JUST A TEMPLATE > } > > > In the timeperiods.cfg file:- > define timeperiod{ > timeperiod_name 24x7 > alias 24 Hours A Day, 7 Days A Week > sunday 00:00-24:00 > monday 00:00-24:00 > tuesday 00:00-24:00 > wednesday 00:00-24:00 > thursday 00:00-24:00 > friday 00:00-24:00 > saturday 00:00-24:00 > } > > > > > IMPORTANT This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the sender and delete the email. Walker Greenbank PLC is a company registered in England and Wales registered number 61880. Registered office: Chalfont House, Oxford Road, Denham UB9 4DX. > > ------------------------------------------------------------------------------ > What Every C/C++ and Fortran developer Should Know! > Read this article and learn how Intel has extended the reach of its > next-generation tools to help Windows* and Linux* C/C++ and Fortran > developers boost performance applications - including clusters. > http://p.sf.net/sfu/intel-dev2devmay > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its next-generation tools to help Windows* and Linux* C/C++ and Fortran developers boost performance applications - including clusters. http://p.sf.net/sfu/intel-dev2devmay -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From DCeola at twgi.net Wed May 18 15:26:28 2011 From: DCeola at twgi.net (Daniel Ceola) Date: Wed, 18 May 2011 13:26:28 +0000 Subject: Check_NRPE on AIX Message-ID: <40B7337A7D70B149A34D5A0FD9FDFA8C010780@twgiex.twgi.net> Hello all! I've recently been attempting to setup monitoring on my AIX 5.3 servers. After some research, I determined that the best way to accomplish this is through using NRPE. I downloaded the package here: https://www.monitoringexchange.org/inventory/Check-Plugins/Operating-Systems/AIX/AIX-5-3-NRPE-2-12-NSCA-2-7-2-Nagios-Plugins-1-4-11 and followed instructions here http://nagioswiki.com/wiki/index.php/Installing_Nagios_NRPE_on_AIX to install NRPE on the AIX system. I then found an item in the nagios-users archive that suggested that I needed to install sudo on the AIX system and change the NRPE config to use sudo for the commands. http://www.mail-archive.com/nagios-users at lists.sourceforge.net/msg31668.html I have my nagios server's IP in the allowed_hosts list within nrpe.cfg I also have this set (per instructions in below link) command_prefix=/usr/bin/sudo At this point - when I run one of the check (check_disk) scripts locally (on the AIX system) that the NRPE package installed, I am able to get a result # check_disk -w 85 -c 95 DISK CRITICAL - free space: / 307 MB (79% inode=98%); (only copied the first item, but there was a lot of output) However, I cannot seem to get my check from my Nagios system to work properly. nagios at UbuntuTest:/usr/local/nagios/libexec$ ./check_nrpe -H 192.168.3.15 -n -c check_aix_disks NRPE: Unable to read output The corresponding command in the nrpe.cfg on the AIX system: command[check_aix_disks]=/usr/local/nagios/libexec/check_disk -w 10m -c 2m -x /proc At this point, I'm unsure of what I need to do in order to get this working. If anyone could provide a possible direction, I would be most grateful! Thanks, Daniel Ceola Systems & DB Admin The Wills Group 6355 Crain Hwy La Plata, MD 20646 301-932-3600 301-932-3643 (direct line) -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its next-generation tools to help Windows* and Linux* C/C++ and Fortran developers boost performance applications - including clusters. http://p.sf.net/sfu/intel-dev2devmay -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed May 18 15:27:05 2011 From: ae at op5.se (Andreas Ericsson) Date: Wed, 18 May 2011 15:27:05 +0200 Subject: [Nagios-devel] RFC/RFP: Service parents In-Reply-To: <4DD3A978.7050407@LINworks.de> References: <4DD2385E.5020407@op5.se> <4DD39ACF.9010606@op5.se> <4DD3A978.7050407@LINworks.de> Message-ID: <4DD3C929.7090507@op5.se> On 05/18/2011 01:11 PM, Jochen Bern wrote: > On 05/18/2011 12:09 PM, Andreas Ericsson wrote: >> A service that returns OK when its parent has returned non-OK is >> obviously misconfigured (since it really shouldn't be ok with a non-OK >> parent) > > Probably just a tangent, but I strongly disagree with this statement. > You *don't* want to try and parse a complex web page for the > marketing-dpt-configurable, non-User-Experience-disrupting error message > du jour when you can just check the handful data-providing backend > services directly via their well-defined interfaces. > Err... You seem to be disagreeing with the example case rather than this particular statement. I wholeheartedly agree with you that it's far better to check the underlying services than just the end product, but it still usually doesn't make sense to have all of those services being parents to the "ultimate" check, and it certainly doesn't make sense to have the "ultimate" service check be a child of just one such component that makes up the entire web-service (or whatever it might be). > [ Sometimes I wonder whether we should switch logfiles to HTML to > get web developers interested in what they write to them.>:-C] > An exercise in futility. Teach them regex-fu instead and refuse to add CSS tags until they've made their logmessages regex-searchable in some sane way. -- 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. ------------------------------------------------------------------------------ What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its next-generation tools to help Windows* and Linux* C/C++ and Fortran developers boost performance applications - including clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stephanie_Gelder at walkergreenbank.co.uk Wed May 18 15:26:59 2011 From: Stephanie_Gelder at walkergreenbank.co.uk (Stephanie Gelder) Date: Wed, 18 May 2011 14:26:59 +0100 Subject: RESOLVED - Services Not being checked In-Reply-To: <1127F3C2-8948-4468-926D-999851FAE4E4@linux.it> References: <4DD3C19F020000300003D17C@mailhost.walkergreenbank.co.uk> <1127F3C2-8948-4468-926D-999851FAE4E4@linux.it> Message-ID: <4DD3D733020000300003D19B@mailhost.walkergreenbank.co.uk> Hi Giorgio THANK YOU. What an idiot I am. I copied a load the stuff over from the old server but of course, I had not copied over the printer-service settings, as a quick check I changed it back to generic-service and it's started to work straight away, as soon as you said that I realised what I have done. I've tested and had the services go onto the second attempt which is when they put it off for a week, and it's worked. One last time. THANK YOU, I could kiss you I'm so happy!!!!!! Stephanie >>> From: Giorgio Zarrelli To:Nagios Users List CC:"" Date: 18/05/2011 13:50 Subject: Re: [Nagios-users] Services Not being checked Hi I'm on mobile so I can miss something. Can you show me the printer-service template definition? Ciao, Giorgio Il giorno 18/mag/2011, alle ore 13:54, "Stephanie Gelder" ha scritto: Hi. I'm ok with Nagios, but I'm not linux guru so treat me gently :) I have reinstalled Nagios onto a new Server it was running on a very old pc that had hardware issues. So I've now re-installed it on a Dell R300 with 16 Gig of memory complete overkill but it's what I had available. I am running Nagios Core 3.2.3 on Fedora Linux. [root at nagios]# uname -a Linux nagios.***.*** 2.6.35.13-91.fc14.x86_64 #1 SMP Tue May 3 13:23:06 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux I have problems with checking services I have at the moment 107 devices on it printers and switches, (the old bashed up PC had around 300 devices on it and worked fine before the hardware died). Anyway I am trying to monitor services and for all the switches it seems fine, but for all of the printers it's not working. Automatically so I am wondering if i've done something wrong but I cannot work out what is wrong it all appears to be fine, please see below. But when I try monitoring services it will start and for the odd printer work fine but the next printer in the list it will not work for and what happens is it check the service once and it's fine but then when it comes to do the second check on either the check_ping or check_printer service it either disables checking the service or moves the date forward a week for the next check. I'm stuck as to why these services are either not being checked or put forward to only check them in a weeks time. All my switches that work are in a group called generic-switch I've tried putting half a dozen of the printers into generic-switch instead of novell-printer and they have exactly the same results so I don't think it's got anything to do with that. Any help would be appreciated. Stephanie In the nagios.log file after trying to run a service the second time it shows up as below:- Warning: Check of service 'PING' on host 'ANS-ACCOUNTS01' could not be rescheduled properly. Scheduling check for next week... [1305715325] Warning: Check of service 'Printer Status' on host 'ANS-ACCOUNTS01' could not be rescheduled properly. Scheduling check for next week... So using this example:- printers.cfg includes define host{ use novell-printer host_name ANS-ACCOUNTS01 alias Dell Colour Laser 5110cn parents LGH-242 icon_image printer.png statusmap_image printer.gd2 address ***.***.***.*** } define hostgroup{ hostgroup_name LGH-NOV alias *** - Novell Printers members **,ANS-ACCOUNTS01,**,**,**,**,** } define service{ use printer-service host_name ANS-ACCOUNTS01,**,**,**,**,** service_description Printer Status check_command check_printer! normal_check_interval 2 retry_check_interval 1 } define service{ use printer-service host_name ANS-ACCOUNTS01,**,**,**,** service_description PING check_command check_ping!3000.0,80%!5000.0,100% normal_check_interval 5 retry_check_interval 1 } In the templates.cfg file:- define host{ name generic-host ; The name of this host template notifications_enabled 1 ; Host notifications are enabled event_handler_enabled 1 ; Host event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled failure_prediction_enabled 1 ; Failure prediction is enabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information 1 ; Retain non-status information across program restarts notification_period 24x7 ; Send host notifications at any time register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE! } define host{ name novell-printer ; The name of this host template use generic-host ; Inherit these default values check_period 24x7 ; By default, printers are monitored round the clock check_interval 2 ; Actively check the printer every 2 minutes retry_interval 1 ; Schedule host check retries at 1 minute intervals max_check_attempts 10 ; Check each printer 10 times (max) check_command check-host-alive ; Default command to check if printers are "alive" notification_period 24x7 ; Printers are only used during the workday notification_interval 60 ; Resend notifications every 30 minutes notification_options d,r ; Only send notifications for specific host states contact_groups admins ; Notifications get sent to the admins by default register 0 ; DONT REGISTER THIS - ITS JUST A TEMPLATE } In the timeperiods.cfg file:- define timeperiod{ timeperiod_name 24x7 alias 24 Hours A Day, 7 Days A Week sunday 00:00-24:00 monday 00:00-24:00 tuesday 00:00-24:00 wednesday 00:00-24:00 thursday 00:00-24:00 friday 00:00-24:00 saturday 00:00-24:00 } IMPORTANT This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the sender and delete the email. Walker Greenbank PLC is a company registered in England and Wales registered number 61880. Registered office: Chalfont House, Oxford Road, Denham UB9 4DX. ------------------------------------------------------------------------------ What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its next-generation tools to help Windows* and Linux* C/C++ and Fortran developers boost performance applications - including clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null IMPORTANT This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the sender and delete the email. Walker Greenbank PLC is a company registered in England and Wales registered number 61880. Registered office: Chalfont House, Oxford Road, Denham UB9 4DX. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its next-generation tools to help Windows* and Linux* C/C++ and Fortran developers boost performance applications - including clusters. http://p.sf.net/sfu/intel-dev2devmay -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zarrelli at linux.it Wed May 18 15:36:09 2011 From: zarrelli at linux.it (Giorgio Zarrelli) Date: Wed, 18 May 2011 15:36:09 +0200 Subject: RESOLVED - Services Not being checked In-Reply-To: <4DD3D733020000300003D19B@mailhost.walkergreenbank.co.uk> References: <4DD3C19F020000300003D17C@mailhost.walkergreenbank.co.uk> <1127F3C2-8948-4468-926D-999851FAE4E4@linux.it> <4DD3D733020000300003D19B@mailhost.walkergreenbank.co.uk> Message-ID: Hi, great, but I did nothing, you found the solution. What a pity, I do not deserve the reward ;-) Ciao, Giorgio Il giorno 18/mag/2011, alle ore 15:26, "Stephanie Gelder" ha scritto: > Hi Giorgio > > THANK YOU. > > What an idiot I am. I copied a load the stuff over from the old server but of course, I had not copied over the printer-service settings, as a quick check I changed it back to generic-service and it's started to work straight away, as soon as you said that I realised what I have done. I've tested and had the services go onto the second attempt which is when they put it off for a week, and it's worked. > > One last time. THANK YOU, I could kiss you I'm so happy!!!!!! > > Stephanie > > >>> > From: Giorgio Zarrelli > To: Nagios Users List > CC: "" > Date: 18/05/2011 13:50 > Subject: Re: [Nagios-users] Services Not being checked > Hi > > I'm on mobile so I can miss something. > > Can you show me the printer-service template definition? > > Ciao, > > Giorgio > > Il giorno 18/mag/2011, alle ore 13:54, "Stephanie Gelder" ha scritto: > >> Hi. >> >> I'm ok with Nagios, but I'm not linux guru so treat me gently :) >> >> I have reinstalled Nagios onto a new Server it was running on a very old pc that had hardware issues. So I've now re-installed it on a Dell R300 with 16 Gig of memory complete overkill but it's what I had available. >> >> I am running Nagios Core 3.2.3 on Fedora Linux. >> [root at nagios]# uname -a >> Linux nagios.***.*** 2.6.35.13-91.fc14.x86_64 #1 SMP Tue May 3 13:23:06 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux >> >> I have problems with checking services I have at the moment 107 devices on it printers and switches, (the old bashed up PC had around 300 devices on it and worked fine before the hardware died). Anyway I am trying to monitor services and for all the switches it seems fine, but for all of the printers it's not working. Automatically so I am wondering if i've done something wrong but I cannot work out what is wrong it all appears to be fine, please see below. But when I try monitoring services it will start and for the odd printer work fine but the next printer in the list it will not work for and what happens is it check the service once and it's fine but then when it comes to do the second check on either the check_ping or check_printer service it either disables checking the service or moves the date forward a week for the next check. >> >> I'm stuck as to why these services are either not being checked or put forward to only check them in a weeks time. >> >> All my switches that work are in a group called generic-switch >> >> I've tried putting half a dozen of the printers into generic-switch instead of novell-printer and they have exactly the same results so I don't think it's got anything to do with that. Any help would be appreciated. >> >> Stephanie >> >> In the nagios.log file after trying to run a service the second time it shows up as below:- >> >> Warning: Check of service 'PING' on host 'ANS-ACCOUNTS01' could not be rescheduled properly. Scheduling check for next week... >> [1305715325] Warning: Check of service 'Printer Status' on host 'ANS-ACCOUNTS01' could not be rescheduled properly. Scheduling check for next week... >> >> So using this example:- >> >> printers.cfg includes >> >> define host{ >> use novell-printer >> host_name ANS-ACCOUNTS01 >> alias Dell Colour Laser 5110cn >> parents LGH-242 >> icon_image printer.png >> statusmap_image printer.gd2 >> address ***.***.***.*** >> } >> >> >> define hostgroup{ >> hostgroup_name LGH-NOV >> alias *** - Novell Printers >> members **,ANS-ACCOUNTS01,**,**,**,**,** >> } >> define service{ >> use printer-service >> host_name ANS-ACCOUNTS01,**,**,**,**,** >> service_description Printer Status >> check_command check_printer! >> normal_check_interval 2 >> retry_check_interval 1 >> } >> >> define service{ >> use printer-service >> host_name ANS-ACCOUNTS01,**,**,**,** >> service_description PING >> check_command check_ping!3000.0,80%!5000.0,100% >> normal_check_interval 5 >> retry_check_interval 1 >> } >> In the templates.cfg file:- >> >> >> define host{ >> name generic-host ; The name of this host template >> notifications_enabled 1 ; Host notifications are enabled >> event_handler_enabled 1 ; Host event handler is enabled >> flap_detection_enabled 1 ; Flap detection is enabled >> failure_prediction_enabled 1 ; Failure prediction is enabled >> process_perf_data 1 ; Process performance data >> retain_status_information 1 ; Retain status information across program restarts >> retain_nonstatus_information 1 ; Retain non-status information across program restarts >> notification_period 24x7 ; Send host notifications at any time >> register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE! >> } >> >> define host{ >> name novell-printer ; The name of this host template >> use generic-host ; Inherit these default values >> check_period 24x7 ; By default, printers are monitored round the clock >> check_interval 2 ; Actively check the printer every 2 minutes >> retry_interval 1 ; Schedule host check retries at 1 minute intervals >> max_check_attempts 10 ; Check each printer 10 times (max) >> check_command check-host-alive ; Default command to check if printers are "alive" >> notification_period 24x7 ; Printers are only used during the workday >> notification_interval 60 ; Resend notifications every 30 minutes >> notification_options d,r ; Only send notifications for specific host states >> contact_groups admins ; Notifications get sent to the admins by default >> register 0 ; DONT REGISTER THIS - ITS JUST A TEMPLATE >> } >> >> >> In the timeperiods.cfg file:- >> define timeperiod{ >> timeperiod_name 24x7 >> alias 24 Hours A Day, 7 Days A Week >> sunday 00:00-24:00 >> monday 00:00-24:00 >> tuesday 00:00-24:00 >> wednesday 00:00-24:00 >> thursday 00:00-24:00 >> friday 00:00-24:00 >> saturday 00:00-24:00 >> } >> >> >> >> >> IMPORTANT This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the sender and delete the email. Walker Greenbank PLC is a company registered in England and Wales registered number 61880. Registered office: Chalfont House, Oxford Road, Denham UB9 4DX. > >> ------------------------------------------------------------------------------ >> What Every C/C++ and Fortran developer Should Know! >> Read this article and learn how Intel has extended the reach of its >> next-generation tools to help Windows* and Linux* C/C++ and Fortran >> developers boost performance applications - including clusters. >> http://p.sf.net/sfu/intel-dev2devmay > >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null > > > IMPORTANT This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the sender and delete the email. Walker Greenbank PLC is a company registered in England and Wales registered number 61880. Registered office: Chalfont House, Oxford Road, Denham UB9 4DX. > > ------------------------------------------------------------------------------ > What Every C/C++ and Fortran developer Should Know! > Read this article and learn how Intel has extended the reach of its > next-generation tools to help Windows* and Linux* C/C++ and Fortran > developers boost performance applications - including clusters. > http://p.sf.net/sfu/intel-dev2devmay > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its next-generation tools to help Windows* and Linux* C/C++ and Fortran developers boost performance applications - including clusters. http://p.sf.net/sfu/intel-dev2devmay -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From prandal at herefordshire.gov.uk Wed May 18 15:35:57 2011 From: prandal at herefordshire.gov.uk (Randal, Phil) Date: Wed, 18 May 2011 13:35:57 +0000 Subject: Problems with exchange.nagios.org Message-ID: <7CA580B59C1ABD45B4614ED90D4C7B853ACD63A4@HC-EXMBX02.herefordshire.gov.uk> Looks like the backend's fallen over. When trying to download a plugin: "Database Error: Unable to connect to the database:Could not connect to MySQL" Cheers, Phil -- Phil Randal | Infrastructure Engineer NHS Herefordshire & Herefordshire Council | Deputy Chief Executive's Office | I.C.T. Services Division Thorn Office Centre, Rotherwas, Hereford, HR2 6JT Tel: 01432 260160 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its next-generation tools to help Windows* and Linux* C/C++ and Fortran developers boost performance applications - including clusters. http://p.sf.net/sfu/intel-dev2devmay -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zarrelli at linux.it Wed May 18 15:41:50 2011 From: zarrelli at linux.it (Giorgio Zarrelli) Date: Wed, 18 May 2011 15:41:50 +0200 Subject: Check_NRPE on AIX In-Reply-To: <40B7337A7D70B149A34D5A0FD9FDFA8C010780@twgiex.twgi.net> References: <40B7337A7D70B149A34D5A0FD9FDFA8C010780@twgiex.twgi.net> Message-ID: <905ED53E-E7D1-46EE-9AFA-0E8283F377C6@linux.it> Sorry for the previous Ciao, Giorgio Il giorno 18/mag/2011, alle ore 15:26, Daniel Ceola ha scritto: > Hello all! > > > > I?ve recently been attempting to setup monitoring on my AIX 5.3 servers. After some research, I determined that the best way to accomplish this is through using NRPE. I downloaded the package here: https://www.monitoringexchange.org/inventory/Check-Plugins/Operating-Systems/AIX/AIX-5-3-NRPE-2-12-NSCA-2-7-2-Nagios-Plugins-1-4-11 and followed instructions here http://nagioswiki.com/wiki/index.php/Installing_Nagios_NRPE_on_AIX to install NRPE on the AIX system. I then found an item in the nagios-users archive that suggested that I needed to install sudo on the AIX system and change the NRPE config to use sudo for the commands. http://www.mail-archive.com/nagios-users at lists.sourceforge.net/msg31668.html > > > > > > I have my nagios server?s IP in the allowed_hosts list within nrpe.cfg > > I also have this set (per instructions in below link) command_prefix=/usr/bin/sudo > > > > > > At this point ? when I run one of the check (check_disk) scripts locally (on the AIX system) that the NRPE package installed, I am able to get a result > > > > # check_disk -w 85 -c 95 > > DISK CRITICAL - free space: / 307 MB (79% inode=98%); (only copied the first item, but there was a lot of output) > > > > However, I cannot seem to get my check from my Nagios system to work properly. > > nagios at UbuntuTest:/usr/local/nagios/libexec$ ./check_nrpe -H 192.168.3.15 -n -c check_aix_disks > > NRPE: Unable to read output > > > > The corresponding command in the nrpe.cfg on the AIX system: > command[check_aix_disks]=/usr/local/nagios/libexec/check_disk -w 10m -c 2m -x /proc > > > > > > > > At this point, I?m unsure of what I need to do in order to get this working. If anyone could provide a possible direction, I would be most grateful! > > > > > > > > Thanks, > > > > Daniel Ceola > > Systems & DB Admin > > > > The Wills Group > > 6355 Crain Hwy > > La Plata, MD 20646 > > 301-932-3600 > > 301-932-3643 (direct line) > > > > ------------------------------------------------------------------------------ > What Every C/C++ and Fortran developer Should Know! > Read this article and learn how Intel has extended the reach of its > next-generation tools to help Windows* and Linux* C/C++ and Fortran > developers boost performance applications - including clusters. > http://p.sf.net/sfu/intel-dev2devmay > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its next-generation tools to help Windows* and Linux* C/C++ and Fortran developers boost performance applications - including clusters. http://p.sf.net/sfu/intel-dev2devmay -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zarrelli at linux.it Wed May 18 15:41:14 2011 From: zarrelli at linux.it (Giorgio Zarrelli) Date: Wed, 18 May 2011 15:41:14 +0200 Subject: Check_NRPE on AIX In-Reply-To: <40B7337A7D70B149A34D5A0FD9FDFA8C010780@twgiex.twgi.net> References: <40B7337A7D70B149A34D5A0FD9FDFA8C010780@twgiex.twgi.net> Message-ID: Hi Make a test. Go on the system as the nrpe user, th Ciao Giorgio Il giorno 18/mag/2011, alle ore 15:26, Daniel Ceola ha scritto: > Hello all! > > > > I?ve recently been attempting to setup monitoring on my AIX 5.3 servers. After some research, I determined that the best way to accomplish this is through using NRPE. I downloaded the package here: https://www.monitoringexchange.org/inventory/Check-Plugins/Operating-Systems/AIX/AIX-5-3-NRPE-2-12-NSCA-2-7-2-Nagios-Plugins-1-4-11 and followed instructions here http://nagioswiki.com/wiki/index.php/Installing_Nagios_NRPE_on_AIX to install NRPE on the AIX system. I then found an item in the nagios-users archive that suggested that I needed to install sudo on the AIX system and change the NRPE config to use sudo for the commands. http://www.mail-archive.com/nagios-users at lists.sourceforge.net/msg31668.html > > > > > > I have my nagios server?s IP in the allowed_hosts list within nrpe.cfg > > I also have this set (per instructions in below link) command_prefix=/usr/bin/sudo > > > > > > At this point ? when I run one of the check (check_disk) scripts locally (on the AIX system) that the NRPE package installed, I am able to get a result > > > > # check_disk -w 85 -c 95 > > DISK CRITICAL - free space: / 307 MB (79% inode=98%); (only copied the first item, but there was a lot of output) > > > > However, I cannot seem to get my check from my Nagios system to work properly. > > nagios at UbuntuTest:/usr/local/nagios/libexec$ ./check_nrpe -H 192.168.3.15 -n -c check_aix_disks > > NRPE: Unable to read output > > > > The corresponding command in the nrpe.cfg on the AIX system: > command[check_aix_disks]=/usr/local/nagios/libexec/check_disk -w 10m -c 2m -x /proc > > > > > > > > At this point, I?m unsure of what I need to do in order to get this working. If anyone could provide a possible direction, I would be most grateful! > > > > > > > > Thanks, > > > > Daniel Ceola > > Systems & DB Admin > > > > The Wills Group > > 6355 Crain Hwy > > La Plata, MD 20646 > > 301-932-3600 > > 301-932-3643 (direct line) > > > > ------------------------------------------------------------------------------ > What Every C/C++ and Fortran developer Should Know! > Read this article and learn how Intel has extended the reach of its > next-generation tools to help Windows* and Linux* C/C++ and Fortran > developers boost performance applications - including clusters. > http://p.sf.net/sfu/intel-dev2devmay > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its next-generation tools to help Windows* and Linux* C/C++ and Fortran developers boost performance applications - including clusters. http://p.sf.net/sfu/intel-dev2devmay -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed May 18 16:24:46 2011 From: ae at op5.se (Andreas Ericsson) Date: Wed, 18 May 2011 16:24:46 +0200 Subject: [Nagios-users] Problems with exchange.nagios.org In-Reply-To: <7CA580B59C1ABD45B4614ED90D4C7B853ACD63A4@HC-EXMBX02.herefordshire.gov.uk> References: <7CA580B59C1ABD45B4614ED90D4C7B853ACD63A4@HC-EXMBX02.herefordshire.gov.uk> Message-ID: <4DD3D6AE.9010402@op5.se> On 05/18/2011 03:35 PM, Randal, Phil wrote: > Looks like the backend's fallen over. > > When trying to download a plugin: > > "Database Error: Unable to connect to the database:Could not connect to MySQL" > It happens sometimes when there are lots of people browsing the exchange site, as is usually the case after a large Nagios conference. There was one in Italy last week. Give it 15-30 minutes or so and then try a couple of times again. -- 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. ------------------------------------------------------------------------------ What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its next-generation tools to help Windows* and Linux* C/C++ and Fortran developers boost performance applications - including clusters. http://p.sf.net/sfu/intel-dev2devmay From ae at op5.se Wed May 18 16:23:25 2011 From: ae at op5.se (Andreas Ericsson) Date: Wed, 18 May 2011 16:23:25 +0200 Subject: Notification configuration (Was RFC/RFP: Service parents) In-Reply-To: References: Message-ID: <4DD3D65D.7010004@op5.se> On 05/18/2011 02:12 PM, Max Schubert wrote: > Andreas, > > On Tue, May 17, 2011 at 7:57 AM, Andreas Ericsson wrote: >>> Any plans to detatch notification attributes from service / host >>> definitions in 4.x and make them their own top-level configuration >>> class like escalations to make it easier to scale notification >>> definitions for large projects? >>> >> >> Not really. What would such an object look like? How would it add >> additional benefit compared to using templates for hosts and services? >> I think if I could just see some sort of example definition of it I'd >> get an inkling of why some seem to think it's such a great idea. Right >> now, I see no additional benefit to it. > > It would look just like an escalation. So why not just use normal escalations then? The normal case is not the global superlarge company, but a team of admins all sharing responsibility for a limited number of hosts. > What doesn't work well for > large configurations with notification policies being stuck into host > and service objects is this scenario (which is the one we are in at > work by design): > * Multiple configuration editors who own various parts of the Nagios > configuration tree - in our case this used to be one big tree, now we > have set up separate trees for separate projects - we have about 20-30 > people who can edit their project-specific configurations. Again not the normal case. > * A set of services that are global in nature - service -> hostgroup > -> host - baseline monitoring required by all projects using > standards established by multiple organizations in our company - for > our example, base host monitoring with an SNMP agent (6 services > across every host) - we have other global services as well and a core > team who develop, maintain an augment both our distributed Nagios > software and these global services and configurations > * A set of services that are specific to each project using our > distributed variant of Nagios - managed by subject matter experts on > each team. > > With this scenario, how do we let each group that is responsible for > hosts that have these global services on them create individually > tailored notification policies since there is one notification policy > per service? > * We configure our base service and host to 'notify' on every state > change using the command name do_nothing > * We created a custom patch so that when the string 'do_nothing' is > seen in the command name this state change only increments the > notification count - it does not trigger any external command to run Good example of "making the unusual possible". Would it suffice to add an internal command in Nagios so that some magic marker, such as ':' (without the quotes) causes no command to be run? The nifty part of using the common colon as a magic thing for this is that it's sort of backwards compatible, as it's been a builtin version of "/bin/true" in shells since forever. > * We created a patch (partial - no serialization to disk) for > escalation logic that tracks in memory when a fault escalation was > sent so that OK escalations are only sent in response to something > that was in a fault state. We are working on completing this patch so > that across restarts the state is saved. Nice! I'd implement this as an external list of contacts that have been notified of the problem state and therefore should be notified of the recovery. Make the list accessable through a hash table with the object name as the key and just walk the (sorted) list of contacts to be notified when the problem goes away and you'll have the complete list of contacts to notify to. Unfortunately, adding additional pointers in the object is a no-go due to ABI compatibility. I'd happily accept such a patch in a heartbeat, as it'd remove a bit of complexity in the current code without altering or removing any API's that broker modules might use. > * We have all groups use escalations to define their notification > policies - the service and host notification commands then trigger our > distributed pollers to send escalation requests to a network-based > notification service we have that then lets the notification requests > trigger email, SMS, SNMP traps, etc without having to re-configure > Nagios for every notification transport /. method change. > > Yeah, it is very ugly, and why? Because 1 notification policy per > service, that doesn't scale well when taking advantage of service -> > hostgroup -> host mappings, which is a critical pattern to use when > scaling a configuration. > In your case, I'd probably implement the notification logic outside of Nagios. That would give you all the flexibility you need, and it certainly seems like you have the manpower and experience to hack up such a NagINot (Nagios Intelligent Notifications) addon. I could imagine it being extremely useful as well, in particular if it uses either an external daemon or an sqlite database so it's easy to use. > We have over 9000 hosts being monitored by our distributed framework > (and growing) with around 30 configuration editors and 120+ users. > Our distributed framework was centralized and a ''one project for all" > but now is a cluster of distributed set ups, one distributed set up > per project, which is scaling nicely. Our largest distributed > installations have 3900 and 5100 hosts in them respectively - we have > 4 other distributed instances that are just getting ramped up and only > have a few dozen hosts apiece at this point. > A "bit" larger than the average network then ;) > So while this is ugly, it works! All editors can define escalation > objects that take into account both their individual needs for global > service notifications as well as any project-specific notifications - > and by putting project-specific hosts in project-specific host groups, > for most groups, two escalation policy definitions are all that are > needed per project - one for hosts, one for services. > > If all notifications were just done through an escalation like > configuration object, life for a big project would be much easier. Yes, but big projects are not the norm, and big projects usually can afford to get the know-how of how to work around the glitches. Making the learning curve of Nagios less steep would make more companies and home users start to use it, which in the long term means that someone will come up with a stellar way of managing notifications. > 1) Having notifications clearly separated as their own configuration > template in the Nagios DSL makes it much less confusing for people new > to Nagios to understand 'where to configure notifications' I doubt it. Keeping the different types of objects and their various interdependencies to a minimum would be a far better way of achieving that goal imo. The most frequent question on nagios-users from (really) new users seems to be "how do I configure a host to be monitored?". Making that first step easy so new users see good use in Nagios would make it a lot more alluring for them to learn more and get more advanced as time goes by. > 2) The configuration flexibility of the escalation template makes it > very easy to work with for a large configuration. > True, but with flexibility comes complexity. I certainly don't want to reduce flexibility, but removing simplicity to extend the current flexibility isn't really an option. > Our global and project specific scenario and all the notification > changes we made is also serving us very well as we grow. > That's good to hear. > Notifications as separate objects would let us back out a number of > patches and would reallly simplify our configuraiton and let our > pollers run hotter . > What patches are those? I'm sure some of them could be of use in the Nagios core, or perhaps as a separate notification module. Also, if you were to explain the needs in terms of use-cases, perhaps I can devise some way for you to patch the core which is acceptable for the mainline code so you won't have to maintain a separate shallow fork of Nagios just because you're a (very) large corporation with all of a large corporation's special needs. I'd be happy to help with design decisions and patch review even if I'm reluctant to commit to any coding myself on something that neither me nor my employer really needs right now. -- 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. ------------------------------------------------------------------------------ What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its next-generation tools to help Windows* and Linux* C/C++ and Fortran developers boost performance applications - including clusters. http://p.sf.net/sfu/intel-dev2devmay From ae at op5.se Wed May 18 16:43:51 2011 From: ae at op5.se (Andreas Ericsson) Date: Wed, 18 May 2011 16:43:51 +0200 Subject: RFC/RFP Nagios command workers Message-ID: <4DD3DB27.2010903@op5.se> Ahoy again. Since discussion on the last requests for comments and patches has splintered off and gotten somewhere, it's time for the next mail in the series of what us awesome gods of the Nagios core decided to work on for the next grand version of Nagios. This idea comes from Shinken, mod_gearman and DNX which have all implemented versions of it, so creds and kudos to the authors of those projects. Currently, Nagios eats quite a lot of I/O when writing, scanning for and reading the check result files. This becomes especially noticeable in large installations. There's also the problem of Nagios using a lot more copied memory per fork than it's supposed to, and the fact that embedding scripting languages inside the Nagios core to speed up execution is a potentially disastrous action (as the debacle with embedded Perl has proven to be). The idea to solve all of that is to fork() off a set of worker threads at startup that free()'s all possible memory and re-connects to the master process via a unix domain socket (or network socket that by default only listens to the localhost address) to receive requests to run commands and return the results of those commands. This has several benefits, although they're not immediately user visible. * I/O load will decrease significantly, leaving more disk throughput capacity for performance data graphing or status data database solutions. * Scripting languages can be embedded regardless of memory leaks and whatnot, since worker daemons can be killed off and respawned every 50000 checks (or something), thus causing the kernel to clean up any and all leaked memory. * Nagios core can be single-threaded, which means higher portability, less memory usage and more robust code. * Eventbroker modules that use a socket to communicate with an external daemon can instead register a handler for inbound packets and then simply "own" that connection and get all future packets from it forwarded as eventbroker events. This will ofcourse reduce the module complexity quite a bit for nearly all much-used modules today (Merlin, livestatus, DNX, mod_gearman, NDOUtils, etc...) * It becomes possible to receive responses from Nagios when submitting commands (the current FIFO pipe is one-way communication only). Drawbacks: * It's quite a large and invasive change to the nagios core which will require a lot of testing. I know some people I met in Italy have already volunteered to help implementing and testing this (Hi Cheik), but it would definitely be helpful to get feedback from module authors and users when making this change to Nagios. Please note that a compatibility daemon which continues to parse the simple FIFO will ofcourse have to be implemented so that current scripts and whatnot keep on working, and the API to scan for and read check result files will also remain for the foreseeable future, although possibly implemented as an external helper program which can ship check results into the Nagios socket instead. Comments, patches and (before summer's out) testing is very much appreciated. -- 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. ------------------------------------------------------------------------------ What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its next-generation tools to help Windows* and Linux* C/C++ and Fortran developers boost performance applications - including clusters. http://p.sf.net/sfu/intel-dev2devmay From tyarusso at nagios.com Wed May 18 16:45:25 2011 From: tyarusso at nagios.com (Tony Yarusso) Date: Wed, 18 May 2011 09:45:25 -0500 Subject: Problems with exchange.nagios.org In-Reply-To: <7CA580B59C1ABD45B4614ED90D4C7B853ACD63A4@HC-EXMBX02.herefordshire.gov.uk> References: <7CA580B59C1ABD45B4614ED90D4C7B853ACD63A4@HC-EXMBX02.herefordshire.gov.uk> Message-ID: <4DD3DB85.8090302@nagios.com> I'm working on it. I'm not certain yet, but I think it may have OOMed and started swapping. -- Tony Yarusso Technical Team ___ Nagios Enterprises, LLC Email: tyarusso at nagios.com Web: www.nagios.com ------------------------------------------------------------------------------ What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its next-generation tools to help Windows* and Linux* C/C++ and Fortran developers boost performance applications - including clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Steve.Onotsky at broadridge.com Wed May 18 17:11:40 2011 From: Steve.Onotsky at broadridge.com (Onotsky, Steve x55328) Date: Wed, 18 May 2011 11:11:40 -0400 Subject: RFC/RFP Nagios command workers In-Reply-To: <4DD3DB27.2010903@op5.se> References: <4DD3DB27.2010903@op5.se> Message-ID: <30A417B62E7EE448B3864ADC881CEFD60B08A68A@missemsa01.bsg.ad.adp.com> > -----Original Message----- > From: Andreas Ericsson [mailto:ae at op5.se] > Sent: May-18-11 10:44 > To: Nagios-users at lists.sourceforge.net; nagios-devel > Subject: [Nagios-users] RFC/RFP Nagios command workers > > Ahoy again. > > Since discussion on the last requests for comments and patches has > splintered off and gotten somewhere, it's time for the next mail in > the series of what us awesome gods of the Nagios core decided to > work on for the next grand version of Nagios. > > This idea comes from Shinken, mod_gearman and DNX which have all > implemented versions of it, so creds and kudos to the authors of > those projects. > > Currently, Nagios eats quite a lot of I/O when writing, scanning for > and reading the check result files. This becomes especially noticeable > in large installations. There's also the problem of Nagios using a > lot more copied memory per fork than it's supposed to, and the fact > that embedding scripting languages inside the Nagios core to speed > up execution is a potentially disastrous action (as the debacle with > embedded Perl has proven to be). > > The idea to solve all of that is to fork() off a set of worker > threads at startup that free()'s all possible memory and re-connects > to the master process via a unix domain socket (or network socket > that by default only listens to the localhost address) to receive > requests to run commands and return the results of those commands. > > This has several benefits, although they're not immediately user > visible. > * I/O load will decrease significantly, leaving more disk throughput > capacity for performance data graphing or status data database > solutions. > * Scripting languages can be embedded regardless of memory leaks and > whatnot, since worker daemons can be killed off and respawned every > 50000 checks (or something), thus causing the kernel to clean up > any and all leaked memory. > * Nagios core can be single-threaded, which means higher portability, > less memory usage and more robust code. > * Eventbroker modules that use a socket to communicate with an external > daemon can instead register a handler for inbound packets and then > simply "own" that connection and get all future packets from it > forwarded as eventbroker events. This will ofcourse reduce the module > complexity quite a bit for nearly all much-used modules today > (Merlin, > livestatus, DNX, mod_gearman, NDOUtils, etc...) > * It becomes possible to receive responses from Nagios when submitting > commands (the current FIFO pipe is one-way communication only). > > Drawbacks: > * It's quite a large and invasive change to the nagios core which > will require a lot of testing. > > I know some people I met in Italy have already volunteered to help > implementing and testing this (Hi Cheik), but it would definitely be > helpful to get feedback from module authors and users when making this > change to Nagios. > > Please note that a compatibility daemon which continues to parse the > simple FIFO will ofcourse have to be implemented so that current > scripts > and whatnot keep on working, and the API to scan for and read check > result files will also remain for the foreseeable future, although > possibly implemented as an external helper program which can ship > check results into the Nagios socket instead. > > Comments, patches and (before summer's out) testing is very much > appreciated. > > -- > Andreas Ericsson andreas.ericsson at op5.se > OP5 AB www.op5.se > Tel: +46 8-230225 Fax: +46 8-230231 > Sounds like a fantastic idea. I'm all for it; if I had more available time, I'd gladly volunteer to assist (but as it stands, I'm a man down on my team and have to pick up slack). Best of luck, please keep us posted! Cheers Steve Onotsky Team Lead, Server Support Broadridge Investor Communication Solutions, Canada 5970 Chedworth Way Mississauga ON L5R 4G5 Tel: (905) 507-5328 Fax: (905) 507-5312 Inet: steve.onotsky at broadridge.com Quando omni flunkus moritati. This message and any attachments are intended only for the use of the addressee and may contain information that is privileged and confidential. If the reader of the message is not the intended recipient or an authorized representative of the intended recipient, you are hereby notified that any dissemination of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail and delete the message and any attachments from your system. ------------------------------------------------------------------------------ What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its next-generation tools to help Windows* and Linux* C/C++ and Fortran developers boost performance applications - including clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 18 22:33:19 2011 From: work at paul.dubuc.org (Paul M. Dubuc) Date: Wed, 18 May 2011 16:33:19 -0400 Subject: Q: Service Escalation Recovery Notifications. Message-ID: <4DD42D0F.6020505@paul.dubuc.org> Here is an example from the Nagios 3.2.3 documentation on service escalations. > Recovery Notifications > > Recovery notifications are slightly different than problem notifications > when it comes to escalations. Take the following example: > > define serviceescalation{ > > host_name webserver > > service_description HTTP > > first_notification 3 > > last_notification 5 > > notification_interval 20 > > contact_groups nt-admins,managers > > } > > > > define serviceescalation{ > > host_name webserver > > service_description HTTP > > first_notification 4 > > last_notification 0 > > notification_interval 30 > > contact_groups on-call-support > > } > > > If, after three problem notifications, a recovery notification is sent out > for the service, who gets notified? The recovery is actually the fourth > notification that gets sent out. However, the escalation code is smart > enough to realize that only those people who were notified about the > problem on the third notification should be notified about the recovery. In > this case, the nt-admins and managers contact groups would be notified of > the recovery. My question is who gets the recovery notification after 6 problem notifications? Only on-call-support (the last one notified), or all three contact groups (since all received notifications of the problem)? If only on-call-support (which seems to be the case), how can I ensure that the others get it too? I tried adding a service escalation for the recovery notification, like so in keeping with the above example: define serviceescalation{ host_name webserver service_description HTTP first_notification 2 last_notification 0 escalation_options r contact_groups on-call-support,nt-admins,managers } but that doesn't seem to work. I had thought this fixed the problem but the recovery notification only seems to go to the last contact(s) that were notified of the problem. ------------------------------------------------------------------------------ What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its next-generation tools to help Windows* and Linux* C/C++ and Fortran developers boost performance applications - including clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yuehung.liu at gmail.com Thu May 19 03:57:35 2011 From: yuehung.liu at gmail.com (Yueh-Hung Liu) Date: Thu, 19 May 2011 09:57:35 +0800 Subject: Q: Service Escalation Recovery Notifications. In-Reply-To: <4DD42D0F.6020505@paul.dubuc.org> References: <4DD42D0F.6020505@paul.dubuc.org> Message-ID: by the examples from nagios documentation, only on-call-support will get the 6th and above notifications. On Thu, May 19, 2011 at 4:33 AM, Paul M. Dubuc wrote: > Here is an example from the Nagios 3.2.3 documentation on service escalations. > >> Recovery Notifications >> >> Recovery notifications are slightly different than problem notifications >> when it comes to escalations. Take the following example: >> >> define serviceescalation{ >> >> host_name ? ? ? ? ? ? webserver >> >> service_description ? HTTP >> >> first_notification ? ?3 >> >> last_notification ? ? 5 >> >> notification_interval 20 >> >> contact_groups ? ? ? ? ? ? ? ?nt-admins,managers >> >> } >> >> >> >> define serviceescalation{ >> >> host_name ? ? ? ? ? ? webserver >> >> service_description ? HTTP >> >> first_notification ? ?4 >> >> last_notification ? ? 0 >> >> notification_interval 30 >> >> contact_groups ? ? ? ? ? ? ? ?on-call-support >> >> } >> >> >> If, after three problem notifications, a recovery notification is sent out >> for the service, who gets notified? The recovery is actually the fourth >> notification that gets sent out. However, the escalation code is smart >> enough to realize that only those people who were notified about the >> problem on the third notification should be notified about the recovery. In >> this case, the nt-admins and managers contact groups would be notified of >> the recovery. > > My question is who gets the recovery notification after 6 problem > notifications? ?Only on-call-support (the last one notified), or all three > contact groups (since all received notifications of the problem)? ?If only > on-call-support (which seems to be the case), how can I ensure that the others > get it too? > > I tried adding a service escalation for the recovery notification, like so in > keeping with the above example: > > define serviceescalation{ > > ?host_name ? ? ? ? ? ? webserver > > ?service_description ? HTTP > > ?first_notification ? ?2 > > ?last_notification ? ? 0 > > ?escalation_options ? ? r > > ?contact_groups ? ? ? ? ? ? ? ?on-call-support,nt-admins,managers > > ?} > > but that doesn't seem to work. I had thought this fixed the problem but the > recovery notification only seems to go to the last contact(s) that were > notified of the problem. > > > ------------------------------------------------------------------------------ > What Every C/C++ and Fortran developer Should Know! > Read this article and learn how Intel has extended the reach of its > next-generation tools to help Windows* and Linux* C/C++ and Fortran > developers boost performance applications - including clusters. > http://p.sf.net/sfu/intel-dev2devmay > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its next-generation tools to help Windows* and Linux* C/C++ and Fortran developers boost performance applications - including clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tyarusso at nagios.com Thu May 19 06:45:24 2011 From: tyarusso at nagios.com (Tony Yarusso) Date: Wed, 18 May 2011 23:45:24 -0500 Subject: Problems with exchange.nagios.org In-Reply-To: <7CA580B59C1ABD45B4614ED90D4C7B853ACD63A4@HC-EXMBX02.herefordshire.gov.uk> References: <7CA580B59C1ABD45B4614ED90D4C7B853ACD63A4@HC-EXMBX02.herefordshire.gov.uk> Message-ID: <1305780324.13295.1.camel@timmins> btw, the Exchange should be all better now. Let me know if you find that to not be the case. -- Tony Yarusso Technical Team ___ Nagios Enterprises, LLC Email: tyarusso at nagios.com Web: www.nagios.com ------------------------------------------------------------------------------ What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its next-generation tools to help Windows* and Linux* C/C++ and Fortran developers boost performance applications - including clusters. http://p.sf.net/sfu/intel-dev2devmay From michael.friedrich at univie.ac.at Thu May 19 08:52:01 2011 From: michael.friedrich at univie.ac.at (Michael Friedrich) Date: Thu, 19 May 2011 08:52:01 +0200 Subject: Mass Acknowledge a Service In-Reply-To: References: Message-ID: <4DD4BE11.2040406@univie.ac.at> steve f wrote: > I have a check that checks the size of multiple partitions and we > recently added some data that surpassed the threshold value and I have > over 100 clients alerting. There is nothing I can do about the space > issue, it will go back to normal in a few weeks. > > Is it possible to acknowledge all 100 at once? one of those reasons why we hacked the original cgis for Icinga Classic UI allowing multiple commands to be sent. ofc depending on the apache get restrictions this can be used for various commands, not only mass acknowlegdgements. consider checking out the demo system: http://classic.demo.icinga.org/icinga/ > I do have a service group associated with this check but dont see that > it can be ack'ed all at once. Is it possible to edit the status.dat > file with a reference to a host group instead of a host name to > accomplish this? : > > servicecomment { > host_name=strxxxxxxxx > > *host_group = GROUPNAME HERE* > > service_description=Legacy Partition Size > entry_type=4 > comment_id=129 > source=0 > persistent=0 > entry_time=1305654252 > expires=0 > expire_time=0 > author=Nagios Admin > comment_data=known issue > } > > > ------------------------------------------------------------------------------ > Achieve unprecedented app performance and reliability > What every C/C++ and Fortran developer should know. > Learn how Intel has extended the reach of its next-generation tools > to help boost performance applications - inlcuding clusters. > http://p.sf.net/sfu/intel-dev2devmay > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- DI (FH) Michael Friedrich Vienna University Computer Center Universitaetsstrasse 7 A-1010 Vienna, Austria email: michael.friedrich at univie.ac.at phone: +43 1 4277 14359 mobile: +43 664 60277 14359 fax: +43 1 4277 14338 web: http://www.univie.ac.at/zid http://www.aco.net Icinga Core& IDOUtils Developer http://www.icinga.org -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its next-generation tools to help Windows* and Linux* C/C++ and Fortran developers boost performance applications - including clusters. http://p.sf.net/sfu/intel-dev2devmay -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From member at linkedin.com Thu May 19 09:58:23 2011 From: member at linkedin.com (prasanth katakam via LinkedIn) Date: Thu, 19 May 2011 07:58:23 +0000 (UTC) Subject: Invitation to connect on LinkedIn Message-ID: <1070233863.21585847.1305791903164.JavaMail.app@ela4-bed34.prod> LinkedIn ------------prasanth katakam requested to add you as a connection on LinkedIn: ------------------------------------------ Lei, I'd like to add you to my professional network on LinkedIn. - prasanth Accept invitation from prasanth katakam http://www.linkedin.com/e/y49s6u-gnves8u0-4a/Vg1FBpStI6_M-eFLExlo-pjnfalPIPkLyx3rkqjZdRi1FOrPNoT/blk/I1347960078_3/1BpC5vrmRLoRZcjkkZt5YCpnlOt3RApnhMpmdzgmhxrSNBszYPnPwTc30SejsQcP59bThEtSp9kQVqbPcPdzAQdz4Pej8LrCBxbOYWrSlI/EML_comm_afe/ View invitation from prasanth katakam http://www.linkedin.com/e/y49s6u-gnves8u0-4a/Vg1FBpStI6_M-eFLExlo-pjnfalPIPkLyx3rkqjZdRi1FOrPNoT/blk/I1347960078_3/3dve3sMc3oVdPgPckALqnpPbOYWrSlI/svi/ ------------------------------------------ DID YOU KNOW your LinkedIn profile helps you control your public image when people search for you? Setting your profile as public means your LinkedIn profile will come up when people enter your name in leading search engines. Take control of your image! http://www.linkedin.com/e/y49s6u-gnves8u0-4a/ewp/inv-22/ -- (c) 2011, LinkedIn Corporation -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its next-generation tools to help Windows* and Linux* C/C++ and Fortran developers boost performance applications - including clusters. http://p.sf.net/sfu/intel-dev2devmay -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 19 15:32:56 2011 From: work at paul.dubuc.org (Paul M. Dubuc) Date: Thu, 19 May 2011 09:32:56 -0400 Subject: Q: Service Escalation Recovery Notifications. In-Reply-To: References: <4DD42D0F.6020505@paul.dubuc.org> Message-ID: <4DD51C08.3060101@paul.dubuc.org> OK, but wouldn't it be nice if all contacts who got an error notification were able to get the recovery message instead of just the one last notified? Is there any way to do that? Setting up an explicit serviceescalation for recovery notifications doesn't seem to work. Yueh-Hung Liu wrote: > by the examples from nagios documentation, only on-call-support will > get the 6th and above notifications. > > > On Thu, May 19, 2011 at 4:33 AM, Paul M. Dubuc wrote: >> Here is an example from the Nagios 3.2.3 documentation on service escalations. >> >>> Recovery Notifications >>> >>> Recovery notifications are slightly different than problem notifications >>> when it comes to escalations. Take the following example: >>> >>> define serviceescalation{ >>> >>> host_name webserver >>> >>> service_description HTTP >>> >>> first_notification 3 >>> >>> last_notification 5 >>> >>> notification_interval 20 >>> >>> contact_groups nt-admins,managers >>> >>> } >>> >>> >>> >>> define serviceescalation{ >>> >>> host_name webserver >>> >>> service_description HTTP >>> >>> first_notification 4 >>> >>> last_notification 0 >>> >>> notification_interval 30 >>> >>> contact_groups on-call-support >>> >>> } >>> >>> >>> If, after three problem notifications, a recovery notification is sent out >>> for the service, who gets notified? The recovery is actually the fourth >>> notification that gets sent out. However, the escalation code is smart >>> enough to realize that only those people who were notified about the >>> problem on the third notification should be notified about the recovery. In >>> this case, the nt-admins and managers contact groups would be notified of >>> the recovery. >> >> My question is who gets the recovery notification after 6 problem >> notifications? Only on-call-support (the last one notified), or all three >> contact groups (since all received notifications of the problem)? If only >> on-call-support (which seems to be the case), how can I ensure that the others >> get it too? >> >> I tried adding a service escalation for the recovery notification, like so in >> keeping with the above example: >> >> define serviceescalation{ >> >> host_name webserver >> >> service_description HTTP >> >> first_notification 2 >> >> last_notification 0 >> >> escalation_options r >> >> contact_groups on-call-support,nt-admins,managers >> >> } >> >> but that doesn't seem to work. I had thought this fixed the problem but the >> recovery notification only seems to go to the last contact(s) that were >> notified of the problem. >> >> >> ------------------------------------------------------------------------------ >> What Every C/C++ and Fortran developer Should Know! >> Read this article and learn how Intel has extended the reach of its >> next-generation tools to help Windows* and Linux* C/C++ and Fortran >> developers boost performance applications - including clusters. >> http://p.sf.net/sfu/intel-dev2devmay >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > ------------------------------------------------------------------------------ > What Every C/C++ and Fortran developer Should Know! > Read this article and learn how Intel has extended the reach of its > next-generation tools to help Windows* and Linux* C/C++ and Fortran > developers boost performance applications - including clusters. > http://p.sf.net/sfu/intel-dev2devmay > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its next-generation tools to help Windows* and Linux* C/C++ and Fortran developers boost performance applications - including clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Thu May 19 16:10:39 2011 From: ae at op5.se (Andreas Ericsson) Date: Thu, 19 May 2011 16:10:39 +0200 Subject: Q: Service Escalation Recovery Notifications. In-Reply-To: <4DD51C08.3060101@paul.dubuc.org> References: <4DD42D0F.6020505@paul.dubuc.org> <4DD51C08.3060101@paul.dubuc.org> Message-ID: <4DD524DF.7000108@op5.se> On 05/19/2011 03:32 PM, Paul M. Dubuc wrote: > OK, but wouldn't it be nice if all contacts who got an error notification were > able to get the recovery message instead of just the one last notified? Is > there any way to do that? Setting up an explicit serviceescalation for > recovery notifications doesn't seem to work. > Max Schubert is working on a patch that does something similar to that. If he doesn't complete it, I might take a look at adding it myself. -- 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. ------------------------------------------------------------------------------ What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its next-generation tools to help Windows* and Linux* C/C++ and Fortran developers boost performance applications - including clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wyild1 at gmail.com Fri May 20 00:39:10 2011 From: wyild1 at gmail.com (Ryan Edwards) Date: Thu, 19 May 2011 16:39:10 -0600 Subject: Check_NRPE on AIX In-Reply-To: <40B7337A7D70B149A34D5A0FD9FDFA8C010780@twgiex.twgi.net> References: <40B7337A7D70B149A34D5A0FD9FDFA8C010780@twgiex.twgi.net> Message-ID: i dont know anything about using sudo on AIX. My team monitors 80 different AIX hosts with a mix of 5.3 and 6.1 versions. So just a few points to try - Make sure the user you have set to run nrpe is the user ur testing with. The nrpe cfg has a spot for a username and group. We use user nagios with group system (yes create a nologin AIX account for the nagios user) - Make sure the permissions are set correctly from the plugins to the nrpe.cfg - Test the plugin locally. In your email you said you can run it, but which user? root? test runing the command from the user that is running nrpe. I have a feeling its a file permission problem Cheers! On Wed, May 18, 2011 at 7:26 AM, Daniel Ceola wrote: > Hello all! > > > > I?ve recently been attempting to setup monitoring on my AIX 5.3 servers. > After some research, I determined that the best way to accomplish this is > through using NRPE. I downloaded the package here: > https://www.monitoringexchange.org/inventory/Check-Plugins/Operating-Systems/AIX/AIX-5-3-NRPE-2-12-NSCA-2-7-2-Nagios-Plugins-1-4-11 > and followed instructions here > http://nagioswiki.com/wiki/index.php/Installing_Nagios_NRPE_on_AIX to > install NRPE on the AIX system. I then found an item in the nagios-users > archive that suggested that I needed to install sudo on the AIX system and > change the NRPE config to use sudo for the commands. > http://www.mail-archive.com/nagios-users at lists.sourceforge.net/msg31668.html > > > > > > I have my nagios server?s IP in the allowed_hosts list within nrpe.cfg > > I also have this set (per instructions in below link) > command_prefix=/usr/bin/sudo > > > > > > At this point ? when I run one of the check (check_disk) scripts locally > (on the AIX system) that the NRPE package installed, I am able to get a > result > > > > # check_disk -w 85 -c 95 > > DISK CRITICAL - free space: / 307 MB (79% inode=98%); (only copied the > first item, but there was a lot of output) > > > > However, I cannot seem to get my check from my Nagios system to work > properly. > > nagios at UbuntuTest:/usr/local/nagios/libexec$ ./check_nrpe -H 192.168.3.15 > -n -c check_aix_disks > > NRPE: Unable to read output > > > > The corresponding command in the nrpe.cfg on the AIX system: > command[check_aix_disks]=/usr/local/nagios/libexec/check_disk -w 10m -c 2m > -x /proc > > > > > > > > At this point, I?m unsure of what I need to do in order to get this > working. If anyone could provide a possible direction, I would be most > grateful! > > > > > > > > Thanks, > > > > Daniel Ceola > > Systems & DB Admin > > > > The Wills Group > > 6355 Crain Hwy > > La Plata, MD 20646 > > 301-932-3600 > > 301-932-3643 (direct line) > > > > > ------------------------------------------------------------------------------ > What Every C/C++ and Fortran developer Should Know! > Read this article and learn how Intel has extended the reach of its > next-generation tools to help Windows* and Linux* C/C++ and Fortran > developers boost performance applications - including clusters. > http://p.sf.net/sfu/intel-dev2devmay > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Christianity: The belief that some cosmic Jewish Zombie can make you live forever if you symbolically eat his flesh and telepathically tell him that you accept him as your master, so he can remove an evil force from your soul that is present in humanity because a rib-woman was convinced by a talking snake to eat from a magical tree. Makes perfect sense! -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its next-generation tools to help Windows* and Linux* C/C++ and Fortran developers boost performance applications - including clusters. http://p.sf.net/sfu/intel-dev2devmay -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at isprime.org Fri May 20 05:51:01 2011 From: nagios at isprime.org (Kyle O'Donnell) Date: Thu, 19 May 2011 23:51:01 -0400 Subject: Check_NRPE on AIX Message-ID: Those are the binaries that I compiled and uploaded a couple years ago. We are still using them today, but if you have any issues let me know. I would suggest running the check_disk with the -x /proc as it is in nrpe as the same user nrpe is running as via command line to ensure it behaves as expected I have had no issue using sudo on aix btw. --kyleo On May 18, 2011 9:32 AM, "Daniel Ceola" wrote: -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its next-generation tools to help Windows* and Linux* C/C++ and Fortran developers boost performance applications - including clusters. http://p.sf.net/sfu/intel-dev2devmay -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From trm.nagios at gmail.com Fri May 20 10:24:04 2011 From: trm.nagios at gmail.com (trm asn) Date: Fri, 20 May 2011 13:54:04 +0530 Subject: IBM System x3650 Message-ID: Dear List, Is there any way we can monitor hardware device health for IBM System x3650 , like we can do for HP Proliant servers. /\ dE ------------------------------------------------------------------------------ What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its next-generation tools to help Windows* and Linux* C/C++ and Fortran developers boost performance applications - including clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From maxs at webwizarddesign.com Fri May 20 18:05:37 2011 From: maxs at webwizarddesign.com (Max Schubert) Date: Fri, 20 May 2011 12:05:37 -0400 Subject: [Nagios-devel] Q: Service Escalation Recovery Notifications. In-Reply-To: <4DD524DF.7000108@op5.se> References: <4DD42D0F.6020505@paul.dubuc.org> <4DD51C08.3060101@paul.dubuc.org> <4DD524DF.7000108@op5.se> Message-ID: Hi, On Thu, May 19, 2011 at 10:10 AM, Andreas Ericsson wrote: > On 05/19/2011 03:32 PM, Paul M. Dubuc wrote: >> OK, but wouldn't it be nice if all contacts who got an error notification were >> able to get the recovery message instead of just the one last notified? ?Is >> there any way to do that? ?Setting up an explicit serviceescalation for >> recovery notifications doesn't seem to work. >> > > Max Schubert is working on a patch that does something similar to that. > If he doesn't complete it, I might take a look at adding it myself. I will send out my partial patch to the list sometime today along with an explanation of my thinking / approach for it - feel free to use it or discard it as you see fit :)! - Max ------------------------------------------------------------------------------ What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its next-generation tools to help Windows* and Linux* C/C++ and Fortran developers boost performance applications - including clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Fri May 20 22:22:15 2011 From: ae at op5.se (Andreas Ericsson) Date: Fri, 20 May 2011 22:22:15 +0200 Subject: [Nagios-devel] Q: Service Escalation Recovery Notifications. In-Reply-To: References: <4DD42D0F.6020505@paul.dubuc.org> <4DD51C08.3060101@paul.dubuc.org> <4DD524DF.7000108@op5.se> Message-ID: <4DD6CD77.8040609@op5.se> On 05/20/2011 06:05 PM, Max Schubert wrote: > Hi, > > On Thu, May 19, 2011 at 10:10 AM, Andreas Ericsson wrote: >> On 05/19/2011 03:32 PM, Paul M. Dubuc wrote: >>> OK, but wouldn't it be nice if all contacts who got an error notification were >>> able to get the recovery message instead of just the one last notified? Is >>> there any way to do that? Setting up an explicit serviceescalation for >>> recovery notifications doesn't seem to work. >>> >> >> Max Schubert is working on a patch that does something similar to that. >> If he doesn't complete it, I might take a look at adding it myself. > > I will send out my partial patch to the list sometime today along with > an explanation of my thinking / approach for it - feel free to use it > or discard it as you see fit :)! > Rest assured, I will ;) Our customers have raised voices about simplifying the notification logic though. This discussion actually spawned that voice-raising, which is nice. Either way, it might be that I end up either taking your patch or implementing the "everyone who gets problem notifications also get recovery notifications". -- 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. ------------------------------------------------------------------------------ What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its next-generation tools to help Windows* and Linux* C/C++ and Fortran developers boost performance applications - including clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From terry at cnysupport.com Fri May 20 23:24:45 2011 From: terry at cnysupport.com (Terry Carmen) Date: Fri, 20 May 2011 17:24:45 -0400 Subject: Macro Expansion Problem Message-ID: <20110520172445.66725jrenp9eyakg@www.cnysupport.com> I'm trying to setup a more-or-less generic host file, but am having problems with the %HOSTNAME% macro If I use this, everything is fine: define host{ host_name mymachine hostgroups MyGroup alias mymachine address 10.1.2.100 max_check_attempts 5 contact_groups admins check_command check-host-alive } define service{ use generic-service host_name mymachine service_description PING check_command check_ping!100.0,20%!500.0,60% } If I use this, I get "Error: Could not find any host matching '$HOSTALIAS$'" define host{ host_name mymachine hostgroups MyGroup alias mymachine address 10.1.2.100 max_check_attempts 5 contact_groups admins check_command check-host-alive } define service{ use generic-service host_name %HOSTNAME% service_description PING check_command check_ping!100.0,20%!500.0,60% } I'm probably doing something wrong with the macro, but can't seem to figure out what. Any help would be appreciated. Thanks! Terry ------------------------------------------------------------------------------ What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its next-generation tools to help Windows* and Linux* C/C++ and Fortran developers boost performance applications - including clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From terry at cnysupport.com Sat May 21 00:09:31 2011 From: terry at cnysupport.com (Terry Carmen) Date: Fri, 20 May 2011 18:09:31 -0400 Subject: Macro Expansion Problem In-Reply-To: <20110520172445.66725jrenp9eyakg@www.cnysupport.com> References: <20110520172445.66725jrenp9eyakg@www.cnysupport.com> Message-ID: <20110520180931.18204jwsg5jf5y0w@www.cnysupport.com> Sorry, typo: Should be: Error: Could not find any host matching '$HOSTNAME$'" I?was trying other macros and neither hostname or hostalias worked. Thanks, Terry -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its next-generation tools to help Windows* and Linux* C/C++ and Fortran developers boost performance applications - including clusters. http://p.sf.net/sfu/intel-dev2devmay -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jon at netdork.net Sat May 21 03:52:46 2011 From: jon at netdork.net (Jonathan Angliss) Date: Fri, 20 May 2011 20:52:46 -0500 Subject: Macro Expansion Problem In-Reply-To: <20110520172445.66725jrenp9eyakg@www.cnysupport.com> References: <20110520172445.66725jrenp9eyakg@www.cnysupport.com> Message-ID: On 05/20/11 16:24, Terry Carmen wrote: > I'm trying to setup a more-or-less generic host file, but am having > problems with the %HOSTNAME% macro > > If I use this, everything is fine: > > define host{ > host_name mymachine > hostgroups MyGroup > alias mymachine > address 10.1.2.100 > max_check_attempts 5 > contact_groups admins > check_command check-host-alive > } > > define service{ > use generic-service > host_name mymachine > service_description PING > check_command check_ping!100.0,20%!500.0,60% > } > > If I use this, I get "Error: Could not find any host matching '$HOSTALIAS$'" > > define host{ > host_name mymachine > hostgroups MyGroup > alias mymachine > address 10.1.2.100 > max_check_attempts 5 > contact_groups admins > check_command check-host-alive > } > > define service{ > use generic-service > host_name %HOSTNAME% > service_description PING > check_command check_ping!100.0,20%!500.0,60% > } > > I'm probably doing something wrong with the macro, but can't seem to > figure out what. > > Any help would be appreciated. Of course, $HOSTNAME$ isn't a valid host name. You need to specify the name of a host, or hostgroup. $HOSTNAME$ is expanded at execution time when the check is run, not when Nagios starts. You are more likely to see it in the define command{} section than service. For example: define command { command_line $USER1$/check_http -H $HOSTNAME$ command_name check_http } That's not to say you won't see it defined in a service, but less likely than a command. What made you think $HOSTNAME$ was valid there? If it was valid, what value should it take? What are you trying to achieve? -- Jonathan Angliss ------------------------------------------------------------------------------ What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its next-generation tools to help Windows* and Linux* C/C++ and Fortran developers boost performance applications - including clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From terry at cnysupport.com Sat May 21 05:11:39 2011 From: terry at cnysupport.com (Terry Carmen) Date: Fri, 20 May 2011 23:11:39 -0400 Subject: Macro Expansion Problem In-Reply-To: References: <20110520172445.66725jrenp9eyakg@www.cnysupport.com> Message-ID: <20110520231139.33485ikw1zg2f5wk@www.cnysupport.com> Quoting Jonathan Angliss : > That's not to say you won't see it defined in a service, but less likely > than a command.? What made you think $HOSTNAME$ was valid there? If it > was valid, what value should it take? What are you trying to achieve? I?would like to define it in the "define host" section as below, and have it expanded in the "define service" section right below it (in the same file). It seems inefficient to be required to define an explicit hostname in each section of an object definition. define host{ host_name? ? ? ? ? ? ? ?mymachine hostgroups? ? ? ? ? ? ? MyGroup alias? ? ? ? ? ? ? ? ? ?mymachine address? ? ? ? ? ? ? ? ?10.1.2.100 max_check_attempts? ? ? 5 contact_groups? ? ? ? ? admins check_command? ? ? ? ? ?check-host-alive } define service{ use generic-service host_name? ? ? ?%HOSTNAME% ^^^^^^^^ should expand to mymachine service_description? ? ? ? ? ? ?PING check_command? ? ? ? ? ? ? ? ? ?check_ping!100.0,20%!500.0,60% } -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its next-generation tools to help Windows* and Linux* C/C++ and Fortran developers boost performance applications - including clusters. http://p.sf.net/sfu/intel-dev2devmay -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jon at netdork.net Sat May 21 05:46:29 2011 From: jon at netdork.net (Jonathan Angliss) Date: Fri, 20 May 2011 22:46:29 -0500 Subject: Macro Expansion Problem In-Reply-To: <20110520231139.33485ikw1zg2f5wk@www.cnysupport.com> References: <20110520172445.66725jrenp9eyakg@www.cnysupport.com> <20110520231139.33485ikw1zg2f5wk@www.cnysupport.com> Message-ID: On 05/20/11 22:11, Terry Carmen wrote: > Quoting Jonathan Angliss : > > > > > That's not to say you won't see it defined in a service, but less likely > > than a command. What made you think $HOSTNAME$ was valid there? If it > > was valid, what value should it take? What are you trying to achieve? > > I would like to define it in the "define host" section as below, and > have it expanded in the "define service" section right below it (in the > same file). Nagios has no concept of what is in each file. It simply reads them all, then parses the collective, rather than individually. So you may have a file called printer.cfg and it contain a printer, but Nagios doesn't care. That file convention is for your benefit, making it easier for you to manage. > It seems inefficient to be required to define an explicit hostname in > each section of an object definition. Why? A service can be defined on a single host, or multiple hosts. See above statement, it might make it a little clearer as to why you have to specify it. > > define host{ > host_name mymachine > hostgroups MyGroup > alias mymachine > address 10.1.2.100 > max_check_attempts 5 > contact_groups admins > check_command check-host-alive > } > define service{ > use generic-service > host_name %HOSTNAME% > ^^^^^^^^ should expand to mymachine > > service_description PING > check_command check_ping!100.0,20%!500.0,60% > } A common trick in most package systems is if you want the PING service to be applied to all hosts, then use host_name *, this should expand. -- Jonathan Angliss ------------------------------------------------------------------------------ What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its next-generation tools to help Windows* and Linux* C/C++ and Fortran developers boost performance applications - including clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yuehung.liu at gmail.com Sat May 21 05:49:59 2011 From: yuehung.liu at gmail.com (Yueh-Hung Liu) Date: Sat, 21 May 2011 11:49:59 +0800 Subject: Macro Expansion Problem In-Reply-To: <20110520231139.33485ikw1zg2f5wk@www.cnysupport.com> References: <20110520172445.66725jrenp9eyakg@www.cnysupport.com> <20110520231139.33485ikw1zg2f5wk@www.cnysupport.com> Message-ID: you can use host groups in service definitions On Sat, May 21, 2011 at 11:11 AM, Terry Carmen wrote: > Quoting Jonathan Angliss : > > > >> That's not to say you won't see it defined in a service, but less likely >> than a command.? What made you think $HOSTNAME$ was valid there? If it >> was valid, what value should it take? What are you trying to achieve? > > I?would like to define it in the "define host" section as below, and have it > expanded in the "define service" section right below it (in the same file). > > It seems inefficient to be required to define an explicit hostname in each > section of an object definition. > > define host{ > host_name? ? ? ? ? ? ? ?mymachine > hostgroups? ? ? ? ? ? ? MyGroup > alias? ? ? ? ? ? ? ? ? ?mymachine > address? ? ? ? ? ? ? ? ?10.1.2.100 > max_check_attempts? ? ? 5 > contact_groups? ? ? ? ? admins > check_command? ? ? ? ? ?check-host-alive > } > define service{ > use generic-service > host_name? ? ? ?%HOSTNAME% > ^^^^^^^^ should expand to mymachine > > service_description? ? ? ? ? ? ?PING > check_command? ? ? ? ? ? ? ? ? ?check_ping!100.0,20%!500.0,60% > } > > > > ------------------------------------------------------------------------------ > What Every C/C++ and Fortran developer Should Know! > Read this article and learn how Intel has extended the reach of its > next-generation tools to help Windows* and Linux* C/C++ and Fortran > developers boost performance applications - including clusters. > http://p.sf.net/sfu/intel-dev2devmay > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its next-generation tools to help Windows* and Linux* C/C++ and Fortran developers boost performance applications - including clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From terry at cnysupport.com Sat May 21 14:15:06 2011 From: terry at cnysupport.com (Terry Carmen) Date: Sat, 21 May 2011 08:15:06 -0400 Subject: Macro Expansion Problem In-Reply-To: References: <20110520172445.66725jrenp9eyakg@www.cnysupport.com> <20110520231139.33485ikw1zg2f5wk@www.cnysupport.com> Message-ID: <20110521081506.35222cx7ipgzb7b4@www.cnysupport.com> Quoting Jonathan Angliss : > On 05/20/11 22:11, Terry Carmen wrote: >> Quoting Jonathan Angliss : >> >> >> >>? > That's not to say you won't see it defined in a service, but less likely >>? > than a command. What made you think $HOSTNAME$ was valid there? If it >>? > was valid, what value should it take? What are you trying to achieve? >> >> I would like to define it in the "define host" section as below, and >> have it expanded in the "define service" section right below it (in the >> same file). > > Nagios has no concept of what is in each file.? It simply reads them > all, then parses the collective, rather than individually. OK, that explains it. Thanks! Terry -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its next-generation tools to help Windows* and Linux* C/C++ and Fortran developers boost performance applications - including clusters. http://p.sf.net/sfu/intel-dev2devmay -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stuart.browne at ausregistry.com.au Mon May 23 01:49:45 2011 From: stuart.browne at ausregistry.com.au (Stuart Browne) Date: Mon, 23 May 2011 09:49:45 +1000 Subject: IBM System x3650 In-Reply-To: References: Message-ID: <8CEF048B9EC83748B1517DC64EA130FB569FE07AE5@off-win2003-01.ausregistrygroup.local> > -----Original Message----- > From: trm asn [mailto:trm.nagios at gmail.com] > Sent: Friday, 20 May 2011 6:24 PM > To: Nagios Users List > Subject: [Nagios-users] IBM System x3650 > > Dear List, > > Is there any way we can monitor hardware device health for IBM System > x3650 , like we can do for HP Proliant servers. I wrote something to do check the SNMP state of the fans, temperature and logs. It's not the neatest of code, but it works reasonably well. You may need to modify the model numbers in there if your 3650 isn't a 7979. Stuart J. Browne Senior Unix Administrator, Network Administrator AusRegistry Pty Ltd Level 8, 10 Queens Road Melbourne. Victoria. Australia. 3004. Ph: +61 3 9866 3710 Fax: +61 3 9866 1970 Email: stuart.browne at ausregistry.com.au Web: www.ausregistry.com.au The information contained in this communication is intended for the named recipients only. It is subject to copyright and may contain legally privileged and confidential information and if you are not an intended recipient you must not use, copy, distribute or take any action in reliance on it. If you have received this communication in error, please delete all copies from your system and notify us immediately. -------------- next part -------------- A non-text attachment was scrubbed... Name: rsa_check_snmp.pl Type: application/octet-stream Size: 9372 bytes Desc: rsa_check_snmp.pl URL: -------------- next part -------------- ------------------------------------------------------------------------------ What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its next-generation tools to help Windows* and Linux* C/C++ and Fortran developers boost performance applications - including clusters. http://p.sf.net/sfu/intel-dev2devmay -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at isprime.org Mon May 23 02:50:31 2011 From: nagios at isprime.org (Kyle O'Donnell) Date: Sun, 22 May 2011 20:50:31 -0400 Subject: IBM System x3650 In-Reply-To: <8CEF048B9EC83748B1517DC64EA130FB569FE07AE5@off-win2003-01.ausregistrygroup.local> References: <8CEF048B9EC83748B1517DC64EA130FB569FE07AE5@off-win2003-01.ausregistrygroup.local> Message-ID: the ipmi calls work for temp iirc On Sun, May 22, 2011 at 7:49 PM, Stuart Browne < stuart.browne at ausregistry.com.au> wrote: > > -----Original Message----- > > From: trm asn [mailto:trm.nagios at gmail.com] > > Sent: Friday, 20 May 2011 6:24 PM > > To: Nagios Users List > > Subject: [Nagios-users] IBM System x3650 > > > > Dear List, > > > > Is there any way we can monitor hardware device health for IBM System > > x3650 , like we can do for HP Proliant servers. > > I wrote something to do check the SNMP state of the fans, temperature and > logs. > > It's not the neatest of code, but it works reasonably well. > > You may need to modify the model numbers in there if your 3650 isn't a > 7979. > > > Stuart J. Browne > Senior Unix Administrator, Network Administrator > AusRegistry Pty Ltd > Level 8, 10 Queens Road > Melbourne. Victoria. Australia. 3004. > Ph: +61 3 9866 3710 > Fax: +61 3 9866 1970 > Email: stuart.browne at ausregistry.com.au > Web: www.ausregistry.com.au > > The information contained in this communication is intended for the named > recipients only. It is subject to copyright and may contain legally > privileged and confidential information and if you are not an intended > recipient you must not use, copy, distribute or take any action in reliance > on it. If you have received this communication in error, please delete all > copies from your system and notify us immediately. > > > ------------------------------------------------------------------------------ > What Every C/C++ and Fortran developer Should Know! > Read this article and learn how Intel has extended the reach of its > next-generation tools to help Windows* and Linux* C/C++ and Fortran > developers boost performance applications - including clusters. > http://p.sf.net/sfu/intel-dev2devmay > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its next-generation tools to help Windows* and Linux* C/C++ and Fortran developers boost performance applications - including clusters. http://p.sf.net/sfu/intel-dev2devmay -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon May 23 09:39:17 2011 From: m.borsani at it.net (Marco Borsani) Date: Mon, 23 May 2011 09:39:17 +0200 Subject: check_nt: segmentation fault Message-ID: <008401cc191c$886ee750$994cb5f0$@it.net> Hi all I change my HW (Dell PE 2950) and SO (Centos 5.6 - 64bit) , re-compile Nagios and plugins 1.4.15, everything is working fine, but often a read the message: check_nt[25324]: segfault at 0000000000000000 rip 0000003aa1837a04 rsp 00007fffd309e0a0 error 4 Any idea ? Regards Marco -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its next-generation tools to help Windows* and Linux* C/C++ and Fortran developers boost performance applications - including clusters. http://p.sf.net/sfu/intel-dev2devmay -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mkermagoret at merethis.com Mon May 23 11:37:24 2011 From: mkermagoret at merethis.com (Matthieu Kermagoret) Date: Mon, 23 May 2011 11:37:24 +0200 Subject: RFC/RFP Nagios command workers In-Reply-To: <4DD3DB27.2010903@op5.se> References: <4DD3DB27.2010903@op5.se> Message-ID: On Wed, May 18, 2011 at 4:43 PM, Andreas Ericsson wrote: > Since discussion on the last requests for comments and patches has > splintered off and gotten somewhere, it's time for the next mail in > the series of what us awesome gods of the Nagios core decided to > work on for the next grand version of Nagios. > Congratulations ! I'm glad to see Nagios' development moving forward ! > This idea comes from Shinken, mod_gearman and DNX which have all > implemented versions of it, so creds and kudos to the authors of > those projects. > > Currently, Nagios eats quite a lot of I/O when writing, scanning for > and reading the check result files. This becomes especially noticeable > in large installations. There's also the problem of Nagios using a > lot more copied memory per fork than it's supposed to, and the fact > that embedding scripting languages inside the Nagios core to speed > up execution is a potentially disastrous action (as the debacle with > embedded Perl has proven to be). > Good analysis to which I totally agree. > The idea to solve all of that is to fork() off a set of worker > threads at startup that free()'s all possible memory and re-connects > to the master process via a unix domain socket (or network socket > that by default only listens to the localhost address) to receive > requests to run commands and return the results of those commands. > While I agree that distributing check execution among multiple processes can be a really good idea, I don't know if this should be implemented in the Core. This can add significant complexity to the code while not being useful to all Nagios users. The Core already have a proper API that allows modules to execute checks themselves, so why not rely on it for distribution and improve the existing command execution mechanism ? As you say, one of the root problem of the current implementation, is the use of temporary files, as this consumes much I/O when writing, scanning and reading them. Also the Nagios Core process is fork()ed multiple times and this might consume unnecessary CPU time. So I propose the following : 1) Remove the multiple fork system to execute a command. The Nagios Core process forks directly the process that will exec the command (more or less sh's parsing of command line, don't really know if this could/should be integreted in the Core). 2) The root process and the subprocess are connected with a pipe() so that the command output can be fetched by reading the pipe. Nagios will maintain a list of currently running commands. 3) The event loop will multiplex processes' I/O and process them as necessary. > This has several benefits, although they're not immediately user > visible. > * I/O load will decrease significantly, leaving more disk throughput > ?capacity for performance data graphing or status data database > ?solutions. Still holds but to a smaller extent, as the "problem of Nagios using a lot more copied memory per fork than it's supposed to" is not solved. This could be solved with a module however, see below. > * Scripting languages can be embedded regardless of memory leaks and > ?whatnot, since worker daemons can be killed off and respawned every > ?50000 checks (or something), thus causing the kernel to clean up > ?any and all leaked memory. There could be modules that override checks and forward them to interpreter daemons on a per-language basis for example. > * Nagios core can be single-threaded, which means higher portability, > ?less memory usage and more robust code. Still holds. > * Eventbroker modules that use a socket to communicate with an external > ?daemon can instead register a handler for inbound packets and then > ?simply "own" that connection and get all future packets from it > ?forwarded as eventbroker events. This will ofcourse reduce the module > ?complexity quite a bit for nearly all much-used modules today (Merlin, > ?livestatus, DNX, mod_gearman, NDOUtils, etc...) Still holds, instead of multiplexing on socket FD, multiplex on pipe FD. > * It becomes possible to receive responses from Nagios when submitting > ?commands (the current FIFO pipe is one-way communication only). > See discussion about the command pipe below. > Drawbacks: > * It's quite a large and invasive change to the nagios core which > ?will require a lot of testing. > This would be a less invasive and smaller change but would still require testing ;-) The worker system could still be implemented and used only by users who need it (but that's what DNX and mod_gearman do). I believe it is better to leave the default command execution system as simple as it is right now (but improve it) and leave distribution algorithms to modules. I can imagine multiple reasons for which one would want to distribute checks among workers : - less overhead per fork() (the problem you raised) - embedded interpreter (your raised this also) - per network (the worker closer to a node execute its check) - randomly (clustering) - ... So I don't know if embedding a particular policy within the Core is a good thing. I'd rather see an official module (that might be included by default) for the workers system. > Please note that a compatibility daemon which continues to parse the > simple FIFO will ofcourse have to be implemented so that current scripts > and whatnot keep on working, and the API to scan for and read check > result files will also remain for the foreseeable future, although > possibly implemented as an external helper program which can ship > check results into the Nagios socket instead. > So in fact you plan removing the old FIFO and doing all stuffs through the socket ? What about acknowledgements or downtimes ? Could they be sent through the socket too or would there be another system ? Best regards, -- Matthieu KERMAGORET | D?veloppeur mkermagoret at merethis.com MERETHIS est ?diteur du logiciel Centreon. ------------------------------------------------------------------------------ What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its next-generation tools to help Windows* and Linux* C/C++ and Fortran developers boost performance applications - including clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Nagios-devel mailing list Nagios-devel at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-devel From yuehung.liu at gmail.com Mon May 23 12:09:28 2011 From: yuehung.liu at gmail.com (Yueh-Hung Liu) Date: Mon, 23 May 2011 18:09:28 +0800 Subject: check_nt: segmentation fault In-Reply-To: <008401cc191c$886ee750$994cb5f0$@it.net> References: <008401cc191c$886ee750$994cb5f0$@it.net> Message-ID: use check_nrpe + nsclient++ instead? On Mon, May 23, 2011 at 3:39 PM, Marco Borsani wrote: > Hi all > > > > I change my HW (Dell PE 2950) and SO (Centos 5.6 - 64bit) , re-compile > Nagios and plugins 1.4.15, everything is working fine, but often a read the > message: > > check_nt[25324]: segfault at 0000000000000000 rip 0000003aa1837a04 rsp > 00007fffd309e0a0 error 4 > > > > Any idea ? > > > > Regards > > Marco > > ------------------------------------------------------------------------------ > What Every C/C++ and Fortran developer Should Know! > Read this article and learn how Intel has extended the reach of its > next-generation tools to help Windows* and Linux* C/C++ and Fortran > developers boost performance applications - including clusters. > http://p.sf.net/sfu/intel-dev2devmay > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its next-generation tools to help Windows* and Linux* C/C++ and Fortran developers boost performance applications - including clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Mon May 23 12:38:04 2011 From: ae at op5.se (Andreas Ericsson) Date: Mon, 23 May 2011 12:38:04 +0200 Subject: [Nagios-devel] RFC/RFP Nagios command workers In-Reply-To: References: <4DD3DB27.2010903@op5.se> Message-ID: <4DDA390C.50403@op5.se> On 05/23/2011 11:37 AM, Matthieu Kermagoret wrote: > >> The idea to solve all of that is to fork() off a set of worker >> threads at startup that free()'s all possible memory and re-connects >> to the master process via a unix domain socket (or network socket >> that by default only listens to the localhost address) to receive >> requests to run commands and return the results of those commands. >> > > While I agree that distributing check execution among multiple > processes can be a really good idea, I don't know if this should be > implemented in the Core. This can add significant complexity to the > code while not being useful to all Nagios users. The Core already have > a proper API that allows modules to execute checks themselves, so why > not rely on it for distribution and improve the existing command > execution mechanism ? > Because shipping an official module that does it would mean not only supporting the old complexity, but also the new one. Having a single default system for running checks would definitely be preferrable to supporting multiple ones. > As you say, one of the root problem of the current implementation, is > the use of temporary files, as this consumes much I/O when writing, > scanning and reading them. Also the Nagios Core process is fork()ed > multiple times and this might consume unnecessary CPU time. So I > propose the following : > > 1) Remove the multiple fork system to execute a command. The Nagios > Core process forks directly the process that will exec the command > (more or less sh's parsing of command line, don't really know if this > could/should be integreted in the Core). > This really can't be done without using multiple threads since the core can't wait() for input and children while at the same time issuing select() calls to multiplex the new output of currently running checks. > 2) The root process and the subprocess are connected with a pipe() so > that the command output can be fetched by reading the pipe. Nagios > will maintain a list of currently running commands. > Pipes are limited in that they only guarantee 512 bytes of atomic writes and reads. TCP sockets don't have this problem. There's also the fact that a lot of modules already use sockets, so we can get rid of a lot of code in those modules and let them re-use Nagios' main select() loop and get inbound events on "their" sockets as a broker callback event. Much neater that way. > 3) The event loop will multiplex processes' I/O and process them as necessary. > That's what the worker processes will do and then feed the results back to the nagios core through the sequential socket, which will guarantee read and write operations large enough to never truncate any of the data necessary for the master process to do proper book- keeping. >> This has several benefits, although they're not immediately user >> visible. >> * I/O load will decrease significantly, leaving more disk throughput >> capacity for performance data graphing or status data database >> solutions. > > Still holds but to a smaller extent, as the "problem of Nagios using a > lot more copied memory per fork than it's supposed to" is not solved. > This could be solved with a module however, see below. > Not without the module also running external programs, which just means more complexity inside the nagios core instead of less. >> * Scripting languages can be embedded regardless of memory leaks and >> whatnot, since worker daemons can be killed off and respawned every >> 50000 checks (or something), thus causing the kernel to clean up >> any and all leaked memory. > > There could be modules that override checks and forward them to > interpreter daemons on a per-language basis for example. > Yup. I'd expect this to be a natural progression of how things work, with Python being the first in queue to be embedded. >> * Nagios core can be single-threaded, which means higher portability, >> less memory usage and more robust code. > > Still holds. > Nope. It fails for all modules that require constantly poll()'ed sockets. >> * Eventbroker modules that use a socket to communicate with an external >> daemon can instead register a handler for inbound packets and then >> simply "own" that connection and get all future packets from it >> forwarded as eventbroker events. This will ofcourse reduce the module >> complexity quite a bit for nearly all much-used modules today (Merlin, >> livestatus, DNX, mod_gearman, NDOUtils, etc...) > > Still holds, instead of multiplexing on socket FD, multiplex on pipe FD. > Worker processes will multiplex on pipe fd's. Nagios will just poll the sockets of the workers (and modules) that have connected to it, and that's basically it. >> * It becomes possible to receive responses from Nagios when submitting >> commands (the current FIFO pipe is one-way communication only). >> > > See discussion about the command pipe below. > >> Drawbacks: >> * It's quite a large and invasive change to the nagios core which >> will require a lot of testing. >> > > This would be a less invasive and smaller change but would still > require testing ;-) > > The worker system could still be implemented and used only by users > who need it (but that's what DNX and mod_gearman do). I believe it is > better to leave the default command execution system as simple as it > is right now (but improve it) and leave distribution algorithms to > modules. I can imagine multiple reasons for which one would want to > distribute checks among workers : > The only direction we can improve it is to remove it and rebuild it. Removing one fork() call would mean implementing the multiplexer anyway, and once that's done we're 95% done with the worker process code anyways. > - less overhead per fork() (the problem you raised) > - embedded interpreter (your raised this also) > - per network (the worker closer to a node execute its check) > - randomly (clustering) > - ... > The network thing seems like a pretty obvious extension of this once it's in place, but most likely using an external program that can authenticate remote nodes and forward network events to the Nagios core. Currently, the Merlin daemon does just that, but the module is overly complex due to the fact that Nagios is multi-threaded and lacks socket support. The same holds true for dnx and mod_gearman. > So I don't know if embedding a particular policy within the Core is a > good thing. I'd rather see an official module (that might be included > by default) for the workers system. > Again, that would only lead to us having to support two different ways of running checks. I dislike that intensely. >> Please note that a compatibility daemon which continues to parse the >> simple FIFO will ofcourse have to be implemented so that current scripts >> and whatnot keep on working, and the API to scan for and read check >> result files will also remain for the foreseeable future, although >> possibly implemented as an external helper program which can ship >> check results into the Nagios socket instead. >> > > So in fact you plan removing the old FIFO and doing all stuffs through > the socket ? What about acknowledgements or downtimes ? Could they be > sent through the socket too or would there be another system ? > They could be sent through the socket, but for a while at least we'll have to support both pipe and socket, so addon developers have some time to adjust to the new world order. -- 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. ------------------------------------------------------------------------------ What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its next-generation tools to help Windows* and Linux* C/C++ and Fortran developers boost performance applications - including clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon May 23 12:41:16 2011 From: m.borsani at it.net (Marco Borsani) Date: Mon, 23 May 2011 12:41:16 +0200 Subject: R: check_nt: segmentation fault In-Reply-To: References: <008401cc191c$886ee750$994cb5f0$@it.net> Message-ID: <00c601cc1935$f4708e40$dd51aac0$@it.net> We can't -----Messaggio originale----- Da: Yueh-Hung Liu [mailto:yuehung.liu at gmail.com] Inviato: luned? 23 maggio 2011 12:09 A: Nagios Users List Oggetto: Re: [Nagios-users] check_nt: segmentation fault use check_nrpe + nsclient++ instead? On Mon, May 23, 2011 at 3:39 PM, Marco Borsani wrote: > Hi all > > > > I change my HW (Dell PE 2950) and SO (Centos 5.6 - 64bit) , re-compile > Nagios and plugins 1.4.15, everything is working fine, but often a > read the > message: > > check_nt[25324]: segfault at 0000000000000000 rip 0000003aa1837a04 rsp > 00007fffd309e0a0 error 4 > > > > Any idea ? > > > > Regards > > Marco > > ---------------------------------------------------------------------- > -------- What Every C/C++ and Fortran developer Should Know! > Read this article and learn how Intel has extended the reach of its > next-generation tools to help Windows* and Linux* C/C++ and Fortran > developers boost performance applications - including clusters. > http://p.sf.net/sfu/intel-dev2devmay > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ---------------------------------------------------------------------------- -- What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its next-generation tools to help Windows* and Linux* C/C++ and Fortran developers boost performance applications - including clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its next-generation tools to help Windows* and Linux* C/C++ and Fortran developers boost performance applications - including clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From DCeola at twgi.net Mon May 23 14:28:20 2011 From: DCeola at twgi.net (Daniel Ceola) Date: Mon, 23 May 2011 12:28:20 +0000 Subject: Check_NRPE on AIX In-Reply-To: References: Message-ID: <40B7337A7D70B149A34D5A0FD9FDFA8C0124BA@twgiex.twgi.net> Thank you for the responses. I am out of town for a training class and will look into this further when I return. I do believe that I have been testing the plugins on the AIX system from the root login. I will try again from the nagios user and see how it reacts. Daniel ________________________________ From: Kyle O'Donnell [nagios at isprime.org] Sent: Thursday, May 19, 2011 11:51 PM To: Nagios Users List Subject: Re: [Nagios-users] Check_NRPE on AIX Those are the binaries that I compiled and uploaded a couple years ago. We are still using them today, but if you have any issues let me know. I would suggest running the check_disk with the -x /proc as it is in nrpe as the same user nrpe is running as via command line to ensure it behaves as expected I have had no issue using sudo on aix btw. --kyleo On May 18, 2011 9:32 AM, "Daniel Ceola" > wrote: -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its next-generation tools to help Windows* and Linux* C/C++ and Fortran developers boost performance applications - including clusters. http://p.sf.net/sfu/intel-dev2devmay -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From netcomrade at dmitriev.net Mon May 23 17:29:44 2011 From: netcomrade at dmitriev.net (Andrey Dmitriev) Date: Mon, 23 May 2011 11:29:44 -0400 Subject: where do I report an NDOUtils bug? Message-ID: we upgraded from 1.4b7 to 1.4b9 nagios version was upgraded from 2.x to 3.2.3 There is no way to correlate contact notified to notifications anymore since the first that used to track it is now inserted with '0' all the time (confirmed via debug mode) the specific field is CONTACT_OBJECT_ID in NAGIOS_NAGIOSNOTIFICATIONS table. there doesn't seem to be any other way to join the data in order to find out who was contacted. before upgrade (supporting query below) | cs-pnslij | HTTP-alt | Primary | 439 | | cs-pnslij | jboss_ConnectionCount | cwhite_email | 463 | | cs-pnslij | jboss_ConnectionCount | cs_cwhite_pager | 459 | | cs-pnslij | jboss_ConnectionCount | cs_clee_pager | 458 | | cs-pnslij | jboss_ConnectionCount | cs_clee_email | 457 | | cs-pnslij | jboss_ConnectionCount | ashburn_ops | 447 | +-----------------------+---------------------------------------+------------------+-------------------+ after upgrade: | mt-ora2 | nrpe-system_load | NULL | 0 | | mt-ora2 | nrpe-system_load | NULL | 0 | query: SELECT obj1.name1 AS host_name ,obj1.name2 AS service_description ,obj2.name1 AS contact_name ,nagios_contactnotifications.contact_object_id FROM `nagios_contactnotifications` JOIN nagios_notifications ON nagios_contactnotifications.notification_id=nagios_notifications.notification_id LEFT JOIN nagios_objects as obj1 ON nagios_notifications.object_id=obj1.object_id LEFT JOIN nagios_objects as obj2 ON nagios_contactnotifications.contact_object_id=obj2.object_id LEFT JOIN nagios_instances ON nagios_notifications.instance_id=nagios_instances.instance_id WHERE nagios_notifications. start_time >= DATE_SUB(CURDATE(), interval 48 hour) ORDER BY nagios_notifications.start_time DESC -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its next-generation tools to help Windows* and Linux* C/C++ and Fortran developers boost performance applications - including clusters. http://p.sf.net/sfu/intel-dev2devmay -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From d.palermo at enteautonomovolturno.it Tue May 24 01:50:55 2011 From: d.palermo at enteautonomovolturno.it (Dario Palermo) Date: Mon, 23 May 2011 23:50:55 +0000 Subject: Predictive logic not working as expected Message-ID: I'm working to enable and benefit from service dependencies. In my test lab: Assume service B dependent from service A: if A goes down but Nagios still doesn't know service B will go critical when checked. I expected Nagios to always check A before B when predictive service checks are enabled... did I get it wrong? Please note that I've got in my configs: failure_prediction_enabled 1 (in the service template definition) enable_predictive_host_dependency_checks=1 (in the nagios.cfg) cached_service_check_horizon=15 (in the nagios.cfg, just to do the tests without cache interfering) And, for every service, I've got 1 max retry to avoid soft states (at least for the test phase). Any help will be very appreciated. Dario -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ vRanger cuts backup time in half-while increasing security. With the market-leading solution for virtual backup and recovery, you get blazing-fast, flexible, and affordable data protection. Download your free trial now. http://p.sf.net/sfu/quest-d2dcopy1 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From atann at alphasrv.net Tue May 24 08:32:25 2011 From: atann at alphasrv.net (Andre Tann) Date: Tue, 24 May 2011 08:32:25 +0200 Subject: Question about notification_period Message-ID: <201105240832.26052@inter.netz> Hello everyone, I want my servers to be checked in a 24x7 period, and I want to be notified by mail all the time to one contact. This works fine at the moment. But to a second contact,Mails should only be sent say 10:00-18:00. How could I do this? Nagios doesn't accept a notification_period object property with contacts. Thanks for a hint! -- Andre Tann ------------------------------------------------------------------------------ vRanger cuts backup time in half-while increasing security. With the market-leading solution for virtual backup and recovery, you get blazing-fast, flexible, and affordable data protection. Download your free trial now. http://p.sf.net/sfu/quest-d2dcopy1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stuart.browne at ausregistry.com.au Tue May 24 08:43:37 2011 From: stuart.browne at ausregistry.com.au (Stuart Browne) Date: Tue, 24 May 2011 16:43:37 +1000 Subject: Question about notification_period In-Reply-To: <201105240832.26052@inter.netz> References: <201105240832.26052@inter.netz> Message-ID: <8CEF048B9EC83748B1517DC64EA130FB569FEDB16B@off-win2003-01.ausregistrygroup.local> > -----Original Message----- > From: Andre Tann [mailto:atann at alphasrv.net] > Sent: Tuesday, 24 May 2011 4:32 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Question about notification_period > > Hello everyone, > > I want my servers to be checked in a 24x7 period, and I want to be > notified by mail all the time to one contact. This works fine at the > moment. > > But to a second contact,Mails should only be sent say 10:00-18:00. > > How could I do this? Nagios doesn't accept a notification_period object > property with contacts. All contacts have the following two: service_notification_period 24x7 host_notification_period 24x7 Set this to a time period you have configured for the second contact, and all should be good. Stuart ------------------------------------------------------------------------------ vRanger cuts backup time in half-while increasing security. With the market-leading solution for virtual backup and recovery, you get blazing-fast, flexible, and affordable data protection. Download your free trial now. http://p.sf.net/sfu/quest-d2dcopy1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From atann at alphasrv.net Tue May 24 09:04:38 2011 From: atann at alphasrv.net (Andre Tann) Date: Tue, 24 May 2011 09:04:38 +0200 Subject: Question about notification_period In-Reply-To: <8CEF048B9EC83748B1517DC64EA130FB569FEDB16B@off-win2003-01.ausregistrygroup.local> References: <201105240832.26052@inter.netz> <8CEF048B9EC83748B1517DC64EA130FB569FEDB16B@off-win2003-01.ausregistrygroup.local> Message-ID: <201105240904.39162@inter.netz> Stuart Browne, Dienstag 24 Mai 2011: > All contacts have the following two: > > service_notification_period 24x7 > host_notification_period 24x7 That's it, thank you Stuart! -- Andre Tann ------------------------------------------------------------------------------ vRanger cuts backup time in half-while increasing security. With the market-leading solution for virtual backup and recovery, you get blazing-fast, flexible, and affordable data protection. Download your free trial now. http://p.sf.net/sfu/quest-d2dcopy1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fatcharly at gmx.de Tue May 24 12:16:29 2011 From: fatcharly at gmx.de (Testuser SST) Date: Tue, 24 May 2011 12:16:29 +0200 Subject: sms-pager command is not executed Message-ID: <20110524101629.17570@gmx.net> Hi, I?m using a nagios 3.0.3 with yaps as sms-solution. No problem with that, but now I?m trying to use a sms-gateway with lynx as tool. My command works with no problem from the bash, but it won?t work when it?s executed by nagios. Here is a little output from the debug-file(level 32). I`m quite sure that no http-request is beeing processed- I?ve checked it with tcpdump. No request was leaving the server. [1306227749.291843] [032.2] [pid=6040] Adding contact 'sst2test' to notification list. [1306227749.291870] [032.2] [pid=6040] ** Attempting to notifying contact 'sst2test'... [1306227749.291882] [032.2] [pid=6040] ** Checking service notification viability for contact 'sst2test'... [1306227749.291899] [032.2] [pid=6040] ** Service notification viability for contact 'sst2test' PASSED. [1306227749.291911] [032.2] [pid=6040] ** Notifying contact 'sst2test' [1306227749.291935] [032.2] [pid=6040] Raw notification command: /usr/bin/lynx --dump "http://smsserver.mindmatics.com/messagegateway/outbound/sms?Version=3.0&cid=XXXX&password=XXXXXXXXX&to=$CONTACTPAGER$&from=demeter&content=$NOTIFICATIONTYPE$: $HOSTNAME$: $SERVICEDESC$ is $SERVICESTATE$ ($SERVICEOUTPUT$)&targetformat=COMMON.1.1" >/var/log/nagiosSMSneu.log [1306227749.291978] [032.2] [pid=6040] Processed notification command: /usr/bin/lynx --dump "http://smsserver.mindmatics.com/messagegateway/outbound/sms?Version=3.0&cid=XXXX&password=XXXXXXXXXXX&to=0049172XXXXXXX&from=demeter&content=PROBLEM: paulaportalwww: HTTP is CRITICAL (Connection refused)&targetformat=COMMON.1.1" >/var/log/nagiosSMSneu.log And there is also no msg in /var/log/nagiosSMSneu.log, but I get when I use the "Processed notification command" on a bash- it works fine. Any suggestions are welcome Kind Regards fatcharly -- NEU: FreePhone - kostenlos mobil telefonieren! Jetzt informieren: http://www.gmx.net/de/go/freephone ------------------------------------------------------------------------------ vRanger cuts backup time in half-while increasing security. With the market-leading solution for virtual backup and recovery, you get blazing-fast, flexible, and affordable data protection. Download your free trial now. http://p.sf.net/sfu/quest-d2dcopy1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tevfik.karagulle at gmail.com Tue May 24 12:43:03 2011 From: tevfik.karagulle at gmail.com (Tevfik Karagulle) Date: Tue, 24 May 2011 12:43:03 +0200 Subject: Dynamic update issues on Nagios Exchange site !! Message-ID: Every time I visit the Exchange site, I used to see a different project as the 'Featured Project'. However, this is not happening nowadays. I always see 'NXE - Nagios XML Engine' as the 'ONE' :-) Any particular reason for that behaviour ? Tev -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ vRanger cuts backup time in half-while increasing security. With the market-leading solution for virtual backup and recovery, you get blazing-fast, flexible, and affordable data protection. Download your free trial now. http://p.sf.net/sfu/quest-d2dcopy1 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From netcomrade at dmitriev.net Tue May 24 15:12:55 2011 From: netcomrade at dmitriev.net (Andrey Dmitriev) Date: Tue, 24 May 2011 09:12:55 -0400 Subject: NDOUtils bug (resend) Message-ID: we upgraded from 1.4b7 to 1.4b9 nagios version was upgraded from 2.x to 3.2.3 There is no way to correlate contact notified to notifications anymore since the first that used to track it is now inserted with '0' all the time (confirmed via debug mode) the specific field is CONTACT_OBJECT_ID in NAGIOS_NAGIOSNOTIFICATIONS table. there doesn't seem to be any other way to join the data in order to find out who was contacted. before upgrade (supporting query below) | cs-pnslij | HTTP-alt | Primary | 439 | | cs-pnslij | jboss_ConnectionCount | cwhite_email | 463 | | cs-pnslij | jboss_ConnectionCount | cs_cwhite_pager | 459 | | cs-pnslij | jboss_ConnectionCount | cs_clee_pager | 458 | | cs-pnslij | jboss_ConnectionCount | cs_clee_email | 457 | | cs-pnslij | jboss_ConnectionCount | ashburn_ops | 447 | +-----------------------+---------------------------------------+------------------+-------------------+ after upgrade: | mt-ora2 | nrpe-system_load | NULL | 0 | | mt-ora2 | nrpe-system_load | NULL | 0 | query: SELECT obj1.name1 AS host_name ,obj1.name2 AS service_description ,obj2.name1 AS contact_name ,nagios_contactnotifications.contact_object_id FROM `nagios_contactnotifications` JOIN nagios_notifications ON nagios_contactnotifications.notification_id=nagios_notifications.notification_id LEFT JOIN nagios_objects as obj1 ON nagios_notifications.object_id=obj1.object_id LEFT JOIN nagios_objects as obj2 ON nagios_contactnotifications.contact_object_id=obj2.object_id LEFT JOIN nagios_instances ON nagios_notifications.instance_id=nagios_instances.instance_id WHERE nagios_notifications. start_time >= DATE_SUB(CURDATE(), interval 48 hour) ORDER BY nagios_notifications.start_time DESC -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ vRanger cuts backup time in half-while increasing security. With the market-leading solution for virtual backup and recovery, you get blazing-fast, flexible, and affordable data protection. Download your free trial now. http://p.sf.net/sfu/quest-d2dcopy1 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tyarusso at nagios.com Tue May 24 16:45:58 2011 From: tyarusso at nagios.com (Tony Yarusso) Date: Tue, 24 May 2011 09:45:58 -0500 Subject: Dynamic update issues on Nagios Exchange site !! In-Reply-To: References: Message-ID: <4DDBC4A6.7010908@nagios.com> On 5/24/2011 5:43 AM, Tevfik Karagulle wrote: > Every time I visit the Exchange site, I used to see a different > project as the 'Featured Project'. However, this is not happening > nowadays. I always see 'NXE - Nagios XML Engine > ' > as the 'ONE' :-) > > Any particular reason for that behaviour ? Yes. I enabled various forms of page caching to help with some load problems on the server. I thought it was supposed to drop the cached page after an hour or so - if you clear your browser-side cache now and reload the page I believe you'll see a different project. -- Tony Yarusso Technical Team ___ Nagios Enterprises, LLC Email: tyarusso at nagios.com Web: www.nagios.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ vRanger cuts backup time in half-while increasing security. With the market-leading solution for virtual backup and recovery, you get blazing-fast, flexible, and affordable data protection. Download your free trial now. http://p.sf.net/sfu/quest-d2dcopy1 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fatcharly at gmx.de Tue May 24 17:21:07 2011 From: fatcharly at gmx.de (Testuser SST) Date: Tue, 24 May 2011 17:21:07 +0200 Subject: sms-pager command is not executed In-Reply-To: <20110524101629.17570@gmx.net> References: <20110524101629.17570@gmx.net> Message-ID: <20110524152107.129350@gmx.net> Hi, the timestamp of the file >/var/log/nagiosSMSneu.log changes every time the command is called. So it is executed, but is there any way to see what exactly happens while the command gets executed ? debug ? logfile ? Any suggestions are welcome Kind Regards fatcharly -------- Original-Nachricht -------- > Datum: Tue, 24 May 2011 12:16:29 +0200 > Von: "Testuser SST" > An: " nagios-list" > Betreff: [Nagios-users] sms-pager command is not executed > Hi, > > I?m using a nagios 3.0.3 with yaps as sms-solution. No problem with that, > but now I?m trying to use a sms-gateway with lynx as tool. My command > works with no problem from the bash, but it won?t work when it?s executed by > nagios. Here is a little output from the debug-file(level 32). I`m quite > sure that no http-request is beeing processed- I?ve checked it with > tcpdump. No request was leaving the server. > > [1306227749.291843] [032.2] [pid=6040] Adding contact 'sst2test' to > notification list. > [1306227749.291870] [032.2] [pid=6040] ** Attempting to notifying contact > 'sst2test'... > [1306227749.291882] [032.2] [pid=6040] ** Checking service notification > viability for contact 'sst2test'... > [1306227749.291899] [032.2] [pid=6040] ** Service notification viability > for contact 'sst2test' PASSED. > [1306227749.291911] [032.2] [pid=6040] ** Notifying contact 'sst2test' > [1306227749.291935] [032.2] [pid=6040] Raw notification command: > /usr/bin/lynx --dump > "http://smsserver.mindmatics.com/messagegateway/outbound/sms?Version=3.0&cid=XXXX&password=XXXXXXXXX&to=$CONTACTPAGER$&from=demeter&content=$NOTIFICATIONTYPE$: > $HOSTNAME$: $SERVICEDESC$ is $SERVICESTATE$ > ($SERVICEOUTPUT$)&targetformat=COMMON.1.1" >/var/log/nagiosSMSneu.log > [1306227749.291978] [032.2] [pid=6040] Processed notification command: > /usr/bin/lynx --dump > "http://smsserver.mindmatics.com/messagegateway/outbound/sms?Version=3.0&cid=XXXX&password=XXXXXXXXXXX&to=0049172XXXXXXX&from=demeter&content=PROBLEM: > paulaportalwww: HTTP is CRITICAL (Connection > refused)&targetformat=COMMON.1.1" >/var/log/nagiosSMSneu.log > > And there is also no msg in /var/log/nagiosSMSneu.log, but I get when I > use the "Processed notification command" on a bash- it works fine. > > Any suggestions are welcome > > Kind Regards > > fatcharly > > > -- > NEU: FreePhone - kostenlos mobil telefonieren! > Jetzt informieren: http://www.gmx.net/de/go/freephone > > ------------------------------------------------------------------------------ > vRanger cuts backup time in half-while increasing security. > With the market-leading solution for virtual backup and recovery, > you get blazing-fast, flexible, and affordable data protection. > Download your free trial now. > http://p.sf.net/sfu/quest-d2dcopy1 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de ------------------------------------------------------------------------------ vRanger cuts backup time in half-while increasing security. With the market-leading solution for virtual backup and recovery, you get blazing-fast, flexible, and affordable data protection. Download your free trial now. http://p.sf.net/sfu/quest-d2dcopy1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagiosusers at edcint.co.nz Wed May 25 00:51:27 2011 From: nagiosusers at edcint.co.nz (Matthew Jurgens) Date: Wed, 25 May 2011 08:51:27 +1000 Subject: R: check_nt: segmentation fault In-Reply-To: <00c601cc1935$f4708e40$dd51aac0$@it.net> References: <008401cc191c$886ee750$994cb5f0$@it.net> <00c601cc1935$f4708e40$dd51aac0$@it.net> Message-ID: <4DDC366F.5050602@edcint.co.nz> The Check WMI Plus plugin might be able to replace what you are trying to do with check_nt. It uses WMI and does not need a client on the Windows side. See www.edcint.co.nz/checkwmiplus On 23/05/2011 8:41 PM, Marco Borsani wrote: > We can't > > -----Messaggio originale----- > Da: Yueh-Hung Liu [mailto:yuehung.liu at gmail.com] > Inviato: luned? 23 maggio 2011 12:09 > A: Nagios Users List > Oggetto: Re: [Nagios-users] check_nt: segmentation fault > > use check_nrpe + nsclient++ instead? > > -- Smartmon System Monitoring www.smartmon.com.au -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ vRanger cuts backup time in half-while increasing security. With the market-leading solution for virtual backup and recovery, you get blazing-fast, flexible, and affordable data protection. Download your free trial now. http://p.sf.net/sfu/quest-d2dcopy1 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pb at osix.eu Wed May 25 16:46:39 2011 From: pb at osix.eu (Patrik =?ISO-8859-1?Q?B=E5t?=) Date: Wed, 25 May 2011 16:46:39 +0200 Subject: [Nagios-devel] Q: Service Escalation Recovery Notifications. In-Reply-To: <4DD6CD77.8040609@op5.se> References: <4DD42D0F.6020505@paul.dubuc.org> <4DD51C08.3060101@paul.dubuc.org> <4DD524DF.7000108@op5.se> <4DD6CD77.8040609@op5.se> Message-ID: <1306334799.2790.4.camel@endlessdream> # SMS define serviceescalation { host_name * service_description * first_notification 2 last_notification 3 notification_interval 0 contacts oncall } define hostescalation { host_name * first_notification 2 last_notification 3 notification_interval 0 contacts oncall } # MAIL define serviceescalation { host_name * service_description * first_notification 1 last_notification 1 notification_interval 10 contacts sysadmin.reports } define hostescalation { host_name * first_notification 1 last_notification 1 notification_interval 10 contacts sysadmin.reports } # Recovery define serviceescalation { host_name * service_description * first_notification 2 last_notification 3 notification_interval 0 contacts sysadmin.reports escalation_options r } define hostescalation { host_name * first_notification 2 last_notification 3 notification_interval 0 contacts sysadmin.reports escalation_options r This is working for me, to notify both via sms and email. eg 2 contacts. On Fri, 2011-05-20 at 22:22 +0200, Andreas Ericsson wrote: > On 05/20/2011 06:05 PM, Max Schubert wrote: > > Hi, > > > > On Thu, May 19, 2011 at 10:10 AM, Andreas Ericsson wrote: > >> On 05/19/2011 03:32 PM, Paul M. Dubuc wrote: > >>> OK, but wouldn't it be nice if all contacts who got an error notification were > >>> able to get the recovery message instead of just the one last notified? Is > >>> there any way to do that? Setting up an explicit serviceescalation for > >>> recovery notifications doesn't seem to work. > >>> > >> > >> Max Schubert is working on a patch that does something similar to that. > >> If he doesn't complete it, I might take a look at adding it myself. > > > > I will send out my partial patch to the list sometime today along with > > an explanation of my thinking / approach for it - feel free to use it > > or discard it as you see fit :)! > > > > Rest assured, I will ;) > > Our customers have raised voices about simplifying the notification > logic though. This discussion actually spawned that voice-raising, > which is nice. Either way, it might be that I end up either taking > your patch or implementing the "everyone who gets problem notifications > also get recovery notifications". > -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 490 bytes Desc: This is a digitally signed message part URL: -------------- next part -------------- ------------------------------------------------------------------------------ vRanger cuts backup time in half-while increasing security. With the market-leading solution for virtual backup and recovery, you get blazing-fast, flexible, and affordable data protection. Download your free trial now. http://p.sf.net/sfu/quest-d2dcopy1 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 25 19:56:17 2011 From: work at paul.dubuc.org (Paul M. Dubuc) Date: Wed, 25 May 2011 13:56:17 -0400 Subject: [Nagios-devel] Q: Service Escalation Recovery Notifications. In-Reply-To: <1306334799.2790.4.camel@endlessdream> References: <4DD42D0F.6020505@paul.dubuc.org> <4DD51C08.3060101@paul.dubuc.org> <4DD524DF.7000108@op5.se> <4DD6CD77.8040609@op5.se> <1306334799.2790.4.camel@endlessdream> Message-ID: <4DDD42C1.9070603@paul.dubuc.org> This works as long as the problem doesn't last longer than 3 notification intervals. Recovery notifications that are numbered higher than 4 won't be sent. Patrik B?t wrote: > # SMS > define serviceescalation { > host_name * > service_description * > first_notification 2 > last_notification 3 > notification_interval 0 > contacts oncall > } > > define hostescalation { > host_name * > first_notification 2 > last_notification 3 > notification_interval 0 > contacts oncall > } > > # MAIL > > define serviceescalation { > host_name * > service_description * > first_notification 1 > last_notification 1 > notification_interval 10 > contacts sysadmin.reports > } > > define hostescalation { > host_name * > first_notification 1 > last_notification 1 > notification_interval 10 > contacts sysadmin.reports > } > > # Recovery > > define serviceescalation { > host_name * > service_description * > first_notification 2 > last_notification 3 > notification_interval 0 > contacts sysadmin.reports > escalation_options r > } > > define hostescalation { > host_name * > first_notification 2 > last_notification 3 > notification_interval 0 > contacts sysadmin.reports > escalation_options r > > > This is working for me, to notify both via sms and email. eg 2 contacts. > > > > On Fri, 2011-05-20 at 22:22 +0200, Andreas Ericsson wrote: >> On 05/20/2011 06:05 PM, Max Schubert wrote: >>> Hi, >>> >>> On Thu, May 19, 2011 at 10:10 AM, Andreas Ericsson wrote: >>>> On 05/19/2011 03:32 PM, Paul M. Dubuc wrote: >>>>> OK, but wouldn't it be nice if all contacts who got an error notification were >>>>> able to get the recovery message instead of just the one last notified? Is >>>>> there any way to do that? Setting up an explicit serviceescalation for >>>>> recovery notifications doesn't seem to work. >>>>> >>>> >>>> Max Schubert is working on a patch that does something similar to that. >>>> If he doesn't complete it, I might take a look at adding it myself. >>> >>> I will send out my partial patch to the list sometime today along with >>> an explanation of my thinking / approach for it - feel free to use it >>> or discard it as you see fit :)! >>> >> >> Rest assured, I will ;) >> >> Our customers have raised voices about simplifying the notification >> logic though. This discussion actually spawned that voice-raising, >> which is nice. Either way, it might be that I end up either taking >> your patch or implementing the "everyone who gets problem notifications >> also get recovery notifications". >> > > > > ------------------------------------------------------------------------------ > vRanger cuts backup time in half-while increasing security. > With the market-leading solution for virtual backup and recovery, > you get blazing-fast, flexible, and affordable data protection. > Download your free trial now. > http://p.sf.net/sfu/quest-d2dcopy1 > > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ vRanger cuts backup time in half-while increasing security. With the market-leading solution for virtual backup and recovery, you get blazing-fast, flexible, and affordable data protection. Download your free trial now. http://p.sf.net/sfu/quest-d2dcopy1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pb at osix.eu Thu May 26 08:53:40 2011 From: pb at osix.eu (Patrik =?ISO-8859-1?Q?B=E5t?=) Date: Thu, 26 May 2011 08:53:40 +0200 Subject: [Nagios-devel] Q: Service Escalation Recovery Notifications. In-Reply-To: <4DDD42C1.9070603@paul.dubuc.org> References: <4DD42D0F.6020505@paul.dubuc.org> <4DD51C08.3060101@paul.dubuc.org> <4DD524DF.7000108@op5.se> <4DD6CD77.8040609@op5.se> <1306334799.2790.4.camel@endlessdream> <4DDD42C1.9070603@paul.dubuc.org> Message-ID: <1306392820.3151.0.camel@endlessdream> Are you sure about that? The documentation says: "If, after three problem notifications, a recovery notification is sent out for the service, who gets notified? The recovery is actually the fourth notification that gets sent out. However, the escalation code is smart enough to realize that only those people who were notified about the problem on the third notification should be notified about the recovery. In this case, the nt-admins and managers contact groups would be notified of the recovery." On Wed, 2011-05-25 at 13:56 -0400, Paul M. Dubuc wrote: > This works as long as the problem doesn't last longer than 3 notification > intervals. Recovery notifications that are numbered higher than 4 won't be sent. > > Patrik B?t wrote: > > # SMS > > define serviceescalation { > > host_name * > > service_description * > > first_notification 2 > > last_notification 3 > > notification_interval 0 > > contacts oncall > > } > > > > define hostescalation { > > host_name * > > first_notification 2 > > last_notification 3 > > notification_interval 0 > > contacts oncall > > } > > > > # MAIL > > > > define serviceescalation { > > host_name * > > service_description * > > first_notification 1 > > last_notification 1 > > notification_interval 10 > > contacts sysadmin.reports > > } > > > > define hostescalation { > > host_name * > > first_notification 1 > > last_notification 1 > > notification_interval 10 > > contacts sysadmin.reports > > } > > > > # Recovery > > > > define serviceescalation { > > host_name * > > service_description * > > first_notification 2 > > last_notification 3 > > notification_interval 0 > > contacts sysadmin.reports > > escalation_options r > > } > > > > define hostescalation { > > host_name * > > first_notification 2 > > last_notification 3 > > notification_interval 0 > > contacts sysadmin.reports > > escalation_options r > > > > > > This is working for me, to notify both via sms and email. eg 2 contacts. > > > > > > > > On Fri, 2011-05-20 at 22:22 +0200, Andreas Ericsson wrote: > >> On 05/20/2011 06:05 PM, Max Schubert wrote: > >>> Hi, > >>> > >>> On Thu, May 19, 2011 at 10:10 AM, Andreas Ericsson wrote: > >>>> On 05/19/2011 03:32 PM, Paul M. Dubuc wrote: > >>>>> OK, but wouldn't it be nice if all contacts who got an error notification were > >>>>> able to get the recovery message instead of just the one last notified? Is > >>>>> there any way to do that? Setting up an explicit serviceescalation for > >>>>> recovery notifications doesn't seem to work. > >>>>> > >>>> > >>>> Max Schubert is working on a patch that does something similar to that. > >>>> If he doesn't complete it, I might take a look at adding it myself. > >>> > >>> I will send out my partial patch to the list sometime today along with > >>> an explanation of my thinking / approach for it - feel free to use it > >>> or discard it as you see fit :)! > >>> > >> > >> Rest assured, I will ;) > >> > >> Our customers have raised voices about simplifying the notification > >> logic though. This discussion actually spawned that voice-raising, > >> which is nice. Either way, it might be that I end up either taking > >> your patch or implementing the "everyone who gets problem notifications > >> also get recovery notifications". > >> > > > > > > > > ------------------------------------------------------------------------------ > > vRanger cuts backup time in half-while increasing security. > > With the market-leading solution for virtual backup and recovery, > > you get blazing-fast, flexible, and affordable data protection. > > Download your free trial now. > > http://p.sf.net/sfu/quest-d2dcopy1 > > > > > > > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 490 bytes Desc: This is a digitally signed message part URL: -------------- next part -------------- ------------------------------------------------------------------------------ vRanger cuts backup time in half-while increasing security. With the market-leading solution for virtual backup and recovery, you get blazing-fast, flexible, and affordable data protection. Download your free trial now. http://p.sf.net/sfu/quest-d2dcopy1 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 26 15:43:36 2011 From: work at paul.dubuc.org (Paul M. Dubuc) Date: Thu, 26 May 2011 09:43:36 -0400 Subject: [Nagios-devel] Q: Service Escalation Recovery Notifications. In-Reply-To: <1306392820.3151.0.camel@endlessdream> References: <4DD42D0F.6020505@paul.dubuc.org> <4DD51C08.3060101@paul.dubuc.org> <4DD524DF.7000108@op5.se> <4DD6CD77.8040609@op5.se> <1306334799.2790.4.camel@endlessdream> <4DDD42C1.9070603@paul.dubuc.org> <1306392820.3151.0.camel@endlessdream> Message-ID: <4DDE5908.1000306@paul.dubuc.org> I should have mentioned that whether this works depends on who the default, non-escalated, contacts are for the host or service. In your case, since you have last_notification set to 3, those contacts in your escalation will not get a recovery notification that is numbered 5 or greater unless they also happen to be the default contact for the host or service, which will get the problem notification number 4 and all non-escalated notifications. If you escalate a notification to a contact that is not assigned as a regular contact for the host or service, those contacts don't get the recovery notification (unless they also got the previous problem notification) even if you set up a separate escalation for the recovery notification that specifies all previous contacts. Patrik B?t wrote: > Are you sure about that? > > The documentation says: > "If, after three problem notifications, a recovery notification is sent > out for the service, who gets notified? The recovery is actually the > fourth notification that gets sent out. However, the escalation code is > smart enough to realize that only those people who were notified about > the problem on the third notification should be notified about the > recovery. In this case, the nt-admins and managers contact groups would > be notified of the recovery." > > On Wed, 2011-05-25 at 13:56 -0400, Paul M. Dubuc wrote: >> This works as long as the problem doesn't last longer than 3 notification >> intervals. Recovery notifications that are numbered higher than 4 won't be sent. >> >> Patrik B?t wrote: >> > # SMS >> > define serviceescalation { >> > host_name * >> > service_description * >> > first_notification 2 >> > last_notification 3 >> > notification_interval 0 >> > contacts oncall >> > } >> > >> > define hostescalation { >> > host_name * >> > first_notification 2 >> > last_notification 3 >> > notification_interval 0 >> > contacts oncall >> > } >> > >> > # MAIL >> > >> > define serviceescalation { >> > host_name * >> > service_description * >> > first_notification 1 >> > last_notification 1 >> > notification_interval 10 >> > contacts sysadmin.reports >> > } >> > >> > define hostescalation { >> > host_name * >> > first_notification 1 >> > last_notification 1 >> > notification_interval 10 >> > contacts sysadmin.reports >> > } >> > >> > # Recovery >> > >> > define serviceescalation { >> > host_name * >> > service_description * >> > first_notification 2 >> > last_notification 3 >> > notification_interval 0 >> > contacts sysadmin.reports >> > escalation_options r >> > } >> > >> > define hostescalation { >> > host_name * >> > first_notification 2 >> > last_notification 3 >> > notification_interval 0 >> > contacts sysadmin.reports >> > escalation_options r >> > >> > >> > This is working for me, to notify both via sms and email. eg 2 contacts. >> > >> > >> > >> > On Fri, 2011-05-20 at 22:22 +0200, Andreas Ericsson wrote: >> >> On 05/20/2011 06:05 PM, Max Schubert wrote: >> >>> Hi, >> >>> >> >>> On Thu, May 19, 2011 at 10:10 AM, Andreas Ericsson> wrote: >> >>>> On 05/19/2011 03:32 PM, Paul M. Dubuc wrote: >> >>>>> OK, but wouldn't it be nice if all contacts who got an error notification were >> >>>>> able to get the recovery message instead of just the one last notified? Is >> >>>>> there any way to do that? Setting up an explicit serviceescalation for >> >>>>> recovery notifications doesn't seem to work. >> >>>>> >> >>>> >> >>>> Max Schubert is working on a patch that does something similar to that. >> >>>> If he doesn't complete it, I might take a look at adding it myself. >> >>> >> >>> I will send out my partial patch to the list sometime today along with >> >>> an explanation of my thinking / approach for it - feel free to use it >> >>> or discard it as you see fit :)! >> >>> >> >> >> >> Rest assured, I will ;) >> >> >> >> Our customers have raised voices about simplifying the notification >> >> logic though. This discussion actually spawned that voice-raising, >> >> which is nice. Either way, it might be that I end up either taking >> >> your patch or implementing the"everyone who gets problem notifications >> >> also get recovery notifications". >> >> ------------------------------------------------------------------------------ vRanger cuts backup time in half-while increasing security. With the market-leading solution for virtual backup and recovery, you get blazing-fast, flexible, and affordable data protection. Download your free trial now. http://p.sf.net/sfu/quest-d2dcopy1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pb at osix.eu Thu May 26 15:53:03 2011 From: pb at osix.eu (Patrik =?ISO-8859-1?Q?B=E5t?=) Date: Thu, 26 May 2011 15:53:03 +0200 Subject: [Nagios-devel] Q: Service Escalation Recovery Notifications. In-Reply-To: <4DDE5908.1000306@paul.dubuc.org> References: <4DD42D0F.6020505@paul.dubuc.org> <4DD51C08.3060101@paul.dubuc.org> <4DD524DF.7000108@op5.se> <4DD6CD77.8040609@op5.se> <1306334799.2790.4.camel@endlessdream> <4DDD42C1.9070603@paul.dubuc.org> <1306392820.3151.0.camel@endlessdream> <4DDE5908.1000306@paul.dubuc.org> Message-ID: <1306417983.3271.1.camel@endlessdream> Why just send a recovery to someone who hasnt been informed of problem? :P On Thu, 2011-05-26 at 09:43 -0400, Paul M. Dubuc wrote: > I should have mentioned that whether this works depends on who the default, > non-escalated, contacts are for the host or service. In your case, since you > have last_notification set to 3, those contacts in your escalation will not > get a recovery notification that is numbered 5 or greater unless they also > happen to be the default contact for the host or service, which will get the > problem notification number 4 and all non-escalated notifications. If you > escalate a notification to a contact that is not assigned as a regular contact > for the host or service, those contacts don't get the recovery notification > (unless they also got the previous problem notification) even if you set up a > separate escalation for the recovery notification that specifies all previous > contacts. > > Patrik B?t wrote: > > Are you sure about that? > > > > The documentation says: > > "If, after three problem notifications, a recovery notification is sent > > out for the service, who gets notified? The recovery is actually the > > fourth notification that gets sent out. However, the escalation code is > > smart enough to realize that only those people who were notified about > > the problem on the third notification should be notified about the > > recovery. In this case, the nt-admins and managers contact groups would > > be notified of the recovery." > > > > On Wed, 2011-05-25 at 13:56 -0400, Paul M. Dubuc wrote: > >> This works as long as the problem doesn't last longer than 3 notification > >> intervals. Recovery notifications that are numbered higher than 4 won't be sent. > >> > >> Patrik B?t wrote: > >> > # SMS > >> > define serviceescalation { > >> > host_name * > >> > service_description * > >> > first_notification 2 > >> > last_notification 3 > >> > notification_interval 0 > >> > contacts oncall > >> > } > >> > > >> > define hostescalation { > >> > host_name * > >> > first_notification 2 > >> > last_notification 3 > >> > notification_interval 0 > >> > contacts oncall > >> > } > >> > > >> > # MAIL > >> > > >> > define serviceescalation { > >> > host_name * > >> > service_description * > >> > first_notification 1 > >> > last_notification 1 > >> > notification_interval 10 > >> > contacts sysadmin.reports > >> > } > >> > > >> > define hostescalation { > >> > host_name * > >> > first_notification 1 > >> > last_notification 1 > >> > notification_interval 10 > >> > contacts sysadmin.reports > >> > } > >> > > >> > # Recovery > >> > > >> > define serviceescalation { > >> > host_name * > >> > service_description * > >> > first_notification 2 > >> > last_notification 3 > >> > notification_interval 0 > >> > contacts sysadmin.reports > >> > escalation_options r > >> > } > >> > > >> > define hostescalation { > >> > host_name * > >> > first_notification 2 > >> > last_notification 3 > >> > notification_interval 0 > >> > contacts sysadmin.reports > >> > escalation_options r > >> > > >> > > >> > This is working for me, to notify both via sms and email. eg 2 contacts. > >> > > >> > > >> > > >> > On Fri, 2011-05-20 at 22:22 +0200, Andreas Ericsson wrote: > >> >> On 05/20/2011 06:05 PM, Max Schubert wrote: > >> >>> Hi, > >> >>> > >> >>> On Thu, May 19, 2011 at 10:10 AM, Andreas Ericsson> wrote: > >> >>>> On 05/19/2011 03:32 PM, Paul M. Dubuc wrote: > >> >>>>> OK, but wouldn't it be nice if all contacts who got an error notification were > >> >>>>> able to get the recovery message instead of just the one last notified? Is > >> >>>>> there any way to do that? Setting up an explicit serviceescalation for > >> >>>>> recovery notifications doesn't seem to work. > >> >>>>> > >> >>>> > >> >>>> Max Schubert is working on a patch that does something similar to that. > >> >>>> If he doesn't complete it, I might take a look at adding it myself. > >> >>> > >> >>> I will send out my partial patch to the list sometime today along with > >> >>> an explanation of my thinking / approach for it - feel free to use it > >> >>> or discard it as you see fit :)! > >> >>> > >> >> > >> >> Rest assured, I will ;) > >> >> > >> >> Our customers have raised voices about simplifying the notification > >> >> logic though. This discussion actually spawned that voice-raising, > >> >> which is nice. Either way, it might be that I end up either taking > >> >> your patch or implementing the"everyone who gets problem notifications > >> >> also get recovery notifications". > >> >> > > -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 490 bytes Desc: This is a digitally signed message part URL: -------------- next part -------------- ------------------------------------------------------------------------------ vRanger cuts backup time in half-while increasing security. With the market-leading solution for virtual backup and recovery, you get blazing-fast, flexible, and affordable data protection. Download your free trial now. http://p.sf.net/sfu/quest-d2dcopy1 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 26 15:57:00 2011 From: work at paul.dubuc.org (Paul M. Dubuc) Date: Thu, 26 May 2011 09:57:00 -0400 Subject: [Nagios-devel] Q: Service Escalation Recovery Notifications. In-Reply-To: <1306417983.3271.1.camel@endlessdream> References: <4DD42D0F.6020505@paul.dubuc.org> <4DD51C08.3060101@paul.dubuc.org> <4DD524DF.7000108@op5.se> <4DD6CD77.8040609@op5.se> <1306334799.2790.4.camel@endlessdream> <4DDD42C1.9070603@paul.dubuc.org> <1306392820.3151.0.camel@endlessdream> <4DDE5908.1000306@paul.dubuc.org> <1306417983.3271.1.camel@endlessdream> Message-ID: <4DDE5C2C.4010104@paul.dubuc.org> Because they HAVE been informed of the problem by earlier notifications, but not the one notification prior to the recovery. It leaves those contacts wondering if the problem was ever fixed. Patrik B?t wrote: > Why just send a recovery to someone who hasnt been informed of > problem? :P > > On Thu, 2011-05-26 at 09:43 -0400, Paul M. Dubuc wrote: >> I should have mentioned that whether this works depends on who the default, >> non-escalated, contacts are for the host or service. In your case, since you >> have last_notification set to 3, those contacts in your escalation will not >> get a recovery notification that is numbered 5 or greater unless they also >> happen to be the default contact for the host or service, which will get the >> problem notification number 4 and all non-escalated notifications. If you >> escalate a notification to a contact that is not assigned as a regular contact >> for the host or service, those contacts don't get the recovery notification >> (unless they also got the previous problem notification) even if you set up a >> separate escalation for the recovery notification that specifies all previous >> contacts. ------------------------------------------------------------------------------ vRanger cuts backup time in half-while increasing security. With the market-leading solution for virtual backup and recovery, you get blazing-fast, flexible, and affordable data protection. Download your free trial now. http://p.sf.net/sfu/quest-d2dcopy1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From janne.j.leinonen at thl.fi Thu May 26 14:47:03 2011 From: janne.j.leinonen at thl.fi (Janne Leinonen) Date: Thu, 26 May 2011 15:47:03 +0300 Subject: How to compare two nrpe status information results in Nagios server? Message-ID: <4DDE4BC7.60108@thl.fi> I use NRPE to poll information from two Windows servers running NSclient++ $USER1$/check_nrpe -t 300 -H $HOSTADDRESS$ -c CheckFile2 -a path ...max-dir-depth=1 pattern=*.XT filter+written=lt:4d The command returns all files named *.XT newer than 4 days and these file names can be seen in status information from the hosts service detail. Output is something like this : server 1 service status information: 0305_04192-11_2011-05-24_09-07-13.XT, 0305_05035-11_2011-05-24_08-43-48.XT, 03052_05163-11_2011-05-24_08-46-25.XT, server 2 service status information: 0305_04192-11_2011-05-24_09-07-13.XT, 0305_05035-11_2011-05-24_08-43-48.XT, 0305_05163-11_2011-05-24_08-46-25.XT, 0305_05697-11_2011-05-24_08-48-40.XT, 0305_05701-11_2011-05-24_08-51-05.XT, How can I compare these results in centralized Nagios server and make an email notification if for example the file names differ? Thank You, Janne Leinonen ------------------------------------------------------------------------------ vRanger cuts backup time in half-while increasing security. With the market-leading solution for virtual backup and recovery, you get blazing-fast, flexible, and affordable data protection. Download your free trial now. http://p.sf.net/sfu/quest-d2dcopy1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pb at osix.eu Thu May 26 16:18:07 2011 From: pb at osix.eu (Patrik =?ISO-8859-1?Q?B=E5t?=) Date: Thu, 26 May 2011 16:18:07 +0200 Subject: [Nagios-devel] Q: Service Escalation Recovery Notifications. In-Reply-To: <4DDE5C2C.4010104@paul.dubuc.org> References: <4DD42D0F.6020505@paul.dubuc.org> <4DD51C08.3060101@paul.dubuc.org> <4DD524DF.7000108@op5.se> <4DD6CD77.8040609@op5.se> <1306334799.2790.4.camel@endlessdream> <4DDD42C1.9070603@paul.dubuc.org> <1306392820.3151.0.camel@endlessdream> <4DDE5908.1000306@paul.dubuc.org> <1306417983.3271.1.camel@endlessdream> <4DDE5C2C.4010104@paul.dubuc.org> Message-ID: <1306419487.3271.4.camel@endlessdream> Strange, as i understand the documentation, nagios is suppose to do that. But maybe thats the fix andreas was talking about, if there is a bug in nagios? On Thu, 2011-05-26 at 09:57 -0400, Paul M. Dubuc wrote: > Because they HAVE been informed of the problem by earlier notifications, but > not the one notification prior to the recovery. It leaves those contacts > wondering if the problem was ever fixed. > > Patrik B?t wrote: > > Why just send a recovery to someone who hasnt been informed of > > problem? :P > > > > On Thu, 2011-05-26 at 09:43 -0400, Paul M. Dubuc wrote: > >> I should have mentioned that whether this works depends on who the default, > >> non-escalated, contacts are for the host or service. In your case, since you > >> have last_notification set to 3, those contacts in your escalation will not > >> get a recovery notification that is numbered 5 or greater unless they also > >> happen to be the default contact for the host or service, which will get the > >> problem notification number 4 and all non-escalated notifications. If you > >> escalate a notification to a contact that is not assigned as a regular contact > >> for the host or service, those contacts don't get the recovery notification > >> (unless they also got the previous problem notification) even if you set up a > >> separate escalation for the recovery notification that specifies all previous > >> contacts. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 490 bytes Desc: This is a digitally signed message part URL: -------------- next part -------------- ------------------------------------------------------------------------------ vRanger cuts backup time in half-while increasing security. With the market-leading solution for virtual backup and recovery, you get blazing-fast, flexible, and affordable data protection. Download your free trial now. http://p.sf.net/sfu/quest-d2dcopy1 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at flatto.net Thu May 26 16:23:09 2011 From: nagios at flatto.net (Assaf Flatto) Date: Thu, 26 May 2011 14:23:09 +0000 Subject: How to compare two nrpe status information results in Nagios server? In-Reply-To: <4DDE4BC7.60108@thl.fi> References: <4DDE4BC7.60108@thl.fi> Message-ID: <4DDE624D.10404@flatto.net> Janne Leinonen wrote: > I use NRPE to poll information from two Windows servers running NSclient++ > > $USER1$/check_nrpe -t 300 -H $HOSTADDRESS$ -c CheckFile2 -a path > ...max-dir-depth=1 pattern=*.XT filter+written=lt:4d > > The command returns all files named *.XT newer than 4 days and these > file names can be seen in status information from the hosts service > detail. > > Output is something like this : > > server 1 service status information: > 0305_04192-11_2011-05-24_09-07-13.XT, > 0305_05035-11_2011-05-24_08-43-48.XT, > 03052_05163-11_2011-05-24_08-46-25.XT, > > server 2 service status information: > 0305_04192-11_2011-05-24_09-07-13.XT, > 0305_05035-11_2011-05-24_08-43-48.XT, > 0305_05163-11_2011-05-24_08-46-25.XT, > 0305_05697-11_2011-05-24_08-48-40.XT, 0305_05701-11_2011-05-24_08-51-05.XT, > > > How can I compare these results in centralized Nagios server and make an > email notification if for example the file names differ? > > Thank You, Janne Leinonen > > What you are asking is not a part of nagios , but you can write an external script that goes of over the status.dat and gets the data you need , it will not be an easy task as you'll need to account for time diff ,specific string match and file position . ------------------------------------------------------------------------------ vRanger cuts backup time in half-while increasing security. With the market-leading solution for virtual backup and recovery, you get blazing-fast, flexible, and affordable data protection. Download your free trial now. http://p.sf.net/sfu/quest-d2dcopy1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From matt at conundrum.com Thu May 26 17:17:39 2011 From: matt at conundrum.com (Matthew Pounsett) Date: Thu, 26 May 2011 11:17:39 -0400 Subject: How to compare two nrpe status information results in Nagios server? In-Reply-To: <4DDE4BC7.60108@thl.fi> References: <4DDE4BC7.60108@thl.fi> Message-ID: <23CF4A7B-CB28-4EA6-AB7D-080264F01ACA@conundrum.com> On 2011/05/26, at 08:47, Janne Leinonen wrote: > How can I compare these results in centralized Nagios server and make an > email notification if for example the file names differ? If I needed to do this I'd write a wrapper plugin that accepted a list of hosts, made calls out to checks for all of those hosts, and then reported the comparison result back to nagios. I don't think what you want to do is natively possible though. You'll either need to write something like this, or something like what Assaf Flatto recommended. ------------------------------------------------------------------------------ vRanger cuts backup time in half-while increasing security. With the market-leading solution for virtual backup and recovery, you get blazing-fast, flexible, and affordable data protection. Download your free trial now. http://p.sf.net/sfu/quest-d2dcopy1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From weinerm at ccf.org Thu May 26 16:55:14 2011 From: weinerm at ccf.org (Weiner, Michael) Date: Thu, 26 May 2011 10:55:14 -0400 Subject: 2-way alerting Message-ID: Good morning, fellow Nagios users. I love it when products work as advertised, and I have been happily monitoring our enterprise network with little requirements as of late for help, but recently I began investigating 2-way alerting via SMS using the following as a guide: http://matt.bottrell.com.au/archives/170-Nagios-2-way-alerting-via-SMS-P art-1.html (and the other 2 pages) I can follow the Nagios changes pretty easily, and the mysql setup easily, and even have gammu/wammu installed. However, the biggest pain in the entire process is finding a cellular phone (low-tech phone) that can do SMS that will work with my current setup. We are running two Nagios servers, master and slave, and the master server which is where I am setting up the gammu stuff is currently running Fedora 6 with Nagios 2.12 (I realize this is an out-of-date- setup but it is extremely stable and not broken, LOL). We are somewhat stuck using phones that are provided by our carrier, Verizon, which after having sent them the aforementioned webpages for their review, sent us two phones for demo testing. LG Fathom (DLC200) - which is way more than we need Samsung Convoy - fairly low tech phone For some reason, the only one that the OS seems to see is the Samsung, and using 'dmesg' I can see that the cdc-acm kernel module sees and sets up the ttyACM0 device when the phone is plugged in via USB, however gammu has very limited sight into the phone. So I am not sure if I am chasing an OLD OS that will never work, and OLD version of gammu that is hard to update based on the dependencies it has, or the phone itself not being supported. My first questions would be, has anyone set this up? And if so, what exactly did you do? And what hardware/software combination are you using? And what phone and carrier are you using to get it to work? There are SaaS services out there that can provide SMS for me, but they are all pay as you go, and I would prefer to do this without any huge investment - we are already going to have to pay the monthly cell charges. Any suggestions/insights would be greatly appreciated Michael Weiner =================================== Please consider the environment before printing this e-mail Cleveland Clinic is ranked one of the top hospitals in America by U.S.News & World Report (2010). Visit us online at http://www.clevelandclinic.org for a complete listing of our services, staff and locations. Confidentiality Note: This message is intended for use only by the individual or entity to which it is addressed and may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. Thank you. ------------------------------------------------------------------------------ vRanger cuts backup time in half-while increasing security. With the market-leading solution for virtual backup and recovery, you get blazing-fast, flexible, and affordable data protection. Download your free trial now. http://p.sf.net/sfu/quest-d2dcopy1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From roberto.nunnari at supsi.ch Thu May 26 18:46:39 2011 From: roberto.nunnari at supsi.ch (Roberto Nunnari) Date: Thu, 26 May 2011 18:46:39 +0200 Subject: Services are dependent on the host they run on? Message-ID: <4DDE83EF.5070204@supsi.ch> Hi all. Some time ago, I've installed and configured nagios to monitor our IT infrastructure. It works very well and we're happy with it. There's still one problem though: When a host goes down, nagios sends notifications not only for host down, but also for all services running on that host. When a host goes down, I would like nagios to only send notifications about the host down, and not for all the services running on that host. How can I achive that? May it be a configuration error from my side? I thought that to nagios, services would be dependent from the host running them.. Any hint/advice/guidance is very welcome. Thank you and best regards. Robi ------------------------------------------------------------------------------ vRanger cuts backup time in half-while increasing security. With the market-leading solution for virtual backup and recovery, you get blazing-fast, flexible, and affordable data protection. Download your free trial now. http://p.sf.net/sfu/quest-d2dcopy1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Martin_Hugo at hboe.org Thu May 26 19:23:59 2011 From: Martin_Hugo at hboe.org (Martin Hugo) Date: Thu, 26 May 2011 17:23:59 +0000 Subject: Services are dependent on the host they run on? In-Reply-To: <4DDE83EF.5070204@supsi.ch> References: <4DDE83EF.5070204@supsi.ch> Message-ID: <70D7A4219FE365439DA53582BA6D8F2E176AFBC8@HCSD-MAIL2> Hi Robi, I have never done it but I know you can make hosts/services children that will not report if the parent is down. Hope this puts you on the right track. Marty -----Original Message----- From: Roberto Nunnari [mailto:roberto.nunnari at supsi.ch] Sent: Thursday, May 26, 2011 12:47 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Services are dependent on the host they run on? Hi all. Some time ago, I've installed and configured nagios to monitor our IT infrastructure. It works very well and we're happy with it. There's still one problem though: When a host goes down, nagios sends notifications not only for host down, but also for all services running on that host. When a host goes down, I would like nagios to only send notifications about the host down, and not for all the services running on that host. How can I achive that? May it be a configuration error from my side? I thought that to nagios, services would be dependent from the host running them.. Any hint/advice/guidance is very welcome. Thank you and best regards. Robi ------------------------------------------------------------------------------ vRanger cuts backup time in half-while increasing security. With the market-leading solution for virtual backup and recovery, you get blazing-fast, flexible, and affordable data protection. Download your free trial now. http://p.sf.net/sfu/quest-d2dcopy1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ vRanger cuts backup time in half-while increasing security. With the market-leading solution for virtual backup and recovery, you get blazing-fast, flexible, and affordable data protection. Download your free trial now. http://p.sf.net/sfu/quest-d2dcopy1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at flatto.net Thu May 26 19:39:22 2011 From: nagios at flatto.net (Assaf Flatto) Date: Thu, 26 May 2011 18:39:22 +0100 Subject: Services are dependent on the host they run on? In-Reply-To: <70D7A4219FE365439DA53582BA6D8F2E176AFBC8@HCSD-MAIL2> References: <4DDE83EF.5070204@supsi.ch> <70D7A4219FE365439DA53582BA6D8F2E176AFBC8@HCSD-MAIL2> Message-ID: <4DDE904A.3080701@flatto.net> Martin Hugo wrote: > Hi Robi, > > I have never done it but I know you can make hosts/services children that will not report if the parent is down. > > Hope this puts you on the right track. > > Marty > > -----Original Message----- > From: Roberto Nunnari [mailto:roberto.nunnari at supsi.ch] > Sent: Thursday, May 26, 2011 12:47 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Services are dependent on the host they run on? > > Hi all. > > Some time ago, I've installed and configured nagios to monitor our IT > infrastructure. > > It works very well and we're happy with it. > > There's still one problem though: > When a host goes down, nagios sends notifications not only for host > down, but also for all services running on that host. When a host goes > down, I would like nagios to only send notifications about the host > down, and not for all the services running on that host. > > How can I achive that? > May it be a configuration error from my side? I thought that to nagios, > services would be dependent from the host running them.. > > Any hint/advice/guidance is very welcome. > > Thank you and best regards. > > Robi > check out service dependencies http://nagios.sourceforge.net/docs/3_0/dependencies.html ------------------------------------------------------------------------------ vRanger cuts backup time in half-while increasing security. With the market-leading solution for virtual backup and recovery, you get blazing-fast, flexible, and affordable data protection. Download your free trial now. http://p.sf.net/sfu/quest-d2dcopy1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From terry at cnysupport.com Thu May 26 20:26:41 2011 From: terry at cnysupport.com (Terry Carmen) Date: Thu, 26 May 2011 14:26:41 -0400 Subject: Services are dependent on the host they run on? In-Reply-To: <4DDE904A.3080701@flatto.net> References: <4DDE83EF.5070204@supsi.ch> <70D7A4219FE365439DA53582BA6D8F2E176AFBC8@HCSD-MAIL2> <4DDE904A.3080701@flatto.net> Message-ID: <20110526142641.78036tiqz5thzf0o@www.cnysupport.com> Quoting Assaf Flatto : >> Any hint/advice/guidance is very welcome. >> >> Thank you and best regards. >> >> Robi >> > check out service dependencies > > http://nagios.sourceforge.net/docs/3_0/dependencies.html > I'm in the same boat. This should be very simple, but I'm probably just missing something. The above docs show all sorts of complex dependencies, but I'm actually looking for something simple. If a host can't be pinged, there is little point in attempting to check disk space or anything else, so I'd like to disable all the other checks when ping fails; however according to the link above, this would require creating specific dependency definitions for each host and all services, defining everything as a dependency of ping. Is there some sort of rule or wild-card that would tell Nagios that all network based checks should be disabled if the host can't be pinged? Thanks! Terry ------------------------------------------------------------------------------ vRanger cuts backup time in half-while increasing security. With the market-leading solution for virtual backup and recovery, you get blazing-fast, flexible, and affordable data protection. Download your free trial now. http://p.sf.net/sfu/quest-d2dcopy1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu May 26 21:08:06 2011 From: mark.frost1 at pepsico.com (Frost, Mark {PBC}) Date: Thu, 26 May 2011 15:08:06 -0400 Subject: Services are dependent on the host they run on? In-Reply-To: <4DDE904A.3080701@flatto.net> References: <4DDE83EF.5070204@supsi.ch> <70D7A4219FE365439DA53582BA6D8F2E176AFBC8@HCSD-MAIL2> <4DDE904A.3080701@flatto.net> Message-ID: Maybe I'm missing something but I thought that suppressing notifications for services on the same host when the host goes down is the default behavior. It's only when you have to suppress notifications from different hosts that you need host/service dependencies. Mark -----Original Message----- From: Assaf Flatto [mailto:nagios at flatto.net] Sent: Thursday, May 26, 2011 1:39 PM To: Nagios Users List Subject: Re: [Nagios-users] Services are dependent on the host they run on? Martin Hugo wrote: > Hi Robi, > > I have never done it but I know you can make hosts/services children that will not report if the parent is down. > > Hope this puts you on the right track. > > Marty > > -----Original Message----- > From: Roberto Nunnari [mailto:roberto.nunnari at supsi.ch] > Sent: Thursday, May 26, 2011 12:47 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Services are dependent on the host they run on? > > Hi all. > > Some time ago, I've installed and configured nagios to monitor our IT > infrastructure. > > It works very well and we're happy with it. > > There's still one problem though: > When a host goes down, nagios sends notifications not only for host > down, but also for all services running on that host. When a host goes > down, I would like nagios to only send notifications about the host > down, and not for all the services running on that host. > > How can I achive that? > May it be a configuration error from my side? I thought that to nagios, > services would be dependent from the host running them.. > > Any hint/advice/guidance is very welcome. > > Thank you and best regards. > > Robi > check out service dependencies http://nagios.sourceforge.net/docs/3_0/dependencies.html ------------------------------------------------------------------------------ vRanger cuts backup time in half-while increasing security. With the market-leading solution for virtual backup and recovery, you get blazing-fast, flexible, and affordable data protection. Download your free trial now. http://p.sf.net/sfu/quest-d2dcopy1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ vRanger cuts backup time in half-while increasing security. With the market-leading solution for virtual backup and recovery, you get blazing-fast, flexible, and affordable data protection. Download your free trial now. http://p.sf.net/sfu/quest-d2dcopy1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From roberto.nunnari at supsi.ch Fri May 27 09:00:34 2011 From: roberto.nunnari at supsi.ch (Roberto Nunnari) Date: Fri, 27 May 2011 09:00:34 +0200 Subject: Services are dependent on the host they run on? In-Reply-To: References: <4DDE83EF.5070204@supsi.ch> <70D7A4219FE365439DA53582BA6D8F2E176AFBC8@HCSD-MAIL2> <4DDE904A.3080701@flatto.net> Message-ID: <4DDF4C12.8060704@supsi.ch> Hi Mark. Frost, Mark {PBC} wrote: > Maybe I'm missing something but I thought that suppressing notifications for services on the same host when the host goes down is the default behavior. It's only when you have to suppress notifications from different hosts that you need host/service dependencies. That's exactly what I was expecting, but it doesn't seem to work that way.. at least not for me. Yesterday for instance, a host went down because of a hd controller failure, and I received 22 sms.. Robi > > > Mark > > -----Original Message----- > From: Assaf Flatto [mailto:nagios at flatto.net] > Sent: Thursday, May 26, 2011 1:39 PM > To: Nagios Users List > Subject: Re: [Nagios-users] Services are dependent on the host they run on? > > Martin Hugo wrote: >> Hi Robi, >> >> I have never done it but I know you can make hosts/services children that will not report if the parent is down. >> >> Hope this puts you on the right track. >> >> Marty >> >> -----Original Message----- >> From: Roberto Nunnari [mailto:roberto.nunnari at supsi.ch] >> Sent: Thursday, May 26, 2011 12:47 PM >> To: nagios-users at lists.sourceforge.net >> Subject: [Nagios-users] Services are dependent on the host they run on? >> >> Hi all. >> >> Some time ago, I've installed and configured nagios to monitor our IT >> infrastructure. >> >> It works very well and we're happy with it. >> >> There's still one problem though: >> When a host goes down, nagios sends notifications not only for host >> down, but also for all services running on that host. When a host goes >> down, I would like nagios to only send notifications about the host >> down, and not for all the services running on that host. >> >> How can I achive that? >> May it be a configuration error from my side? I thought that to nagios, >> services would be dependent from the host running them.. >> >> Any hint/advice/guidance is very welcome. >> >> Thank you and best regards. >> >> Robi >> > check out service dependencies > > http://nagios.sourceforge.net/docs/3_0/dependencies.html ------------------------------------------------------------------------------ vRanger cuts backup time in half-while increasing security. With the market-leading solution for virtual backup and recovery, you get blazing-fast, flexible, and affordable data protection. Download your free trial now. http://p.sf.net/sfu/quest-d2dcopy1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From roberto.nunnari at supsi.ch Fri May 27 09:04:03 2011 From: roberto.nunnari at supsi.ch (Roberto Nunnari) Date: Fri, 27 May 2011 09:04:03 +0200 Subject: Services are dependent on the host they run on? In-Reply-To: <20110526142641.78036tiqz5thzf0o@www.cnysupport.com> References: <4DDE83EF.5070204@supsi.ch> <70D7A4219FE365439DA53582BA6D8F2E176AFBC8@HCSD-MAIL2> <4DDE904A.3080701@flatto.net> <20110526142641.78036tiqz5thzf0o@www.cnysupport.com> Message-ID: <4DDF4CE3.9020308@supsi.ch> Terry Carmen wrote: > Quoting Assaf Flatto : > >>> Any hint/advice/guidance is very welcome. >>> >>> Thank you and best regards. >>> >>> Robi >>> >> check out service dependencies >> >> http://nagios.sourceforge.net/docs/3_0/dependencies.html >> > > I'm in the same boat. > > This should be very simple, but I'm probably just missing something. > The above docs show all sorts of complex dependencies, but I'm > actually looking for something simple. > > If a host can't be pinged, there is little point in attempting to > check disk space or anything else, so I'd like to disable all the > other checks when ping fails; however according to the link above, > this would require creating specific dependency definitions for each > host and all services, defining everything as a dependency of ping. > > Is there some sort of rule or wild-card that would tell Nagios that > all network based checks should be disabled if the host can't be pinged? Yes. That's exactly what I'm looking for. Robi > > Thanks! > > Terry ------------------------------------------------------------------------------ vRanger cuts backup time in half-while increasing security. With the market-leading solution for virtual backup and recovery, you get blazing-fast, flexible, and affordable data protection. Download your free trial now. http://p.sf.net/sfu/quest-d2dcopy1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From roberto.nunnari at supsi.ch Fri May 27 09:18:03 2011 From: roberto.nunnari at supsi.ch (Roberto Nunnari) Date: Fri, 27 May 2011 09:18:03 +0200 Subject: Services are dependent on the host they run on? In-Reply-To: <4DDE904A.3080701@flatto.net> References: <4DDE83EF.5070204@supsi.ch> <70D7A4219FE365439DA53582BA6D8F2E176AFBC8@HCSD-MAIL2> <4DDE904A.3080701@flatto.net> Message-ID: <4DDF502B.6000906@supsi.ch> Assaf Flatto wrote: > Martin Hugo wrote: >> Hi Robi, >> >> I have never done it but I know you can make hosts/services children that will not report if the parent is down. >> >> Hope this puts you on the right track. >> >> Marty >> >> -----Original Message----- >> From: Roberto Nunnari [mailto:roberto.nunnari at supsi.ch] >> Sent: Thursday, May 26, 2011 12:47 PM >> To: nagios-users at lists.sourceforge.net >> Subject: [Nagios-users] Services are dependent on the host they run on? >> >> Hi all. >> >> Some time ago, I've installed and configured nagios to monitor our IT >> infrastructure. >> >> It works very well and we're happy with it. >> >> There's still one problem though: >> When a host goes down, nagios sends notifications not only for host >> down, but also for all services running on that host. When a host goes >> down, I would like nagios to only send notifications about the host >> down, and not for all the services running on that host. >> >> How can I achive that? >> May it be a configuration error from my side? I thought that to nagios, >> services would be dependent from the host running them.. >> >> Any hint/advice/guidance is very welcome. >> >> Thank you and best regards. >> >> Robi >> > check out service dependencies > > http://nagios.sourceforge.net/docs/3_0/dependencies.html Hi Assaf. I already read that.. but it is all about defining dependencies between services, even between services running on different hosts, but nothing like a dependency between a service and the host it is running on.. it should be very simple.. even implicit.. why check services and notify about services if the host the services are running on is down? There's no point in it. It's should be implicit, and if somebody needs it, it should be possible to enable it, but not be the default behaviour. Following the above documentation, I should define a ping service on that host, and then declare dependencies on services running on that host from the ping service!! No.. it doesn't make much sense.. I tend to believe it's a configuration error or omission on my side.. it just isn't logical. Best regards. Robi ------------------------------------------------------------------------------ vRanger cuts backup time in half-while increasing security. With the market-leading solution for virtual backup and recovery, you get blazing-fast, flexible, and affordable data protection. Download your free trial now. http://p.sf.net/sfu/quest-d2dcopy1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rosenski at wave-computer.de Fri May 27 09:41:41 2011 From: rosenski at wave-computer.de (Axel Rosenski) Date: Fri, 27 May 2011 09:41:41 +0200 Subject: Services are dependent on the host they run on? In-Reply-To: <4DDF4CE3.9020308@supsi.ch> References: <4DDE83EF.5070204@supsi.ch> <20110526142641.78036tiqz5thzf0o@www.cnysupport.com> <4DDF4CE3.9020308@supsi.ch> Message-ID: <201105270941.41870.rosenski@wave-computer.de> Hi, I found a solution by adding a service dependency on the nrpe daemon. This works well with a single dependency definition for standard checks I like to have on all server but you need to define additional service dependencie for every service. When you work with hostgroups you can use them and don't need to define a dependency for every IP you want to check. Regards, Axel Am Freitag, 27. Mai. 11, 09:04:03 schrieb Roberto Nunnari: > Terry Carmen wrote: > > Quoting Assaf Flatto : > >>> Any hint/advice/guidance is very welcome. > >>> > >>> Thank you and best regards. > >>> > >>> Robi > >> > >> check out service dependencies > >> > >> http://nagios.sourceforge.net/docs/3_0/dependencies.html > > > > I'm in the same boat. > > > > This should be very simple, but I'm probably just missing something. > > The above docs show all sorts of complex dependencies, but I'm > > actually looking for something simple. > > > > If a host can't be pinged, there is little point in attempting to > > check disk space or anything else, so I'd like to disable all the > > other checks when ping fails; however according to the link above, > > this would require creating specific dependency definitions for each > > host and all services, defining everything as a dependency of ping. > > > > Is there some sort of rule or wild-card that would tell Nagios that > > all network based checks should be disabled if the host can't be pinged? > > Yes. That's exactly what I'm looking for. > Robi > > > Thanks! > > > > Terry > > --------------------------------------------------------------------------- > --- vRanger cuts backup time in half-while increasing security. > With the market-leading solution for virtual backup and recovery, > you get blazing-fast, flexible, and affordable data protection. > Download your free trial now. > http://p.sf.net/sfu/quest-d2dcopy1 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > ::: reporting any issue. Messages without supporting info will risk being > ::: sent to /dev/null -- Axel Rosenski - Administration - ______________________________ Wave Computersysteme GmbH Philipp-Reis-Str. 1-3 / 9 35440 Linden Gesch?ftsf?hrer: Carsten Kellmann Registergericht Gie?en HRB 1823 Tel.: +49 (0)6403 / 9050 8317 Fax: +49 (0)6403 / 9050 5089 mailto:rosenski at wave-computer.de http://www.wave-computer.de ------------------------------------------------------------------------------ vRanger cuts backup time in half-while increasing security. With the market-leading solution for virtual backup and recovery, you get blazing-fast, flexible, and affordable data protection. Download your free trial now. http://p.sf.net/sfu/quest-d2dcopy1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Gerald.Ortner at gespag.at Fri May 27 10:36:23 2011 From: Gerald.Ortner at gespag.at (Ortner, Gerald) Date: Fri, 27 May 2011 10:36:23 +0200 Subject: Services are dependent on the host they run on? In-Reply-To: <4DDF4C12.8060704@supsi.ch> References: <4DDE83EF.5070204@supsi.ch> <70D7A4219FE365439DA53582BA6D8F2E176AFBC8@HCSD-MAIL2> <4DDE904A.3080701@flatto.net> <4DDF4C12.8060704@supsi.ch> Message-ID: <13579FFE8B208F4DBA327EE25F804AABFE12A6A2@swvbpheaglxmb02.health.local> What host/service check interval/max check attempts do you use? Maybe the host check interval is much longer than the service check interval. If the services become hard state critical before the host check does, the service notifications will be sent, as Nagios isn't aware of the host problem. I don't know how Nagios behaves if the host is only in soft state? hth gerald > -----Urspr?ngliche Nachricht----- > Von: Roberto Nunnari [mailto:roberto.nunnari at supsi.ch] > Gesendet: Freitag, 27. Mai 2011 09:01 > An: Nagios Users List > Betreff: Re: [Nagios-users] Services are dependent on the host they run on? > > Hi Mark. > > > Frost, Mark {PBC} wrote: > > Maybe I'm missing something but I thought that suppressing notifications > for services on the same host when the host goes down is the default > behavior. It's only when you have to suppress notifications from different > hosts that you need host/service dependencies. > > That's exactly what I was expecting, but it doesn't seem to work that way.. at > least not for me. > > Yesterday for instance, a host went down because of a hd controller failure, > and I received 22 sms.. > > Robi > > > > > > > > Mark > > > > -----Original Message----- > > From: Assaf Flatto [mailto:nagios at flatto.net] > > Sent: Thursday, May 26, 2011 1:39 PM > > To: Nagios Users List > > Subject: Re: [Nagios-users] Services are dependent on the host they run > on? > > > > Martin Hugo wrote: > >> Hi Robi, > >> > >> I have never done it but I know you can make hosts/services children that > will not report if the parent is down. > >> > >> Hope this puts you on the right track. > >> > >> Marty > >> > >> -----Original Message----- > >> From: Roberto Nunnari [mailto:roberto.nunnari at supsi.ch] > >> Sent: Thursday, May 26, 2011 12:47 PM > >> To: nagios-users at lists.sourceforge.net > >> Subject: [Nagios-users] Services are dependent on the host they run on? > >> > >> Hi all. > >> > >> Some time ago, I've installed and configured nagios to monitor our IT > >> infrastructure. > >> > >> It works very well and we're happy with it. > >> > >> There's still one problem though: > >> When a host goes down, nagios sends notifications not only for host > >> down, but also for all services running on that host. When a host > >> goes down, I would like nagios to only send notifications about the > >> host down, and not for all the services running on that host. > >> > >> How can I achive that? > >> May it be a configuration error from my side? I thought that to > >> nagios, services would be dependent from the host running them.. > >> > >> Any hint/advice/guidance is very welcome. > >> > >> Thank you and best regards. > >> > >> Robi > >> > > check out service dependencies > > > > http://nagios.sourceforge.net/docs/3_0/dependencies.html > > > ------------------------------------------------------------------------------ > vRanger cuts backup time in half-while increasing security. > With the market-leading solution for virtual backup and recovery, you get > blazing-fast, flexible, and affordable data protection. > Download your free trial now. > http://p.sf.net/sfu/quest-d2dcopy1 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null OOe. Gesundheits- und Spitals-AG Techcenter, Hafenstrasse 47-51, 4020 Linz DVR 2107870, ATU 51928204, Firmenbuchgericht: Landesgericht Linz, FN 210146 p ------------------------------------------------------------------------------ vRanger cuts backup time in half-while increasing security. With the market-leading solution for virtual backup and recovery, you get blazing-fast, flexible, and affordable data protection. Download your free trial now. http://p.sf.net/sfu/quest-d2dcopy1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benny at bennyvision.com Fri May 27 12:55:25 2011 From: benny at bennyvision.com (C. Bensend) Date: Fri, 27 May 2011 05:55:25 -0500 Subject: Services are dependent on the host they run on? In-Reply-To: <4DDF4C12.8060704@supsi.ch> References: <4DDE83EF.5070204@supsi.ch> <70D7A4219FE365439DA53582BA6D8F2E176AFBC8@HCSD-MAIL2> <4DDE904A.3080701@flatto.net> <4DDF4C12.8060704@supsi.ch> Message-ID: > Yesterday for instance, a host went down because of a hd controller > failure, and I received 22 sms.. I apologize if this has already been stated, I haven't been following this thread too closely. When this happened, was the host down *in a network sense*, or was it just down in a user sense? Ie, was it still pingable? A situation I've dealt with in the past is that a host's network stack might still be "alive enough" (ie, pingable), while the host itself is sitting at a kernel panic or locked up. In that case, if you're using ping for the host check, Nagios would have no way of knowing that the host is down, because it still responds. In those [rare] cases, I've had to define a second command that requires a more intelligent response from a host, and then used that as the host check command. Notable examples would be old school Sun machines, which are still pingable when they're sitting at the OK> prompt (ie, operating system is not running). Just a thought. Benny -- "You were doing well until everyone died." -- "God", Futurama ------------------------------------------------------------------------------ vRanger cuts backup time in half-while increasing security. With the market-leading solution for virtual backup and recovery, you get blazing-fast, flexible, and affordable data protection. Download your free trial now. http://p.sf.net/sfu/quest-d2dcopy1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mylinuxhalist at gmail.com Sat May 28 00:39:32 2011 From: mylinuxhalist at gmail.com (My LinuxHAList) Date: Fri, 27 May 2011 18:39:32 -0400 Subject: pnp on check_cpu_stats.sh Message-ID: We paid for the Nagios XI 2011R1. We are using check_cpu_stats.sh to poll information CPU usage information via NRPE. CPU STATISTICS OK : user=0.00% system=0.00% iowait=0.00% idle=100.00% nice=0.00% steal=0.00% However, there are no performance graphs on CPU. I'm still pretty new to Nagios. I look around and found that pnp is the backend engine that produces graphs. [root at linuxbox check_commands]# cat ../pnp4nagios_release PKG_REL_DATE="05-02-2009" PKG_VERSION="0.4.14" PKG_NAME="pnp" I found that I have, but not the rrd file /usr/local/nagios/share/perfdata/linuxbox2/CPU_Stats.xml # pwd /usr/local/nagios/etc/pnp/check_commands I realize that I may need to have something at /usr/local/nagios/etc/pnp/check_commands to have my graphs generated. Does anyone have a recipe to have my graphs using check_cpu_stats.sh (nagios command named: check_cpu_stats) ? Thanks... ------------------------------------------------------------------------------ vRanger cuts backup time in half-while increasing security. With the market-leading solution for virtual backup and recovery, you get blazing-fast, flexible, and affordable data protection. Download your free trial now. http://p.sf.net/sfu/quest-d2dcopy1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wyild1 at gmail.com Sat May 28 00:48:48 2011 From: wyild1 at gmail.com (Ryan Edwards) Date: Fri, 27 May 2011 16:48:48 -0600 Subject: pnp on check_cpu_stats.sh In-Reply-To: References: Message-ID: Works fine over here. Do you have perf data for any checks? first thing is to make sure its enabled. On Fri, May 27, 2011 at 4:39 PM, My LinuxHAList wrote: > We paid for the Nagios XI 2011R1. > We are using check_cpu_stats.sh to poll information CPU usage > information via NRPE. > > CPU STATISTICS OK : user=0.00% system=0.00% iowait=0.00% idle=100.00% > nice=0.00% steal=0.00% > > However, there are no performance graphs on CPU. > > I'm still pretty new to Nagios. I look around and found that pnp is > the backend engine that produces graphs. > > [root at linuxbox check_commands]# cat ../pnp4nagios_release > PKG_REL_DATE="05-02-2009" > PKG_VERSION="0.4.14" > PKG_NAME="pnp" > > > I found that I have, but not the rrd file > /usr/local/nagios/share/perfdata/linuxbox2/CPU_Stats.xml > > # pwd > /usr/local/nagios/etc/pnp/check_commands > > I realize that I may need to have something at > /usr/local/nagios/etc/pnp/check_commands > to have my graphs generated. > > Does anyone have a recipe to have my graphs using check_cpu_stats.sh > (nagios command named: check_cpu_stats) ? > > Thanks... > > > ------------------------------------------------------------------------------ > vRanger cuts backup time in half-while increasing security. > With the market-leading solution for virtual backup and recovery, > you get blazing-fast, flexible, and affordable data protection. > Download your free trial now. > http://p.sf.net/sfu/quest-d2dcopy1 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Christianity: The belief that some cosmic Jewish Zombie can make you live forever if you symbolically eat his flesh and telepathically tell him that you accept him as your master, so he can remove an evil force from your soul that is present in humanity because a rib-woman was convinced by a talking snake to eat from a magical tree. Makes perfect sense! -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ vRanger cuts backup time in half-while increasing security. With the market-leading solution for virtual backup and recovery, you get blazing-fast, flexible, and affordable data protection. Download your free trial now. http://p.sf.net/sfu/quest-d2dcopy1 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mylinuxhalist at gmail.com Sat May 28 01:03:32 2011 From: mylinuxhalist at gmail.com (My LinuxHAList) Date: Fri, 27 May 2011 19:03:32 -0400 Subject: pnp on check_cpu_stats.sh In-Reply-To: References: Message-ID: Hi.. I enabled "Process perf data" and "Retain Status information". This is my service template: define service { name linux_service service_description linux_service is_volatile 0 max_check_attempts 5 check_interval 5 retry_interval 1 active_checks_enabled 1 passive_checks_enabled 1 check_period 24x7 obsess_over_service 1 check_freshness 0 event_handler_enabled 1 flap_detection_enabled 0 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 notification_interval 30 notification_period 24x7 notification_options w,u,r,c notifications_enabled 1 contact_groups linux_team,nogroup register 0 } This is my service def that uses the service template: define service { service_description MU CPU Stats use linux_service hostgroup_name linux_tier1 check_command check_nrpe!check_cpu_stats!-a '-w 85 -c '!!!!!! max_check_attempts 5 check_interval 5 retry_interval 1 notification_interval 60 _xiwizard linux-server register 1 } I have other checks (the ones that are processing partition information that are graphing fine). Ryan, can you send the version check_cpu_stats.sh that you are using to me ? Thanks again. On Fri, May 27, 2011 at 6:48 PM, Ryan Edwards wrote: > Works fine over here. ?Do you have perf data for any checks? ?first thing is > to make sure its enabled. > > On Fri, May 27, 2011 at 4:39 PM, My LinuxHAList > wrote: >> >> We paid for the Nagios XI 2011R1. >> We are using check_cpu_stats.sh to poll information CPU usage >> information via NRPE. >> >> CPU STATISTICS OK : user=0.00% system=0.00% iowait=0.00% idle=100.00% >> nice=0.00% steal=0.00% >> >> However, there are no performance graphs on CPU. >> >> I'm still pretty new to Nagios. I look around and found that pnp is >> the backend engine that produces graphs. >> >> [root at linuxbox check_commands]# cat ../pnp4nagios_release >> PKG_REL_DATE="05-02-2009" >> PKG_VERSION="0.4.14" >> PKG_NAME="pnp" >> >> >> I found that I have, but not the rrd file >> /usr/local/nagios/share/perfdata/linuxbox2/CPU_Stats.xml >> >> # pwd >> /usr/local/nagios/etc/pnp/check_commands >> >> I realize that I may need to have something at >> /usr/local/nagios/etc/pnp/check_commands >> to have my graphs generated. >> >> Does anyone have a recipe to have my graphs using check_cpu_stats.sh >> (nagios command named: check_cpu_stats) ? >> >> Thanks... >> >> >> ------------------------------------------------------------------------------ >> vRanger cuts backup time in half-while increasing security. >> With the market-leading solution for virtual backup and recovery, >> you get blazing-fast, flexible, and affordable data protection. >> Download your free trial now. >> http://p.sf.net/sfu/quest-d2dcopy1 >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null > > > > -- > Christianity: The belief that some cosmic Jewish Zombie can make you live > forever if you symbolically eat his flesh and telepathically tell him that > you accept him as your master, so he can remove an evil force from your soul > that is present in humanity because a rib-woman was convinced by a talking > snake to eat from a magical tree.? Makes perfect sense! > > ------------------------------------------------------------------------------ > vRanger cuts backup time in half-while increasing security. > With the market-leading solution for virtual backup and recovery, > you get blazing-fast, flexible, and affordable data protection. > Download your free trial now. > http://p.sf.net/sfu/quest-d2dcopy1 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ vRanger cuts backup time in half-while increasing security. With the market-leading solution for virtual backup and recovery, you get blazing-fast, flexible, and affordable data protection. Download your free trial now. http://p.sf.net/sfu/quest-d2dcopy1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mylinuxhalist at gmail.com Sat May 28 16:45:57 2011 From: mylinuxhalist at gmail.com (My LinuxHAList) Date: Sat, 28 May 2011 10:45:57 -0400 Subject: pnp on check_cpu_stats.sh In-Reply-To: References: Message-ID: Solved. I realized that the check_cpu_stats.sh has a bug in the redhat 4 machines. It failed to produce the idle number (and thus the graph failed to be produced). I'll try the updated one or fix the existing one. Now that I know the source of this issue, it is a lot easier to solve now. Thanks. On Fri, May 27, 2011 at 7:03 PM, My LinuxHAList wrote: > Hi.. > > I enabled "Process perf data" and "Retain Status information". > > This is my service template: > define service { > ? ? ? name ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?linux_service > ? ? ? service_description ? ? ? ? ? ? ? ?linux_service > ? ? ? is_volatile ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?0 > ? ? ? max_check_attempts ? ? ? ? ? ? ? ? ? ? ? 5 > ? ? ? check_interval ? ? ? ? ? ? ? ? ? ? ? ? ? 5 > ? ? ? retry_interval ? ? ? ? ? ? ? ? ? ? ? ? ? 1 > ? ? ? active_checks_enabled ? ? ? ? ? ? ? ? ? ?1 > ? ? ? passive_checks_enabled ? ? ? ? ? ? ? ? ? 1 > ? ? ? check_period ? ? ? ? ? ? ? ? ? ? ? ? ? ? 24x7 > ? ? ? obsess_over_service ? ? ? ? ? ? ? ? ? ? ?1 > ? ? ? check_freshness ? ? ? ? ? ? ? ? ? ? ? ? ?0 > ? ? ? event_handler_enabled ? ? ? ? ? ? ? ? ? ?1 > ? ? ? flap_detection_enabled ? ? ? ? ? ? ? ? ? 0 > ? ? ? process_perf_data ? ? ? ? ? ? ? ? ? ? ? ?1 > ? ? ? retain_status_information ? ? ? ? ? ? ? ?1 > ? ? ? retain_nonstatus_information ? ? ? ? ? ? 1 > ? ? ? notification_interval ? ? ? ? ? ? ? ? ? ?30 > ? ? ? notification_period ? ? ? ? ? ? ? ? ? ? ?24x7 > ? ? ? notification_options ? ? ? ? ? ? ? ? ? ? w,u,r,c > ? ? ? notifications_enabled ? ? ? ? ? ? ? ? ? ?1 > ? ? ? contact_groups ? ? ? ? ? ? ? ? ? ? ? ? ? linux_team,nogroup > ? ? ? register ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 0 > > } > > This is my service def that uses the service template: > define service { > ? ? ? ?service_description ? ? ? ? ? ? MU CPU Stats > ? ? ? ?use ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?linux_service > ? ? ? ?hostgroup_name ? ? ? ? ? ? ? ? linux_tier1 > ? ? ? ?check_command ? ? ? ? ? ? ? ? ? check_nrpe!check_cpu_stats!-a > '-w 85 -c '!!!!!! > ? ? ? ?max_check_attempts ? ? ? ? ? ? ?5 > ? ? ? ?check_interval ? ? ? ? ? ? ? ? ?5 > ? ? ? ?retry_interval ? ? ? ? ? ? ? ? ?1 > ? ? ? ?notification_interval ? ? ? ? ? 60 > ? ? ? ?_xiwizard ? ? ? ? ? ? ? ? ? ? ? linux-server > ? ? ? ?register ? ? ? ? ? ? ? ? ? ? ? ?1 > ? ? ? ?} > > I have other checks (the ones that are processing partition > information that are graphing fine). > > Ryan, can you send the version check_cpu_stats.sh that you are using to me ? > > Thanks again. > > > > On Fri, May 27, 2011 at 6:48 PM, Ryan Edwards wrote: >> Works fine over here. ?Do you have perf data for any checks? ?first thing is >> to make sure its enabled. >> >> On Fri, May 27, 2011 at 4:39 PM, My LinuxHAList >> wrote: >>> >>> We paid for the Nagios XI 2011R1. >>> We are using check_cpu_stats.sh to poll information CPU usage >>> information via NRPE. >>> >>> CPU STATISTICS OK : user=0.00% system=0.00% iowait=0.00% idle=100.00% >>> nice=0.00% steal=0.00% >>> >>> However, there are no performance graphs on CPU. >>> >>> I'm still pretty new to Nagios. I look around and found that pnp is >>> the backend engine that produces graphs. >>> >>> [root at linuxbox check_commands]# cat ../pnp4nagios_release >>> PKG_REL_DATE="05-02-2009" >>> PKG_VERSION="0.4.14" >>> PKG_NAME="pnp" >>> >>> >>> I found that I have, but not the rrd file >>> /usr/local/nagios/share/perfdata/linuxbox2/CPU_Stats.xml >>> >>> # pwd >>> /usr/local/nagios/etc/pnp/check_commands >>> >>> I realize that I may need to have something at >>> /usr/local/nagios/etc/pnp/check_commands >>> to have my graphs generated. >>> >>> Does anyone have a recipe to have my graphs using check_cpu_stats.sh >>> (nagios command named: check_cpu_stats) ? >>> >>> Thanks... >>> >>> >>> ------------------------------------------------------------------------------ >>> vRanger cuts backup time in half-while increasing security. >>> With the market-leading solution for virtual backup and recovery, >>> you get blazing-fast, flexible, and affordable data protection. >>> Download your free trial now. >>> http://p.sf.net/sfu/quest-d2dcopy1 >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: Please include Nagios version, plugin version (-v) and OS when >>> reporting any issue. >>> ::: Messages without supporting info will risk being sent to /dev/null >> >> >> >> -- >> Christianity: The belief that some cosmic Jewish Zombie can make you live >> forever if you symbolically eat his flesh and telepathically tell him that >> you accept him as your master, so he can remove an evil force from your soul >> that is present in humanity because a rib-woman was convinced by a talking >> snake to eat from a magical tree.? Makes perfect sense! >> >> ------------------------------------------------------------------------------ >> vRanger cuts backup time in half-while increasing security. >> With the market-leading solution for virtual backup and recovery, >> you get blazing-fast, flexible, and affordable data protection. >> Download your free trial now. >> http://p.sf.net/sfu/quest-d2dcopy1 >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting >> any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > ------------------------------------------------------------------------------ vRanger cuts backup time in half-while increasing security. With the market-leading solution for virtual backup and recovery, you get blazing-fast, flexible, and affordable data protection. Download your free trial now. http://p.sf.net/sfu/quest-d2dcopy1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From quanta.linux at gmail.com Mon May 30 06:43:16 2011 From: quanta.linux at gmail.com (quanta) Date: Mon, 30 May 2011 11:43:16 +0700 Subject: Check timeout value question In-Reply-To: References: Message-ID: <4DE32064.8070708@gmail.com> This maybe help: http://www.cyberciti.biz/faq/shell-scripting-run-command-under-alarmclock/ On 11/30/2010 10:42 PM, steve f wrote: > I am running a homemade check to check about 8 core processes. > Occasionally the check times out after 10 seconds. > > All this check does is run /etc/init.d/xxxx status and use either the > 0 or 1 exit code to report that the process is OK or Critical. > > I verified in my nagios.cfg file the timeoout setting is set to 60 > secs and the utils.pm variable for timeout is set to 15 seconds. > > I have no timeout setting in this script but figured I need one. > Where is the check getting the 10 sec value from? I assume its a > default for a nagios check. > > If I rewrite the script in perl ( its a simple bash now) and use the > utils.pm, does that automatically give me the -t option where I could > set any timeout value or will it only set the timeout to 15 seconds as > in the utils.pm? > > Is there a simple way to add a timeout for this check only ? > > Thanks, > > Steve > > > > > ------------------------------------------------------------------------------ > Increase Visibility of Your 3D Game App & Earn a Chance To Win $500! > Tap into the largest installed PC base & get more eyes on your game by > optimizing for Intel(R) Graphics Technology. Get started today with the > Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. > http://p.sf.net/sfu/intelisp-dev2dev > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ vRanger cuts backup time in half-while increasing security. With the market-leading solution for virtual backup and recovery, you get blazing-fast, flexible, and affordable data protection. Download your free trial now. http://p.sf.net/sfu/quest-d2dcopy1 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From quanta.linux at gmail.com Mon May 30 07:17:14 2011 From: quanta.linux at gmail.com (quanta) Date: Mon, 30 May 2011 12:17:14 +0700 Subject: check_memcached and hits/misses In-Reply-To: References: Message-ID: <4DE3285A.1050507@gmail.com> In my opinion, you shouldn't check the sudden increase in misses. You should check the get_misses value and alert when it is greater than a threshold. $ echo "stats" | nc -w 1 | awk '/get_misses/ { print $3 }' On 12/09/2010 11:55 PM, P?r ?slund wrote: > Hi, > > I'm searching for a nagios check that looks at hits and misses. > > Been using check_memcached for checking memcached status and right now > I will continue to do that checking that memcached is answering and > got free memory. > > However, the issue with check_memcached is that it's looking at the > hits/misses ratio since start up of the memcached-process. > Whereas I need to know if a sudden increase in misses instead between > polls has occured. > > Is anyone familiar with a such check for Nagios? > > Best regards, > -p > > ------------------------------------------------------------------------------ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ vRanger cuts backup time in half-while increasing security. With the market-leading solution for virtual backup and recovery, you get blazing-fast, flexible, and affordable data protection. Download your free trial now. http://p.sf.net/sfu/quest-d2dcopy1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From quanta.linux at gmail.com Mon May 30 07:39:14 2011 From: quanta.linux at gmail.com (quanta) Date: Mon, 30 May 2011 12:39:14 +0700 Subject: CPU monitor for a single Linux user space process ? In-Reply-To: References: Message-ID: <4DE32D82.2020405@gmail.com> You can wrote a plugin (shell script) for yourself, something like this: # ps --no-headers -p `pidof ` -o pcpu On 12/16/2010 08:05 AM, Bruce Edge wrote: > Rookie question here. Trying to determine nagios suitability for an > embedded app. > > Can I monitor the CPU utilization for a single user space process on a > Linux box with nagios? > And, can I define an action if it exceeds a threshold? > > Thanks > > -Bruce > > ------------------------------------------------------------------------------ > Lotusphere 2011 > Register now for Lotusphere 2011 and learn how > to connect the dots, take your collaborative environment > to the next level, and enter the era of Social Business. > http://p.sf.net/sfu/lotusphere-d2d > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ vRanger cuts backup time in half-while increasing security. With the market-leading solution for virtual backup and recovery, you get blazing-fast, flexible, and affordable data protection. Download your free trial now. http://p.sf.net/sfu/quest-d2dcopy1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From quanta.linux at gmail.com Mon May 30 10:11:08 2011 From: quanta.linux at gmail.com (quanta) Date: Mon, 30 May 2011 15:11:08 +0700 Subject: Checking multiple TCP ports for a single status? In-Reply-To: <31B0FE0A1A8166409E9DF35C6DEECB240555D0B9@WPSCV6MM.OPR.STATEFARM.ORG> References: <20101229183916.GB31320@teddy.fas.com> <31B0FE0A1A8166409E9DF35C6DEECB240555D0B9@WPSCV6MM.OPR.STATEFARM.ORG> Message-ID: <4DE3511C.9090400@gmail.com> Take a look at this: http://www.theillien.com/Sys_Admin_v12/html/v14/i12/a6_l2.htm On 12/30/2010 01:56 AM, Daniel Wittenberg wrote: > Write a simple script that does both checks and returns results? > > Dan > > -----Original Message----- > From: stan [mailto:stanb at panix.com] > Sent: Wednesday, December 29, 2010 12:39 PM > To: nagios List > Subject: [Nagios-users] Checking multiple TCP ports for a single status? > > > I think I need to verify that both port 135, and 445 are avaialble on > some > Windows amchines. As I understand it, both of these need to be up. I'd > like > to make this a single check. Looks like check_tcp will only accept a > single > -p argument. Is this correct? If so, is there a way I can AND to > different > check_tcp runs, and report a single status back to Nagios? > > ------------------------------------------------------------------------------ vRanger cuts backup time in half-while increasing security. With the market-leading solution for virtual backup and recovery, you get blazing-fast, flexible, and affordable data protection. Download your free trial now. http://p.sf.net/sfu/quest-d2dcopy1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Mon May 30 14:27:10 2011 From: ae at op5.se (Andreas Ericsson) Date: Mon, 30 May 2011 14:27:10 +0200 Subject: [Nagios-users] nagios patches 3 old, 1 new (fix flexible downtime on service hard state change doesn't get triggered/activated) In-Reply-To: <4DCBC0BC.5000706@op5.se> References: <4DBBFC5E.8020001@univie.ac.at> <29B0783C-8CD3-4BD8-8295-7E59D0D6DF6A@gmail.com> <4DCB8A19.6030106@univie.ac.at> <4DCBC0BC.5000706@op5.se> Message-ID: <4DE38D1E.20908@op5.se> I've finally pulled my thumbs out of my arse and taken the time to apply these (the ones that Ton didn't beat me to, anyways). See minor comment below though. On 05/12/2011 01:13 PM, Andreas Ericsson wrote: > On 05/12/2011 09:19 AM, Michael Friedrich wrote: >> Hi Ton, >> >> Ton Voon wrote: > >>>> [PATCH] move thread safe macro function prototypes with suffix _r and restore old compatible prototypes again >>>> >>>> => verified against latest t-tap tests, updated .gitignore >>>> 0003-move-thread-safe-macro-function-prototypes-with-suff.patch >>> I don't know enough around this area, but I know Andreas is keen on re-entrant functions, so I'll defer to him. >> >> Possibly, maybe it also needs some further adaptions. It's not business >> critical, just compatibility critical for addon developers. >> > > I'm fairly sure I applied that one, but perhaps I was lacking the > proper amount of alcohol in my bloodstream and forgot to do the > git -> cvs export step. The patch is good and will be applied though, > since it would otherwise force us to bump the major version of Nagios > for the next release. Thanks :) > Taken, with the exception of the cgi parts. Since the cgi's aren't multi-threaded, they don't really need reentrant macro functions and the change to them is just churn with no benefit. >>>> >>>> 0004-fix-flexible-downtime-on-service-hard-state-change-d.patch >>> This one requires a test case too, due to its complexity. See t-tap/test_checks.c which has tests in the handle_async_check_results routine. >> >> Ok, thanks for the hint. In case there are any users in the Nagios world >> happen to have the same problem, I'd love to see some reports after >> having that patch applied against 3.2.3 or similarities. >> > > Likewise. User-testing is very nearly as good as automated tests. At > least for accepting the patch in the first place. Many thanks. > I'll take this on good faith, having tested it manually my self. It's possible someone else can add a test-case for this in the future, which would be a welcome change. Expect the patches to show up in svn in a couple of hours when I'm on a sane link and can sync properly again. -- 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. ------------------------------------------------------------------------------ vRanger cuts backup time in half-while increasing security. With the market-leading solution for virtual backup and recovery, you get blazing-fast, flexible, and affordable data protection. Download your free trial now. http://p.sf.net/sfu/quest-d2dcopy1 From michael.friedrich at univie.ac.at Mon May 30 18:15:36 2011 From: michael.friedrich at univie.ac.at (Michael Friedrich) Date: Mon, 30 May 2011 18:15:36 +0200 Subject: [Nagios-users] nagios patches 3 old, 1 new (fix flexible downtime on service hard state change doesn't get triggered/activated) In-Reply-To: <4DE38D1E.20908@op5.se> References: <4DBBFC5E.8020001@univie.ac.at> <29B0783C-8CD3-4BD8-8295-7E59D0D6DF6A@gmail.com> <4DCB8A19.6030106@univie.ac.at> <4DCBC0BC.5000706@op5.se> <4DE38D1E.20908@op5.se> Message-ID: <4DE3C2A8.6080308@univie.ac.at> -------- Original Message -------- Subject: Re: [Nagios-users] [Nagios-devel] nagios patches 3 old, 1 new (fix flexible downtime on service hard state change doesn't get triggered/activated) From: Andreas Ericsson To: Nagios Users List Date: 2011-05-30 14:27 > Taken, with the exception of the cgi parts. Since the cgi's aren't > multi-threaded, they don't really need reentrant macro functions > and the change to them is just churn with no benefit. Ok - no problem at all. It was just to keep compatibility throughout the complete source but in fact you are right. > I'll take this on good faith, having tested it manually my self. It's > possible someone else can add a test-case for this in the future, > which would be a welcome change. > > Expect the patches to show up in svn in a couple of hours when I'm > on a sane link and can sync properly again. Thanks - I'll check later on. Now it's time for sun & beer ;-) -- DI (FH) Michael Friedrich Vienna University Computer Center Universitaetsstrasse 7 A-1010 Vienna, Austria email: michael.friedrich at univie.ac.at phone: +43 1 4277 14359 mobile: +43 664 60277 14359 fax: +43 1 4277 14338 web: http://www.univie.ac.at/zid http://www.aco.net Icinga Core& IDOUtils Developer http://www.icinga.org ------------------------------------------------------------------------------ vRanger cuts backup time in half-while increasing security. With the market-leading solution for virtual backup and recovery, you get blazing-fast, flexible, and affordable data protection. Download your free trial now. http://p.sf.net/sfu/quest-d2dcopy1 From roberto.nunnari at supsi.ch Mon May 30 18:41:09 2011 From: roberto.nunnari at supsi.ch (Roberto Nunnari) Date: Mon, 30 May 2011 18:41:09 +0200 Subject: Services are dependent on the host they run on? In-Reply-To: <13579FFE8B208F4DBA327EE25F804AABFE12A6A2@swvbpheaglxmb02.health.local> References: <4DDE83EF.5070204@supsi.ch> <70D7A4219FE365439DA53582BA6D8F2E176AFBC8@HCSD-MAIL2> <4DDE904A.3080701@flatto.net> <4DDF4C12.8060704@supsi.ch> <13579FFE8B208F4DBA327EE25F804AABFE12A6A2@swvbpheaglxmb02.health.local> Message-ID: <4DE3C8A5.6050902@supsi.ch> Hi Gerald. Ortner, Gerald wrote: > What host/service check interval/max check attempts do you use? > Maybe the host check interval is much longer than the service check interval. > If the services become hard state critical before the host check does, the service notifications will be sent, as Nagios isn't aware of the host problem. > I don't know how Nagios behaves if the host is only in soft state? I believe that may be the problem. The service and host check interval were all 1 minute. Maybe, if the checks on the services happen to fail before the checks on the host, then notification for all failed services will be sent anyways. This assumes that nagios doesn't care about service dependency on the host running the service when the host is in soft state critical, but only when the host is in hard state critical. I modified host/service check interval as follow: define host { ... max_check_attempts 3 normal_check_interval 1 retry_check_interval 1 ... } define service { ... max_check_attempts 3 normal_check_interval 3 retry_check_interval 2 ... } The above should always give host checks for the host to reach a hard state critical before the services in case the host goes down. I've already run an easy test and the result confirmed what stated above, but I'll run some more tests as soon as possible, maybe already tomorrow, and report the results here. Thank you to all. Robi > > hth > gerald > >> -----Urspr?ngliche Nachricht----- >> Von: Roberto Nunnari [mailto:roberto.nunnari at supsi.ch] >> Gesendet: Freitag, 27. Mai 2011 09:01 >> An: Nagios Users List >> Betreff: Re: [Nagios-users] Services are dependent on the host they run on? >> >> Hi Mark. >> >> >> Frost, Mark {PBC} wrote: >>> Maybe I'm missing something but I thought that suppressing notifications >> for services on the same host when the host goes down is the default >> behavior. It's only when you have to suppress notifications from different >> hosts that you need host/service dependencies. >> >> That's exactly what I was expecting, but it doesn't seem to work that way.. at >> least not for me. >> >> Yesterday for instance, a host went down because of a hd controller failure, >> and I received 22 sms.. >> >> Robi >> >> >>> >>> Mark >>> >>> -----Original Message----- >>> From: Assaf Flatto [mailto:nagios at flatto.net] >>> Sent: Thursday, May 26, 2011 1:39 PM >>> To: Nagios Users List >>> Subject: Re: [Nagios-users] Services are dependent on the host they run >> on? >>> Martin Hugo wrote: >>>> Hi Robi, >>>> >>>> I have never done it but I know you can make hosts/services children that >> will not report if the parent is down. >>>> Hope this puts you on the right track. >>>> >>>> Marty >>>> >>>> -----Original Message----- >>>> From: Roberto Nunnari [mailto:roberto.nunnari at supsi.ch] >>>> Sent: Thursday, May 26, 2011 12:47 PM >>>> To: nagios-users at lists.sourceforge.net >>>> Subject: [Nagios-users] Services are dependent on the host they run on? >>>> >>>> Hi all. >>>> >>>> Some time ago, I've installed and configured nagios to monitor our IT >>>> infrastructure. >>>> >>>> It works very well and we're happy with it. >>>> >>>> There's still one problem though: >>>> When a host goes down, nagios sends notifications not only for host >>>> down, but also for all services running on that host. When a host >>>> goes down, I would like nagios to only send notifications about the >>>> host down, and not for all the services running on that host. >>>> >>>> How can I achive that? >>>> May it be a configuration error from my side? I thought that to >>>> nagios, services would be dependent from the host running them.. >>>> >>>> Any hint/advice/guidance is very welcome. >>>> >>>> Thank you and best regards. >>>> >>>> Robi >>>> >>> check out service dependencies >>> >>> http://nagios.sourceforge.net/docs/3_0/dependencies.html ------------------------------------------------------------------------------ vRanger cuts backup time in half-while increasing security. With the market-leading solution for virtual backup and recovery, you get blazing-fast, flexible, and affordable data protection. Download your free trial now. http://p.sf.net/sfu/quest-d2dcopy1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From roberto.nunnari at supsi.ch Mon May 30 18:46:17 2011 From: roberto.nunnari at supsi.ch (Roberto Nunnari) Date: Mon, 30 May 2011 18:46:17 +0200 Subject: Services are dependent on the host they run on? In-Reply-To: References: <4DDE83EF.5070204@supsi.ch> <70D7A4219FE365439DA53582BA6D8F2E176AFBC8@HCSD-MAIL2> <4DDE904A.3080701@flatto.net> <4DDF4C12.8060704@supsi.ch> Message-ID: <4DE3C9D9.4070509@supsi.ch> Hi Benny. C. Bensend wrote: >> Yesterday for instance, a host went down because of a hd controller >> failure, and I received 22 sms.. > > I apologize if this has already been stated, I haven't been following > this thread too closely. > > When this happened, was the host down *in a network sense*, or was > it just down in a user sense? Ie, was it still pingable? The host was not pingable. > A situation I've dealt with in the past is that a host's network > stack might still be "alive enough" (ie, pingable), while the host > itself is sitting at a kernel panic or locked up. In that case, > if you're using ping for the host check, Nagios would have no way > of knowing that the host is down, because it still responds. > > In those [rare] cases, I've had to define a second command that > requires a more intelligent response from a host, and then used > that as the host check command. Notable examples would be old > school Sun machines, which are still pingable when they're sitting > at the OK> prompt (ie, operating system is not running). Thank you Benny, but this was not the case. The host was not pingable at that time. I'm not 100% sure, but the problem maybe was maybe caused by a misconfiguration of the host/service check interval/max check attempts. Best regards. Robi ------------------------------------------------------------------------------ vRanger cuts backup time in half-while increasing security. With the market-leading solution for virtual backup and recovery, you get blazing-fast, flexible, and affordable data protection. Download your free trial now. http://p.sf.net/sfu/quest-d2dcopy1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From clintd at waikato.ac.nz Tue May 31 04:44:46 2011 From: clintd at waikato.ac.nz (Clint Dilks) Date: Tue, 31 May 2011 14:44:46 +1200 Subject: Getting Started with Nagios Message-ID: Hi Everyone I have just installed Nagios Core 3.2.3 with nagios-plugins-1.4.15 on CentOS 5.6 with SE Linux Disabled by following the Fedora Quick start guide (so nagios is installed from source rather than an RPM) And from the default install perspective everything looks good. But I have just to add my first remote host and things dont seem to be working as I expect. I created a new file /usr/local/nagios/etc/objects/cms-core.cfg owner nagios group nagios with the appropriate permissions and added cfg_file=/usr/local/nagios/etc/objects/cms-core.cfg to /usr/local/nagios/etc/nagios.cfg I then added the following content to the file define hostgroup{ hostgroup_name core-servers alias Infrastructure members inf1 } define host{ host_name inf1 alias inf1.cms.waikato.ac.nz address 130.217.208.181 check_command check-host-alive check_interval 5 retry_interval 1 max_check_attempts 5 check_period 24x7 process_perf_data 1 retain_nonstatus_information 1 contact_groups admins notification_interval 30 notification_period 24x7 notification_options d,u,r } define service{ use generic-service hostgroup_name core-servers service_description PING contact_groups admins check_command check_ping!500.0,20%!800.0,60% } I then run the config test command /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg The output is below Nagios Core 3.2.3 Copyright (c) 2009-2010 Nagios Core Development Team and Community Contributors Copyright (c) 1999-2009 Ethan Galstad Last Modified: 10-03-2010 License: GPL Website: http://www.nagios.org Reading configuration data... Read main config file okay... Processing object config file '/usr/local/nagios/etc/objects/commands.cfg'... Processing object config file '/usr/local/nagios/etc/objects/contacts.cfg'... Processing object config file '/usr/local/nagios/etc/objects/timeperiods.cfg'... Processing object config file '/usr/local/nagios/etc/objects/templates.cfg'... Processing object config file '/usr/local/nagios/etc/objects/localhost.cfg'... Processing object config file '/usr/local/nagios/etc/objects/cms-core.cfg'... Read object config files okay... Running pre-flight check on configuration data... Checking services... Checked 9 services. Checking hosts... Checked 2 hosts. Checking host groups... Checked 2 host groups. Checking service groups... Checked 0 service groups. Checking contacts... Checked 1 contacts. Checking contact groups... Checked 1 contact groups. Checking service escalations... Checked 0 service escalations. Checking service dependencies... Checked 0 service dependencies. Checking host escalations... Checked 0 host escalations. Checking host dependencies... Checked 0 host dependencies. Checking commands... Checked 24 commands. Checking time periods... Checked 5 time periods. Checking for circular paths between hosts... Checking for circular host and service dependencies... Checking global event handlers... Checking obsessive compulsive processor commands... Checking misc settings... Total Warnings: 0 Total Errors: 0 Things look okay - No serious problems were detected during the pre-flight check I then restart the web server, expecting to see a new host inf1 But the host count has not increased and I can't see any reference to the host. I also can not see the new host group I defined. So obviously I am missing something fundamental. Thanks for any incite you care to share :) -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Data protection magic? Nope - It's vRanger. Get your free trial download today. http://p.sf.net/sfu/quest-sfdev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benny at bennyvision.com Tue May 31 04:52:20 2011 From: benny at bennyvision.com (C. Bensend) Date: Mon, 30 May 2011 21:52:20 -0500 Subject: Getting Started with Nagios In-Reply-To: References: Message-ID: <997ca03e7f96d5903fecfde61b1b0300.squirrel@webmail.stinkweasel.net> > I then restart the web server, expecting to see a new host inf1 > > But the host count has not increased and I can't see any reference to the > host. I also can not see the new host group I defined. > > So obviously I am missing something fundamental. > > Thanks for any incite you care to share :) "I then restart the web server"... If you mean that literally, as in you restarted Apache, that won't change anything for Nagios. Apache only provides the web server for the UI, it has nothing to do with Nagios. The Nagios daemon is the one you need to restart (or more accurately, you can send it a SIGHUP signal) to pick up on your configuration file changes. Now, if you *did* restart Nagios and your changes aren't appearing in the web interface, do the following: 1) Stop the Nagios daemon 2) Now, go stop the *other* Nagios daemon(s) It is a *very* common problem, especially when people are just starting out, to accidentally start more than one Nagios daemon. Changes are made, *one* of the Nagios daemons are restarted, while the other continues to happily run the old configuration (and show up in the web interface). Benny -- "You were doing well until everyone died." -- "God", Futurama ------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Data protection magic? Nope - It's vRanger. Get your free trial download today. http://p.sf.net/sfu/quest-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From clintd at waikato.ac.nz Tue May 31 05:02:44 2011 From: clintd at waikato.ac.nz (Clint Dilks) Date: Tue, 31 May 2011 15:02:44 +1200 Subject: Getting Started with Nagios In-Reply-To: <997ca03e7f96d5903fecfde61b1b0300.squirrel@webmail.stinkweasel.net> References: <997ca03e7f96d5903fecfde61b1b0300.squirrel@webmail.stinkweasel.net> Message-ID: Sorry for the noise and thank you for the prompt. I was silly enough that I didn't restart the nagios service. On Tue, May 31, 2011 at 2:52 PM, C. Bensend wrote: > > > I then restart the web server, expecting to see a new host inf1 > > > > But the host count has not increased and I can't see any reference to the > > host. I also can not see the new host group I defined. > > > > So obviously I am missing something fundamental. > > > > Thanks for any incite you care to share :) > > "I then restart the web server"... If you mean that literally, as > in you restarted Apache, that won't change anything for Nagios. > > Apache only provides the web server for the UI, it has nothing to > do with Nagios. The Nagios daemon is the one you need to restart > (or more accurately, you can send it a SIGHUP signal) to pick up > on your configuration file changes. > > Now, if you *did* restart Nagios and your changes aren't appearing > in the web interface, do the following: > > 1) Stop the Nagios daemon > 2) Now, go stop the *other* Nagios daemon(s) > > It is a *very* common problem, especially when people are just > starting out, to accidentally start more than one Nagios daemon. > Changes are made, *one* of the Nagios daemons are restarted, while > the other continues to happily run the old configuration (and > show up in the web interface). > > Benny > > > -- > "You were doing well until everyone died." > -- "God", Futurama > > > > > ------------------------------------------------------------------------------ > Simplify data backup and recovery for your virtual environment with > vRanger. > Installation's a snap, and flexible recovery options mean your data is > safe, > secure and there when you need it. Data protection magic? > Nope - It's vRanger. Get your free trial download today. > http://p.sf.net/sfu/quest-sfdev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Data protection magic? Nope - It's vRanger. Get your free trial download today. http://p.sf.net/sfu/quest-sfdev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jra at baylink.com Tue May 31 05:18:41 2011 From: jra at baylink.com (Jay Ashworth) Date: Mon, 30 May 2011 23:18:41 -0400 (EDT) Subject: Getting Started with Nagios In-Reply-To: <997ca03e7f96d5903fecfde61b1b0300.squirrel@webmail.stinkweasel.net> References: <997ca03e7f96d5903fecfde61b1b0300.squirrel@webmail.stinkweasel.net> Message-ID: <27493784.4.1306811921342.JavaMail.root@benjamin.baylink.com> ----- Original Message ----- > From: "C. Bensend" > Now, if you *did* restart Nagios and your changes aren't appearing > in the web interface, do the following: > > 1) Stop the Nagios daemon > 2) Now, go stop the *other* Nagios daemon(s) Nicely played. :-) Cheers, -- jra -- Jay R. Ashworth Baylink jra at baylink.com Designer The Things I Think RFC 2100 Ashworth & Associates http://baylink.pitas.com 2000 Land Rover DII St Petersburg FL USA http://photo.imageinc.us +1 727 647 1274 ------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Data protection magic? Nope - It's vRanger. Get your free trial download today. http://p.sf.net/sfu/quest-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at asmodeus.be Tue May 31 17:24:38 2011 From: nagios at asmodeus.be (Pascal Vandeputte) Date: Tue, 31 May 2011 17:24:38 +0200 Subject: distributed host checks: freshness checking issues Message-ID: <201105311724.39206.nagios@asmodeus.be> Hi fellow Nagios users, On a new Nagios 3.2.3 monitoring platform we're deploying at work (complete with a custom database & provisioning scripts tailored to our company activities) we've been running distributed service checks for over half a year now, without any issues whatsoever. I'm really happy with the results of that testing so far. But because the "master" server, receiving all the passive service checks by means of NSCA, still performed its own host checking, some of the hosts which are in a private network (together with one of the distributed slave) were always "down" because obviously the master could never ping them. This is where the passive host checking comes in. It didn't seem too difficult to get going, but once it was up and running I noticed that the master was having wild mood swings. Seemingly random hosts were going up/down/unreachable and the picture changed completely multiple times per hour. In other words, each host going "down" usually went "up" within the next few minutes, and others start going "down" at that time. We have 2 masters running (the submit_check_result scripts on the slaves do a send_nsca to both of them), and the affected hosts are almost identical at any time... So while the weird behaviour looks random, it's apparently reproducible. So there must be some bug in my config or something else going on, but at least it's not intermittent. Long troubleshooting story short: I've got the impression that for some reason, the master is executing the "host_results_are_stale" command while it shouldn't be doing it (because the last check results are still fresh). This causes it to go down anyway, and depending on the timing of the next host check result arriving, it flips up and down all the time. I've picked out just one of the 300 hosts which are currently defined, there's usually about 15 to 90 hosts "down" at all times, but which ones are "down" changes constantly. On the master, the host is defined as in attachment "master.txt". I've also included the host_results_are_stale command definition. The same host definition on the slave is in "slave.txt". I've also included the contents of the submit_host_check OCHP script. The slave side of things seems to work well. Some other relevant parameters in nagios.cfg on the master: check_external_commands=1 command_check_interval=-1 command_file=/usr/local/nagios/var/rw/nagios.cmd external_command_buffer_slots=32768 check_result_reaper_frequency=10 check_result_path=/usr/local/nagios/var/spool/checkresults interval_length=15 execute_service_checks=0 accept_passive_service_checks=1 execute_host_checks=0 accept_passive_host_checks=1 check_service_freshness=1 service_freshness_check_interval=60 check_host_freshness=1 host_freshness_check_interval=60 The interval_length is set to 15 seconds, but I've also tried the default of 60 seconds for a couple of hours today and it doesn't make any difference. As you'll see in the configs, the slave checks the host every 2 minutes, the master should alert if the last check result is older than 3 minutes. If I filter the master's nagios.log for just the NSCA host checks arriving, it looks like this (I've replaced the logged timestamp with the human-readable date using some perl, the original log is attached as well): [15:01:52] EXTERNAL COMMAND: PROCESS_HOST_CHECK_RESULT;rtr001;0;PING OK - Packet loss = 0%, RTA = 1.14 ms (from nagslave002) [15:03:38] EXTERNAL COMMAND: PROCESS_HOST_CHECK_RESULT;rtr001;0;PING OK - Packet loss = 0%, RTA = 1.37 ms (from nagslave002) [15:03:58] EXTERNAL COMMAND: PROCESS_HOST_CHECK_RESULT;rtr001;0;PING OK - Packet loss = 0%, RTA = 49.99 ms (from nagslave002) [15:06:08] EXTERNAL COMMAND: PROCESS_HOST_CHECK_RESULT;rtr001;0;PING OK - Packet loss = 0%, RTA = 9.70 ms (from nagslave002) [15:08:19] EXTERNAL COMMAND: PROCESS_HOST_CHECK_RESULT;rtr001;0;PING OK - Packet loss = 0%, RTA = 3.16 ms (from nagslave002) [15:08:39] EXTERNAL COMMAND: PROCESS_HOST_CHECK_RESULT;rtr001;0;PING OK - Packet loss = 0%, RTA = 1.23 ms (from nagslave002) [15:10:29] EXTERNAL COMMAND: PROCESS_HOST_CHECK_RESULT;rtr001;0;PING OK - Packet loss = 0%, RTA = 15.64 ms (from nagslave002) So the slave is regularly sending its results every 130 seconds according to the log above. 130 seconds is way below the freshness_threshold of 180 seconds set on the master. If I leave in the rest of the log for this host, this is the result: [15:01:52] EXTERNAL COMMAND: PROCESS_HOST_CHECK_RESULT;rtr001;0;PING OK - Packet loss = 0%, RTA = 1.14 ms (from nagslave002) [15:02:02] PASSIVE HOST CHECK: rtr001;0;PING OK - Packet loss = 0%, RTA = 1.14 ms (from nagslave002) [15:03:38] EXTERNAL COMMAND: PROCESS_HOST_CHECK_RESULT;rtr001;0;PING OK - Packet loss = 0%, RTA = 1.37 ms (from nagslave002) [15:03:47] HOST ALERT: rtr001;DOWN;SOFT;1;CRITICAL: rtr001 host results are stale, nagios slave problem (NSCA, connectivity)? [15:03:47] PASSIVE HOST CHECK: rtr001;0;PING OK - Packet loss = 0%, RTA = 1.37 ms (from nagslave002) [15:03:47] HOST ALERT: rtr001;UP;HARD;1;PING OK - Packet loss = 0%, RTA = 1.37 ms (from nagslave002) [15:03:58] EXTERNAL COMMAND: PROCESS_HOST_CHECK_RESULT;rtr001;0;PING OK - Packet loss = 0%, RTA = 49.99 ms (from nagslave002) [15:04:07] HOST ALERT: rtr001;DOWN;SOFT;1;CRITICAL: rtr001 host results are stale, nagios slave problem (NSCA, connectivity)? [15:04:07] PASSIVE HOST CHECK: rtr001;0;PING OK - Packet loss = 0%, RTA = 49.99 ms (from nagslave002) [15:04:07] HOST ALERT: rtr001;UP;HARD;1;PING OK - Packet loss = 0%, RTA = 49.99 ms (from nagslave002) [15:06:08] EXTERNAL COMMAND: PROCESS_HOST_CHECK_RESULT;rtr001;0;PING OK - Packet loss = 0%, RTA = 9.70 ms (from nagslave002) [15:06:09] PASSIVE HOST CHECK: rtr001;0;PING OK - Packet loss = 0%, RTA = 9.70 ms (from nagslave002) [15:08:19] EXTERNAL COMMAND: PROCESS_HOST_CHECK_RESULT;rtr001;0;PING OK - Packet loss = 0%, RTA = 3.16 ms (from nagslave002) [15:08:20] PASSIVE HOST CHECK: rtr001;0;PING OK - Packet loss = 0%, RTA = 3.16 ms (from nagslave002) [15:08:39] EXTERNAL COMMAND: PROCESS_HOST_CHECK_RESULT;rtr001;0;PING OK - Packet loss = 0%, RTA = 1.23 ms (from nagslave002) [15:08:49] PASSIVE HOST CHECK: rtr001;0;PING OK - Packet loss = 0%, RTA = 1.23 ms (from nagslave002) [15:08:49] HOST ALERT: rtr001;DOWN;SOFT;1;CRITICAL: rtr001 host results are stale, nagios slave problem (NSCA, connectivity)? [15:09:19] HOST ALERT: rtr001;DOWN;HARD;2;CRITICAL: rtr001 host results are stale, nagios slave problem (NSCA, connectivity)? [15:10:29] EXTERNAL COMMAND: PROCESS_HOST_CHECK_RESULT;rtr001;0;PING OK - Packet loss = 0%, RTA = 15.64 ms (from nagslave002) [15:10:40] PASSIVE HOST CHECK: rtr001;0;PING OK - Packet loss = 0%, RTA = 15.64 ms (from nagslave002) [15:10:40] HOST ALERT: rtr001;UP;HARD;1;PING OK - Packet loss = 0%, RTA = 15.64 ms (from nagslave002) [15:10:50] HOST ALERT: rtr001;DOWN;SOFT;1;CRITICAL: rtr001 host results are stale, nagios slave problem (NSCA, connectivity)? [15:11:29] HOST ALERT: rtr001;DOWN;HARD;2;CRITICAL: rtr001 host results are stale, nagios slave problem (NSCA, connectivity)? For example, where is the "stale" result at 15:03:47 coming from? The last result was from 15:01:52 , which is less than two minutes old at that time. I've also replaced the check_dummy by a small wrapper so I could log the exact time when check_dummy was called by nagios: Tue May 31 15:03:37 CEST 2011 args: 2 rtr001 host results are stale, nagios slave problem (NSCA, connectivity)? Tue May 31 15:03:57 CEST 2011 args: 2 rtr001 host results are stale, nagios slave problem (NSCA, connectivity)? Tue May 31 15:08:39 CEST 2011 args: 2 rtr001 host results are stale, nagios slave problem (NSCA, connectivity)? Tue May 31 15:09:09 CEST 2011 args: 2 rtr001 host results are stale, nagios slave problem (NSCA, connectivity)? Tue May 31 15:09:39 CEST 2011 args: 2 rtr001 host results are stale, nagios slave problem (NSCA, connectivity)? Tue May 31 15:10:39 CEST 2011 args: 2 rtr001 host results are stale, nagios slave problem (NSCA, connectivity)? Tue May 31 15:11:20 CEST 2011 args: 2 rtr001 host results are stale, nagios slave problem (NSCA, connectivity)? So the first "stale" command was already executed just 105 seconds after the previous host check result was received. What am I missing? Best regards, Pascal -------------- next part -------------- Host & host_results_are_stale definition on the distributed master (which only processes passive host & service results): define host { address 1.2.3.4 alias somerouter check_command host_results_are_stale check_freshness 1 check_interval 0 check_period 24x7 contact_groups network-admins freshness_threshold 180 host_name rtr001 hostgroups ios,router icon_image vendor-logos/cisco.png max_check_attempts 2 notification_interval 8 notification_period 24x7 retry_interval 4 statusmap_image vendor-logos/cisco.gd2 use host-pnp } define command { command_line /usr/local/nagios/libexec/check_dummy 2 "$HOSTNAME$ host results are stale, nagios slave problem (NSCA, connectivity)?" command_name host_results_are_stale } -------------- next part -------------- Host definition on the slave: define host { address 1.2.3.4 alias somerouter check_command check-host-alive!5!-!-!-!-!-!2000!80!3000!100!5 check_interval 8 check_period 24x7 contact_groups network-admins host_name rtr001 hostgroups ios,router icon_image vendor-logos/cisco.png max_check_attempts 2 notification_interval 8 notification_period 24x7 retry_interval 4 statusmap_image vendor-logos/cisco.gd2 } And my submit_host_check ochp script (sending results to 2 masters): #!/bin/sh host_name=$1 shift state_id=$1 shift plugin_output="$*" myhostname=`hostname` /usr/bin/printf "%s\t%s\t%s\n" "$host_name" "$state_id" "$plugin_output (from $myhostname)" | /usr/local/nagios/libexec/send_nsca -H 3.4.5.6 -c /usr/local/nagios/etc/send_nsca.cfg & /usr/bin/printf "%s\t%s\t%s\n" "$host_name" "$state_id" "$plugin_output (from $myhostname)" | /usr/local/nagios/libexec/send_nsca -H 2.3.4.5 -c /usr/local/nagios/etc/send_nsca.cfg -------------- next part -------------- A non-text attachment was scrubbed... Name: nagios.log Type: text/x-log Size: 2692 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Data protection magic? Nope - It's vRanger. Get your free trial download today. http://p.sf.net/sfu/quest-sfdev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From xml.devel at gmail.com Tue May 31 18:18:33 2011 From: xml.devel at gmail.com (Kumar, Ashish) Date: Tue, 31 May 2011 21:48:33 +0530 Subject: Scheduled downtime and host checks Message-ID: Hello Everyone, I had been under the impression that no service checks would be executed on a server during scheduled downtime but it seems otherwise. Would I be right in assuming all service checks will still be performed on a server during a scheduled downtime? I tried checking the documentation but there seems to be no information regarding this. Any hints are most welcome. Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Data protection magic? Nope - It's vRanger. Get your free trial download today. http://p.sf.net/sfu/quest-sfdev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Tue May 31 20:59:55 2011 From: jim at jimavery.me.uk (Jim Avery) Date: Tue, 31 May 2011 19:59:55 +0100 Subject: Scheduled downtime and host checks In-Reply-To: References: Message-ID: On 31 May 2011 17:18, Kumar, Ashish wrote: > Hello Everyone, > > I had been under the impression that no service checks would be executed on > a server during scheduled downtime but it seems otherwise. > > Would I be right in assuming all service checks will still be performed on a > server during a scheduled downtime? > > I tried checking the documentation but there seems to be no information > regarding this. > > Any hints are most welcome. No, scheduled downtime only affects notifications, and the stats you see in the availability cgi. Service and host checks run as normal during scheduled downtime. This is useful because it allows you to check the stats of those hosts and services are ok before the scheduled downtime period ends. http://nagios.sourceforge.net/docs/nagioscore/3/en/downtime.html ------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Data protection magic? Nope - It's vRanger. Get your free trial download today. http://p.sf.net/sfu/quest-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null