Re: [Nagios-users] Newbie Question
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 te...@cnysupport.com wrote: Quoting Matty Sarro msa...@gmail.com: 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Newbie Question
On 16 May 2011 14:47, Matty Sarro msa...@gmail.com 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Newbie Question
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 msa...@gmail.com 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 te...@cnysupport.com wrote: Quoting Matty Sarro msa...@gmail.com: 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Newbie Question
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 j...@jimavery.me.uk wrote: On 16 May 2011 14:47, Matty Sarro msa...@gmail.com 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Newbie Question
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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Newbie Question
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 msa...@gmail.com 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 te...@cnysupport.com wrote: Quoting Matty Sarro msa...@gmail.com: 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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:rosen...@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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Newbie Question
That fixed it :) Thanks all! On Mon, May 16, 2011 at 10:25 AM, Axel Rosenski rosen...@wave-computer.de 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 msa...@gmail.com 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 te...@cnysupport.com wrote: Quoting Matty Sarro msa...@gmail.com: 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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:rosen...@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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Newbie Question
Quoting Matty Sarro msa...@gmail.com: 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 -- 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Newbie Question.. Monitoring Lnux machines.
Take a look at NRPE for Linux/Unix clients. There are RPM's available from rpmforge which will get you going. Dan From: Maxime Alarie [mailto:mala...@processia.com] Sent: Thursday, December 02, 2010 3:21 PM To: Nagios Users List Subject: [Nagios-users] Newbie Question.. Monitoring Lnux machines. Good day, I have installed nagios, on my centOS VM. I can monitor Windows machines and servers just fine using nsclient++. How can I monitor a Linux server? There is no NSclient++ available, and the guide on monitoring linux machines is incomplete I have check my localhost.cfg file, thinking I could rename it to LinuxServer.cfg but it is quite empty: define host { host_name localhost use linux-server alias localhost address 127.0.0.1 ; register1 } Any help is appreciated. Regards -- 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Newbie Question.. Monitoring Lnux machines.
Hi there -- The NRPE, Nagios Remote Plugin Executor, software can be installed on the Linux systems along with the plugins that are also present on the server. The combination of the two will enable you to monitor the clients in question. From: Maxime Alarie [mailto:mala...@processia.com] Sent: Thursday, December 02, 2010 4:21 PM To: Nagios Users List Subject: [Nagios-users] Newbie Question.. Monitoring Lnux machines. Good day, I have installed nagios, on my centOS VM. I can monitor Windows machines and servers just fine using nsclient++. How can I monitor a Linux server? There is no NSclient++ available, and the guide on monitoring linux machines is incomplete I have check my localhost.cfg file, thinking I could rename it to LinuxServer.cfg but it is quite empty: define host { host_name localhost use linux-server alias localhost address 127.0.0.1 ; register1 } Any help is appreciated. Regards The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Partners Compliance HelpLine at http://www.partners.org/complianceline . If the e-mail was sent to you in error but does not contain patient information, please contact the sender and properly dispose of the e-mail. -- 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Newbie Question.. Monitoring Lnux machines.
If the system is on the local network there is no reason to use the client. It can monitor if the system is up or down. I believe the client is just for if your not on the local lan From: Daniel Wittenberg [mailto:daniel.wittenberg.r...@statefarm.com] Sent: Thursday, December 02, 2010 3:32 PM To: Nagios Users List Subject: Re: [Nagios-users] Newbie Question.. Monitoring Lnux machines. Take a look at NRPE for Linux/Unix clients. There are RPM's available from rpmforge which will get you going. Dan From: Maxime Alarie [mailto:mala...@processia.com] Sent: Thursday, December 02, 2010 3:21 PM To: Nagios Users List Subject: [Nagios-users] Newbie Question.. Monitoring Lnux machines. Good day, I have installed nagios, on my centOS VM. I can monitor Windows machines and servers just fine using nsclient++. How can I monitor a Linux server? There is no NSclient++ available, and the guide on monitoring linux machines is incomplete I have check my localhost.cfg file, thinking I could rename it to LinuxServer.cfg but it is quite empty: define host { host_name localhost use linux-server alias localhost address 127.0.0.1 ; register1 } Any help is appreciated. Regards -- 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Newbie Question.. Monitoring Lnux machines.
Well, local lan really doesn't have to do with it. You CAN use SNMP for some of the checks, my in my experience you can't get everything from SNMP or as detailed info on some things, so I always use NRPE. If you are monitoring the local machine, (localhost) then you obviously don't need an agent, but if you are monitoring other servers you'll need with SNMP or NRPE. Dan From: Randy White [mailto:randywhit...@neb.rr.com] Sent: Thursday, December 02, 2010 3:38 PM To: 'Nagios Users List' Subject: Re: [Nagios-users] Newbie Question.. Monitoring Lnux machines. If the system is on the local network there is no reason to use the client. It can monitor if the system is up or down. I believe the client is just for if your not on the local lan From: Daniel Wittenberg [mailto:daniel.wittenberg.r...@statefarm.com] Sent: Thursday, December 02, 2010 3:32 PM To: Nagios Users List Subject: Re: [Nagios-users] Newbie Question.. Monitoring Lnux machines. Take a look at NRPE for Linux/Unix clients. There are RPM's available from rpmforge which will get you going. Dan From: Maxime Alarie [mailto:mala...@processia.com] Sent: Thursday, December 02, 2010 3:21 PM To: Nagios Users List Subject: [Nagios-users] Newbie Question.. Monitoring Lnux machines. Good day, I have installed nagios, on my centOS VM. I can monitor Windows machines and servers just fine using nsclient++. How can I monitor a Linux server? There is no NSclient++ available, and the guide on monitoring linux machines is incomplete I have check my localhost.cfg file, thinking I could rename it to LinuxServer.cfg but it is quite empty: define host { host_name localhost use linux-server alias localhost address 127.0.0.1 ; register1 } Any help is appreciated. Regards -- 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] newbie question...
So there is no way of getting just the host down alert when a host goes down ? To explain a little, lets say I'm monitoring CPU, memory and disk space on a host. The host goes down and Nagios sends an alert by email for the host down event and also for the CPU, memory and disk space events. All I need to know about this event is that the host is down. Just think that it's not neccessary to send an alert email about services on a host that is down. /Arnar Marc Powell m...@ena.com 05/31/2009 03:53 PM To Nick Hasser nick.has...@gmail.com cc nagios-user Mailinglist nagios-users@lists.sourceforge.net Subject Re: [Nagios-users] newbie question... On May 31, 2009, at 10:09 AM, Nick Hasser wrote: I haven't had a situation like this yet, so this is more a theoretical question, but how do you monitor services which are provided by redundant servers with failover (i.e. services are still up when a particular physical server is down)? Using the check_cluster plugin is most common. You monitor the individual machines and services and check_cluster reflects the overall state of the service being monitored. http://nagios.sourceforge.net/docs/3_0/clusters.html -- Marc -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://p.sf.net/sfu/creativitycat-com ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null Thessi tolvupostur og vidhengi hans geta innihaldid trunadarupplysingar og er eingongu aetladur theim sem hann er stiladur a. Oheimil medferd tolvuposts thessa og vidhengja hans getur vardad skadabota- og refsiabyrgd samkvaemt logum um fjarskipti. Efni tolvupostsins og vidhengja er a abyrgd sendanda ef thad tengist ekki starfsemi Flugstoda ohf. Ef Thu ert ekki skradur mottakandi og hefur fengid skeytid vegna mistaka, vinsamlegast hafdu strax samband vid sendanda. This e-mail and its attachments is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.-- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://p.sf.net/sfu/creativitycat-com ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] newbie question...
On Jun 1, 2009, at 3:09 AM, Arnar Þórarinsson wrote: So there is no way of getting just the host down alert when a host goes down ? To explain a little, lets say I'm monitoring CPU, memory and disk space on a host. The host goes down and Nagios sends an alert by email for the host down event and also for the CPU, memory and disk space events. All I need to know about this event is that the host is down. Just think that it's not neccessary to send an alert email about services on a host that is down. And so does nagios. As I said earlier, nagios does this automatically. To restate - when a host is down, nagios suppresses all e-mail notifications about that hosts services, but will still display them as down in the GUI. It will only send the host down notification. The first section of http://nagios.sourceforge.net/docs/2_0/networkreachability.html states it best. It still applies to 3.x but I haven't found the section that states it as clearly. -- Marc -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://p.sf.net/sfu/creativitycat-com ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] newbie question...
Marc Powell wrote: On Jun 1, 2009, at 3:09 AM, Arnar Þórarinsson wrote: So there is no way of getting just the host down alert when a host goes down ? To explain a little, lets say I'm monitoring CPU, memory and disk space on a host. The host goes down and Nagios sends an alert by email for the host down event and also for the CPU, memory and disk space events. All I need to know about this event is that the host is down. Just think that it's not neccessary to send an alert email about services on a host that is down. And so does nagios. As I said earlier, nagios does this automatically. To restate - when a host is down, nagios suppresses all e-mail notifications about that hosts services, but will still display them as down in the GUI. It will only send the host down notification. The first section of http://nagios.sourceforge.net/docs/2_0/networkreachability.html states it best. It still applies to 3.x but I haven't found the section that states it as clearly. -- Marc If I'm interpreting your question correctly, you're saying that when one of your servers actually goes down, you ARE getting alerts (email/SMS/whatever) for more than just the host being down??? I see what Marc's saying... he's telling you this shouldn't be. Nagios was built to check first that the host is up and reachable, and if its not to notify you the host is down, but to not ALERT you about all host-dependent tests that are now failing. Nagios will still try all tests and fail on them and the web interface will reflect more than just the HOST DOWN, but the only email/SMS you get should be for the HOST DOWN. However, you may need to clarify what you mean by *down*. *Down* does not always mean off or 100% non-responsive. In the case of *nix systems I've seen quite a few times where a server will hang, fail, or segfault but still be reachable over the network. The reason is that parts of the OS are in memory and things like pings from remote hosts still respond, even though the overall functionality of the host itself is down (ISP's get this a lot: host pings, but you can't ssh in, for example). If Nagios can ping the host, it will then try the other tests and alert on them. Here's a quick way to narrow this down: turn off the server (shut down and pull power). The Nagios web interface should show the host down and all tests as failing, but the only email/SMS you should get is the host down. If you still get emailed/alerted then you might have a configuration error. Perhaps you didn't properly define your host checks as opposed to service checks? Do you have a check_ping or check_icmp host check for each host? AD -- OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] newbie question...
On May 31, 2009, at 10:09 AM, Nick Hasser wrote: I haven't had a situation like this yet, so this is more a theoretical question, but how do you monitor services which are provided by redundant servers with failover (i.e. services are still up when a particular physical server is down)? Using the check_cluster plugin is most common. You monitor the individual machines and services and check_cluster reflects the overall state of the service being monitored. http://nagios.sourceforge.net/docs/3_0/clusters.html -- Marc -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://p.sf.net/sfu/creativitycat-com ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] newbie question...
On May 30, 2009, at 11:43 AM, Arnar Þórarinsson wrote: Hi all, How can I make it so that if a host goes down Nagios will only report the host down and not all the services on that host ? All I want to get is a host down alert. Yes I know RTFM... but I have and I can't seem to find this in the docs. Nagios will only send an e-mail for the single Host down event but will always display both the host and services as down (because they are). This is not configurable behavior and I can't think of any creative way to change the status of the services in that event that isn't a pain... -- Marc -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://p.sf.net/sfu/creativitycat-com ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] newbie question
On Thu, Feb 26, 2009 at 3:08 PM, White, Richard L rlwh...@illinois.edu wrote: List, I just finished installing Nagios 2.10 on my RedHat Linux system. Old version. Consider upgrading to version 3. I’m new at web stuff but after some digging was able to log into the application. I have not changed any of the default cfg files except for the contacts one listed in the quickstart directions and pointing the authentication to the correct password file. It looks like I should be monitoring my localhost, but I do not see hosts or services displayed in the viewer. Do they only show up when they are bad? On most screens I get the message similar to this one: “It appears as though you do not have permissions to view information for any of the hosts you requested… If you believe this is an error, check the HTTP server authentication requirements for access this CGI and check the authorization options in your CGI configuration file” Is this because the files it is looking for do not exist yet? Do I have a permissions problem? Yes, that is most likely. Start here: http://nagios.sourceforge.net/docs/3_0/config.html Documentation in this arena for your current version is not very explicit. Consider upgrading. -lee -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Newbie question about nagios and snmp
2.- Is there a way to ask the free disk of / instead of /dev/sda1? check_snmp_disk - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Newbie question about nagios and snmp
Hi Tom, Tom Brown wrote: 2.- Is there a way to ask the free disk of / instead of /dev/sda1? check_snmp_disk In my debian I can't find that check_snmp_disk, the only thing I have found in /etc/nagios-plugins/config/snmp.cfg is: # 'snmp_disk' command definition define command{ command_namesnmp_disk command_line/usr/lib/nagios/plugins/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -o .1.3.6.1.4.1.2021.9.1.7.$ARG2$,.1.3.6.1.4.1.2021.9.1 .9.$ARG2$ -w $ARG3$:,:$ARG4$ -c $ARG5$:,:$ARG6$ -u 'kB free (','% used)' -l 'disk space' } am I missing anything? -- Arnau - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Newbie question about nagios and snmp
On Jun 17, 2008, at 12:30 PM, Arnau wrote: Hi Tom, Tom Brown wrote: 2.- Is there a way to ask the free disk of / instead of /dev/sda1? check_snmp_disk In my debian I can't find that check_snmp_disk, the only thing I have found in /etc/nagios-plugins/config/snmp.cfg is: am I missing anything? A google search. http://www.google.com/search?q=nagios+check_snmp_disk -- Marc - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Newbie question about nagios and snmp
In my debian I can't find that check_snmp_disk, the only thing I have found in /etc/nagios-plugins/config/snmp.cfg is: # 'snmp_disk' command definition define command{ command_namesnmp_disk command_line/usr/lib/nagios/plugins/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -o .1.3.6.1.4.1.2021.9.1.7.$ARG2$,.1.3.6.1.4.1.2021.9.1 .9.$ARG2$ -w $ARG3$:,:$ARG4$ -c $ARG5$:,:$ARG6$ -u 'kB free (','% used)' -l 'disk space' } am I missing anything? yes - you can get the plugin from nagiosexchange - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Newbie question - check_snmp syntax
Hi Patrick, Thank you for the detailed explanation. Yes, I am just polling SNMP for values. The switches provided in the check_snmp service are values that the plugin seems to require. The SNMP version is always 2c and the community string is public. If I do not specify -L noAuthNoPriv¹ the switch defaults to authPriv¹. I have now removed this switch. Also the delimiter used by check_snmp is ³=². If I use this delimiter in the netapp.cfg file, nagios complains about a syntax error in the file. If -m¹ is not specified it defaults to ALL¹. Is that a bad thing? I have also changed -m¹ to -o¹. What I found to be odd is that nagios seems to have picked up the value for the OID at some time in the past and then lost it. From the nagios.log file - 05-15-2008 23:18:36] EXTERNAL COMMAND: SCHEDULE_FORCED_HOST_CHECK;gx4;1210889913 [05-15-2008 23:18:14] EXTERNAL COMMAND: SCHEDULE_FORCED_SVC_CHECK;gx3;Uptime;1210889891 [05-15-2008 23:17:50] EXTERNAL COMMAND: SCHEDULE_FORCED_SVC_CHECK;gx2;Uptime;1210889868 [05-15-2008 23:16:33] SERVICE FLAPPING ALERT: gx1;Uptime;STARTED; Service appears to have started flapping (22.8% change = 20.0% threshold) On NetApp the only configuration setting is the define the server that is going to receive the SNMP traps. With the configuration updates the results are as below... ### commands.cfg # 'check_snmp' command definition define command{ command_namecheck_snmp command_line$USER1$/check_snmp -H $ARG1$ -P 2c -d ! -o $ARG2$ } ### netapp.cfg define service{ usegeneric-service; Inherit values from a template host_namegx3 service_descriptionUptime check_commandcheck_snmp!gx3!sysUpTime.0 } ### command output Status Information:SNMP problem - No data received from host CMD: /usr/bin/snmpget -t 1 -r 5 -m ALL -v 2c [authpriv] gx3:161 sysUpTime.0 Regards, Mrinal. On 16/05/2008 01:44, Patrick Morris [EMAIL PROTECTED] wrote: On Thu, 15 May 2008, mrinal devadas wrote: Hi all, Am attempting to setup a Nagios server to accept SNMP traps from a NetApp controller. Need help with the syntax to be used for check_snmp. My commands.cfg file has, define command{ command_namecheck_snmp command_line$USER1$/check_snmp -H $ARG1$ -P 2c -L noAuthNoPriv -d ! -m $ARG2$ } My netapp.cfg file has, define service{ use generic-service ; Inherit values from a template host_name gx3 service_description Uptime check_command check_snmp!gx3!sysUpTime.0 } I get the following error message on Nagios, Status Information:SNMP problem - No data received from host CMD: /usr/bin/snmpget -t 1 -r 5 -m sysUpTime.0 -v 2c [authpriv] gx2:161 What am I doing wrong? First, a couple points: NMP traps are not something you can get using check_snmp. They are sent from a device to something that listens for SNMP traps, and aren't something you can poll for. In the example you gave, however, it appears you're polling for the sysUpTime.0 OID from SNMP, which is not a trap, so maybe you're just using the wrong terminology. If you are trying to receive traps, though, your current approach will never work. Now, if you're just polling SNMP for values, you've got a workable start. However, The result you say you're receiving in Nagios cannot be the result of the configs you've supplied. You're also mixing commands in a way that doesn't make much sense. For example, you specify to use SNMP version 2, but also include the -L switch, which only applies to SNMP version 3. You're also going to have trouble with the -d ! part of the command line, probably, and I doubt you even need it. You're also not specifying the OID you want to poll. The -m flag specifies a MIB to load -- a MIB is generally a file containing information about the OIDs available on a device, but the -o switch is the one to use to specify the data you want returned. It's also unclear what, if anything, you've done on the NetApp as far as SNMP configuration, so that could very well be a problem as well. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Newbie question - check_snmp syntax
On Thu, 15 May 2008, mrinal devadas wrote: Hi all, Am attempting to setup a Nagios server to accept SNMP traps from a NetApp controller. Need help with the syntax to be used for check_snmp. My commands.cfg file has, define command{ command_namecheck_snmp command_line$USER1$/check_snmp -H $ARG1$ -P 2c -L noAuthNoPriv -d ! -m $ARG2$ } My netapp.cfg file has, define service{ use generic-service ; Inherit values from a template host_name gx3 service_description Uptime check_command check_snmp!gx3!sysUpTime.0 } I get the following error message on Nagios, Status Information:SNMP problem - No data received from host CMD: /usr/bin/snmpget -t 1 -r 5 -m sysUpTime.0 -v 2c [authpriv] gx2:161 What am I doing wrong? First, a couple points: NMP traps are not something you can get using check_snmp. They are sent from a device to something that listens for SNMP traps, and aren't something you can poll for. In the example you gave, however, it appears you're polling for the sysUpTime.0 OID from SNMP, which is not a trap, so maybe you're just using the wrong terminology. If you are trying to receive traps, though, your current approach will never work. Now, if you're just polling SNMP for values, you've got a workable start. However, The result you say you're receiving in Nagios cannot be the result of the configs you've supplied. You're also mixing commands in a way that doesn't make much sense. For example, you specify to use SNMP version 2, but also include the -L switch, which only applies to SNMP version 3. You're also going to have trouble with the -d ! part of the command line, probably, and I doubt you even need it. You're also not specifying the OID you want to poll. The -m flag specifies a MIB to load -- a MIB is generally a file containing information about the OIDs available on a device, but the -o switch is the one to use to specify the data you want returned. It's also unclear what, if anything, you've done on the NetApp as far as SNMP configuration, so that could very well be a problem as well. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Newbie question - authorization...
If I start Nagios, things look ok, but I don't have the authorization correct. I have added the entries in the Apache config file, and created the .htaccess entries in the nagios directories. But when I point the web browser at the nagios page, it does not ask for a login/password. Then I get authorization failures when I try to look at the various monitoring pages This is really a browser issue, not nagios I think. But it isn't something I've done before - can someone suggest what I might have set up incorrectly or point me at what needs to be added? If you're not getting prompted for a login, it's not a Nagios or a browser issue -- it's a webserver configuration problem. Assuming your .htaccess files are valid, your webserver is probably configured not to use them. - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Newbie question - authorization...
That was sort of the problem - I found a typo in the .htaccess file. So the server was complaining about an invalid file definition Thanks for the help, nbc On Sat, 2006-09-16 at 13:57 -0400, Morris, Patrick wrote: If I start Nagios, things look ok, but I don't have the authorization correct. I have added the entries in the Apache config file, and created the .htaccess entries in the nagios directories. But when I point the web browser at the nagios page, it does not ask for a login/password. Then I get authorization failures when I try to look at the various monitoring pages This is really a browser issue, not nagios I think. But it isn't something I've done before - can someone suggest what I might have set up incorrectly or point me at what needs to be added? If you're not getting prompted for a login, it's not a Nagios or a browser issue -- it's a webserver configuration problem. Assuming your .htaccess files are valid, your webserver is probably configured not to use them. - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null