[Nagios-users] About new release for Nagios
Hello all. I was curious there will be any new releases coming out in Nagios. I remember there was memory leak in 3.3.1. Are there any plans for any new releases? Thanks, Yu -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2d-oct ___ 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] check_http and other response codes
Isn't there some regex matching? Frank -Original Message- From: Morty [mailto:morty+nag...@frakir.org] Sent: Wednesday, October 12, 2011 9:46 PM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] check_http and other response codes On some of our apache servers, the normal response code is 401 (authentication required) rather than 200. I'd also like to use nagios to make sure the apache TRACE method stays disabled, with a response code of 405. Problem: check_http returns a warning if the response code is anything but 200. In the first case, both 200 and 401 are acceptable; in the latter case, I want 405 rather than 200. Is there a way to require or allow a different response code? I'm using check_http 1.4.15, as packaged with Debian 5.x. I googled, but didn't find clue. :( Thanks! - Morty -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2d-oct ___ 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 -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2d-oct ___ 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
[Nagios-users] check_http and other response codes
On some of our apache servers, the normal response code is 401 (authentication required) rather than 200. I'd also like to use nagios to make sure the apache TRACE method stays disabled, with a response code of 405. Problem: check_http returns a warning if the response code is anything but 200. In the first case, both 200 and 401 are acceptable; in the latter case, I want 405 rather than 200. Is there a way to require or allow a different response code? I'm using check_http 1.4.15, as packaged with Debian 5.x. I googled, but didn't find clue. :( Thanks! - Morty -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2d-oct ___ 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] Monitoring clustered services
Quoting Michael Friedrich : Hi Ashish, Try to configure cluster resource under a new virtual host in nagios. define host { host_name cluster address 0.0.0.0 parents clusterserver1 clusterserver2 } Define clustered service under virtual host. define service{ host_name cluster check_command servicename } Services will be checked under servers configured as parents if it is available on any one of the node service will be ok. Rgds, Aravind M D On 2011-10-12 15:04, Kumar, Ashish wrote: > Hello fellow Nagios users, I have configured a couple of hosts in Nagios, since they are the nodes of a HA cluster the services are running on the active host only. As obvious Nagios is showing the services down on the passive host. I tried using check_cluster and check_cluster2 but due to the lack of information around the web and mailing list archives I couldn't figure out how it can be configured. Would anyone actually using check_cluster like to lend me a hand? :) i'd suggest using check_multi instead for checking real clustered services. We are using Nagios Core 3.2.0 on Centos. Thanks, Ashish Kumar -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2d-oct___ Nagios-users mailing list Nagios-users@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 -- DI (FH) Michael Friedrich Vienna University Computer Center Universitaetsstrasse 7 A-1010 Vienna, Austria email: michael.friedr...@univie.ac.at phone: +43 1 4277 14359 mobile: +43 664 60277 14359 fax:+43 1 4277 14338 web: http://www.univie.ac.at/zidhttp://www.aco.net Icinga Core & IDOUtils Developer http://www.icinga.org -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2d-oct___ 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] Monitoring clustered services
On 2011-10-12 15:04, Kumar, Ashish wrote: Hello fellow Nagios users, I have configured a couple of hosts in Nagios, since they are the nodes of a HA cluster the services are running on the active host only. As obvious Nagios is showing the services down on the passive host. I tried using check_cluster and check_cluster2 but due to the lack of information around the web and mailing list archives I couldn't figure out how it can be configured. Would anyone actually using check_cluster like to lend me a hand? :) i'd suggest using check_multi instead for checking real clustered services. We are using Nagios Core 3.2.0 on Centos. Thanks, Ashish Kumar -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2d-oct ___ 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 -- DI (FH) Michael Friedrich Vienna University Computer Center Universitaetsstrasse 7 A-1010 Vienna, Austria email: michael.friedr...@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 -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2d-oct___ 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] Monitoring clustered services
One solution to that problem is to use Mathias Kettner's check_mk and use its clustered service support: http://mathias-kettner.de/checkmk_clusters.html That's what I do here. Another alternative is to create a third 'host' in Nagios representing the cluster and monitor the services on that, and not on the 'physical' boxes. 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: Kumar, Ashish [mailto:xml.de...@gmail.com] Sent: 12 October 2011 14:04 To: nagios-users ML Subject: [Nagios-users] Monitoring clustered services Hello fellow Nagios users, I have configured a couple of hosts in Nagios, since they are the nodes of a HA cluster the services are running on the active host only. As obvious Nagios is showing the services down on the passive host. I tried using check_cluster and check_cluster2 but due to the lack of information around the web and mailing list archives I couldn't figure out how it can be configured. Would anyone actually using check_cluster like to lend me a hand? :) We are using Nagios Core 3.2.0 on Centos. Thanks, Ashish Kumar -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2d-oct___ 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] Monitoring clustered services
Hi, One way to use check_cluster is : first : define a command like define command { command_name check_cluster_service command_line $USER1$/check_cluster -s -d $ARG1$ -c $ARG2$ } then define your check define service { ... check_command check_cluster_service!$SERVICESTATEID:node1:ha_service $,$SERVICESTATEID:node2:ha_service$!1 ... } This will get the result of the tests of the "ha_service" on "node1" and "node2" and return a critical state if there is more than 1 check in a non-OK state. But the best way to check a cluster is to check only the system (disk, CPU, ...) on your nodes and check the cluster as if it is a classic server through th VIP. On Wed, 2011-10-12 at 18:34 +0530, Kumar, Ashish wrote: > Hello fellow Nagios users, > > I have configured a couple of hosts in Nagios, since they are the > nodes of a HA cluster the services are running on the active host > only. As obvious Nagios is showing the services down on the passive > host. I tried using check_cluster and check_cluster2 but due to the > lack of information around the web and mailing list archives I > couldn't figure out how it can be configured. > > Would anyone actually using check_cluster like to lend me a hand? :) > > We are using Nagios Core 3.2.0 on Centos. > > Thanks, > Ashish Kumar > > > -- > All the data continuously generated in your IT infrastructure contains a > definitive record of customers, application performance, security > threats, fraudulent activity and more. Splunk takes this data and makes > sense of it. Business sense. IT sense. Common sense. > http://p.sf.net/sfu/splunk-d2d-oct > ___ 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 -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2d-oct ___ 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] Monitoring clustered services
Might want to look into see if "negate" works for that plug in which will alert when a service is up. I use that on an snmp plug in that I use to check windows services on two passive nodes that should not have certain application services running. May not work for your cluster plug in but worth looking into On Oct 12, 2011 9:10 AM, "Kumar, Ashish" wrote: > > Hello fellow Nagios users, > > I have configured a couple of hosts in Nagios, since they are the nodes of a HA cluster the services are running on the active host only. As obvious Nagios is showing the services down on the passive host. I tried using check_cluster and check_cluster2 but due to the lack of information around the web and mailing list archives I couldn't figure out how it can be configured. > > Would anyone actually using check_cluster like to lend me a hand? :) > > We are using Nagios Core 3.2.0 on Centos. > > Thanks, > Ashish Kumar > > > > -- > All the data continuously generated in your IT infrastructure contains a > definitive record of customers, application performance, security > threats, fraudulent activity and more. Splunk takes this data and makes > sense of it. Business sense. IT sense. Common sense. > http://p.sf.net/sfu/splunk-d2d-oct > ___ > 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 -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2d-oct___ 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] Monitoring clustered services
Hello Ashish, is there a "virtual IP adress" connected with the service (like the package IPs in ServiceGuard) ? If there is: simply monitor the service by using the IP associated with the service and monitor the individual hosts, the service might be running on. You may want to monitor and notify the hosts using the check_cluster plugin. check_cluster is useful for active/active clusters. In active/passive clusters you'll get a lot of red services and that is probably not what you want and the reason for your question. Kind regards, Thomas On 10/12/2011 03:04 PM, Kumar, Ashish wrote: > Hello fellow Nagios users, > > I have configured a couple of hosts in Nagios, since they are the > nodes of a HA cluster the services are running on the active host > only. As obvious Nagios is showing the services down on the passive > host. I tried using check_cluster and check_cluster2 but due to the > lack of information around the web and mailing list archives I > couldn't figure out how it can be configured. > > Would anyone actually using check_cluster like to lend me a hand? :) > > We are using Nagios Core 3.2.0 on Centos. > > Thanks, > Ashish Kumar > > -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2d-oct ___ 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
[Nagios-users] Monitoring clustered services
Hello fellow Nagios users, I have configured a couple of hosts in Nagios, since they are the nodes of a HA cluster the services are running on the active host only. As obvious Nagios is showing the services down on the passive host. I tried using check_cluster and check_cluster2 but due to the lack of information around the web and mailing list archives I couldn't figure out how it can be configured. Would anyone actually using check_cluster like to lend me a hand? :) We are using Nagios Core 3.2.0 on Centos. Thanks, Ashish Kumar -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2d-oct___ 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