From trunasuci at mail.com Fri Nov 2 05:03:43 2012 From: trunasuci at mail.com (TRUNASUCI TRUNASUCI) Date: Fri, 02 Nov 2012 00:03:43 -0400 Subject: Introducing Adagios - Another web configuration interface to Nagios Message-ID: <20121102040344.204170@gmx.com> Hi; sounds interesting, I'll give it a try :) ----- Original Message ----- From: P?ll Gu?j?n Sigur?sson Sent: 10/26/12 11:41 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Introducing Adagios - Another web configuration interface to Nagios Hello everyone, This is a call for testers on our new Nagios web configuration utility. We use pynag as our underlying library to configure nagios in-place. We would love feedback from any interested party to help us iron out bugs and ideas on what Nagios tasks currently take to much of your time and could be made easier with a web interface. Features * Edit nagios configs in-place without a database backend (thanks pynag) * Audit of configuration changes (aka git integration) * Bulk Edit/Copy/Delete of objects * Value-add for both novices and nagios gurus * Rest Interface * Start/Stop/Reload of Nagios Service Adagios also integrates nicely with okconfig offering features such as: * Template support * Preconfigured templates (windows,linux,oracle,brocade,etc) * Remotely push agent to clie nt (windows,rhel,debian,suse are supported) * Network scan to find unmonitored hosts * Easy changes to plugin thresholds via nagios macros As with any configuration utility. Please make sure you take backups before installing in a live environment. Install instruction for Centos/RHEL: https://github.com/opinkerfi/adagios/blob/master/README.md Live demo here: http://adagios.opensource.is ------------------------------------------------------------------------------ The Windows 8 Center In partnership with Sourceforge Your idea - your app - 30 days. Get started! http://windows8center.sourceforge.net/ what-html-developers-need-to-know-about-coding-windows-8-metro-style-apps/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https:// lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ LogMeIn Central: Instant, anywhere, Remote PC access and management. Stay in control, update software, and manage PCs from one command center Diagnose problems and improve visibility into emerging IT issues Automate, monitor and manage. Do more in less time with Central http://p.sf.net/sfu/logmein12331_d2d -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bruno.martins at gruporumos.com Fri Nov 2 10:47:53 2012 From: bruno.martins at gruporumos.com (Bruno Martins) Date: Fri, 2 Nov 2012 09:47:53 +0000 Subject: Notifications question In-Reply-To: References: <044E5B27D6C7E844B90EC93525278C343EE0D2E5@grexc01.rumos.com.pt> Message-ID: <044E5B27D6C7E844B90EC93525278C343EE0D54E@grexc01.rumos.com.pt> Hi, There is no entry in maillog because I'm not using the default Linux mail client, but a perl script called sendEmail.pl. I'm going to raise logging level to see if there's anything wrong. By the way, I've checked and even two services from the same host (using the same template) are giving me problems, since one service notifies me, but the other doesn't. I'm testing with custom notifications, but happens the same when I do passive checks to automatically generate notifications. Best regards, Bruno Martins From: Ranjib Dey [mailto:dey.ranjib at gmail.com] Sent: quarta-feira, 31 de Outubro de 2012 19:09 To: Nagios Users List Subject: Re: [Nagios-users] Notifications question Whats the corresponding maillog output? On Nov 1, 2012 12:13 AM, "Bruno Martins" > wrote: Hello list, I have a server running Nagios 3.4.1 under CentOS 6.3 and I have spent some hours trying to find why some (but not all) service notifications simply don't get to my mailbox, even though they appear in nagios.log file. This is my contact definition: define contact { contact_name helpdesk alias Helpdesk User host_notifications_enabled 1 service_notifications_enabled 1 host_notification_period 24x7 service_notification_period 24x7 host_notification_options d,r service_notification_options w,c,r host_notification_commands host-notify-by-email service_notification_commands notify-by-email can_submit_commands 1 email user at domain.com register 1 } This contact is part of WISESRV-critical group. This host is sending out notifications: define host { host_name FLAGSRV_imagina alias DC da Flag address x.y.z.q parents RUMOSRD_rlxfw01-rumos use Server register 1 } And this host is not: define host { host_name RUMOSSRV_rlxfs01 alias Servidor de partilha de ficheiros address x.y.z.q parents RUMOSRD_FLXSWCORE01 check_command check-host-alive use Server contact_groups WISESRV-critical notes rlxfs01 icon_image_alt rlxfs01 vrml_image FileServer.png register 1 } And this is the host template used by both hosts: define host { name Server alias Server Template check_command check-host-alive use advance24x7-host max_check_attempts 5 contact_groups WISESRV-critical notification_interval 60 notification_period 24x7 notification_options d,u,r notifications_enabled 1 icon_image FileServer.png vrml_image FileServer.png statusmap_image FileServer.png register 0 } This host template uses other host templates, as the 'use' parameter states. define host { name advance24x7-host use generic-host event_handler_enabled 1 notification_interval 60 notification_period 24x7 notification_options d,r notifications_enabled 1 register 0 } ...and this is also using another host template: define host { name advance8x5-host use generic-host event_handler_enabled 1 contacts helpdesk notification_interval 60 notification_period 8x5 notification_options d,r notifications_enabled 1 register 0 } Regarding to services, I have this two set: define service { #NAGIOSQL_CONFIG_NAME FLAGSRV_imagina host_name FLAGSRV_imagina service_description PING use service-WISESRV check_command check_ping!100.0,20%!500.0,60% register 1 } define service { #NAGIOSQL_CONFIG_NAME RUMOSSRV_rlxfs01 host_name RUMOSSRV_rlxfs01 service_description Disk Space Usage use service-WISESRV check_command check_nt_disk!secret!C!95!99 contact_groups WISESRV-critical register 1 } Using this service templates: define service { name service-WISESRV service_description Template de servicos use advance24x7-service max_check_attempts 3 check_interval 3 retry_interval 1 notification_interval 45 notification_period 24x7 notification_options w,c,r notifications_enabled 1 contact_groups WISESRV-critical register 0 } define service { name advance24x7-service use generic-service max_check_attempts 5 check_interval 5 retry_interval 1 check_period 24x7 notification_interval 60 notification_period 24x7 notification_options w,c,r notifications_enabled 1 contact_groups WISESRV-critical stalking_options w,c register 0 } define service { name generic-service is_volatile 0 max_check_attempts 5 check_interval 60 retry_interval 15 active_checks_enabled 1 passive_checks_enabled 1 check_period none parallelize_check 1 obsess_over_service 1 check_freshness 0 event_handler_enabled 1 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 notification_interval 60 notification_period none notification_options w,u,c,r notifications_enabled 1 contact_groups admins stalking_options o,w,u,c failure_prediction_enabled 1 register 0 } Can you please point me in the right direction? Am I misreading something? And sorry for the long post. I should have used some web "pasting" tool. Just remembered. :) Best regards, Bruno Martins ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ LogMeIn Central: Instant, anywhere, Remote PC access and management. Stay in control, update software, and manage PCs from one command center Diagnose problems and improve visibility into emerging IT issues Automate, monitor and manage. Do more in less time with Central http://p.sf.net/sfu/logmein12331_d2d -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Peter.Shankland at ricoh-rpl.com Fri Nov 2 11:01:34 2012 From: Peter.Shankland at ricoh-rpl.com (Peter.Shankland at ricoh-rpl.com) Date: Fri, 2 Nov 2012 10:01:34 +0000 Subject: Peter Shankland is out of the office. Message-ID: I will be out of the office starting 01/11/2012 and will not return until 05/11/2012. Please contact Tom Barnes if the request is urgent: Tom Barnes tom.barnes at ricoh-rpl.com 01952 205362 Regards. ________________________________________ Peter Shankland TECHNICAL SPECIALIST IT DEPARTMENT Ricoh UK Products Limited Priorslee Telford, TF2 9NS UK Tel: +44 (0) 1952 290090 DD:+44 (0) 1952 205160 F:+44 (0) 1952 213100 M:+44 (0) 7919 444077 Peter.Shankland at ricoh-rpl.com (Embedded image moved to file: pic11337.gif) (Embedded image moved to file: pic15457.jpg) Please do not print this email unless absolutely necessary in order to save paper and energy, and you will contribute to resource conservation and CO2 reduction. This email including attachments is intended for the addressee(s) only. It may be labelled confidential/ private and contain confidential/private information. Please respect the wishes of the sender in the way you treat this email and the information contained within. If in doubt clarify the wishes of the sender before acting. If you have received this email in error, you may not review, copy or forward this message in whole or in part. Ricoh UK Products employees should delete from their system and notify us of the error via the ISMS Security Incident Reporting database. External recipients should delete from their system and alert us via email, advising the name of the sender and the time and date of receipt. Any views expressed in this email may not necessarily reflect those of Ricoh UK Products Ltd. You should ensure that the onward transmission, opening or use of this message or attachments will not adversely affect your system or data and carry out anti-virus checks before downloading. Internet communications are not secure and therefore Ricoh UK Products Ltd accepts no responsibility for any direct, indirect or consequential damage resulting from the transmission of this message. Registered in England No. 1763860 Registered Office: Ricoh UK Products Limited, Priorslee, Telford, Shropshire, TF2 9NS -------------- next part -------------- A non-text attachment was scrubbed... Name: pic11337.gif Type: image/gif Size: 2190 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: pic15457.jpg Type: image/jpeg Size: 7544 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ LogMeIn Central: Instant, anywhere, Remote PC access and management. Stay in control, update software, and manage PCs from one command center Diagnose problems and improve visibility into emerging IT issues Automate, monitor and manage. Do more in less time with Central http://p.sf.net/sfu/logmein12331_d2d -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bruno.martins at gruporumos.com Fri Nov 2 12:53:03 2012 From: bruno.martins at gruporumos.com (Bruno Martins) Date: Fri, 2 Nov 2012 11:53:03 +0000 Subject: Notifications question In-Reply-To: <044E5B27D6C7E844B90EC93525278C343EE0D54E@grexc01.rumos.com.pt> References: <044E5B27D6C7E844B90EC93525278C343EE0D2E5@grexc01.rumos.com.pt> <044E5B27D6C7E844B90EC93525278C343EE0D54E@grexc01.rumos.com.pt> Message-ID: <044E5B27D6C7E844B90EC93525278C343EE0D5CE@grexc01.rumos.com.pt> Ok, I see that nothing appears on the log file. Now, why? The command is the same for both services. I have Nagios embedded perl disabled. From: Bruno Martins Sent: sexta-feira, 2 de Novembro de 2012 09:48 To: Nagios Users List Subject: RE: [Nagios-users] Notifications question Hi, There is no entry in maillog because I'm not using the default Linux mail client, but a perl script called sendEmail.pl. I'm going to raise logging level to see if there's anything wrong. By the way, I've checked and even two services from the same host (using the same template) are giving me problems, since one service notifies me, but the other doesn't. I'm testing with custom notifications, but happens the same when I do passive checks to automatically generate notifications. Best regards, Bruno Martins From: Ranjib Dey [mailto:dey.ranjib at gmail.com] Sent: quarta-feira, 31 de Outubro de 2012 19:09 To: Nagios Users List Subject: Re: [Nagios-users] Notifications question Whats the corresponding maillog output? On Nov 1, 2012 12:13 AM, "Bruno Martins" > wrote: Hello list, I have a server running Nagios 3.4.1 under CentOS 6.3 and I have spent some hours trying to find why some (but not all) service notifications simply don't get to my mailbox, even though they appear in nagios.log file. This is my contact definition: define contact { contact_name helpdesk alias Helpdesk User host_notifications_enabled 1 service_notifications_enabled 1 host_notification_period 24x7 service_notification_period 24x7 host_notification_options d,r service_notification_options w,c,r host_notification_commands host-notify-by-email service_notification_commands notify-by-email can_submit_commands 1 email user at domain.com register 1 } This contact is part of WISESRV-critical group. This host is sending out notifications: define host { host_name FLAGSRV_imagina alias DC da Flag address x.y.z.q parents RUMOSRD_rlxfw01-rumos use Server register 1 } And this host is not: define host { host_name RUMOSSRV_rlxfs01 alias Servidor de partilha de ficheiros address x.y.z.q parents RUMOSRD_FLXSWCORE01 check_command check-host-alive use Server contact_groups WISESRV-critical notes rlxfs01 icon_image_alt rlxfs01 vrml_image FileServer.png register 1 } And this is the host template used by both hosts: define host { name Server alias Server Template check_command check-host-alive use advance24x7-host max_check_attempts 5 contact_groups WISESRV-critical notification_interval 60 notification_period 24x7 notification_options d,u,r notifications_enabled 1 icon_image FileServer.png vrml_image FileServer.png statusmap_image FileServer.png register 0 } This host template uses other host templates, as the 'use' parameter states. define host { name advance24x7-host use generic-host event_handler_enabled 1 notification_interval 60 notification_period 24x7 notification_options d,r notifications_enabled 1 register 0 } ...and this is also using another host template: define host { name advance8x5-host use generic-host event_handler_enabled 1 contacts helpdesk notification_interval 60 notification_period 8x5 notification_options d,r notifications_enabled 1 register 0 } Regarding to services, I have this two set: define service { #NAGIOSQL_CONFIG_NAME FLAGSRV_imagina host_name FLAGSRV_imagina service_description PING use service-WISESRV check_command check_ping!100.0,20%!500.0,60% register 1 } define service { #NAGIOSQL_CONFIG_NAME RUMOSSRV_rlxfs01 host_name RUMOSSRV_rlxfs01 service_description Disk Space Usage use service-WISESRV check_command check_nt_disk!secret!C!95!99 contact_groups WISESRV-critical register 1 } Using this service templates: define service { name service-WISESRV service_description Template de servicos use advance24x7-service max_check_attempts 3 check_interval 3 retry_interval 1 notification_interval 45 notification_period 24x7 notification_options w,c,r notifications_enabled 1 contact_groups WISESRV-critical register 0 } define service { name advance24x7-service use generic-service max_check_attempts 5 check_interval 5 retry_interval 1 check_period 24x7 notification_interval 60 notification_period 24x7 notification_options w,c,r notifications_enabled 1 contact_groups WISESRV-critical stalking_options w,c register 0 } define service { name generic-service is_volatile 0 max_check_attempts 5 check_interval 60 retry_interval 15 active_checks_enabled 1 passive_checks_enabled 1 check_period none parallelize_check 1 obsess_over_service 1 check_freshness 0 event_handler_enabled 1 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 notification_interval 60 notification_period none notification_options w,u,c,r notifications_enabled 1 contact_groups admins stalking_options o,w,u,c failure_prediction_enabled 1 register 0 } Can you please point me in the right direction? Am I misreading something? And sorry for the long post. I should have used some web "pasting" tool. Just remembered. :) Best regards, Bruno Martins ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ LogMeIn Central: Instant, anywhere, Remote PC access and management. Stay in control, update software, and manage PCs from one command center Diagnose problems and improve visibility into emerging IT issues Automate, monitor and manage. Do more in less time with Central http://p.sf.net/sfu/logmein12331_d2d -------------- 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 Nov 2 13:15:55 2012 From: ae at op5.se (Andreas Ericsson) Date: Fri, 02 Nov 2012 13:15:55 +0100 Subject: Notifications question In-Reply-To: <044E5B27D6C7E844B90EC93525278C343EE0D5CE@grexc01.rumos.com.pt> References: <044E5B27D6C7E844B90EC93525278C343EE0D2E5@grexc01.rumos.com.pt> <044E5B27D6C7E844B90EC93525278C343EE0D54E@grexc01.rumos.com.pt> <044E5B27D6C7E844B90EC93525278C343EE0D5CE@grexc01.rumos.com.pt> Message-ID: <5093B97B.7080901@op5.se> On 11/02/2012 12:53 PM, Bruno Martins wrote: > Ok, I see that nothing appears on the log file. > > Now, why? The command is the same for both services. > Remove environment macros and get rid of SERVICEGROUP_NAMES and SERVICEGROUP_MEMBERS macros in the output. Also grep for 'Warning: ' in nagios.log. > I have Nagios embedded perl disabled. > > From: Bruno Martins > Sent: sexta-feira, 2 de Novembro de 2012 09:48 > To: Nagios Users List > Subject: RE: [Nagios-users] Notifications question > > Hi, > > There is no entry in maillog because I'm not using the default Linux mail client, but a perl script called sendEmail.pl. > I'm going to raise logging level to see if there's anything wrong. > > By the way, I've checked and even two services from the same host (using the same template) are giving me problems, since one service notifies me, but the other doesn't. > > I'm testing with custom notifications, but happens the same when I do passive checks to automatically generate notifications. > > Best regards, > > Bruno Martins > > From: Ranjib Dey [mailto:dey.ranjib at gmail.com] > Sent: quarta-feira, 31 de Outubro de 2012 19:09 > To: Nagios Users List > Subject: Re: [Nagios-users] Notifications question > > > Whats the corresponding maillog output? > On Nov 1, 2012 12:13 AM, "Bruno Martins" > wrote: > Hello list, > > I have a server running Nagios 3.4.1 under CentOS 6.3 and I have spent some hours trying to find why some (but not all) service notifications simply don't get to my mailbox, even though they appear in nagios.log file. > > This is my contact definition: > define contact { > contact_name helpdesk > alias Helpdesk User > host_notifications_enabled 1 > service_notifications_enabled 1 > host_notification_period 24x7 > service_notification_period 24x7 > host_notification_options d,r > service_notification_options w,c,r > host_notification_commands host-notify-by-email > service_notification_commands notify-by-email > can_submit_commands 1 > email user at domain.com > register 1 > } > > This contact is part of WISESRV-critical group. > > This host is sending out notifications: > define host { > host_name FLAGSRV_imagina > alias DC da Flag > address x.y.z.q > parents RUMOSRD_rlxfw01-rumos > use Server > register 1 > } > > And this host is not: > define host { > host_name RUMOSSRV_rlxfs01 > alias Servidor de partilha de ficheiros > address x.y.z.q > parents RUMOSRD_FLXSWCORE01 > check_command check-host-alive > use Server > contact_groups WISESRV-critical > notes rlxfs01 > icon_image_alt rlxfs01 > vrml_image FileServer.png > register 1 > } > And this is the host template used by both hosts: > define host { > name Server > alias Server Template > check_command check-host-alive > use advance24x7-host > max_check_attempts 5 > contact_groups WISESRV-critical > notification_interval 60 > notification_period 24x7 > notification_options d,u,r > notifications_enabled 1 > icon_image FileServer.png > vrml_image FileServer.png > statusmap_image FileServer.png > register 0 > } > > This host template uses other host templates, as the 'use' parameter states. > define host { > name advance24x7-host > use generic-host > event_handler_enabled 1 > notification_interval 60 > notification_period 24x7 > notification_options d,r > notifications_enabled 1 > register 0 > } > > ...and this is also using another host template: > define host { > name advance8x5-host > use generic-host > event_handler_enabled 1 > contacts helpdesk > notification_interval 60 > notification_period 8x5 > notification_options d,r > notifications_enabled 1 > register 0 > } > > Regarding to services, I have this two set: > define service { > #NAGIOSQL_CONFIG_NAME FLAGSRV_imagina > host_name FLAGSRV_imagina > service_description PING > use service-WISESRV > check_command check_ping!100.0,20%!500.0,60% > register 1 > } > > define service { > #NAGIOSQL_CONFIG_NAME RUMOSSRV_rlxfs01 > host_name RUMOSSRV_rlxfs01 > service_description Disk Space Usage > use service-WISESRV > check_command check_nt_disk!secret!C!95!99 > contact_groups WISESRV-critical > register 1 > } > > Using this service templates: > define service { > name service-WISESRV > service_description Template de servicos > use advance24x7-service > max_check_attempts 3 > check_interval 3 > retry_interval 1 > notification_interval 45 > notification_period 24x7 > notification_options w,c,r > notifications_enabled 1 > contact_groups WISESRV-critical > register 0 > } > > define service { > name advance24x7-service > use generic-service > max_check_attempts 5 > check_interval 5 > retry_interval 1 > check_period 24x7 > notification_interval 60 > notification_period 24x7 > notification_options w,c,r > notifications_enabled 1 > contact_groups WISESRV-critical > stalking_options w,c > register 0 > } > > define service { > name generic-service > is_volatile 0 > max_check_attempts 5 > check_interval 60 > retry_interval 15 > active_checks_enabled 1 > passive_checks_enabled 1 > check_period none > parallelize_check 1 > obsess_over_service 1 > check_freshness 0 > event_handler_enabled 1 > flap_detection_enabled 1 > process_perf_data 1 > retain_status_information 1 > retain_nonstatus_information 1 > notification_interval 60 > notification_period none > notification_options w,u,c,r > notifications_enabled 1 > contact_groups admins > stalking_options o,w,u,c > failure_prediction_enabled 1 > register 0 > } > > Can you please point me in the right direction? Am I misreading something? > > And sorry for the long post. I should have used some web "pasting" tool. Just remembered. :) > > Best regards, > > Bruno Martins > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_sfd2d_oct > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > ------------------------------------------------------------------------------ > LogMeIn Central: Instant, anywhere, Remote PC access and management. > Stay in control, update software, and manage PCs from one command center > Diagnose problems and improve visibility into emerging IT issues > Automate, monitor and manage. Do more in less time with Central > http://p.sf.net/sfu/logmein12331_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 > -- 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. ------------------------------------------------------------------------------ LogMeIn Central: Instant, anywhere, Remote PC access and management. Stay in control, update software, and manage PCs from one command center Diagnose problems and improve visibility into emerging IT issues Automate, monitor and manage. Do more in less time with Central http://p.sf.net/sfu/logmein12331_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 From bruno.martins at gruporumos.com Fri Nov 2 13:41:57 2012 From: bruno.martins at gruporumos.com (Bruno Martins) Date: Fri, 2 Nov 2012 12:41:57 +0000 Subject: Notifications question In-Reply-To: <5093B97B.7080901@op5.se> References: <044E5B27D6C7E844B90EC93525278C343EE0D2E5@grexc01.rumos.com.pt> <044E5B27D6C7E844B90EC93525278C343EE0D54E@grexc01.rumos.com.pt> <044E5B27D6C7E844B90EC93525278C343EE0D5CE@grexc01.rumos.com.pt> <5093B97B.7080901@op5.se> Message-ID: <044E5B27D6C7E844B90EC93525278C343EE0D632@grexc01.rumos.com.pt> Hi, I have changed enable_environment_macros variable to 0 with no luck. I have also cleared all services I had on service groups and still no luck. Now I've changed debug level in Nagios to be in Notifications level, and I get this on /var/log/nagios/nagios.debug: [1351859880.332512] [032.0] [pid=15799] ** Service Notification Attempt ** Host: 'RUMOSSRV_flxis01', Service: 'CPU Load', Type: 99, Options: 0, Current State: 0, Last Notification: Thu Jan 1 01:00:00 1970 [1351859880.335799] [032.0] [pid=15799] Notification viability test passed. [1351859880.335845] [032.1] [pid=15799] Current notification number: 0 (unchanged) [1351859880.335884] [032.2] [pid=15799] Creating list of contacts to be notified. [1351859880.335914] [032.1] [pid=15799] Service notification will NOT be escalated. [1351859880.335942] [032.1] [pid=15799] Adding normal contacts for service to notification list. [1351859880.335968] [032.2] [pid=15799] Adding members of contact group 'WISESRV-critical' for service to notification list. [1351859880.336003] [032.2] [pid=15799] ** Checking service notification viability for contact 'helpdesk'... [1351859880.350829] [032.2] [pid=15799] Adding contact 'helpdesk' to notification list. [1351859880.353521] [032.2] [pid=15799] ** Notifying contact 'helpdesk' [1351859880.353595] [032.2] [pid=15799] Raw notification command: my notification command [1351859880.353730] [032.2] [pid=15799] Processed notification command: my notification command [1351859880.555686] [032.0] [pid=15799] 1 contacts were notified. And I get this on the /var/log/Nagios/Nagios.log: [1351859880] EXTERNAL COMMAND: SEND_CUSTOM_SVC_NOTIFICATION;RUMOSSRV_flxis01;CPU Load;0;Helpdesk User;teste [1351859880] SERVICE NOTIFICATION: helpdesk;RUMOSSRV_flxis01;CPU Load;CUSTOM (OK);notify-by-email;CPU Load 2% (5 min average);Helpdesk User;teste Best regards, Bruno Martins -----Original Message----- From: Andreas Ericsson [mailto:ae at op5.se] Sent: sexta-feira, 2 de Novembro de 2012 12:16 To: Nagios Users List Cc: Bruno Martins Subject: Re: [Nagios-users] Notifications question On 11/02/2012 12:53 PM, Bruno Martins wrote: > Ok, I see that nothing appears on the log file. > > Now, why? The command is the same for both services. > Remove environment macros and get rid of SERVICEGROUP_NAMES and SERVICEGROUP_MEMBERS macros in the output. Also grep for 'Warning: ' in nagios.log. ------------------------------------------------------------------------------ LogMeIn Central: Instant, anywhere, Remote PC access and management. Stay in control, update software, and manage PCs from one command center Diagnose problems and improve visibility into emerging IT issues Automate, monitor and manage. Do more in less time with Central http://p.sf.net/sfu/logmein12331_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 From wbashlor at atcnetworks.net Fri Nov 2 17:02:52 2012 From: wbashlor at atcnetworks.net (Will Bashlor) Date: Fri, 2 Nov 2012 12:02:52 -0400 Subject: Host Group Hierarchy In Web CGI? Message-ID: Hi List, I have searched to no avail. With Nagios Core, I understand how nagios object inheritance works, for this topic, host groups. But, is there a way to display in the web cgi, groups within groups? Like file system folder structure? For a simple example, City Group => Device1 Group => Hosts City Group => Device2 Group => Hosts So when displaying in the web cgi, you only see "City Group". You can then click on "City Group" and see "Device1 Group" and "Device2 Group". For a more slightly more complex example, City Group => CPE Group => Device1 Group => Hosts City Group => CPE Group => Device2 Group => Hosts City Group => Core Group => Hosts In this example, on the host group overview web cgi page, you only see "City Group". When clicking on "City Group" then you see "CPE Group" and "Core Group". If you click on "Core Group" you see core devices, but if you would have clicked on "CPE group", you see "Device1 Group" and "Device2 Group". I think this gives the idea of the question. Without this file/folder type structure I would have to create groups as below and they would all show up on the web cgi. City CPE Device1 Group => Hosts City CPE Device2 Group => Hosts City Core Group => Hosts Is this the only way? I'll do it this way if there's no other way with Nagios Core. I am not interested in using XI, or any paid frontends at this time. Thanks in advance. Best Regards, -Will Will Bashlor Manager IP Services (912) 632-3104 Direct (912) 632-9984 Fax (912) 816-3344 Mobile (800) 540-6480 Tech Support wbashlor at atcnetworks.net http://www.atcbroadband.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 15852 bytes Desc: image001.jpg URL: -------------- next part -------------- ------------------------------------------------------------------------------ LogMeIn Central: Instant, anywhere, Remote PC access and management. Stay in control, update software, and manage PCs from one command center Diagnose problems and improve visibility into emerging IT issues Automate, monitor and manage. Do more in less time with Central http://p.sf.net/sfu/logmein12331_d2d -------------- 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 esteban at nuevaeralatam.com Sat Nov 3 05:35:26 2012 From: esteban at nuevaeralatam.com (Esteban Monge) Date: Fri, 2 Nov 2012 23:35:26 -0500 Subject: Host Group Hierarchy In Web CGI? In-Reply-To: References: Message-ID: > Hi List, > > > > I have searched to no avail. With Nagios Core, I understand how nagios > object inheritance works, for this topic, host groups. But, is there a > way to display in the web cgi, groups within groups? Like file system > folder structure? For a simple example, > > > > City Group => Device1 Group => Hosts > > City Group => Device2 Group => Hosts > > > > So when displaying in the web cgi, you only see "City Group". You can > then click on "City Group" and see "Device1 Group" and "Device2 Group". > > > > For a more slightly more complex example, > > > > City Group => CPE Group => Device1 Group => Hosts > > City Group => CPE Group => Device2 Group => Hosts > > City Group => Core Group => Hosts > > > > In this example, on the host group overview web cgi page, you only see > "City Group". When clicking on "City Group" then you see "CPE Group" and > "Core Group". If you click on "Core Group" you see core devices, but if > you would have clicked on "CPE group", you see "Device1 Group" and > "Device2 Group". > > > > I think this gives the idea of the question. > > > > Without this file/folder type structure I would have to create groups as > below and they would all show up on the web cgi. > > > > City CPE Device1 Group => Hosts > > City CPE Device2 Group => Hosts > > City Core Group => Hosts > > > > Is this the only way? I'll do it this way if there's no other way with > Nagios Core. I am not interested in using XI, or any paid frontends at > this time. Thanks in advance. > > > > Best Regards, > > -Will > Do you want make a map with parents? In my case I created a forever pending host for parents and a group with the same name: City Host parent of Device1 Group parent of Hosts parent of Device2 Group parent of Hosts And make groups with the same name. The first is for draw a better map, and the second is for Nagios logic I dont know any way to make that. Sorry for my bad english. ------------------------------------------------------------------------------ LogMeIn Central: Instant, anywhere, Remote PC access and management. Stay in control, update software, and manage PCs from one command center Diagnose problems and improve visibility into emerging IT issues Automate, monitor and manage. Do more in less time with Central http://p.sf.net/sfu/logmein12331_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 From amit.anjarlekar at gmail.com Sat Nov 3 07:38:47 2012 From: amit.anjarlekar at gmail.com (Amit Anjarlekar) Date: Sat, 3 Nov 2012 09:38:47 +0300 Subject: [Pnp4nagios-users] pnp4nagios scale issue In-Reply-To: <508F78FF.5050802@gmx.net> References: <508F78FF.5050802@gmx.net> Message-ID: Hi All, After running verify script for pnp4nagios getting below error . ----------------------------------------------------------------------------------------------------------------------------------------------------------- perl verify_pnp_config --mode npcdmod -c /usr/local/nagios/etc/nagios.cfg -p /usr/local/pnp4nagios/ [INFO] ========== Starting Environment Checks ============ [INFO] My version is: verify_pnp_config-0.6.19-R.35 [INFO] Start Options: verify_pnp_config --mode npcdmod -c /usr/local/nagios/etc/nagios.cfg -p /usr/local/pnp4nagios/ [INFO] Reading /usr/local/nagios/etc/nagios.cfg [OK ] Running product is 'nagios' [OK ] object_cache_file is defined [OK ] object_cache_file=/usr/local/nagios/var/objects.cache [INFO] Reading /usr/local/nagios/var/objects.cache [OK ] resource_file is defined [OK ] resource_file=/usr/local/nagios/etc/resource.cfg [INFO] Reading /usr/local/nagios/etc/resource.cfg [CRIT] Directory /usr/local/pnp4nagios//check_commands does not exist [CRIT] /usr/local/pnp4nagios/ does not look like a PNP4Nagios config directory ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- Can anybody suggest more on the same as what may be reason? As per critical error both directories are present @ path. .rrd files not updating & daily reports are not reflecting on nagios webpage. Thanks & Regards Amit On Tue, Oct 30, 2012 at 9:51 AM, Wolfgang wrote: > Am 30.10.2012 06:31, schrieb Amit Anjarlekar: > > Dear All, > > > > Nagios graphs scale is improper. Also i added few remote servers for > > monitoring. For them weekly or monthly data reflecting properly. But > > not for last 4 hours or 24 hours? > > > > Is files under /usr/local/pnp4nagios/var/perfdata/hostname/* should > > get updated? In my case nagios is running but files are not updating. > > What may be reason? > > > > Note - I upgraded from 3.3.1 ver to 3.4.1. From that day it stopped > > updating. Can any body help to resolve the same. If anybody have any > > idea as how flow of files updated during fetching data till displayed > > on site using nrpe then plz update that too. I am still bit confused > > with how the flow works in nagios... > > > > Any body have idea on this then plz suggest. > > > > Thanks & Regards > > Amit > > > no details -> no real help > please run the verify script, see > http://docs.pnp4nagios.org/pnp-0.6/verify_pnp_config for details > > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_sfd2d_oct > _______________________________________________ > Pnp4nagios-users mailing list > Pnp4nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/pnp4nagios-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ LogMeIn Central: Instant, anywhere, Remote PC access and management. Stay in control, update software, and manage PCs from one command center Diagnose problems and improve visibility into emerging IT issues Automate, monitor and manage. Do more in less time with Central http://p.sf.net/sfu/logmein12331_d2d -------------- 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 valiyev at unicc.org Mon Nov 5 16:56:15 2012 From: valiyev at unicc.org (VALIYEV Ruslan) Date: Mon, 5 Nov 2012 15:56:15 +0000 Subject: check_disk and stale NFS Message-ID: <6A4CAF993855C84A9E684E58AE6A7FAC862DDE63@MMSCHM01.GMS05.unicc.org> Hi all, I would like to monitor all local and non-local filesystems on a server + check for stale NFS mount points. And according to man, the option I need is the following: -L, --stat-remote-fs Only check local filesystems against thresholds. Yet call stat on remote filesystems to test if they are accessible (e.g. to detect Stale NFS Handles) However, it looks like check_disk is simply hanging when there's a stale NFS. [root at server ~]# /usr/lib64/nagios/plugins/check_disk -L -t 5 ...hang state... Here's /etc/mtab [root at server ~]# grep nfs /etc/mtab sunrpc /var/lib/nfs/rpc_pipefs rpc_pipefs rw 0 0 10.111.11.10:/icc_hds_transfer /icc_hds_transfer nfs rw,bg,addr=10.111.11.10 0 0 10.111.11.10:/ora_disk_backup /ora_disk_backup nfs rw,bg,hard,nointr,rsize=32768,wsize=32768,tcp,nfsvers=3,timeo=600,actimeo=0,addr=10.111.11.10 0 0 10.111.11.10:/icc_fast_refresh /icc_fast_refresh nfs rw,bg,addr=10.111.11.10 0 0 And here's df in hang state [root at server ~]# df -P Filesystem 1024-blocks Used Available Capacity Mounted on /dev/sda2 11904620 3857608 7432528 35% / /dev/mapper/Volsda1-LogVol02 7935392 4927660 2598132 66% /home /dev/mapper/Volsda1-LogVol01 7935392 439296 7086496 6% /opt /dev/sda5 7936256 151484 7375120 3% /tmp /dev/sda3 7936288 927140 6599492 13% /var /dev/sda1 350018 16903 315044 6% /boot tmpfs 16474872 0 16474872 0% /dev/shm /dev/sdb1 287826944 187056292 86149900 69% /u01 /dev/sdc1 287826944 172147168 101059024 64% /oratemp ...hang state... [root at server ~]# grep nfs /var/log/messages Nov 5 16:40:05 server kernel: nfs: server 10.111.11.10 not responding, still trying What am I doing wrong? I just tried the latest nagios-plugins snapshot and the same thing happened. Best regards, Ruslan Valiyev . ..: Linux System Administrator Systems Support Unit (OTAS) Operations and Technology Division International Computing Centre (ICC) Email: valiyev at unicc.org Website: www.unicc.org -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ LogMeIn Central: Instant, anywhere, Remote PC access and management. Stay in control, update software, and manage PCs from one command center Diagnose problems and improve visibility into emerging IT issues Automate, monitor and manage. Do more in less time with Central http://p.sf.net/sfu/logmein12331_d2d -------------- 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 rodrigo.gesswein at gmail.com Mon Nov 5 23:36:56 2012 From: rodrigo.gesswein at gmail.com (Rodrigo Gesswein) Date: Mon, 5 Nov 2012 19:36:56 -0300 Subject: About nsca and nrpe... Message-ID: Dear All: I have a custom Nagios plug-in that runs over nrpe, ie, active checks from Nagios Monitoring Server. I use the plug-in to monitor more than one service with it. If I test the plug-in via 'check_nrpe' it works as spectated. Tests done from Nagios Server. Now, I added a passive check to the same custom plug-in, ie, to send a passive response to Nagios server for a custom service. If I test the plug-in via 'check_nrpe' it works as spectated, BUT, passive results does not arrives to Nagios Server. If I test the plug-in from command line, it works!! Testing remote plug-in execution (over ssh command line), it works!! passive results arrives to Nagios Server. Does anyone have an idea of why it's not possible to send passive results over nrpe ??? Thank you in advance Rodrigo ------------------------------------------------------------------------------ LogMeIn Central: Instant, anywhere, Remote PC access and management. Stay in control, update software, and manage PCs from one command center Diagnose problems and improve visibility into emerging IT issues Automate, monitor and manage. Do more in less time with Central http://p.sf.net/sfu/logmein12331_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 From wbashlor at atcnetworks.net Tue Nov 6 03:39:39 2012 From: wbashlor at atcnetworks.net (Will Bashlor) Date: Mon, 5 Nov 2012 21:39:39 -0500 Subject: Host Group Hierarchy In Web CGI? In-Reply-To: References: Message-ID: Thanks Esteban, That is exactly what I want to do, except I want the hierarchy to be on the Host Group Summary page the same way as the map. I need it to show groups in groups and not all groups on the same page. So in your example below I only want the "City Group" group to show on the Host Group Summary page in the Nagios cgi website. Surely there has to be a way to nest groups like this for the web cgi, otherwise it doesn't seem Nagios would scale well for thousands of hosts. Any I know there's servers running 10k+ hosts and services. We only have about 1,000 devices to monitor but I really would like only the cities to show as groups on the main page then drill down from there. Once you click on the city, I want site locations (Hub, CO, Colo, etc). Then core devices, all the way down to access layer of hosts. If not what other options to I have for management? It seems like it would be a nightmare if it was 1 flat later of groups. How is everyone else doing this? -Will -----Original Message----- From: Esteban Monge [mailto:esteban at nuevaeralatam.com] Sent: Saturday, November 03, 2012 12:35 AM To: Nagios Users List Subject: Re: [Nagios-users] Host Group Hierarchy In Web CGI? > Hi List, > > > > I have searched to no avail. With Nagios Core, I understand how nagios > object inheritance works, for this topic, host groups. But, is there a > way to display in the web cgi, groups within groups? Like file system > folder structure? For a simple example, > > > > City Group => Device1 Group => Hosts > > City Group => Device2 Group => Hosts > > > > So when displaying in the web cgi, you only see "City Group". You can > then click on "City Group" and see "Device1 Group" and "Device2 Group". > > > > For a more slightly more complex example, > > > > City Group => CPE Group => Device1 Group => Hosts > > City Group => CPE Group => Device2 Group => Hosts > > City Group => Core Group => Hosts > > > > In this example, on the host group overview web cgi page, you only see > "City Group". When clicking on "City Group" then you see "CPE Group" > and "Core Group". If you click on "Core Group" you see core devices, > but if you would have clicked on "CPE group", you see "Device1 Group" > and > "Device2 Group". > > > > I think this gives the idea of the question. > > > > Without this file/folder type structure I would have to create groups > as below and they would all show up on the web cgi. > > > > City CPE Device1 Group => Hosts > > City CPE Device2 Group => Hosts > > City Core Group => Hosts > > > > Is this the only way? I'll do it this way if there's no other way with > Nagios Core. I am not interested in using XI, or any paid frontends at > this time. Thanks in advance. > > > > Best Regards, > > -Will > Do you want make a map with parents? In my case I created a forever pending host for parents and a group with the same name: City Host parent of Device1 Group parent of Hosts parent of Device2 Group parent of Hosts And make groups with the same name. The first is for draw a better map, and the second is for Nagios logic I dont know any way to make that. Sorry for my bad english. ------------------------------------------------------------------------ ------ LogMeIn Central: Instant, anywhere, Remote PC access and management. Stay in control, update software, and manage PCs from one command center Diagnose problems and improve visibility into emerging IT issues Automate, monitor and manage. Do more in less time with Central http://p.sf.net/sfu/logmein12331_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 ------------------------------------------------------------------------------ LogMeIn Central: Instant, anywhere, Remote PC access and management. Stay in control, update software, and manage PCs from one command center Diagnose problems and improve visibility into emerging IT issues Automate, monitor and manage. Do more in less time with Central http://p.sf.net/sfu/logmein12331_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 From esteban at nuevaeralatam.com Tue Nov 6 06:43:59 2012 From: esteban at nuevaeralatam.com (Esteban Monge) Date: Mon, 5 Nov 2012 23:43:59 -0600 Subject: Host Group Hierarchy In Web CGI? In-Reply-To: References: Message-ID: > Thanks Esteban, > > That is exactly what I want to do, except I want the hierarchy to be on > the Host Group Summary page the same way as the map. I need it to show > groups in groups and not all groups on the same page. > > So in your example below I only want the "City Group" group to show on > the Host Group Summary page in the Nagios cgi website. > > Surely there has to be a way to nest groups like this for the web cgi, > otherwise it doesn't seem Nagios would scale well for thousands of > hosts. Any I know there's servers running 10k+ hosts and services. > > We only have about 1,000 devices to monitor but I really would like only > the cities to show as groups on the main page then drill down from > there. Once you click on the city, I want site locations (Hub, CO, Colo, > etc). Then core devices, all the way down to access layer of hosts. If > not what other options to I have for management? > > It seems like it would be a nightmare if it was 1 flat later of groups. > > How is everyone else doing this? > > -Will In my case, Nagios Web CGIs isn't the solution, may be you need make a Nagvis map, is more user friendly and configurable, you can integrate Nagvis in Nagios CGIs also. =$ If you want make modifications to Nagios CGIs, you must modify the code ------------------------------------------------------------------------------ LogMeIn Central: Instant, anywhere, Remote PC access and management. Stay in control, update software, and manage PCs from one command center Diagnose problems and improve visibility into emerging IT issues Automate, monitor and manage. Do more in less time with Central http://p.sf.net/sfu/logmein12331_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 From sjcarr at gmail.com Tue Nov 6 10:13:29 2012 From: sjcarr at gmail.com (Steven Carr) Date: Tue, 6 Nov 2012 09:13:29 +0000 Subject: Viewing defined notifications for a specific contact/contact-group Message-ID: Hi list, Does anyone know of a way of or have a script that can print a list of all defined notifications that could be sent for a particular contact/contact-group? I want to list the notifications for a contact/contact-group so that I can see what they will be notified about so I can add anything that is missing, but I don't want to have to check each host/service individually. Thanks Steve ------------------------------------------------------------------------------ LogMeIn Central: Instant, anywhere, Remote PC access and management. Stay in control, update software, and manage PCs from one command center Diagnose problems and improve visibility into emerging IT issues Automate, monitor and manage. Do more in less time with Central http://p.sf.net/sfu/logmein12331_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 From agriffin at nagios.com Tue Nov 6 17:37:57 2012 From: agriffin at nagios.com (Alex Griffin) Date: Tue, 06 Nov 2012 10:37:57 -0600 Subject: About nsca and nrpe... In-Reply-To: References: Message-ID: <50993CE5.5040309@nagios.com> > Does anyone have an idea of why it's not possible to send passive > results over nrpe ??? NRPE is not designed for passive checks. The reason you can't send passive results over NRPE is because the only communication NRPE has with Nagios is through the output and exit code of check_nrpe. In other words, it does not submit the results directly to Nagios, rather it relies on Nagios running the command directly (the definition of an active check). NSCA is a solution for passive monitoring. You mentioned it in your subject line but not your message body: is there some reason you don't want to use NSCA, or something you're confused about regarding it? Alex Griffin --- Tech Team agriffin at nagios.com ------------------------------------------------------------------------------ LogMeIn Central: Instant, anywhere, Remote PC access and management. Stay in control, update software, and manage PCs from one command center Diagnose problems and improve visibility into emerging IT issues Automate, monitor and manage. Do more in less time with Central http://p.sf.net/sfu/logmein12331_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 From Deborah.Martin at kognitio.com Tue Nov 6 17:33:42 2012 From: Deborah.Martin at kognitio.com (Deborah Martin) Date: Tue, 6 Nov 2012 16:33:42 +0000 Subject: Configuring NSCA for failover scenario Message-ID: Hi Folks, I have two nagios boxes, one production and one planned to be a proper failover box. If I configure NSCA, as suggested in the docs I've read so far, do I put the send_nsca daemon on the production box so that it sends passive check results to the failover box ? Thanks, Deborah This e-mail 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 are not the intended recipient, please delete this e-mail immediately. Any unauthorised distribution or copying is strictly prohibited. Whilst Kognitio endeavours to prevent the transmission of viruses via e-mail, we cannot guarantee that any e-mail or attachment is free from computer viruses and you are strongly advised to undertake your own anti-virus precautions. Kognitio grants no warranties regarding performance, use or quality of any e-mail or attachment and undertakes no liability for loss or damage, howsoever caused. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ LogMeIn Central: Instant, anywhere, Remote PC access and management. Stay in control, update software, and manage PCs from one command center Diagnose problems and improve visibility into emerging IT issues Automate, monitor and manage. Do more in less time with Central http://p.sf.net/sfu/logmein12331_d2d -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From BChan at Shawcor.com Tue Nov 6 17:49:48 2012 From: BChan at Shawcor.com (Brian Chan) Date: Tue, 6 Nov 2012 11:49:48 -0500 Subject: AUTO: Brian Chan is out of the office (returning 12/11/2012) Message-ID: I am out of the office until 12/11/2012. I will respond to your message when I return. If this is a request for support, click here to open an ITRequest--:> mailto:itrequest at shawcor.com Alternatively, all questions can be directed to the Help Desk at 416-744-5557 Brian Chan Note: This is an automated response to your message "Nagios-users Digest, Vol 78, Issue 3" sent on 11/06/2012 11:49:13. This is the only notification you will receive while this person is away. ------------------------------------------------------------------------------ LogMeIn Central: Instant, anywhere, Remote PC access and management. Stay in control, update software, and manage PCs from one command center Diagnose problems and improve visibility into emerging IT issues Automate, monitor and manage. Do more in less time with Central http://p.sf.net/sfu/logmein12331_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 From justinp at norchemlab.com Tue Nov 6 23:38:38 2012 From: justinp at norchemlab.com (Justin T Pryzby) Date: Tue, 6 Nov 2012 15:38:38 -0700 Subject: Viewing defined notifications for a specific contact/contact-group In-Reply-To: References: Message-ID: <20121106223838.GA9412@norchemlab.com> For starters, you can look at /var/cache/nagios3/objects.cache, which doesn't use templates or other "object tricks", so has all that expanded/substituted. You can parse that pretty easily with awk 'BEGIN{RS=""}' plus shell/tools. Justin On Tue, Nov 06, 2012 at 09:13:29AM +0000, Steven Carr wrote: > Hi list, > > Does anyone know of a way of or have a script that can print a list of > all defined notifications that could be sent for a particular > contact/contact-group? > > I want to list the notifications for a contact/contact-group so that I > can see what they will be notified about so I can add anything that is > missing, but I don't want to have to check each host/service > individually. > > Thanks > > Steve > > ------------------------------------------------------------------------------ > LogMeIn Central: Instant, anywhere, Remote PC access and management. > Stay in control, update software, and manage PCs from one command center > Diagnose problems and improve visibility into emerging IT issues > Automate, monitor and manage. Do more in less time with Central > http://p.sf.net/sfu/logmein12331_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 > ------------------------------------------------------------------------------ LogMeIn Central: Instant, anywhere, Remote PC access and management. Stay in control, update software, and manage PCs from one command center Diagnose problems and improve visibility into emerging IT issues Automate, monitor and manage. Do more in less time with Central http://p.sf.net/sfu/logmein12331_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 From bruno.martins at gruporumos.com Wed Nov 7 10:33:08 2012 From: bruno.martins at gruporumos.com (Bruno Martins) Date: Wed, 7 Nov 2012 09:33:08 +0000 Subject: FW: Notifications question In-Reply-To: <044E5B27D6C7E844B90EC93525278C343EE0D632@grexc01.rumos.com.pt> References: <044E5B27D6C7E844B90EC93525278C343EE0D2E5@grexc01.rumos.com.pt> <044E5B27D6C7E844B90EC93525278C343EE0D54E@grexc01.rumos.com.pt> <044E5B27D6C7E844B90EC93525278C343EE0D5CE@grexc01.rumos.com.pt> <5093B97B.7080901@op5.se> <044E5B27D6C7E844B90EC93525278C343EE0D632@grexc01.rumos.com.pt> Message-ID: <044E5B27D6C7E844B90EC93525278C344CE1859B@grexc01.rumos.com.pt> Hello guys, No ideas about the problem below? Thanks! Best regards, Bruno Martins -----Original Message----- From: Bruno Martins [mailto:bruno.martins at gruporumos.com] Sent: sexta-feira, 2 de Novembro de 2012 12:42 To: Nagios Users List Subject: Re: [Nagios-users] Notifications question Hi, I have changed enable_environment_macros variable to 0 with no luck. I have also cleared all services I had on service groups and still no luck. Now I've changed debug level in Nagios to be in Notifications level, and I get this on /var/log/nagios/nagios.debug: [1351859880.332512] [032.0] [pid=15799] ** Service Notification Attempt ** Host: 'RUMOSSRV_flxis01', Service: 'CPU Load', Type: 99, Options: 0, Current State: 0, Last Notification: Thu Jan 1 01:00:00 1970 [1351859880.335799] [032.0] [pid=15799] Notification viability test passed. [1351859880.335845] [032.1] [pid=15799] Current notification number: 0 (unchanged) [1351859880.335884] [032.2] [pid=15799] Creating list of contacts to be notified. [1351859880.335914] [032.1] [pid=15799] Service notification will NOT be escalated. [1351859880.335942] [032.1] [pid=15799] Adding normal contacts for service to notification list. [1351859880.335968] [032.2] [pid=15799] Adding members of contact group 'WISESRV-critical' for service to notification list. [1351859880.336003] [032.2] [pid=15799] ** Checking service notification viability for contact 'helpdesk'... [1351859880.350829] [032.2] [pid=15799] Adding contact 'helpdesk' to notification list. [1351859880.353521] [032.2] [pid=15799] ** Notifying contact 'helpdesk' [1351859880.353595] [032.2] [pid=15799] Raw notification command: my notification command [1351859880.353730] [032.2] [pid=15799] Processed notification command: my notification command [1351859880.555686] [032.0] [pid=15799] 1 contacts were notified. And I get this on the /var/log/Nagios/Nagios.log: [1351859880] EXTERNAL COMMAND: SEND_CUSTOM_SVC_NOTIFICATION;RUMOSSRV_flxis01;CPU Load;0;Helpdesk User;teste [1351859880] SERVICE NOTIFICATION: helpdesk;RUMOSSRV_flxis01;CPU Load;CUSTOM (OK);notify-by-email;CPU Load 2% (5 min average);Helpdesk User;teste Best regards, Bruno Martins -----Original Message----- From: Andreas Ericsson [mailto:ae at op5.se] Sent: sexta-feira, 2 de Novembro de 2012 12:16 To: Nagios Users List Cc: Bruno Martins Subject: Re: [Nagios-users] Notifications question On 11/02/2012 12:53 PM, Bruno Martins wrote: > Ok, I see that nothing appears on the log file. > > Now, why? The command is the same for both services. > Remove environment macros and get rid of SERVICEGROUP_NAMES and SERVICEGROUP_MEMBERS macros in the output. Also grep for 'Warning: ' in nagios.log. ------------------------------------------------------------------------------ LogMeIn Central: Instant, anywhere, Remote PC access and management. Stay in control, update software, and manage PCs from one command center Diagnose problems and improve visibility into emerging IT issues Automate, monitor and manage. Do more in less time with Central http://p.sf.net/sfu/logmein12331_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 ------------------------------------------------------------------------------ LogMeIn Central: Instant, anywhere, Remote PC access and management. Stay in control, update software, and manage PCs from one command center Diagnose problems and improve visibility into emerging IT issues Automate, monitor and manage. Do more in less time with Central http://p.sf.net/sfu/logmein12331_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 From esteban at nuevaeralatam.com Wed Nov 7 13:30:48 2012 From: esteban at nuevaeralatam.com (Esteban Monge) Date: Wed, 7 Nov 2012 06:30:48 -0600 Subject: Viewing defined notifications for a specific contact/contact-group In-Reply-To: References: Message-ID: > Hi list, > > Does anyone know of a way of or have a script that can print a list of > all defined notifications that could be sent for a particular > contact/contact-group? > > I want to list the notifications for a contact/contact-group so that I > can see what they will be notified about so I can add anything that is > missing, but I don't want to have to check each host/service > individually. > > Thanks > > Steve > > Hello: Do you use MK Livestatus? ------------------------------------------------------------------------------ LogMeIn Central: Instant, anywhere, Remote PC access and management. Stay in control, update software, and manage PCs from one command center Diagnose problems and improve visibility into emerging IT issues Automate, monitor and manage. Do more in less time with Central http://p.sf.net/sfu/logmein12331_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 From cosmin.neagu at omnilogic.ro Wed Nov 7 13:46:59 2012 From: cosmin.neagu at omnilogic.ro (Cosmin Neagu) Date: Wed, 07 Nov 2012 14:46:59 +0200 Subject: Plugin check_oracle_health In-Reply-To: References: <506AD7E5.1050807@omnilogic.ro> <506AED26.3060807@seres.es> <506BD7AF.1080307@omnilogic.ro> <5086A2DC.90505@omnilogic.ro> <508E4344.80200@omnilogic.ro> Message-ID: <509A5843.2010602@omnilogic.ro> I think i installed DBD::Oracle successfully, otherwise, i do not think i could have check this: nagios at monitor:/usr/local/nagios/libexec$ ./check_oracle_health --connect IGAS --username ABC --password ABC --mode=connection-time OK - 0.09 seconds to connect as ABC | connection_time=0.0934;1;5 The env variables were set as nagios user, not as root. However there seems to be some sort of env variable problem, but i cannot figure out what. I deleted the env variables from bashrc of nagios user, and set them globally in /etc/env nagios at monitor:/usr/local/nagios/etc/Eureko$ cat /etc/environment PATH="/home/nagios/perl5/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/lib/oracle/11.2/client/bin" ORACLE_HOME="/usr/lib/oracle/11.2/client" LD_LIBRARY_PATH="/usr/lib/oracle/11.2/client/lib" And define the following scripts nagios at monitor:/usr/local/nagios/libexec$ cat *check_oracle_health_time* #!/bin/bash export ORACLE_HOME=/usr/lib/oracle/11.2/client export PATH=$PATH:$ORACLE_HOME/bin export LD_LIBRARY_PATH=$ORACLE_HOME/lib perl /usr/local/nagios/libexec/check_oracle_health --connect IGAS --username ABC --password ABC --mode=connection-time nagios at monitor:/usr/local/nagios/libexec$ cat *check_oracle_health_tnsping* #!/bin/bash export ORACLE_HOME=/usr/lib/oracle/11.2/client export PATH=$PATH:$ORACLE_HOME/bin export LD_LIBRARY_PATH=$ORACLE_HOME/lib perl /usr/local/nagios/libexec/check_oracle_health --connect IGAS --username ABC --password ABC--mode=tnsping -method=sqlplus Both of this scrips should first set (again) the env variable and then run the desired check_oracle_health plugin. From CLI, all 4 execution as nagios user works: nagios at monitor:/usr/local/nagios/libexec$ ./check_oracle_health_tnsping OK - connection established to IGAS. nagios at monitor:/usr/local/nagios/libexec$ ./check_oracle_health --connect IGAS --username ABC --password ABC --mode=tnsping -method=sqlplus OK - connection established to IGAS. nagios at monitor:/usr/local/nagios/libexec$ ./check_oracle_health_time OK - 0.09 seconds to connect as ABC | connection_time=0.0897;1;5 nagios at monitor:/usr/local/nagios/libexec$ ./check_oracle_health --connect IGAS --username iapc_etl --password etl14admin --mode=connection-time OK - 0.09 seconds to connect as ABC | connection_time=0.0915;1;5 But when defining services in Nagios strange thing happens: The services defined in Nagios with check_oracle_health_tnsping and /check_oracle_health --connect IGAS --username ABC --password ABC --mode=tnsping -method=sqlplus both work, returning the corect result. The services defined with check_oracle_health_time and check_oracle_health --connect IGAS --username ABC --password ABC --mode=connection-time both do not work returning: CRITICAL - cannot connect to IGAS. install_driver(Oracle) failed: Can't locate DBD/Oracle.pm in @INC (@INC contains: /usr/local/nagios/libexec /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at (eval 13) line 3. So my question for someone who has made check_oracle_healt work is: How come all 4 invocation from CLI as nagios user work, but when Nagios runs them, only 2 of them work. I know that the error message tells me that there is some env variable path problem, but why are the first 2 calls of check_oracle_healt work then? Cosmin Neagu NOC Team Leader Str. I. G. Duca nr. 36 Otopeni, Judetul Ilfov, 075100 Romania Tel: 021 303 3159 / 0732 669 193 www.omnilogic.ro On 10/29/2012 11:06 AM, Claudio Kuenzler wrote: > You didn't correctly install the DBD::Oracle or your env variables are > not correct, as your error message shows it: > > Can't locate DBD/Oracle.pm in @INC (@INC contains: > /usr/local/nagios/libexec /etc/perl /usr/local/lib/perl/5.14.2 > /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 > /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at > (eval 13) line 3. > > You said that you have set the paths in .bashrc: > > I also set in .bashrc the enviroment variables: > export ORACLE_HOME=/usr/lib/oracle/11.2/client > export PATH=$PATH:$ORACLE_HOME/bin > export LD_LIBRARY_PATH=$ORACLE_HOME/lib > > You probably set this as root. Don't forget that Nagios runs under its > own user! (by default: nagios). > > > > On Mon, Oct 29, 2012 at 9:50 AM, Cosmin Neagu > > wrote: > > Hi Nagios Users, > Can someone help me or give a hint on why check_oracle_health does > not work (as describe below) ? > > On 10/23/2012 04:59 PM, Cosmin Neagu wrote: >> Hi all, >> >> I manage to install the oracle client on nagios machine after all >> (google is the best) and making all the necesary setting so that >> check_oracle_health is working from command line as nagios user: >> >> nagios at monitor:/usr/local/nagios/libexec$ ./check_oracle_health >> --connect IGAS --username abc --password abc --mode=tnsping >> Use of qw(...) as parentheses is deprecated at >> ./check_oracle_health line 4163. >> Use of qw(...) as parentheses is deprecated at >> ./check_oracle_health line 6167. >> OK - connection established to IGAS. >> nagios at monitor:/usr/local/nagios/libexec$ ./check_oracle_health >> --connect IGAS --username abc --password abc --mode=connection-time >> Use of qw(...) as parentheses is deprecated at >> ./check_oracle_health line 4163. >> Use of qw(...) as parentheses is deprecated at >> ./check_oracle_health line 6167. >> OK - 0.10 seconds to connect as iapc_etl | connection_time=0.0968;1;5 >> nagios at monitor:/usr/local/nagios/libexec$ ./check_oracle_health >> --connect IGAS --username abc --password abc --mode=connected-users >> Use of qw(...) as parentheses is deprecated at >> ./check_oracle_health line 4163. >> Use of qw(...) as parentheses is deprecated at >> ./check_oracle_health line 6167. >> OK - 31 connected users | connected_users=31;50;100 >> >> >> The command is defined like this: >> define command{ >> command_name check_oracle_health >> command_line $USER1$/check_oracle_health $ARG1$ >> } >> >> And the services: >> define service { >> use generic-service >> host_name DBIGASDS >> service_description Reachability via tnsping >> check_command check_oracle_health! --connect >> IGAS --username abc --password abc --mode=tnsping >> contacts cosmin >> } >> >> define service { >> use generic-service >> host_name DBIGASDS >> service_description Connection time to DB >> check_command check_oracle_health!--connect IGAS >> --username abc --password abc mode=connection-time >> contacts cosmin >> } >> define service { >> use generic-service >> host_name DBIGASDS >> service_description Connected users to DB >> check_command check_oracle_health!--connect IGAS >> --username abc --password abc mode=connected-users >> contacts cosmin >> >> >> I also set in .bashrc the enviroment variables: >> export ORACLE_HOME=/usr/lib/oracle/11.2/client >> export PATH=$PATH:$ORACLE_HOME/bin >> export LD_LIBRARY_PATH=$ORACLE_HOME/lib >> >> >> But, in Nagios 3.4.1, i do not receive the corect status for >> those services: >> For all 3 services i receive: >> CRITICAL - cannot connect to IGAS. install_driver(Oracle) failed: >> Can't locate DBD/Oracle.pm in @INC (@INC contains: >> /usr/local/nagios/libexec /etc/perl /usr/local/lib/perl/5.14.2 >> /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 >> /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl >> .) at (eval 13) line 3. >> >> >> I realy don't know what to check anymore and why does it say >> that, so any help would be apreciated. >> >> More info: >> nagios at monitor:/usr/local/nagios/libexec$ ./check_oracle_health -V >> check_oracle_health (1.7.3) >> nagios at monitor:/usr/local/nagios/etc$ uname -a >> Linux monitor 3.2.0-29-generic-pae #46-Ubuntu SMP Fri Jul 27 >> 17:25:43 UTC 2012 i686 i686 i386 GNU/Linux >> nagios at monitor:/usr/local/nagios/etc$ lsb_release -a >> No LSB modules are available. >> Distributor ID: Ubuntu >> Description: Ubuntu 12.04.1 LTS >> Release: 12.04 >> Codename: precise >> >> Cosmin Neagu >> NOC Team Leader >> Str. I. G. Duca nr. 36 >> Otopeni, Judetul Ilfov, 075100 Romania >> Tel: 021 303 3159 / 0732 669 193 >> www.omnilogic.ro >> On 10/03/2012 09:34 AM, Claudio Kuenzler wrote: >>> It's not that hard and a lot of things are written in the >>> documentation of check_oracle_health. >>> I even wrote an article about this in September 2011 explaining >>> the steps: >>> http://www.claudiokuenzler.com/blog/192/install-perl-dbd-oracle-DBD::Oracle-on-SuSE-SLES10-without-cpan >>> >>> >>> You should do it the way you prefer of course. But in my setup I >>> wanted to run check_oracle_health on a standalone Nagios server. >>> That way I also see if there's a latency in the remote sql >>> query. Real life applications rarely use localhost connections. >>> >>> On Wed, Oct 3, 2012 at 8:14 AM, Cosmin Neagu >>> > >>> wrote: >>> >>> Well, thats the hard part for me, installing those ORA files >>> - didnt find yet how to do that. I think installing the >>> plugin on DBServer and using NRPE is easier. >>> >>> Cosmin Neagu >>> NOC Team Leader >>> Str. I. G. Duca nr. 36 >>> Otopeni, Judetul Ilfov, 075100 Romania >>> Tel: 021 303 3159 / 0732 669 193 >>> www.omnilogic.ro >>> >>> On 10/02/2012 06:05 PM, Claudio Kuenzler wrote: >>>> >>>> The plugin needs to be installed on the Oracle Database >>>> server. >>>> >>>> >>>> That's not entirely correct. It can also run on a >>>> standalone Nagios server. >>>> But you need to install the ora files to be able to launch >>>> the plugin against an Oracle DB server. >>>> I did that successfully on Nagios 3.3.1 against ORA11. >>>> >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> Don't let slow site performance ruin your business. Deploy New Relic APM >>>> Deploy New Relic app performance management and know exactly >>>> what is happening inside your Ruby, Python, PHP, Java, and .NET app >>>> Try New Relic at no cost today and get our sweet Data Nerd shirt too! >>>> http://p.sf.net/sfu/newrelic-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 >>> >>> >>> ------------------------------------------------------------------------------ >>> Don't let slow site performance ruin your business. Deploy >>> New Relic APM >>> Deploy New Relic app performance management and know exactly >>> what is happening inside your Ruby, Python, PHP, Java, and >>> .NET app >>> Try New Relic at no cost today and get our sweet Data Nerd >>> shirt too! >>> http://p.sf.net/sfu/newrelic-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 >>> >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> Don't let slow site performance ruin your business. Deploy New Relic APM >>> Deploy New Relic app performance management and know exactly >>> what is happening inside your Ruby, Python, PHP, Java, and .NET app >>> Try New Relic at no cost today and get our sweet Data Nerd shirt too! >>> http://p.sf.net/sfu/newrelic-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 >> >> >> >> ------------------------------------------------------------------------------ >> Everyone hates slow websites. So do we. >> Make your web apps faster with AppDynamics >> Download AppDynamics Lite for free today: >> http://p.sf.net/sfu/appdyn_sfd2d_oct >> >> >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------------------------------ > The Windows 8 Center - In partnership with Sourceforge > Your idea - your app - 30 days. > Get started! > http://windows8center.sourceforge.net/ > what-html-developers-need-to-know-about-coding-windows-8-metro-style-apps/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > > ------------------------------------------------------------------------------ > The Windows 8 Center - In partnership with Sourceforge > Your idea - your app - 30 days. > Get started! > http://windows8center.sourceforge.net/ > what-html-developers-need-to-know-about-coding-windows-8-metro-style-apps/ > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ LogMeIn Central: Instant, anywhere, Remote PC access and management. Stay in control, update software, and manage PCs from one command center Diagnose problems and improve visibility into emerging IT issues Automate, monitor and manage. Do more in less time with Central http://p.sf.net/sfu/logmein12331_d2d -------------- 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 sjcarr at gmail.com Wed Nov 7 14:35:38 2012 From: sjcarr at gmail.com (Steven Carr) Date: Wed, 7 Nov 2012 13:35:38 +0000 Subject: Viewing defined notifications for a specific contact/contact-group In-Reply-To: References: Message-ID: On 7 November 2012 12:30, Esteban Monge wrote: > Hello: > > Do you use MK Livestatus? No I don't. Not sure how it would help though? MK Livestatus is for accessing the status data not the underlying configuration? Steve ------------------------------------------------------------------------------ LogMeIn Central: Instant, anywhere, Remote PC access and management. Stay in control, update software, and manage PCs from one command center Diagnose problems and improve visibility into emerging IT issues Automate, monitor and manage. Do more in less time with Central http://p.sf.net/sfu/logmein12331_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 From ck at claudiokuenzler.com Wed Nov 7 16:48:11 2012 From: ck at claudiokuenzler.com (Claudio Kuenzler) Date: Wed, 7 Nov 2012 16:48:11 +0100 Subject: Plugin check_oracle_health In-Reply-To: <509A5843.2010602@omnilogic.ro> References: <506AD7E5.1050807@omnilogic.ro> <506AED26.3060807@seres.es> <506BD7AF.1080307@omnilogic.ro> <5086A2DC.90505@omnilogic.ro> <508E4344.80200@omnilogic.ro> <509A5843.2010602@omnilogic.ro> Message-ID: > So my question for someone who has made check_oracle_healt work is: > How come all 4 invocation from CLI as nagios user work, but when Nagios > runs them, only 2 of them work. > I know that the error message tells me that there is some env variable > path problem, but why are the first 2 calls of check_oracle_healt work then? > > Can you, for completion, show your command definitions as well as the service definition? Just fyi: On my installation I used a different way to use --connect, I used EZCONNECT. See: http://labs.consol.de/lang/de/blog/uncategorized/check_oracle_health-kann-ezconnect/ My command definition: # check_oracle_health define command { command_name check_oracle_health command_line $USER1$/check_oracle_health --username $USER3$ --password $USER4$ --mode $ARG1$ --connect $HOSTADDRESS$:$ARG2$/$ARG3$ } And one of the service definitions: # Check Oracle define service{ use generic-service host_name myoraserver service_description Oracle Connections check_command check_oracle_health!connected-users!1521!SERVICENAME } -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ LogMeIn Central: Instant, anywhere, Remote PC access and management. Stay in control, update software, and manage PCs from one command center Diagnose problems and improve visibility into emerging IT issues Automate, monitor and manage. Do more in less time with Central http://p.sf.net/sfu/logmein12331_d2d -------------- 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 cosmin.neagu at omnilogic.ro Thu Nov 8 16:38:01 2012 From: cosmin.neagu at omnilogic.ro (Cosmin Neagu) Date: Thu, 08 Nov 2012 17:38:01 +0200 Subject: Plugin check_oracle_health In-Reply-To: References: <506AD7E5.1050807@omnilogic.ro> <506AED26.3060807@seres.es> <506BD7AF.1080307@omnilogic.ro> <5086A2DC.90505@omnilogic.ro> <508E4344.80200@omnilogic.ro> <509A5843.2010602@omnilogic.ro> Message-ID: <509BD1D9.2070109@omnilogic.ro> Hi, Below is the service definition for all 4 cases: define service { use generic-service host_name DBIGASDS service_description Reachability via tnsping 1 check_command check_oracle_health! --connect IGAS --username ABC --password ABC --mode=tnsping --method sqlplus contacts cosmin } define service { use generic-service host_name DBIGASDS service_description Reachability via tnsping 2 check_command check_oracle_health_tnsping contacts cosmin define service { use generic-service host_name DBIGASDS service_description Connection time to DB 1 check_command check_oracle_health!--connect IGAS --username ABC --password ABC --mode=connection-time contacts cosmin } define service { use generic-service host_name DBIGASDS service_description Connection time to DB 2 check_command check_oracle_health_time contacts cosmin And this is the command definition: define command{ command_name check_oracle_health command_line $USER1$/check_oracle_health $ARG1$ define command{ command_name check_oracle_health_tnsping command_line $USER1$/check_oracle_health_tnsping } define command{ command_name check_oracle_health_time command_line $USER1$/check_oracle_health_time BUT - a huge discovery when composing this mail. The only service definition that worked from Nagios was the one which has the undocumented argument "--method sqlplus". I think i saw on some forums the use of that paramether in the beginning, and it remained in the definition. Anyway, after adding that parammeter to all other service and command definitions, they started to work miracouslly (but still, from command line, the plugin is working without --method argument) Thank you for asking for command and service definition ;) Cosmin Neagu NOC Team Leader Str. I. G. Duca nr. 36 Otopeni, Judetul Ilfov, 075100 Romania Tel: 021 303 3159 / 0732 669 193 www.omnilogic.ro On 11/07/2012 05:48 PM, Claudio Kuenzler wrote: > > So my question for someone who has made check_oracle_healt work is: > How come all 4 invocation from CLI as nagios user work, but when > Nagios runs them, only 2 of them work. > I know that the error message tells me that there is some env > variable path problem, but why are the first 2 calls of > check_oracle_healt work then? > > > Can you, for completion, show your command definitions as well as the > service definition? > > Just fyi: On my installation I used a different way to use --connect, > I used EZCONNECT. > See: > http://labs.consol.de/lang/de/blog/uncategorized/check_oracle_health-kann-ezconnect/ > > My command definition: > > # check_oracle_health > define command { > command_name check_oracle_health > command_line $USER1$/check_oracle_health --username $USER3$ > --password $USER4$ --mode $ARG1$ --connect $HOSTADDRESS$:$ARG2$/$ARG3$ > } > > And one of the service definitions: > > # Check Oracle > define service{ > use generic-service > host_name myoraserver > service_description Oracle Connections > check_command check_oracle_health!connected-users!1521!SERVICENAME > } > > > > > > ------------------------------------------------------------------------------ > LogMeIn Central: Instant, anywhere, Remote PC access and management. > Stay in control, update software, and manage PCs from one command center > Diagnose problems and improve visibility into emerging IT issues > Automate, monitor and manage. Do more in less time with Central > http://p.sf.net/sfu/logmein12331_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 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_nov -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ck at claudiokuenzler.com Fri Nov 9 21:31:36 2012 From: ck at claudiokuenzler.com (Claudio Kuenzler) Date: Fri, 9 Nov 2012 21:31:36 +0100 Subject: Plugin check_oracle_health In-Reply-To: <509BD1D9.2070109@omnilogic.ro> References: <506AD7E5.1050807@omnilogic.ro> <506AED26.3060807@seres.es> <506BD7AF.1080307@omnilogic.ro> <5086A2DC.90505@omnilogic.ro> <508E4344.80200@omnilogic.ro> <509A5843.2010602@omnilogic.ro> <509BD1D9.2070109@omnilogic.ro> Message-ID: > > BUT - a huge discovery when composing this mail. The only service > definition that worked from Nagios was the one which has the undocumented > argument "--method sqlplus". > I think i saw on some forums the use of that paramether in the beginning, > and it remained in the definition. > Anyway, after adding that parammeter to all other service and command > definitions, they started to work miracouslly (but still, from command > line, the plugin is working without --method argument) > Thank you for asking for command and service definition ;) > A couple of eyes always see more or in this case if one starts over to explain from zero, the bug is found eventually ;-) Glad it works now. Right in time to enjoy the weekend! -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_nov -------------- 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 Fri Nov 9 22:18:54 2012 From: DCeola at twgi.net (Daniel Ceola) Date: Fri, 9 Nov 2012 21:18:54 +0000 Subject: Looking for plugin suggestion Message-ID: <40B7337A7D70B149A34D5A0FD9FDFA8C2C9BB985@twgiex.twgi.net> Hello all, I'm hoping someone may be able to point me towards a plugin that I can use to check the load time of a webpage. More specifically, I'm hoping to identify a plugin/script that can be run on a Windows system via nsclient++ that can check the load time of a webpage that requires windows domain authentication and can provide performance data. If something similar is identified, we may be able to adapt it to meet our needs; however so far I've not been able to find anything that seems to work. Thanks, Daniel Ceola -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_nov -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Peter.Shankland at ricoh-rpl.com Fri Nov 9 23:02:36 2012 From: Peter.Shankland at ricoh-rpl.com (Peter.Shankland at ricoh-rpl.com) Date: Fri, 9 Nov 2012 22:02:36 +0000 Subject: Peter Shankland is out of the office. Message-ID: I will be out of the office starting 09/11/2012 and will not return until 12/11/2012. Please contact Tom Barnes if the request is urgent: Tom Barnes tom.barnes at ricoh-rpl.com 01952 205362 Regards. ________________________________________ Peter Shankland TECHNICAL SPECIALIST IT DEPARTMENT Ricoh UK Products Limited Priorslee Telford, TF2 9NS UK Tel: +44 (0) 1952 290090 DD:+44 (0) 1952 205160 F:+44 (0) 1952 213100 M:+44 (0) 7919 444077 Peter.Shankland at ricoh-rpl.com (Embedded image moved to file: pic30932.gif) (Embedded image moved to file: pic04169.jpg) Please do not print this email unless absolutely necessary in order to save paper and energy, and you will contribute to resource conservation and CO2 reduction. This email including attachments is intended for the addressee(s) only. It may be labelled confidential/ private and contain confidential/private information. Please respect the wishes of the sender in the way you treat this email and the information contained within. If in doubt clarify the wishes of the sender before acting. If you have received this email in error, you may not review, copy or forward this message in whole or in part. Ricoh UK Products employees should delete from their system and notify us of the error via the ISMS Security Incident Reporting database. External recipients should delete from their system and alert us via email, advising the name of the sender and the time and date of receipt. Any views expressed in this email may not necessarily reflect those of Ricoh UK Products Ltd. You should ensure that the onward transmission, opening or use of this message or attachments will not adversely affect your system or data and carry out anti-virus checks before downloading. Internet communications are not secure and therefore Ricoh UK Products Ltd accepts no responsibility for any direct, indirect or consequential damage resulting from the transmission of this message. Registered in England No. 1763860 Registered Office: Ricoh UK Products Limited, Priorslee, Telford, Shropshire, TF2 9NS -------------- next part -------------- A non-text attachment was scrubbed... Name: pic30932.gif Type: image/gif Size: 2190 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: pic04169.jpg Type: image/jpeg Size: 7544 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_nov -------------- 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 orbis at pictus.org Mon Nov 12 10:17:50 2012 From: orbis at pictus.org (Rostislav Opocensky) Date: Mon, 12 Nov 2012 10:17:50 +0100 Subject: check_dhcp double check results Message-ID: <50A0BEBE.1090709@pictus.org> Hello, occasionally our DHCP server check goes through two state changes in one second. See below. No other service behaves this way. It makes me think that the check_dhcp plugin sometimes sends two results in quick succession instead of one. Or maybe Nagios runs the check twice? It does not occur often and it cannot be correlated to any network or DHCP server issue. We have max_check_attempts set to 2, so the duplicate result is enough to generate notification which is quickly followed by another notification of the service returning to normal state. If we had max_check_attempts >= 3, it would likely go unnoticed. Has anyone encountered such behavior? Any ideas? [07-10-2012 05:17:21] SERVICE ALERT: localhost;DHCP server test;CRITICAL;SOFT;1;CRITICAL: No DHCPOFFERs were received. [07-10-2012 05:17:21] SERVICE ALERT: localhost;DHCP server test;CRITICAL;HARD;2;CRITICAL: No DHCPOFFERs were received. [07-10-2012 05:17:51] SERVICE ALERT: localhost;DHCP server test;OK;HARD;2;OK: Received 1 DHCPOFFER(s), max lease time = 0 sec. [31-10-2012 07:56:01] SERVICE ALERT: localhost;DHCP server test;CRITICAL;SOFT;1;CRITICAL: No DHCPOFFERs were received. [31-10-2012 07:56:01] SERVICE ALERT: localhost;DHCP server test;CRITICAL;HARD;2;CRITICAL: No DHCPOFFERs were received. [31-10-2012 07:57:01] SERVICE ALERT: localhost;DHCP server test;OK;HARD;2;OK: Received 1 DHCPOFFER(s), max lease time = 0 sec. Nagios Core Version 3.4.1 check_dhcp v1.4.14 (nagios-plugins 1.4.14) define service { use generic-service host_name localhost service_description DHCP server test max_check_attempts 2 normal_check_interval 1 retry_check_interval 1 check_command check-dhcp!-i eth0.7 } define command { command_name check-dhcp command_line $USER1$/check_dhcp $ARG1$ } Thank you! Rosta -- Rostislav Opocensky http://orbis.pictus.org/ ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_nov _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ismael.puerto at seres.es Mon Nov 12 13:57:19 2012 From: ismael.puerto at seres.es (Ismael Puerto) Date: Mon, 12 Nov 2012 13:57:19 +0100 Subject: Nagios 3.4.2 and PNP4Nagios Message-ID: <50A0F22F.3060404@seres.es> An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: direccion Type: image/jpeg Size: 23821 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: line_1 Type: image/jpeg Size: 818 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_nov -------------- 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 dgrgicevic at gmail.com Mon Nov 12 14:09:26 2012 From: dgrgicevic at gmail.com (davor grgicevic) Date: Mon, 12 Nov 2012 14:09:26 +0100 Subject: Nagios 3.4.2 and PNP4Nagios In-Reply-To: <50A0F22F.3060404@seres.es> References: <50A0F22F.3060404@seres.es> Message-ID: Hi check your nagios.cfg for pnp4nagios configuration http://docs.pnp4nagios.org/pnp-0.6/config#bulk_mode_with_npcd Best regards, Davor On Mon, Nov 12, 2012 at 1:57 PM, Ismael Puerto wrote: > Hi list > > Today, I updated to Nagios Core from 3.4.1 to 3.4.2 but PNP4Nagios does > not collect data. > I restarted daemon PNP4Nagios without results. > > Thanks > Best Regards > -- > Ismael Puerto > Dpto de Explotaci?n > 902 42 43 42 ext: 213 > ismael.puerto at seres.es > > [image: Conozca nuestra direcci?n en http://www.seres.es] > [image: ----------------------------------------------] > Este mensaje se dirige exclusivamente a su destinatario y puede contener > informaci?n privilegiada o confidencial. Si no es vd. el destinatario > indicado, queda notificado de que la utilizaci?n, divulgaci?n y/o copia sin > autorizaci?n est? prohibida en virtud de la legislaci?n vigente. Si ha > recibido este mensaje por error, le rogamos que nos lo comunique > inmediatamente por esta misma v?a y proceda a su destrucci?n. > This message is intended exclusively for its addresses and may contain > information that is CONFIDENTIAL and protected by professional privilege. > If you are not the intended recipient you are hereby notified that any > dissemination, copy or disclosure of this communication is strictly > prohibited by law. If this message has been received in error, please > immediately notify us via e-mail and delete it. > Ce message est pr?vu exclusivement pour son destinataire et peut contenir > l'information qui est CONFIDENTIELLE et prot?g?e par privil?ge > professionnel. Si vous n'?tes pas le destinataire pr?vu on vous annonce par > ceci que n'importe quelle diffusion, copie ou r?v?lation de cette > communication est strictement interdite par loi. Si ce message a ?t? re?u > par erreur, svp informez-imm?diatement nous par l'interm?diaire du E-mail > et supprimez-les. > [image: ----------------------------------------------] > P Respeta el medio ambiente. Antes de imprimir este e-mail, piensa si > realmente es necesario imprimirlo. > > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_d2d_nov > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Davor Grgicevic -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: line_1 Type: image/jpeg Size: 818 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: direccion Type: image/jpeg Size: 23821 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_nov -------------- 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 cafrineromy at yahoo.fr Mon Nov 12 14:25:49 2012 From: cafrineromy at yahoo.fr (romy rajoelison) Date: Mon, 12 Nov 2012 13:25:49 +0000 (GMT) Subject: Nagios 3.4.2 and PNP4Nagios In-Reply-To: References: <50A0F22F.3060404@seres.es> Message-ID: <1352726749.67265.YahooMailNeo@web171601.mail.ir2.yahoo.com> Hi,? I try to configure my nagios for checking bandwidth of my router,ping works?but i get all the time this response: check_mrtgtaf unable to open log file MRTG,? have you any idea? Thanks ________________________________ De?: davor grgicevic ??: Nagios Users List Envoy? le : Lundi 12 novembre 2012 16h09 Objet?: Re: [Nagios-users] Nagios 3.4.2 and PNP4Nagios Hi check? your nagios.cfg?? for pnp4nagios configuration http://docs.pnp4nagios.org/pnp-0.6/config#bulk_mode_with_npcd Best regards, Davor On Mon, Nov 12, 2012 at 1:57 PM, Ismael Puerto wrote: Hi list > >Today, I updated to Nagios Core from 3.4.1 to 3.4.2 but PNP4Nagios does not collect data. >I restarted daemon PNP4Nagios without results. > >Thanks >Best Regards >-- >Ismael Puerto >Dpto de Explotaci?n >902 42 43 42 ext: 213 >ismael.puerto at seres.es > > > >Este mensaje se dirige exclusivamente a su destinatario y puede contener informaci?n privilegiada o confidencial. Si no es vd. el destinatario indicado, queda notificado de que la utilizaci?n, divulgaci?n y/o copia sin autorizaci?n est? prohibida en virtud de la legislaci?n vigente. Si ha recibido este mensaje por error, le rogamos que nos lo comunique inmediatamente por esta misma v?a y proceda a su destrucci?n. >This message is intended exclusively for its addresses and may contain information that is CONFIDENTIAL and protected by professional privilege. If you are not the intended recipient you are hereby notified that any dissemination, copy or disclosure of this communication is strictly prohibited by law. If this message has been received in error, please immediately notify us via e-mail and delete it. >Ce message est pr?vu exclusivement pour son destinataire et peut contenir l'information qui est CONFIDENTIELLE et prot?g?e par privil?ge professionnel. Si vous n'?tes pas le destinataire pr?vu on vous annonce par ceci que n'importe quelle diffusion, copie ou r?v?lation de cette communication est strictement interdite par loi. Si ce message a ?t? re?u par erreur, svp informez-imm?diatement nous par l'interm?diaire du E-mail et supprimez-les. > >PRespeta el medio ambiente. Antes de imprimir este e-mail, piensa si realmente es necesario imprimirlo. > >------------------------------------------------------------------------------ >Everyone hates slow websites. So do we. >Make your web apps faster with AppDynamics >Download AppDynamics Lite for free today: >http://p.sf.net/sfu/appdyn_d2d_nov >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > -- Davor Grgicevic ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_nov _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: direccion Type: image/jpeg Size: 23821 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: line_1 Type: image/jpeg Size: 818 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_nov -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From phil.randal at hoopleltd.co.uk Mon Nov 12 14:26:52 2012 From: phil.randal at hoopleltd.co.uk (Randal, Phil) Date: Mon, 12 Nov 2012 13:26:52 +0000 Subject: Nagios 3.4.2 and PNP4Nagios In-Reply-To: <50A0F22F.3060404@seres.es> References: <50A0F22F.3060404@seres.es> Message-ID: <7CA580B59C1ABD45B4614ED90D4C7B853DF55133@HC-EXMBX03.herefordshire.gov.uk> Just tried a build of 3.4.2 here, similar problem, nagios not actually performing checks. Nagios 3.4.2 with check_mk and pnp4nagios. I won't have time to investigate today, alas. Cheers, Phil -- Phil Randal Infrastructure Engineer Hoople Ltd | Thorn Office Centre | Hereford HR2 6JT Tel: 01432 260415 | Email: phil.randal at hoopleltd.co.uk From: Ismael Puerto [mailto:ismael.puerto at seres.es] Sent: 12 November 2012 12:57 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios 3.4.2 and PNP4Nagios Hi list Today, I updated to Nagios Core from 3.4.1 to 3.4.2 but PNP4Nagios does not collect data. I restarted daemon PNP4Nagios without results. Thanks Best Regards -- Ismael Puerto Dpto de Explotaci?n 902 42 43 42 ext: 213 ismael.puerto at seres.es [Conozca nuestra direcci?n en http://www.seres.es] Este mensaje se dirige exclusivamente a su destinatario y puede contener informaci?n privilegiada o confidencial. Si no es vd. el destinatario indicado, queda notificado de que la utilizaci?n, divulgaci?n y/o copia sin autorizaci?n est? prohibida en virtud de la legislaci?n vigente. Si ha recibido este mensaje por error, le rogamos que nos lo comunique inmediatamente por esta misma v?a y proceda a su destrucci?n. This message is intended exclusively for its addresses and may contain information that is CONFIDENTIAL and protected by professional privilege. If you are not the intended recipient you are hereby notified that any dissemination, copy or disclosure of this communication is strictly prohibited by law. If this message has been received in error, please immediately notify us via e-mail and delete it. Ce message est pr?vu exclusivement pour son destinataire et peut contenir l'information qui est CONFIDENTIELLE et prot?g?e par privil?ge professionnel. Si vous n'?tes pas le destinataire pr?vu on vous annonce par ceci que n'importe quelle diffusion, copie ou r?v?lation de cette communication est strictement interdite par loi. Si ce message a ?t? re?u par erreur, svp informez-imm?diatement nous par l'interm?diaire du E-mail et supprimez-les. P Respeta el medio ambiente. Antes de imprimir este e-mail, piensa si realmente es necesario imprimirlo. "Any opinion expressed in this e-mail or any attached files are those of the individual and not necessarily those of Hoople Ltd. You should be aware that Hoople Ltd. monitors its email service. This e-mail and any attached files are confidential and intended solely for the use of the addressee. This communication may contain material protected by law from being passed on. If you are not the intended recipient and have received this e-mail in error, you are advised that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. If you have received this e-mail in error please contact the sender immediately and destroy all copies of it. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 23821 bytes Desc: image001.jpg URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.jpg Type: image/jpeg Size: 818 bytes Desc: image002.jpg URL: -------------- next part -------------- ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_nov -------------- 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 ismael.puerto at seres.es Mon Nov 12 15:40:30 2012 From: ismael.puerto at seres.es (Ismael Puerto) Date: Mon, 12 Nov 2012 15:40:30 +0100 Subject: Nagios 3.4.2 and PNP4Nagios In-Reply-To: <7CA580B59C1ABD45B4614ED90D4C7B853DF55133@HC-EXMBX03.herefordshire.gov.uk> References: <50A0F22F.3060404@seres.es> <7CA580B59C1ABD45B4614ED90D4C7B853DF55133@HC-EXMBX03.herefordshire.gov.uk> Message-ID: <50A10A5E.2070306@seres.es> An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: direccion Type: image/jpeg Size: 23821 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: line_1 Type: image/jpeg Size: 818 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_nov -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From leonardo at lbasolutions.com Mon Nov 12 16:35:12 2012 From: leonardo at lbasolutions.com (Leonardo Bacha Abrantes) Date: Mon, 12 Nov 2012 13:35:12 -0200 Subject: service dependecy not working Message-ID: Hi guys! I'm trying to configure service dependency. jboss_server run a jboss application that depends on oracle database that is running in another server called DB_server. So I created the dependency below but it's not working: define servicedependency{ host_name DB_server service_description Oracle DB dependent_host_name jboss_server dependent_service_description Jboss int1,Jboss int2 execution_failure_criteria c notification_failure_criteria w,u,c } what I need is: when the oracle db is not OK, jboss will not working. what I doing wrong ? many thanks!! -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_nov -------------- 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 APereira at rha.ca Mon Nov 12 16:42:00 2012 From: APereira at rha.ca (Antonio Pereira) Date: Mon, 12 Nov 2012 10:42:00 -0500 Subject: Issues with 3.4.2 Message-ID: <939A24AB672E21498A735FC3CB10DBCA020CBA5D7C1C@rha-exchange1.rha-dc.mtl.rha.ca> Hello, I installed Nagios 3.4.2 from 3.4.1 and the checks and notification emails stopped working. I reinstalled 3.4.1 and everything is working fine now. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_nov -------------- 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 ulf.gunnarson at kau.se Mon Nov 12 16:53:20 2012 From: ulf.gunnarson at kau.se (Ulf Gunnarson) Date: Mon, 12 Nov 2012 16:53:20 +0100 Subject: Issues with 3.4.2 In-Reply-To: <939A24AB672E21498A735FC3CB10DBCA020CBA5D7C1C@rha-exchange1.rha-dc.mtl.rha.ca> References: <939A24AB672E21498A735FC3CB10DBCA020CBA5D7C1C@rha-exchange1.rha-dc.mtl.rha.ca> Message-ID: <014c01cdc0ed$d6ce9f60$846bde20$@kau.se> Same problem for me. Did backup of nagios dir. Installed new version and checks stopped working. Restored backup everything worked at once. No more time to errorcheck today though, have to look at it tomorrow again. /U From: Antonio Pereira [mailto:APereira at rha.ca] Sent: den 12 november 2012 16:42 To: 'Nagios-users at lists.sourceforge.net' Subject: [Nagios-users] Issues with 3.4.2 Hello, I installed Nagios 3.4.2 from 3.4.1 and the checks and notification emails stopped working. I reinstalled 3.4.1 and everything is working fine now. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_nov -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mguthrie at nagios.com Mon Nov 12 17:30:34 2012 From: mguthrie at nagios.com (Mike Guthrie) Date: Mon, 12 Nov 2012 10:30:34 -0600 Subject: Issues with 3.4.2 In-Reply-To: <014c01cdc0ed$d6ce9f60$846bde20$@kau.se> References: <939A24AB672E21498A735FC3CB10DBCA020CBA5D7C1C@rha-exchange1.rha-dc.mtl.rha.ca> <014c01cdc0ed$d6ce9f60$846bde20$@kau.se> Message-ID: <50A1242A.7000500@nagios.com> We're soing some testing this as we speak. We'll get the fixes posted ASAP. On 11/12/2012 9:53 AM, Ulf Gunnarson wrote: > > Same problem for me. > > Did backup of nagios dir. Installed new version and checks stopped > working. Restored backup everything worked at once. > > No more time to errorcheck today though, have to look at it tomorrow > again. > > /U > > *From:*Antonio Pereira [mailto:APereira at rha.ca] > *Sent:* den 12 november 2012 16:42 > *To:* 'Nagios-users at lists.sourceforge.net' > *Subject:* [Nagios-users] Issues with 3.4.2 > > Hello, > > I installed Nagios 3.4.2 from 3.4.1 and the checks and notification > emails stopped working. > > I reinstalled 3.4.1 and everything is working fine now. > > > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_d2d_nov > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Mike Guthrie Technical Team ___ Nagios Enterprises, LLC Email: mguthrie at nagios.com Web: www.nagios.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_nov -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mguthrie at nagios.com Tue Nov 13 19:06:21 2012 From: mguthrie at nagios.com (Mike Guthrie) Date: Tue, 13 Nov 2012 12:06:21 -0600 Subject: Nagios 3.4.3 RC tarball Message-ID: <50A28C1D.9080301@nagios.com> Grettings! We're looking to do a new Nagios 3.4.3 tarball to fix some issues that inadvertently got pulled into the Nagios 3.4.2 release. We put together a release candidate tarball nagios-3.4.3RC1.tar.gz, and we'd love some help in testing and verifying against any regressions with this release. Note that this is still part of the Nagios 3 branch intended for bug fixes, and should not be confused with the Nagios 4 trunk which is also under active development. Please let us know of any issues identified with this current release tarball. The RC tarball is not recommended for production environments. RC Tarball: http://assets.nagios.com/downloads/nagioscore/nagios-3.4.3RC1.tar.gz Here is the current list of updates for 3.4.3: 3.4.3 - Soon ---------------------- - Reverted squeue changes intended for Nagios 4 - Reapplied all patches from 3.4.2 release - Applied fix for pagination and sorting on status.cgi #381 (Phil Randal) 3.4.2 - 11/09/2012 ------------------ FIXES * Fixed issue where deleting a downtime could cause Nagios to crash (Eric Stanley) * Corrected logic so that end times for flexible downtimes are calculated from the downtime start rather than the current time in the case where Nagios is restarted (Eric Stanley) * Fixed issue introduced by fix for bug #124 where flexible downtimes are not taken into account on Nagios restart. (Scott Wilkerson, Eric Stanley) * Fixed bug #247: If a service reports no performance data, the perfdata log file has no line indicating the test. (omnikron at free.fr) * Fixed link for unhandled unreachable host problems on tactical overview page (Rudolf Cejka) * Fixed bug #345 with wild card searches not paging properly on status.cgi (Phil Randal) * Fixed bug #343 on status.cgi where Service Group Summary can potentially show wrong totals (Mark Ziesemer) * Fixed memory leaks on SIGHUP (Carlos Velasco) -- Mike Guthrie Technical Team ___ Nagios Enterprises, LLC Email: mguthrie at nagios.com Web: www.nagios.com ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From support at voipbusiness.us Tue Nov 13 19:14:26 2012 From: support at voipbusiness.us (Tech Support) Date: Tue, 13 Nov 2012 13:14:26 -0500 Subject: Nagios 3.4.3 RC tarball In-Reply-To: <50A28C1D.9080301@nagios.com> References: <50A28C1D.9080301@nagios.com> Message-ID: <002301cdc1ca$b7bc54e0$2734fea0$@us> Hello; On a related note, if Nagios 4 is to be released in the not too distant future, is there any compelling reason not to wait for its release and continue upgrading the 3.4.x branch? Thanks; John -----Original Message----- From: Mike Guthrie [mailto:mguthrie at nagios.com] Sent: Tuesday, November 13, 2012 1:06 PM To: Nagios Users List Subject: [Nagios-users] Nagios 3.4.3 RC tarball Grettings! We're looking to do a new Nagios 3.4.3 tarball to fix some issues that inadvertently got pulled into the Nagios 3.4.2 release. We put together a release candidate tarball nagios-3.4.3RC1.tar.gz, and we'd love some help in testing and verifying against any regressions with this release. Note that this is still part of the Nagios 3 branch intended for bug fixes, and should not be confused with the Nagios 4 trunk which is also under active development. Please let us know of any issues identified with this current release tarball. The RC tarball is not recommended for production environments. RC Tarball: http://assets.nagios.com/downloads/nagioscore/nagios-3.4.3RC1.tar.gz Here is the current list of updates for 3.4.3: 3.4.3 - Soon ---------------------- - Reverted squeue changes intended for Nagios 4 - Reapplied all patches from 3.4.2 release - Applied fix for pagination and sorting on status.cgi #381 (Phil Randal) 3.4.2 - 11/09/2012 ------------------ FIXES * Fixed issue where deleting a downtime could cause Nagios to crash (Eric Stanley) * Corrected logic so that end times for flexible downtimes are calculated from the downtime start rather than the current time in the case where Nagios is restarted (Eric Stanley) * Fixed issue introduced by fix for bug #124 where flexible downtimes are not taken into account on Nagios restart. (Scott Wilkerson, Eric Stanley) * Fixed bug #247: If a service reports no performance data, the perfdata log file has no line indicating the test. (omnikron at free.fr) * Fixed link for unhandled unreachable host problems on tactical overview page (Rudolf Cejka) * Fixed bug #345 with wild card searches not paging properly on status.cgi (Phil Randal) * Fixed bug #343 on status.cgi where Service Group Summary can potentially show wrong totals (Mark Ziesemer) * Fixed memory leaks on SIGHUP (Carlos Velasco) -- Mike Guthrie Technical Team ___ Nagios Enterprises, LLC Email: mguthrie at nagios.com Web: www.nagios.com ---------------------------------------------------------------------------- -- Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 13 19:30:33 2012 From: daniel.wittenberg.r0ko at statefarm.com (Daniel Wittenberg) Date: Tue, 13 Nov 2012 18:30:33 +0000 Subject: Nagios 3.4.3 RC tarball In-Reply-To: <002301cdc1ca$b7bc54e0$2734fea0$@us> References: <50A28C1D.9080301@nagios.com> <002301cdc1ca$b7bc54e0$2734fea0$@us> Message-ID: <4288A518A157EC4C8873FEE74F778BF008AB08B6@WPSDGQH6.OPR.STATEFARM.ORG> There are a lot of changes to 4.0, so just jumping there vs. fixing bugs in 3.x might not be an option for some. Dan On Nov 13, 2012, at 12:14 PM, Tech Support wrote: > Hello; > On a related note, if Nagios 4 is to be released in the not too distant > future, is there any compelling reason not to wait for its release and > continue upgrading the 3.4.x branch? > Thanks; > John > > -----Original Message----- > From: Mike Guthrie [mailto:mguthrie at nagios.com] > Sent: Tuesday, November 13, 2012 1:06 PM > To: Nagios Users List > Subject: [Nagios-users] Nagios 3.4.3 RC tarball > > Grettings! > > We're looking to do a new Nagios 3.4.3 tarball to fix some issues that > inadvertently got pulled into the Nagios 3.4.2 release. We put together a > release candidate tarball nagios-3.4.3RC1.tar.gz, and we'd love some help in > testing and verifying against any regressions with this release. Note that > this is still part of the Nagios 3 branch intended for bug fixes, and should > not be confused with the Nagios 4 trunk which is also under active > development. Please let us know of any issues identified with this current > release tarball. The RC tarball is not recommended for production > environments. > > RC Tarball: > http://assets.nagios.com/downloads/nagioscore/nagios-3.4.3RC1.tar.gz > > Here is the current list of updates for 3.4.3: > > 3.4.3 - Soon > ---------------------- > - Reverted squeue changes intended for Nagios 4 > - Reapplied all patches from 3.4.2 release > - Applied fix for pagination and sorting on status.cgi #381 (Phil Randal) > > 3.4.2 - 11/09/2012 > ------------------ > FIXES > * Fixed issue where deleting a downtime could cause Nagios to crash (Eric > Stanley) > * Corrected logic so that end times for flexible downtimes are calculated > from the downtime start rather than the current time in the case where > Nagios is restarted (Eric Stanley) > * Fixed issue introduced by fix for bug #124 where flexible downtimes are > not taken into account on Nagios restart. (Scott Wilkerson, Eric > Stanley) > * Fixed bug #247: If a service reports no performance data, the perfdata log > file has no line indicating the test. (omnikron at free.fr) > * Fixed link for unhandled unreachable host problems on tactical overview > page (Rudolf Cejka) > * Fixed bug #345 with wild card searches not paging properly on status.cgi > (Phil Randal) > * Fixed bug #343 on status.cgi where Service Group Summary can potentially > show wrong totals (Mark Ziesemer) > * Fixed memory leaks on SIGHUP (Carlos Velasco) > > -- > > > Mike Guthrie > Technical Team > ___ > Nagios Enterprises, LLC > Email: mguthrie at nagios.com > Web: www.nagios.com > > > ---------------------------------------------------------------------------- > -- > Monitor your physical, virtual and cloud infrastructure from a single web > console. Get in-depth insight into apps, servers, databases, vmware, SAP, > cloud infrastructure, etc. Download 30-day Free Trial. > Pricing starts from $795 for 25 servers or applications! > http://p.sf.net/sfu/zoho_dev2dev_nov > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------------------------------ > Monitor your physical, virtual and cloud infrastructure from a single > web console. Get in-depth insight into apps, servers, databases, vmware, > SAP, cloud infrastructure, etc. Download 30-day Free Trial. > Pricing starts from $795 for 25 servers or applications! > http://p.sf.net/sfu/zoho_dev2dev_nov > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mguthrie at nagios.com Tue Nov 13 19:48:42 2012 From: mguthrie at nagios.com (Mike Guthrie) Date: Tue, 13 Nov 2012 12:48:42 -0600 Subject: Nagios 3.4.3 RC tarball In-Reply-To: <002301cdc1ca$b7bc54e0$2734fea0$@us> References: <50A28C1D.9080301@nagios.com> <002301cdc1ca$b7bc54e0$2734fea0$@us> Message-ID: <50A2960A.5050203@nagios.com> There are several fixes in this version that resolve blocking issues for some users. The Nagios 3 branch is primarily intended for applying fixes until Nagios 4 is ready for production. On 11/13/2012 12:14 PM, Tech Support wrote: > Hello; > On a related note, if Nagios 4 is to be released in the not too distant > future, is there any compelling reason not to wait for its release and > continue upgrading the 3.4.x branch? > Thanks; > John > > -----Original Message----- > From: Mike Guthrie [mailto:mguthrie at nagios.com] > Sent: Tuesday, November 13, 2012 1:06 PM > To: Nagios Users List > Subject: [Nagios-users] Nagios 3.4.3 RC tarball > > Grettings! > > We're looking to do a new Nagios 3.4.3 tarball to fix some issues that > inadvertently got pulled into the Nagios 3.4.2 release. We put together a > release candidate tarball nagios-3.4.3RC1.tar.gz, and we'd love some help in > testing and verifying against any regressions with this release. Note that > this is still part of the Nagios 3 branch intended for bug fixes, and should > not be confused with the Nagios 4 trunk which is also under active > development. Please let us know of any issues identified with this current > release tarball. The RC tarball is not recommended for production > environments. > > RC Tarball: > http://assets.nagios.com/downloads/nagioscore/nagios-3.4.3RC1.tar.gz > > Here is the current list of updates for 3.4.3: > > 3.4.3 - Soon > ---------------------- > - Reverted squeue changes intended for Nagios 4 > - Reapplied all patches from 3.4.2 release > - Applied fix for pagination and sorting on status.cgi #381 (Phil Randal) > > 3.4.2 - 11/09/2012 > ------------------ > FIXES > * Fixed issue where deleting a downtime could cause Nagios to crash (Eric > Stanley) > * Corrected logic so that end times for flexible downtimes are calculated > from the downtime start rather than the current time in the case where > Nagios is restarted (Eric Stanley) > * Fixed issue introduced by fix for bug #124 where flexible downtimes are > not taken into account on Nagios restart. (Scott Wilkerson, Eric > Stanley) > * Fixed bug #247: If a service reports no performance data, the perfdata log > file has no line indicating the test. (omnikron at free.fr) > * Fixed link for unhandled unreachable host problems on tactical overview > page (Rudolf Cejka) > * Fixed bug #345 with wild card searches not paging properly on status.cgi > (Phil Randal) > * Fixed bug #343 on status.cgi where Service Group Summary can potentially > show wrong totals (Mark Ziesemer) > * Fixed memory leaks on SIGHUP (Carlos Velasco) > -- Mike Guthrie Technical Team ___ Nagios Enterprises, LLC Email: mguthrie at nagios.com Web: www.nagios.com ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From aragonx at dcsnow.com Thu Nov 15 20:24:41 2012 From: aragonx at dcsnow.com (aragonx at dcsnow.com) Date: Thu, 15 Nov 2012 19:24:41 -0000 Subject: Escalation Message-ID: Hi, I have a bunch of things I would like to do with notification and I'm not sure it's possible. First, let me make sure I understand how this works.?? For any notification, only one group will be notified.?? Is that correct? Anyway, we have admins that I want to be notified via email during the day (7am-5pm) for d, u, w or c, u, w.?? During the evening, I want only c or d to go to a pager.?? On the 5th notification and after, I want alerts to go to a different pager.?? On the 9th notification and after, I want alerts to go to the 2nd pager and a 3rd pager. This doesn't seem to be working for me.?? Here is what I have.?? Can someone please tell me what I'm doing wrong? define contact{ ?????? contact_name?????????????????????????????????????? nagiosadmin???????????????? ; Short name of user ?????? use???????????????????????????????????????????????????????? generic-contact???????? ; Inherit default values from generic-contact template (defined above) ?????? alias???????????????????????????????????????????????????? Nagios Admin?????????????? ; Full name of user ?????? email???????????????????????????????????????????????????? nobody at nowhere.com ?????? host_notification_period?????????????? daytime ?????? service_notification_period???????? daytime ?????? } define contact{ ?????? contact_name?????????????????????????????????????? adminpager?????????????????? ; Short name of user ?????? use???????????????????????????????????????????????????????? generic-contact???????? ; Inherit default values from generic-contact template (defined above) ?????? alias???????????????????????????????????????????????????? Admin Pager???????????????? ; Full name of user ?????? email???????????????????????????????????????????????????? 0000000000 at nowhere.com ?????? host_notification_options???????????? d, u ?????? service_notification_options?????? c, u ?????? host_notification_period?????????????? 24x7 ?????? service_notification_period???????? 24x7 ?????? } define contact{ ?????? contact_name?????????????????????????????????????? oncallpager ?????? use???????????????????????????????????????????????????????? generic-contact ?????? alias???????????????????????????????????????????????????? Oncall Pager ?????? email???????????????????????????????????????????????????? 0000000000 at nowhere.com ?????? host_notification_options???????????? d, u ?????? service_notification_options?????? c, u ?????? host_notification_period?????????????? 24x7 ?????? service_notification_period???????? 24x7 ?????? } define contact{ ?????? contact_name?????????????????????????????????????? managerpager ?????? use???????????????????????????????????????????????????????? generic-contact ?????? alias???????????????????????????????????????????????????? Manager's Pager ?????? email???????????????????????????????????????????????????? 0000000000 at nowhere.com ?????? host_notification_options???????????? d, u ?????? service_notification_options?????? c, u ?????? host_notification_period?????????????? 24x7 ?????? service_notification_period???????? 24x7 ?????? } define serviceescalation{ ?????? hostgroup_name?????????????????????????????????? windows-xp-servers, windows-servers, unix-servers ?????? contacts?????????????????????????????????????????????? managerpager ?????? first_notification?????????????????????????? 6 ?????? last_notification???????????????????????????? 0 ?????? notification_interval???????????????????? 15 ?????? escalation_period???????????????????????????? 24x7 ?????? escalation_options?????????????????????????? w,u,c,r ?????? } define hostescalation{ ?????? hostgroup_name?????????????????????????????????? windows-xp-servers, windows-servers, unix-servers ?????? contacts?????????????????????????????????????????????? managerpager ?????? first_notification?????????????????????????? 6 ?????? last_notification???????????????????????????? 0 ?????? notification_interval???????????????????? 15 ?????? escalation_period???????????????????????????? 24x7 ?????? escalation_options?????????????????????????? d,u,r ?????? } define serviceescalation{ ?????? hostgroup_name?????????????????????????????????? windows-xp-servers, windows-servers, unix-servers ?????? contacts?????????????????????????????????????????????? adminpager ?????? first_notification?????????????????????????? 2 ?????? last_notification???????????????????????????? 0 ?????? notification_interval???????????????????? 15 ?????? escalation_period???????????????????????????? daytime ?????? escalation_options?????????????????????????? w,u,c,r ?????? } define hostescalation{ ?????? hostgroup_name?????????????????????????????????? windows-xp-servers, windows-servers, unix-servers ?????? contacts?????????????????????????????????????????????? adminpager ?????? first_notification?????????????????????????? 2 ?????? last_notification???????????????????????????? 0 ?????? notification_interval???????????????????? 15 ?????? escalation_period???????????????????????????? daytime ?????? escalation_options?????????????????????????? d,u,r ?????? } define serviceescalation{ ?????? hostgroup_name?????????????????????????????????? windows-xp-servers, windows-servers, unix-servers ?????? contacts?????????????????????????????????????????????? oncallpager ?????? first_notification?????????????????????????? 2 ?????? last_notification???????????????????????????? 0 ?????? notification_interval???????????????????? 15 ?????? escalation_period???????????????????????????? nitetime ?????? escalation_options?????????????????????????? w,u,c,r ?????? } define hostescalation{ ?????? hostgroup_name?????????????????????????????????? windows-xp-servers, windows-servers, unix-servers ?????? contacts?????????????????????????????????????????????? oncallpager ?????? first_notification?????????????????????????? 2 ?????? last_notification???????????????????????????? 0 ?????? notification_interval???????????????????? 15 ?????? escalation_period???????????????????????????? nitetime ?????? escalation_options?????????????????????????? d,u,r ?????? } define serviceescalation{ ?????? hostgroup_name?????????????????????????????????? windows-xp-servers, windows-servers, unix-servers ?????? contacts?????????????????????????????????????????????? adminpager ?????? first_notification?????????????????????????? 4 ?????? last_notification???????????????????????????? 5 ?????? notification_interval???????????????????? 15 ?????? escalation_period???????????????????????????? nitetime ?????? escalation_options?????????????????????????? w,u,c,r ?????? } define hostescalation{ ?????? hostgroup_name?????????????????????????????????? windows-xp-servers, windows-servers, unix-servers ?????? contacts?????????????????????????????????????????????? adminpager ?????? first_notification?????????????????????????? 4 ?????? last_notification???????????????????????????? 5 ?????? notification_interval???????????????????? 15 ?????? escalation_period???????????????????????????? nitetime ?????? escalation_options?????????????????????????? d,u,r ?????? } Thank you in advance! --- Will Y. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov -------------- 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 j.vanarragon at lukkien.com Fri Nov 16 11:54:10 2012 From: j.vanarragon at lukkien.com (Jaap van Arragon) Date: Fri, 16 Nov 2012 11:54:10 +0100 Subject: Check_http status 503 gives 200 OK Message-ID: Hello, I?m trying to use the check_http plugin to verify if one of our website is available. When I check our website it gives me a 200 OK status code back even when the website isn?t available en the URL gives me a 503 status code through the browser. After some searching I came across the post below: http://permalink.gmane.org/gmane.network.nagios.plugins.devel/485 This states that there is a bug in check_http. The only thing is that the post is from 2003 so I expect that the necessary changes are already in the new release. Things I?ve tried: - recompiled the latest version of the check_http plugin but the necessary changes seems to be integrated there already. - updated the plugins package to the latest version for our release Check: /usr/local/nagios/libexec/check_http -I -u http:// -w1 -c2 Packages: ii nagios-images 0.5 ii nagios-nrpe-plugin 2.12-4ubuntu1.10.04.1 ii nagios-nrpe-server 2.12-4ubuntu1.10.04.1 ii nagios-plugins 1.4.14-1ubuntu1 ii nagios-plugins-basic 1.4.14-1ubuntu1 ii nagios-plugins-standard 1.4.14-1ubuntu1 ii nagios3 3.2.0-4ubuntu2.2 ii nagios3-cgi 3.2.0-4ubuntu2.2 ii nagios3-common 3.2.0-4ubuntu2.2 ii nagios3-core 3.2.0-4ubuntu2.2 ii nagiosgrapher 1.7.1-1 Does anyone know why it gives me a status 200 OK back? At the moment I can't rely on my Nagios checks.. Thank you in advance Regards Jaap ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kaushalshriyan at gmail.com Fri Nov 16 17:11:25 2012 From: kaushalshriyan at gmail.com (Kaushal Shriyan) Date: Fri, 16 Nov 2012 21:41:25 +0530 Subject: Pager Duty Service Message-ID: Hi, Is there a open source solution similar to pager duty service for Nagios Alerts? Regards, Kaushal -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov -------------- 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 Fri Nov 16 17:52:01 2012 From: dey.ranjib at gmail.com (Ranjib Dey) Date: Fri, 16 Nov 2012 08:52:01 -0800 Subject: Pager Duty Service In-Reply-To: References: Message-ID: Asterix On Nov 16, 2012 8:17 AM, "Kaushal Shriyan" wrote: > Hi, > > Is there a open source solution similar to pager duty service for Nagios > Alerts? > > Regards, > > Kaushal > > > ------------------------------------------------------------------------------ > Monitor your physical, virtual and cloud infrastructure from a single > web console. Get in-depth insight into apps, servers, databases, vmware, > SAP, cloud infrastructure, etc. Download 30-day Free Trial. > Pricing starts from $795 for 25 servers or applications! > http://p.sf.net/sfu/zoho_dev2dev_nov > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From robert at robertvbolton.com Fri Nov 16 23:34:24 2012 From: robert at robertvbolton.com (Robert V. Bolton) Date: Fri, 16 Nov 2012 15:34:24 -0700 Subject: Need Help with Formatting URL for Host/Service Acknowledgment Message-ID: Hello, I'm trying to include a URL in my alert emails that will allow the user to acknowledge the alert by clicking on the URL. I'm having trouble with the formatting so that the host and service will be passed to cmd.cgi correctly. When I define notes_url as follows the '&' and spaces in the service description don't translate to a proper url format. Does anyone know how can translate this information valid URL to be included into my alert emails? notes_url http://example.com/nagios/cgi-bin/cmd.cgi?cmd_typ=34&host=$HOSTNAME$&service=$SERVICEDESC$ Here is an example of an expected output: http://example.com/nagios/cgi-bin/cmd.cgi?cmd_typ=34&host=host.example.com&service=SSH%20Check Here is an example of the actual output: http://example.com/nagios/cgi-bin/cmd.cgi?cmd_typ=34host=host.example.comservice=SSH%2BCheck As you can see the '&' is missing and the space in 'SSH Check' is coded as %2B not %20. -- *Robert V. Bolton* Email: robert at robertvbolton.com Web: http://robertvbolton.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov -------------- 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 kaskada at email.cz Sat Nov 17 00:37:31 2012 From: kaskada at email.cz (kaskada at email.cz) Date: Sat, 17 Nov 2012 00:37:31 +0100 (CET) Subject: how to use logged-in (Apache) user in plugins? Message-ID: <1u2c.aRdG.6tkBq8P99XH.1Gfiux@seznam.cz> Hello, I`m trying, googling but with no success. What I need is to adjust the output of a Nagios plugin depending on a user who is logged in the Nagios web interface. Like for example when "nagiosadmin" is logged in, the plugin will show more output/debug information than when just user "secretary" is logged in Nagios web. Is that somehow possible? Thank you. Pepe -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov -------------- 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 daliosmane at gmail.com Sat Nov 17 01:17:27 2012 From: daliosmane at gmail.com (Gmail) Date: Fri, 16 Nov 2012 15:17:27 -0900 Subject: Nagios not showing anything Message-ID: Installed Nagios on openbsd 5.2 Web server is up and shows initial page Http://host name/Nagios do not show anything The v command says configuration is ok Help please Failure is not as frightening as regret. If you want to improve, be content to be thought foolish and stupid. It is better to be criticized by a wise person than to be praised by a fool. ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kaushalshriyan at gmail.com Sat Nov 17 02:44:31 2012 From: kaushalshriyan at gmail.com (Kaushal Shriyan) Date: Sat, 17 Nov 2012 07:14:31 +0530 Subject: Pager Duty Service In-Reply-To: References: Message-ID: On Fri, Nov 16, 2012 at 10:22 PM, Ranjib Dey wrote: > Asterix > Thanks Ranjib, Do you have any write up or How To's to setup pager duty on Asterisk (http://www.asterisk.org/). Regards Kaushal > On Nov 16, 2012 8:17 AM, "Kaushal Shriyan" > wrote: > >> Hi, >> >> Is there a open source solution similar to pager duty service for Nagios >> Alerts? >> >> Regards, >> >> Kaushal >> >> >> ------------------------------------------------------------------------------ >> Monitor your physical, virtual and cloud infrastructure from a single >> web console. Get in-depth insight into apps, servers, databases, vmware, >> SAP, cloud infrastructure, etc. Download 30-day Free Trial. >> Pricing starts from $795 for 25 servers or applications! >> http://p.sf.net/sfu/zoho_dev2dev_nov >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > > ------------------------------------------------------------------------------ > Monitor your physical, virtual and cloud infrastructure from a single > web console. Get in-depth insight into apps, servers, databases, vmware, > SAP, cloud infrastructure, etc. Download 30-day Free Trial. > Pricing starts from $795 for 25 servers or applications! > http://p.sf.net/sfu/zoho_dev2dev_nov > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov -------------- 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 Sat Nov 17 03:13:13 2012 From: dey.ranjib at gmail.com (Ranjib Dey) Date: Fri, 16 Nov 2012 18:13:13 -0800 Subject: Pager Duty Service In-Reply-To: References: Message-ID: No man. On Nov 16, 2012 5:49 PM, "Kaushal Shriyan" wrote: > > On Fri, Nov 16, 2012 at 10:22 PM, Ranjib Dey wrote: > >> Asterix >> > > Thanks Ranjib, Do you have any write up or How To's to setup pager duty on > Asterisk (http://www.asterisk.org/). > > Regards > > Kaushal > > >> On Nov 16, 2012 8:17 AM, "Kaushal Shriyan" >> wrote: >> >>> Hi, >>> >>> Is there a open source solution similar to pager duty service for Nagios >>> Alerts? >>> >>> Regards, >>> >>> Kaushal >>> >>> >>> ------------------------------------------------------------------------------ >>> Monitor your physical, virtual and cloud infrastructure from a single >>> web console. Get in-depth insight into apps, servers, databases, vmware, >>> SAP, cloud infrastructure, etc. Download 30-day Free Trial. >>> Pricing starts from $795 for 25 servers or applications! >>> http://p.sf.net/sfu/zoho_dev2dev_nov >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: Please include Nagios version, plugin version (-v) and OS when >>> reporting any issue. >>> ::: Messages without supporting info will risk being sent to /dev/null >>> >> >> >> ------------------------------------------------------------------------------ >> Monitor your physical, virtual and cloud infrastructure from a single >> web console. Get in-depth insight into apps, servers, databases, vmware, >> SAP, cloud infrastructure, etc. Download 30-day Free Trial. >> Pricing starts from $795 for 25 servers or applications! >> http://p.sf.net/sfu/zoho_dev2dev_nov >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > > > ------------------------------------------------------------------------------ > Monitor your physical, virtual and cloud infrastructure from a single > web console. Get in-depth insight into apps, servers, databases, vmware, > SAP, cloud infrastructure, etc. Download 30-day Free Trial. > Pricing starts from $795 for 25 servers or applications! > http://p.sf.net/sfu/zoho_dev2dev_nov > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov -------------- 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 mckell at us.ibm.com Sat Nov 17 06:08:20 2012 From: mckell at us.ibm.com (Sean McKell) Date: Fri, 16 Nov 2012 22:08:20 -0700 Subject: AUTO: Sean McKell/Boulder/IBM is out of the office until 10/30/2000. (returning 11/27/2012) Message-ID: I am out of the office until 11/27/2012. out starting Nov 16 Pat Spizzo is team lead Kaleb Walton is manager Note: This is an automated response to your message "Nagios-users Digest, Vol 78, Issue 7" sent on 11/16/2012 16:59:34. This is the only notification you will receive while this person is away. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov -------------- 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 luisforchesatto at gmail.com Sat Nov 17 11:24:54 2012 From: luisforchesatto at gmail.com (Luis H. Forchesatto) Date: Sat, 17 Nov 2012 08:24:54 -0200 Subject: Nagios not showing anything In-Reply-To: References: Message-ID: Greetings. Hmmm...make a quick test. Try accessing your nagios with the / at the end of the link. Also try acessing informing your nagios version in the link, something like http://domain.com/nagios*3*/ or http://domain.com/nagios*2*/ . 2012/11/16 Gmail > > Installed Nagios on openbsd 5.2 > Web server is up and shows initial page > Http://host name/Nagios do not show anything > The v command says configuration is ok > > Help please > Failure is not as frightening as regret. If you want to improve, be > content to be thought foolish and stupid. It is better to be criticized by > a wise person than to be praised by a fool. > > > > ------------------------------------------------------------------------------ > Monitor your physical, virtual and cloud infrastructure from a single > web console. Get in-depth insight into apps, servers, databases, vmware, > SAP, cloud infrastructure, etc. Download 30-day Free Trial. > Pricing starts from $795 for 25 servers or applications! > http://p.sf.net/sfu/zoho_dev2dev_nov > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Att.* *** -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov -------------- 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 giles at coochey.net Sat Nov 17 18:08:53 2012 From: giles at coochey.net (Giles Coochey) Date: Sat, 17 Nov 2012 17:08:53 +0000 Subject: how to use logged-in (Apache) user in plugins? In-Reply-To: <1u2c.aRdG.6tkBq8P99XH.1Gfiux@seznam.cz> References: <1u2c.aRdG.6tkBq8P99XH.1Gfiux@seznam.cz> Message-ID: <50A7C4A5.8040808@coochey.net> On 16/11/2012 23:37, kaskada at email.cz wrote: > Hello, > > I`m trying, googling but with no success. > > What I need is to adjust the output of a Nagios plugin depending on a > user who is logged in the Nagios web interface. Like for example when > "nagiosadmin" is logged in, the plugin will show more output/debug > information than when just user "secretary" is logged in Nagios web. > > Is that somehow possible? > You probably just want a different web front-end altogether for "secretary"... search around for different Nagios Front-Ends. -- Regards, Giles Coochey, CCNA, CCNAS NetSecSpec Ltd +44 (0) 7983 877438 http://www.coochey.net http://www.netsecspec.co.uk giles at coochey.net -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 4968 bytes Desc: S/MIME Cryptographic Signature URL: -------------- next part -------------- ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov -------------- 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 lucy at pelzeronline.de Sat Nov 17 18:08:04 2012 From: lucy at pelzeronline.de (Lucy Pelzer) Date: Sat, 17 Nov 2012 18:08:04 +0100 Subject: circular parent/child chain Message-ID: <50A7C474.7060604@pelzeronline.de> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi List, I am in charge for a big network infrastructure and at the moment we evaluate solutions for our nagios monitoring with configuration via monarch. I really would like to create the new solution with nagios and puppet. There is only one big problem. In our infrastructure there are a lot of switches connected together like this: ------------ | switch-1 | ------------ / \ / \ / \ ------------ ------------ | switch-2 |-----| switch-3 | ------------ ------------ | | | | ------------ ------------ | switch-5 |-----| switch-4 | ------------ ------------ All the time I try to configure this switch connections in nagios with more than one parent, where the hosts are at the same time parent and child, I get the following error: ERROR: The host 'switch-2' is part of a circular parent/child chain! ... I know by now that this is because nagios has to be hierarchically, but I do not understand why. Maybe somebody could tell me exactly why I can?t configure this in nagios or better could tell me how I can do it. I only found the explanation that this could conduct a deadlock. Maybe I am wrong, but is this not a likely network infrastructure? At last it is no problem to build something like this with STP running in your network. Great Thanks in advanced Lucy -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) Comment: Using GnuPG with undefined - http://www.enigmail.net/ iQEcBAEBAgAGBQJQp8R0AAoJEBSbfrVvipee/GIIAI9fOkZzDr04z2m85YAnPg3M Bc3w6b622H88RBHaUWnDBRtAzvQ8JNKncj7BlDrUuRBEIMH1K7Ze8ec0NRSt6hPu /U0j92nalP16J0DtDK5jMgwQS2TM+TqVKODoj8jjYKEtgJLxok0RGxVurAj5vclf rTDMokhhKoeu10KVseaQW/U42Vr92eqB2XrafdONaguTZ8IQ+dbul8jOCYxIKj+/ b961wWQyKijQ/LqHhoHh4u3dDGMmqlOJULQ/uX3+X29yhXa72gwYzdn4JpNJpiEV B96kJ8mBkEpYLtkxPx1C3z4X4/hC/zfvf+N14JJFWR8ZVcGDhRrGK94pLj+vz1c= =99+0 -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sat Nov 17 21:44:03 2012 From: giles at coochey.net (Giles Coochey) Date: Sat, 17 Nov 2012 20:44:03 +0000 Subject: circular parent/child chain In-Reply-To: <50A7C474.7060604@pelzeronline.de> References: <50A7C474.7060604@pelzeronline.de> Message-ID: <50A7F713.1030801@coochey.net> On 17/11/2012 17:08, Lucy Pelzer wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi List, > > I am in charge for a big network infrastructure and at the moment we > evaluate solutions for our nagios monitoring with configuration via > monarch. I really would like to create the new solution with nagios and > puppet. There is only one big problem. In our infrastructure there are a > lot of switches connected together like this: > > ------------ > | switch-1 | > ------------ > / \ > / \ > / \ > ------------ ------------ > | switch-2 |-----| switch-3 | > ------------ ------------ > | | > | | > ------------ ------------ > | switch-5 |-----| switch-4 | > ------------ ------------ Hi Lucy, Although you have redundant physical interconnects for your switches, Spanning Tree, or Rapid Spanning Tree or even Multiple Spanning Tree protocols are taking effect and (probably) setting switch-1 as the Root with the other switches set to a higher spanning tree priority value - in any case, at layer two, during normal operation you don't have multiple active parents in the layer-2 infrastructure. While you have redundancy, physically for your infrastructure, you are only using those links (for each VLAN at least), in a non-redundant way. Setup your Nagios child / parent relationships as per spanning tree has worked out how it should be when everything is up, add some monitoring for spanning-tree within Nagios, that way everything will work, and you'll always be informed when something is wrong. Thanks Giles > All the time I try to configure this switch connections in nagios with > more than one parent, where the hosts are at the same time parent and > child, I get the following error: > > ERROR: The host 'switch-2' is part of a circular parent/child chain! > ... > > I know by now that this is because nagios has to be hierarchically, but > I do not understand why. Maybe somebody could tell me exactly why I > can?t configure this in nagios or better could tell me how I can do it. > I only found the explanation that this could conduct a deadlock. Maybe I > am wrong, but is this not a likely network infrastructure? At last it is > no problem to build something like this with STP running in your network. > > > Great Thanks in advanced > > Lucy > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v2.0.19 (GNU/Linux) > Comment: Using GnuPG with undefined - http://www.enigmail.net/ > > iQEcBAEBAgAGBQJQp8R0AAoJEBSbfrVvipee/GIIAI9fOkZzDr04z2m85YAnPg3M > Bc3w6b622H88RBHaUWnDBRtAzvQ8JNKncj7BlDrUuRBEIMH1K7Ze8ec0NRSt6hPu > /U0j92nalP16J0DtDK5jMgwQS2TM+TqVKODoj8jjYKEtgJLxok0RGxVurAj5vclf > rTDMokhhKoeu10KVseaQW/U42Vr92eqB2XrafdONaguTZ8IQ+dbul8jOCYxIKj+/ > b961wWQyKijQ/LqHhoHh4u3dDGMmqlOJULQ/uX3+X29yhXa72gwYzdn4JpNJpiEV > B96kJ8mBkEpYLtkxPx1C3z4X4/hC/zfvf+N14JJFWR8ZVcGDhRrGK94pLj+vz1c= > =99+0 > -----END PGP SIGNATURE----- > > ------------------------------------------------------------------------------ > Monitor your physical, virtual and cloud infrastructure from a single > web console. Get in-depth insight into apps, servers, databases, vmware, > SAP, cloud infrastructure, etc. Download 30-day Free Trial. > Pricing starts from $795 for 25 servers or applications! > http://p.sf.net/sfu/zoho_dev2dev_nov > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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, Giles Coochey, CCNA, CCNAS NetSecSpec Ltd +44 (0) 7983 877438 http://www.coochey.net http://www.netsecspec.co.uk giles at coochey.net -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 4968 bytes Desc: S/MIME Cryptographic Signature URL: -------------- next part -------------- ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov -------------- 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 kaskada at email.cz Sun Nov 18 13:17:45 2012 From: kaskada at email.cz (kaskada at email.cz) Date: Sun, 18 Nov 2012 13:17:45 +0100 (CET) Subject: =?utf-8?q?how_to_use_logged-in_=28Apache=29_user_i?= =?utf-8?q?n_plugins=3F?= References: <1u2c.aRdG.6tkBq8P99XH.1Gfiux@seznam.cz> <50A7C4A5.8040808@coochey.net> Message-ID: <1{QQ.aRcA.26FjxetHVwB.1GgD7f@seznam.cz> Hello, no, I really want to have different output from one plugin depending on user logged in. So I need to show some advanced output to some most advanced admins. (secretary and naiosadmin was just an example) Pep. ---------- P?vodn? zpr?va ---------- Od: Giles Coochey Datum: 17. 11. 2012 P?edm?t: Re: [Nagios-users] how to use logged-in (Apache) user in plugins? "On 16/11/2012 23:37, kaskada at email.cz wrote: > Hello, > > I`m trying, googling but with no success. > > What I need is to adjust the output of a Nagios plugin depending on a > user who is logged in the Nagios web interface. Like for example when > "nagiosadmin" is logged in, the plugin will show more output/debug > information than when just user "secretary" is logged in Nagios web. > > Is that somehow possible? > You probably just want a different web front-end altogether for "secretary"... search around for different Nagios Front-Ends. -- Regards, Giles Coochey, CCNA, CCNAS NetSecSpec Ltd +44 (0) 7983 877438 http://www.coochey.net(http://www.coochey.net) http://www.netsecspec.co.uk(http://www.netsecspec.co.uk) giles at coochey.net" -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov -------------- 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 goddymugo at gmail.com Mon Nov 19 07:05:04 2012 From: goddymugo at gmail.com (GODDY MUGO) Date: Mon, 19 Nov 2012 09:05:04 +0300 Subject: Nagios not showing anything In-Reply-To: References: Message-ID: what do you mean by dose not show anything. - dose not open the web page - dose open web page but displays anything On Sat, Nov 17, 2012 at 3:17 AM, Gmail wrote: > > Installed Nagios on openbsd 5.2 > Web server is up and shows initial page > Http://host name/Nagios do not show anything > The v command says configuration is ok > > Help please > Failure is not as frightening as regret. If you want to improve, be > content to be thought foolish and stupid. It is better to be criticized by > a wise person than to be praised by a fool. > > > > ------------------------------------------------------------------------------ > Monitor your physical, virtual and cloud infrastructure from a single > web console. Get in-depth insight into apps, servers, databases, vmware, > SAP, cloud infrastructure, etc. Download 30-day Free Trial. > Pricing starts from $795 for 25 servers or applications! > http://p.sf.net/sfu/zoho_dev2dev_nov > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov -------------- 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 mohandas.k at tcs.com Mon Nov 19 08:59:53 2012 From: mohandas.k at tcs.com (Mohandas K) Date: Mon, 19 Nov 2012 13:29:53 +0530 Subject: Problem with Windows Cluster Monitoring Message-ID: Hi Users, We have configured two Microsoft 2008 R2 servers in cluster. I am trying to monitor the cluster status through Nagios. In order to achieve the same, I have written a Windows batch script. This batch script will first execute "cluster.exe" command with necessary switches and stores the output in a file. Then depending on the file contents I display Critical and Ok status. I am able to execute this script locally on Windows, But when I am trying to run it from Nagios using NRPE, I get an error saying "C:\Windows\System32\cluster.exe' is not recognized as an internal or external command". I am still unable to find out the reason for this error. Please help me out in resolving this problem. Nagios Version : 3.0.5 NRPE Version : 1.9 OS : Unix Solaris-10 Regards, Mohandas K =====-----=====-----===== Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov -------------- 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 nagiosusers at edcint.co.nz Mon Nov 19 10:59:16 2012 From: nagiosusers at edcint.co.nz (Matthew Jurgens) Date: Mon, 19 Nov 2012 20:59:16 +1100 Subject: Problem with Windows Cluster Monitoring In-Reply-To: References: Message-ID: <50AA02F4.8010604@edcint.co.nz> If you take a look through the WMI classes installed on your machine http://edcint.co.nz/checkwmiplus/?q=faq_seeWMIclasses and can find some cluster related ones with useful monitoring information in them, I will add an agent-less check to check_wmi_plus (http://edcint.co.nz/checkwmiplus/) so you can monitor your cluster without having to install anything on your Windows machines. On 19/11/2012 6:59 PM, Mohandas K wrote: > Hi Users, > > We have configured two Microsoft 2008 R2 servers in cluster. I am > trying to monitor the cluster status through Nagios. > > In order to achieve the same, I have written a Windows batch script. > This batch script will first execute "cluster.exe" command with > necessary switches and stores the output in a file. > Then depending on the file contents I display Critical and Ok status. > > I am able to execute this script locally on Windows, But when I am > trying to run it from Nagios using NRPE, I get an error saying > "C:\Windows\System32\cluster.exe' is not recognized as an internal or > external command". > I am still unable to find out the reason for this error. > > Please help me out in resolving this problem. > > Nagios Version : 3.0.5 > NRPE Version : 1.9 > OS : Unix Solaris-10 > > Regards, > Mohandas K -- Smartmon System Monitoring www.smartmon.com.au -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Mon Nov 19 14:07:13 2012 From: ae at op5.se (Andreas Ericsson) Date: Mon, 19 Nov 2012 14:07:13 +0100 Subject: circular parent/child chain In-Reply-To: <50A7C474.7060604@pelzeronline.de> References: <50A7C474.7060604@pelzeronline.de> Message-ID: <50AA2F01.6060400@op5.se> On 11/17/2012 06:08 PM, Lucy Pelzer wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi List, > > I am in charge for a big network infrastructure and at the moment we > evaluate solutions for our nagios monitoring with configuration via > monarch. I really would like to create the new solution with nagios and > puppet. There is only one big problem. In our infrastructure there are a > lot of switches connected together like this: > > ------------ > | switch-1 | > ------------ > / \ > / \ > / \ > ------------ ------------ > | switch-2 |-----| switch-3 | > ------------ ------------ > | | > | | > ------------ ------------ > | switch-5 |-----| switch-4 | > ------------ ------------ > > All the time I try to configure this switch connections in nagios with > more than one parent, where the hosts are at the same time parent and > child, I get the following error: > > ERROR: The host 'switch-2' is part of a circular parent/child chain! > ... > > I know by now that this is because nagios has to be hierarchically, but > I do not understand why. Maybe somebody could tell me exactly why I > can?t configure this in nagios or better could tell me how I can do it. > I only found the explanation that this could conduct a deadlock. Maybe I > am wrong, but is this not a likely network infrastructure? At last it is > no problem to build something like this with STP running in your network. > It is, but parent-child relations concern network data flows, and not necessarily the cables connecting various pieces of equipment. In your case switch5 should have switch2 as parent, switch4 should have switch3 as parent, switch2 and switch3 should both have switch1 as parent. Think of how the traffic goes. It will never travel like this: switch1 -> switch2 -> switch3 -> switch4 but it will travel like this: switch1 -> switch3 -> switch4 (assuming you have a somewhat sane network, that is). -- 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. ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From j.vanarragon at lukkien.com Mon Nov 19 14:14:59 2012 From: j.vanarragon at lukkien.com (Jaap van Arragon) Date: Mon, 19 Nov 2012 14:14:59 +0100 Subject: Check_http status 503 gives 200 OK In-Reply-To: References: Message-ID: Hello, Does anyone know why it gives me a 200 back? If you need more info, I will gladly provide it ;-) Thank you. Regards, Jaap On 11/16/12 11:54 AM, "Jaap van Arragon" wrote: > Hello, > > I?m trying to use the check_http plugin to verify if one of our website is > available. > > When I check our website it gives me a 200 OK status code back even when the > website isn?t available en the URL gives me a 503 status code through the > browser. > > After some searching I came across the post below: > > http://permalink.gmane.org/gmane.network.nagios.plugins.devel/485 > > This states that there is a bug in check_http. The only thing is that the post > is from 2003 so I expect that the necessary changes are already in the new > release. > > Things I?ve tried: > > - recompiled the latest version of the check_http plugin but the necessary > changes seems to be integrated there already. > - updated the plugins package to the latest version for our release > > Check: > /usr/local/nagios/libexec/check_http -I -u http:// -w1 -c2 > > Packages: > > ii nagios-images 0.5 > ii nagios-nrpe-plugin 2.12-4ubuntu1.10.04.1 > ii nagios-nrpe-server 2.12-4ubuntu1.10.04.1 > ii nagios-plugins 1.4.14-1ubuntu1 > ii nagios-plugins-basic 1.4.14-1ubuntu1 > ii nagios-plugins-standard 1.4.14-1ubuntu1 > ii nagios3 3.2.0-4ubuntu2.2 > ii nagios3-cgi 3.2.0-4ubuntu2.2 > ii nagios3-common 3.2.0-4ubuntu2.2 > ii nagios3-core 3.2.0-4ubuntu2.2 > ii nagiosgrapher 1.7.1-1 > > Does anyone know why it gives me a status 200 OK back? At the moment I can't > rely on my Nagios checks.. > > Thank you in advance > > Regards > Jaap ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Nov 19 14:29:49 2012 From: wyild1 at gmail.com (Ryan Edwards) Date: Mon, 19 Nov 2012 07:29:49 -0600 Subject: Check_http status 503 gives 200 OK In-Reply-To: References: Message-ID: You said u are using it like so: Check: /usr/local/nagios/libexec/check_http -I -u http:// -w1 -c2 Maybe drop the IP address? I dunno, maybe cuz you have both IP and the url its causing problems. Maybe its replying on the IP, but not on the URL your providing. You prob only need one or the other if im not mistaken Cheers! On Mon, Nov 19, 2012 at 7:14 AM, Jaap van Arragon wrote: > Hello, > > Does anyone know why it gives me a 200 back? > > If you need more info, I will gladly provide it ;-) > > Thank you. > > Regards, > > Jaap > > > On 11/16/12 11:54 AM, "Jaap van Arragon" wrote: > > > Hello, > > > > I?m trying to use the check_http plugin to verify if one of our website > is > > available. > > > > When I check our website it gives me a 200 OK status code back even when > the > > website isn?t available en the URL gives me a 503 status code through the > > browser. > > > > After some searching I came across the post below: > > > > http://permalink.gmane.org/gmane.network.nagios.plugins.devel/485 > > > > This states that there is a bug in check_http. The only thing is that > the post > > is from 2003 so I expect that the necessary changes are already in the > new > > release. > > > > Things I?ve tried: > > > > - recompiled the latest version of the check_http plugin but the > necessary > > changes seems to be integrated there already. > > - updated the plugins package to the latest version for our release > > > > Check: > > /usr/local/nagios/libexec/check_http -I -u http:// > -w1 -c2 > > > > Packages: > > > > ii nagios-images 0.5 > > ii nagios-nrpe-plugin 2.12-4ubuntu1.10.04.1 > > ii nagios-nrpe-server 2.12-4ubuntu1.10.04.1 > > ii nagios-plugins 1.4.14-1ubuntu1 > > ii nagios-plugins-basic 1.4.14-1ubuntu1 > > ii nagios-plugins-standard 1.4.14-1ubuntu1 > > ii nagios3 3.2.0-4ubuntu2.2 > > ii nagios3-cgi 3.2.0-4ubuntu2.2 > > ii nagios3-common 3.2.0-4ubuntu2.2 > > ii nagios3-core 3.2.0-4ubuntu2.2 > > ii nagiosgrapher 1.7.1-1 > > > > Does anyone know why it gives me a status 200 OK back? At the moment I > can't > > rely on my Nagios checks.. > > > > Thank you in advance > > > > Regards > > Jaap > > > > > ------------------------------------------------------------------------------ > Monitor your physical, virtual and cloud infrastructure from a single > web console. Get in-depth insight into apps, servers, databases, vmware, > SAP, cloud infrastructure, etc. Download 30-day Free Trial. > Pricing starts from $795 for 25 servers or applications! > http://p.sf.net/sfu/zoho_dev2dev_nov > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov -------------- 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 Nov 19 16:10:36 2012 From: m.borsani at it.net (Marco Borsani) Date: Mon, 19 Nov 2012 16:10:36 +0100 Subject: little question about disable notification and schedule downtime Message-ID: <02c701cdc668$0d3cf6d0$27b6e470$@it.net> Hi all Reading for the first time the docs it seems that these 2 options do the same thing. Is it ? Is the only difference that the first one disable the notification forever, while the other only in a particular timeperiod ? Both do not stop the service checks. Marco Borsani Unix and Monitoring Sysadmin Technical Operations Dpt. tel: +39 010 4310115 fax: +39 02 30130311 cell: +39 329 5953944 ITnet Srl Societ? con socio unico Direzione e Coordinamento di Libero S.r.l. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov -------------- 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 j.vanarragon at lukkien.com Mon Nov 19 17:14:14 2012 From: j.vanarragon at lukkien.com (Jaap van Arragon) Date: Mon, 19 Nov 2012 17:14:14 +0100 Subject: Check_http status 503 gives 200 OK In-Reply-To: References: Message-ID: Thank you for your reply. I?ve tried the check without the ip adress option but it makes no difference. Any other ideas? Thanks. On 11/19/12 2:29 PM, "Ryan Edwards" wrote: > You said u are using it like so: > > ? ?Check: > ? ?/usr/local/nagios/libexec/check_http -I -u http:// -w1 > -c2 > > Maybe drop the IP address? ?I dunno, maybe cuz you have both IP and the url > its causing problems. Maybe its replying on the IP, but not on the URL your > providing. ?You prob only need one or the other if im not mistaken > > Cheers! > > > On Mon, Nov 19, 2012 at 7:14 AM, Jaap van Arragon > wrote: >> Hello, >> >> Does anyone know why it gives me a 200 back? >> >> If you need more info, I will gladly provide it ;-) >> >> Thank you. >> >> Regards, >> >> Jaap >> >> >> On 11/16/12 11:54 AM, "Jaap van Arragon" wrote: >> >>> > Hello, >>> > >>> > I?m trying to use the check_http plugin to verify if one of our website is >>> > available. >>> > >>> > When I check our website it gives me a 200 OK status code back even when >>> the >>> > website isn?t available en the URL gives me a 503 status code through the >>> > browser. >>> > >>> > After some searching I came across the post below: >>> > >>> > http://permalink.gmane.org/gmane.network.nagios.plugins.devel/485 >>> > >>> > This states that there is a bug in check_http. The only thing is that the >>> post >>> > is from 2003 so I expect that the necessary changes are already in the new >>> > release. >>> > >>> > Things I?ve tried: >>> > >>> > - recompiled the latest version of the check_http plugin but the necessary >>> > changes seems to be integrated there already. >>> > - updated the plugins package to the latest version for our release >>> > >>> > Check: >>> > /usr/local/nagios/libexec/check_http -I -u http:// -w1 >>> -c2 >>> > >>> > Packages: >>> > >>> > ii nagios-images 0.5 >>> > ii nagios-nrpe-plugin 2.12-4ubuntu1.10.04.1 >>> > ii nagios-nrpe-server 2.12-4ubuntu1.10.04.1 >>> > ii nagios-plugins 1.4.14-1ubuntu1 >>> > ii nagios-plugins-basic 1.4.14-1ubuntu1 >>> > ii nagios-plugins-standard 1.4.14-1ubuntu1 >>> > ii nagios3 3.2.0-4ubuntu2.2 >>> > ii nagios3-cgi 3.2.0-4ubuntu2.2 >>> > ii nagios3-common 3.2.0-4ubuntu2.2 >>> > ii nagios3-core 3.2.0-4ubuntu2.2 >>> > ii nagiosgrapher 1.7.1-1 >>> > >>> > Does anyone know why it gives me a status 200 OK back? At the moment I >>> can't >>> > rely on my Nagios checks.. >>> > >>> > Thank you in advance >>> > >>> > Regards >>> > Jaap >> >> >> >> ----------------------------------------------------------------------------->> - >> Monitor your physical, virtual and cloud infrastructure from a single >> web console. Get in-depth insight into apps, servers, databases, vmware, >> SAP, cloud infrastructure, etc. Download 30-day Free Trial. >> Pricing starts from $795 for 25 servers or applications! >> http://p.sf.net/sfu/zoho_dev2dev_nov >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: 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 -------------- ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov -------------- 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 Steve.Onotsky at broadridge.com Mon Nov 19 17:28:11 2012 From: Steve.Onotsky at broadridge.com (Onotsky, Steve x55328) Date: Mon, 19 Nov 2012 11:28:11 -0500 Subject: little question about disable notification and schedule downtime In-Reply-To: <02c701cdc668$0d3cf6d0$27b6e470$@it.net> References: <02c701cdc668$0d3cf6d0$27b6e470$@it.net> Message-ID: <96F2CCD5CB684D46BA39D6060E6574A42FFFC7B7B8@MSCPCWEXMAA1.bsg.ad.adp.com> Correct. The former will cause notifications to remain disabled until told otherwise; the latter only for as long as specified. You should read up on the difference between Fixed and Flexible scheduled downtime while you're at it. If you want service/host checks disabled, you need to select that option from the web GUI (or drop that command into nagios.cmd). 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 The purpose of the universe is to explore the realm of possibility. Our purpose is to witness it. - S. James Gates Jr. From: Marco Borsani [mailto:m.borsani at it.net] Sent: Monday, November 19, 2012 10:11 AM To: NAGIOS Subject: [Nagios-users] little question about disable notification and schedule downtime Hi all Reading for the first time the docs it seems that these 2 options do the same thing. Is it ? Is the only difference that the first one disable the notification forever, while the other only in a particular timeperiod ? Both do not stop the service checks. Marco Borsani Unix and Monitoring Sysadmin Technical Operations Dpt. tel: +39 010 4310115 fax: +39 02 30130311 cell: +39 329 5953944 ITnet Srl Societ? con socio unico Direzione e Coordinamento di Libero S.r.l. 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. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov -------------- 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 Mon Nov 19 18:07:52 2012 From: pitchfork at ederdrom.de (Joerg Linge) Date: Mon, 19 Nov 2012 18:07:52 +0100 Subject: Check_http status 503 gives 200 OK In-Reply-To: References: Message-ID: <52D26A61-E3A7-43B1-BDBA-B8DAEF0D1BAC@ederdrom.de> Your example /usr/local/nagios/libexec/check_http -I -u http:// -w1 -c2 is a proxy request! -I = ip address to connect to -H = HTTP/1.1 Host Header -u = relative url to fetch without protocol infos like http:// some examples check nagios.org OMD[gearman]:~/lib/nagios/plugins$ ./check_http -H nagios.org HTTP OK: HTTP/1.1 200 OK - 54919 bytes in 1.703 second response time |time=1.703114s;;;0.000000 size=54919B;;;0 OMD[gearman]:~/lib/nagios/plugins$ host nagios.org nagios.org has address 96.126.126.159 ok, nagios .org runns on 96.126.126.159 lets check a non existing page. we got 404! OMD[gearman]:~/lib/nagios/plugins$ ./check_http -I 96.126.126.159 -H nagios.org -u /404 HTTP WARNING: HTTP/1.1 404 Not Found - 17141 bytes in 0.536 second response time |time=0.536015s;;;0.000000 size=17141B;;;0 lets ask nagios.org for icinga.org ;) and we will get a 302 OMD[gearman]:~/lib/nagios/plugins$ ./check_http -I 96.126.126.159 -H icinga.org -u / HTTP OK: HTTP/1.1 302 Found - 242 bytes in 1.837 second response time |time=1.837209s;;;0.000000 size=242B;;;0 Joerg Am 19.11.2012 um 17:14 schrieb Jaap van Arragon : > Thank you for your reply. > > I?ve tried the check without the ip adress option but it makes no difference. > > Any other ideas? > > Thanks. > > > On 11/19/12 2:29 PM, "Ryan Edwards" wrote: > >> You said u are using it like so: >> >> Check: >> /usr/local/nagios/libexec/check_http -I -u http:// -w1 -c2 >> >> Maybe drop the IP address? I dunno, maybe cuz you have both IP and the url its causing problems. Maybe its replying on the IP, but not on the URL your providing. You prob only need one or the other if im not mistaken >> >> Cheers! >> >> >> On Mon, Nov 19, 2012 at 7:14 AM, Jaap van Arragon wrote: >>> Hello, >>> >>> Does anyone know why it gives me a 200 back? >>> >>> If you need more info, I will gladly provide it ;-) >>> >>> Thank you. >>> >>> Regards, >>> >>> Jaap >>> >>> >>> On 11/16/12 11:54 AM, "Jaap van Arragon" wrote: >>> >>> > Hello, >>> > >>> > I?m trying to use the check_http plugin to verify if one of our website is >>> > available. >>> > >>> > When I check our website it gives me a 200 OK status code back even when the >>> > website isn?t available en the URL gives me a 503 status code through the >>> > browser. >>> > >>> > After some searching I came across the post below: >>> > >>> > http://permalink.gmane.org/gmane.network.nagios.plugins.devel/485 >>> > >>> > This states that there is a bug in check_http. The only thing is that the post >>> > is from 2003 so I expect that the necessary changes are already in the new >>> > release. >>> > >>> > Things I?ve tried: >>> > >>> > - recompiled the latest version of the check_http plugin but the necessary >>> > changes seems to be integrated there already. >>> > - updated the plugins package to the latest version for our release >>> > >>> > Check: >>> > /usr/local/nagios/libexec/check_http -I -u http:// -w1 -c2 >>> > >>> > Packages: >>> > >>> > ii nagios-images 0.5 >>> > ii nagios-nrpe-plugin 2.12-4ubuntu1.10.04.1 >>> > ii nagios-nrpe-server 2.12-4ubuntu1.10.04.1 >>> > ii nagios-plugins 1.4.14-1ubuntu1 >>> > ii nagios-plugins-basic 1.4.14-1ubuntu1 >>> > ii nagios-plugins-standard 1.4.14-1ubuntu1 >>> > ii nagios3 3.2.0-4ubuntu2.2 >>> > ii nagios3-cgi 3.2.0-4ubuntu2.2 >>> > ii nagios3-common 3.2.0-4ubuntu2.2 >>> > ii nagios3-core 3.2.0-4ubuntu2.2 >>> > ii nagiosgrapher 1.7.1-1 >>> > >>> > Does anyone know why it gives me a status 200 OK back? At the moment I can't >>> > rely on my Nagios checks.. >>> > >>> > Thank you in advance >>> > >>> > Regards >>> > Jaap >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> Monitor your physical, virtual and cloud infrastructure from a single >>> web console. Get in-depth insight into apps, servers, databases, vmware, >>> SAP, cloud infrastructure, etc. Download 30-day Free Trial. >>> Pricing starts from $795 for 25 servers or applications! >>> http://p.sf.net/sfu/zoho_dev2dev_nov >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >>> ::: Messages without supporting info will risk being sent to /dev/null >> >> > ------------------------------------------------------------------------------ > Monitor your physical, virtual and cloud infrastructure from a single > web console. Get in-depth insight into apps, servers, databases, vmware, > SAP, cloud infrastructure, etc. Download 30-day Free Trial. > Pricing starts from $795 for 25 servers or applications! > http://p.sf.net/sfu/zoho_dev2dev_nov_______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From william at leibzon.org Mon Nov 19 19:21:50 2012 From: william at leibzon.org (William Leibzon) Date: Mon, 19 Nov 2012 10:21:50 -0800 Subject: need testers for latest check_netint (especially those using --cisco and --STP options) In-Reply-To: References: Message-ID: Hey y'all nagios guys and gals, I need some testers for newest version of check_netint.pl (previously known as check_snmp_netint and originally check_smp_int) since I made a bunch of code updates this weekend. And I'm running cloud environment and can not quickly test --cisco and --stp options. If you're using this plugin with cisco switches and using these options, please get the latest dev (2.4a8) and see if it works as before: https://github.com/willixix/WL-NagiosPlugins/blob/dev/check_netint.pl Also those who've been pitching me to support 48+ port switches with one check, I added --bulk_snmp_queries option. You can test if that made things faster. I'm actually not sure if it would, because the plugin does does not do get_next on a tree which is what bulk query is supposed to speed up. Lastly this plugin now supports checking interfaces on a local linux machine instead of just SNNP. Feel free to test this as well. And if you are using FreeBSD or Solaris or some other unix, please consider helping out with a code to support your platform. Send all comments/issues/reports to my private email. Thanks, William -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov -------------- 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 lucy at pelzeronline.de Mon Nov 19 19:57:51 2012 From: lucy at pelzeronline.de (Lucy Pelzer) Date: Mon, 19 Nov 2012 19:57:51 +0100 Subject: circular parent/child chain In-Reply-To: <50A7F713.1030801@coochey.net> References: <50A7C474.7060604@pelzeronline.de> <50A7F713.1030801@coochey.net> Message-ID: <50AA812F.6020608@pelzeronline.de> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi List, thanks for your fast replies, but I think you missed my point. I know that I could configure one parent and alert about spanning tree or do a lot of other stuff, but this would not help me at all in the following situations. Lets say that I have a lot of important infrastructure behind switch-4 and switch-5 and that the "normal" stp way is to route through switch-2 for switch-5 and for switch-4 to switch-3. Lets also suggest that at switch-2 there is not that much important infrastructure. If now switch-2 is failing at the same time a really important infrastructure behind switch-5 fails. I will only get informed that switch-2 failed, because switch-5 is a child of switch-2, but I will not be informed about the more important stuff at switch-5. Now I will spend a lot of time to exchange switch-2 before I even find out that there is something really important at switch-5 going on only because I could not give it a second parent (switch-4). Maybe the other problem would have been fixed in minutes if I would have known about it. I think it is a bad idea to have such parent/child chains. And please keep in mind that this is just a simple example and that a network can be much bigger than just 5 switches. The other point is that I will never see the real network infrastructure in the statusmap. As far as I can read the documentation I should also be able to build up my whole infrastructure like it is in the statusmap. Or for what is it at all? I would be really pleased if somebody could answer my question. - - Why is it in nagios not possible to be parent/child of a other host at the same time? - - Why is it a deadlock and where is the problem? Greetings Lucy On 17.11.2012 21:44, Giles Coochey wrote: > On 17/11/2012 17:08, Lucy Pelzer wrote: > Hi List, > > I am in charge for a big network infrastructure and at the moment we > evaluate solutions for our nagios monitoring with configuration via > monarch. I really would like to create the new solution with nagios and > puppet. There is only one big problem. In our infrastructure there are a > lot of switches connected together like this: > > ------------ > | switch-1 | > ------------ > / \ > / \ > / \ > ------------ ------------ > | switch-2 |-----| switch-3 | > ------------ ------------ > | | > | | > ------------ ------------ > | switch-5 |-----| switch-4 | > ------------ ------------ >> Hi Lucy, > >> Although you have redundant physical interconnects for your switches, >> Spanning Tree, or Rapid Spanning Tree or even Multiple Spanning Tree >> protocols are taking effect and (probably) setting switch-1 as the Root >> with the other switches set to a higher spanning tree priority value - >> in any case, at layer two, during normal operation you don't have >> multiple active parents in the layer-2 infrastructure. > >> While you have redundancy, physically for your infrastructure, you are >> only using those links (for each VLAN at least), in a non-redundant way. > >> Setup your Nagios child / parent relationships as per spanning tree has >> worked out how it should be when everything is up, add some monitoring >> for spanning-tree within Nagios, that way everything will work, and >> you'll always be informed when something is wrong. > >> Thanks > >> Giles > > > All the time I try to configure this switch connections in nagios with > more than one parent, where the hosts are at the same time parent and > child, I get the following error: > > ERROR: The host 'switch-2' is part of a circular parent/child chain! > ... > > I know by now that this is because nagios has to be hierarchically, but > I do not understand why. Maybe somebody could tell me exactly why I > can?t configure this in nagios or better could tell me how I can do it. > I only found the explanation that this could conduct a deadlock. Maybe I > am wrong, but is this not a likely network infrastructure? At last it is > no problem to build something like this with STP running in your network. > > > Great Thanks in advanced > > Lucy >> >> ------------------------------------------------------------------------------ >> >> Monitor your physical, virtual and cloud infrastructure from a single >> web console. Get in-depth insight into apps, servers, databases, vmware, >> SAP, cloud infrastructure, etc. Download 30-day Free Trial. >> Pricing starts from $795 for 25 servers or applications! >> http://p.sf.net/sfu/zoho_dev2dev_nov >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null > > > > > ------------------------------------------------------------------------------ > Monitor your physical, virtual and cloud infrastructure from a single > web console. Get in-depth insight into apps, servers, databases, vmware, > SAP, cloud infrastructure, etc. Download 30-day Free Trial. > Pricing starts from $795 for 25 servers or applications! > http://p.sf.net/sfu/zoho_dev2dev_nov > > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) Comment: Using GnuPG with undefined - http://www.enigmail.net/ iQEcBAEBAgAGBQJQqoEvAAoJEBSbfrVvipeepxAIALhMBXkAgTKKtfLJaknRQ7hx QH6zuV2CbU0pUHbNrdtGhdT+GvoLV8zp0+aSinFxIhNDGbc13xEJQ0zzLA4t4Xjj 9SH8HvK7KHYYUvLAuW3Vxaq69sruEZW6J22GRB7tzJk02a8IqZjEUGa1ygwSC1NS KuWiji7JRS/p1D7M8QI+bBJs0SYpAWHAmfCGno9JJtJg80p/0SMwvioy+trolg2E QUQbWN+XWolgRR9YD75dJHugjD2RJysdbs/6hOzYnMKkpMi11IS9OvLGmWzdHpCh ENhcsN+2O290A39Bvt8fbjavUt6Jl2o88EXhzTtNaTFgViSNXvGTh64bCkHSy58= =Ka95 -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From j.vanarragon at lukkien.com Mon Nov 19 23:00:01 2012 From: j.vanarragon at lukkien.com (Jaap van Arragon) Date: Mon, 19 Nov 2012 23:00:01 +0100 Subject: Check_http status 503 gives 200 OK In-Reply-To: <52D26A61-E3A7-43B1-BDBA-B8DAEF0D1BAC@ederdrom.de> References: <52D26A61-E3A7-43B1-BDBA-B8DAEF0D1BAC@ederdrom.de> Message-ID: <20121119220001.4983b3c3@kms.lukkien.com> Hey Joerg, The 4xx and 3xx error are handeld correctly but not the 5xx error ;-) any ideas? Regards, Jaap _____ From: Joerg Linge [mailto:pitchfork at ederdrom.de] To: Nagios Users List [mailto:nagios-users at lists.sourceforge.net] Sent: Mon, 19 Nov 2012 18:07:52 +0100 Subject: Re: [Nagios-users] Check_http status 503 gives 200 OK Your example /usr/local/nagios/libexec/check_http -I -u http:// -w1 -c2 is a proxy request! -I = ip address to connect to -H = HTTP/1.1 Host Header -u = relative url to fetch without protocol infos like http:// some examples check nagios.org OMD[gearman]:~/lib/nagios/plugins$ ./check_http -H nagios.org HTTP OK: HTTP/1.1 200 OK - 54919 bytes in 1.703 second response time |time=1.703114s;;;0.000000 size=54919B;;;0 OMD[gearman]:~/lib/nagios/plugins$ host nagios.org nagios.org has address 96.126.126.159 ok, nagios .org runns on 96.126.126.159 lets check a non existing page. we got 404! OMD[gearman]:~/lib/nagios/plugins$ ./check_http -I 96.126.126.159 -H nagios.org -u /404 HTTP WARNING: HTTP/1.1 404 Not Found - 17141 bytes in 0.536 second response time |time=0.536015s;;;0.000000 size=17141B;;;0 lets ask nagios.org for icinga.org ;) and we will get a 302 OMD[gearman]:~/lib/nagios/plugins$ ./check_http -I 96.126.126.159 -H icinga.org -u / HTTP OK: HTTP/1.1 302 Found - 242 bytes in 1.837 second response time |time=1.837209s;;;0.000000 size=242B;;;0 Joerg Am 19.11.2012 um 17:14 schrieb Jaap van Arragon : > Thank you for your reply. > > I?ve tried the check without the ip adress option but it makes no difference. > > Any other ideas? > > Thanks. > > > On 11/19/12 2:29 PM, "Ryan Edwards" wrote: > >> You said u are using it like so: >> >> Check: >> /usr/local/nagios/libexec/check_http -I -u http:// -w1 -c2 >> >> Maybe drop the IP address? I dunno, maybe cuz you have both IP and the url its causing problems. Maybe its replying on the IP, but not on the URL your providing. You prob only need one or the other if im not mistaken >> >> Cheers! >> >> >> On Mon, Nov 19, 2012 at 7:14 AM, Jaap van Arragon wrote: >>> Hello, >>> >>> Does anyone know why it gives me a 200 back? >>> >>> If you need more info, I will gladly provide it ;-) >>> >>> Thank you. >>> >>> Regards, >>> >>> Jaap >>> >>> >>> On 11/16/12 11:54 AM, "Jaap van Arragon" wrote: >>> >>> > Hello, >>> > >>> > I?m trying to use the check_http plugin to verify if one of our website is >>> > available. >>> > >>> > When I check our website it gives me a 200 OK status code back even when the >>> > website isn?t available en the URL gives me a 503 status code through the >>> > browser. >>> > >>> > After some searching I came across the post below: >>> > >>> > http://permalink.gmane.org/gmane.network.nagios.plugins.devel/485 >>> > >>> > This states that there is a bug in check_http. The only thing is that the post >>> > is from 2003 so I expect that the necessary changes are already in the new >>> > release. >>> > >>> > Things I?ve tried: >>> > >>> > - recompiled the latest version of the check_http plugin but the necessary >>> > changes seems to be integrated there already. >>> > - updated the plugins package to the latest version for our release >>> > >>> > Check: >>> > /usr/local/nagios/libexec/check_http -I -u http:// -w1 -c2 >>> > >>> > Packages: >>> > >>> > ii nagios-images 0.5 >>> > ii nagios-nrpe-plugin 2.12-4ubuntu1.10.04.1 >>> > ii nagios-nrpe-server 2.12-4ubuntu1.10.04.1 >>> > ii nagios-plugins 1.4.14-1ubuntu1 >>> > ii nagios-plugins-basic 1.4.14-1ubuntu1 >>> > ii nagios-plugins-standard 1.4.14-1ubuntu1 >>> > ii nagios3 3.2.0-4ubuntu2.2 >>> > ii nagios3-cgi 3.2.0-4ubuntu2.2 >>> > ii nagios3-common 3.2.0-4ubuntu2.2 >>> > ii nagios3-core 3.2.0-4ubuntu2.2 >>> > ii nagiosgrapher 1.7.1-1 >>> > >>> > Does anyone know why it gives me a status 200 OK back? At the moment I can't >>> > rely on my Nagios checks.. >>> > >>> > Thank you in advance >>> > >>> > Regards >>> > Jaap >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> Monitor your physical, virtual and cloud infrastructure from a single >>> web console. Get in-depth insight into apps, servers, databases, vmware, >>> SAP, cloud infrastructure, etc. Download 30-day Free Trial. >>> Pricing starts from $795 for 25 servers or applications! >>> http://p.sf.net/sfu/zoho_dev2dev_nov >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >>> ::: Messages without supporting info will risk being sent to /dev/null >> >> > ------------------------------------------------------------------------------ > Monitor your physical, virtual and cloud infrastructure from a single > web console. Get in-depth insight into apps, servers, databases, vmware, > SAP, cloud infrastructure, etc. Download 30-day Free Trial. > Pricing starts from $795 for 25 servers or applications! > http://p.sf.net/sfu/zoho_dev2dev_nov_______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov -------------- 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 Tue Nov 20 08:20:50 2012 From: pitchfork at ederdrom.de (Joerg Linge) Date: Tue, 20 Nov 2012 08:20:50 +0100 Subject: Check_http status 503 gives 200 OK In-Reply-To: <20121119220001.4983b3c3@kms.lukkien.com> References: <20121119220001.4983b3c3@kms.lukkien.com> Message-ID: Please provide a complete example! check_http works correct since years Joerg Am 19.11.2012 um 23:00 schrieb "Jaap van Arragon" : > Hey Joerg, > > The 4xx and 3xx error are handeld correctly but not the 5xx error ;-) > > any ideas? > > Regards, > Jaap > From: Joerg Linge [mailto:pitchfork at ederdrom.de] > To: Nagios Users List [mailto:nagios-users at lists.sourceforge.net] > Sent: Mon, 19 Nov 2012 18:07:52 +0100 > Subject: Re: [Nagios-users] Check_http status 503 gives 200 OK > > > Your example > > /usr/local/nagios/libexec/check_http -I -u http:// -w1 -c2 > > is a proxy request! > > -I = ip address to connect to > -H = HTTP/1.1 Host Header > -u = relative url to fetch without protocol infos like http:// > > some examples > > check nagios.org > > OMD[gearman]:~/lib/nagios/plugins$ ./check_http -H nagios.org > HTTP OK: HTTP/1.1 200 OK - 54919 bytes in 1.703 second response time |time=1.703114s;;;0.000000 size=54919B;;;0 > > > OMD[gearman]:~/lib/nagios/plugins$ host nagios.org > nagios.org has address 96.126.126.159 > > ok, nagios .org runns on 96.126.126.159 > lets check a non existing page. we got 404! > > OMD[gearman]:~/lib/nagios/plugins$ ./check_http -I 96.126.126.159 -H nagios.org -u /404 > HTTP WARNING: HTTP/1.1 404 Not Found - 17141 bytes in 0.536 second response time |time=0.536015s;;;0.000000 size=17141B;;;0 > > lets ask nagios.org for icinga.org ;) and we will get a 302 > > OMD[gearman]:~/lib/nagios/plugins$ ./check_http -I 96.126.126.159 -H icinga.org -u / > HTTP OK: HTTP/1.1 302 Found - 242 bytes in 1.837 second response time |time=1.837209s;;;0.000000 size=242B;;;0 > > Joerg > > Am 19.11.2012 um 17:14 schrieb Jaap van Arragon : > > > Thank you for your reply. > > > > I?ve tried the check without the ip adress option but it makes no difference. > > > > Any other ideas? > > > > Thanks. > > > > > > On 11/19/12 2:29 PM, "Ryan Edwards" wrote: > > > >> You said u are using it like so: > >> > >> Check: > >> /usr/local/nagios/libexec/check_http -I -u http:// -w1 -c2 > >> > >> Maybe drop the IP address? I dunno, maybe cuz you have both IP and the url its causing problems. Maybe its replying on the IP, but not on the URL your providing. You prob only need one or the other if im not mistaken > >> > >> Cheers! > >> > >> > >> On Mon, Nov 19, 2012 at 7:14 AM, Jaap van Arragon wrote: > >>> Hello, > >>> > >>> Does anyone know why it gives me a 200 back? > >>> > >>> If you need more info, I will gladly provide it ;-) > >>> > >>> Thank you. > >>> > >>> Regards, > >>> > >>> Jaap > >>> > >>> > >>> On 11/16/12 11:54 AM, "Jaap van Arragon" wrote: > >>> > >>> > Hello, > >>> > > >>> > I?m trying to use the check_http plugin to verify if one of our website is > >>> > available. > >>> > > >>> > When I check our website it gives me a 200 OK status code back even when the > >>> > website isn?t available en the URL gives me a 503 status code through the > >>> > browser. > >>> > > >>> > After some searching I came across the post below: > >>> > > >>> > http://permalink.gmane.org/gmane.network.nagios.plugins.devel/485 > >>> > > >>> > This states that there is a bug in check_http. The only thing is that the post > >>> > is from 2003 so I expect that the necessary changes are already in the new > >>> > release. > >>> > > >>> > Things I?ve tried: > >>> > > >>> > - recompiled the latest version of the check_http plugin but the necessary > >>> > changes seems to be integrated there already. > >>> > - updated the plugins package to the latest version for our release > >>> > > >>> > Check: > >>> > /usr/local/nagios/libexec/check_http -I -u http:// -w1 -c2 > >>> > > >>> > Packages: > >>> > > >>> > ii nagios-images 0.5 > >>> > ii nagios-nrpe-plugin 2.12-4ubuntu1.10.04.1 > >>> > ii nagios-nrpe-server 2.12-4ubuntu1.10.04.1 > >>> > ii nagios-plugins 1.4.14-1ubuntu1 > >>> > ii nagios-plugins-basic 1.4.14-1ubuntu1 > >>> > ii nagios-plugins-standard 1.4.14-1ubuntu1 > >>> > ii nagios3 3.2.0-4ubuntu2.2 > >>> > ii nagios3-cgi 3.2.0-4ubuntu2.2 > >>> > ii nagios3-common 3.2.0-4ubuntu2.2 > >>> > ii nagios3-core 3.2.0-4ubuntu2.2 > >>> > ii nagiosgrapher 1.7.1-1 > >>> > > >>> > Does anyone know why it gives me a status 200 OK back? At the moment I can't > >>> > rely on my Nagios checks.. > >>> > > >>> > Thank you in advance > >>> > > >>> > Regards > >>> > Jaap > >>> > >>> > >>> > >>> ------------------------------------------------------------------------------ > >>> Monitor your physical, virtual and cloud infrastructure from a single > >>> web console. Get in-depth insight into apps, servers, databases, vmware, > >>> SAP, cloud infrastructure, etc. Download 30-day Free Trial. > >>> Pricing starts from $795 for 25 servers or applications! > >>> http://p.sf.net/sfu/zoho_dev2dev_nov > >>> _______________________________________________ > >>> Nagios-users mailing list > >>> Nagios-users at lists.sourceforge.net > >>> https://lists.sourceforge.net/lists/listinfo/nagios-users > >>> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > >>> ::: Messages without supporting info will risk being sent to /dev/null > >> > >> > > ------------------------------------------------------------------------------ > > Monitor your physical, virtual and cloud infrastructure from a single > > web console. Get in-depth insight into apps, servers, databases, vmware, > > SAP, cloud infrastructure, etc. Download 30-day Free Trial. > > Pricing starts from $795 for 25 servers or applications! > > http://p.sf.net/sfu/zoho_dev2dev_nov_______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------------------------------ > Monitor your physical, virtual and cloud infrastructure from a single > web console. Get in-depth insight into apps, servers, databases, vmware, > SAP, cloud infrastructure, etc. Download 30-day Free Trial. > Pricing starts from $795 for 25 servers or applications! > http://p.sf.net/sfu/zoho_dev2dev_nov > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ > Monitor your physical, virtual and cloud infrastructure from a single > web console. Get in-depth insight into apps, servers, databases, vmware, > SAP, cloud infrastructure, etc. Download 30-day Free Trial. > Pricing starts from $795 for 25 servers or applications! > http://p.sf.net/sfu/zoho_dev2dev_nov_______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From j.vanarragon at lukkien.com Tue Nov 20 08:35:25 2012 From: j.vanarragon at lukkien.com (Jaap van Arragon) Date: Tue, 20 Nov 2012 08:35:25 +0100 Subject: Check_http status 503 gives 200 OK In-Reply-To: References: Message-ID: Herewith define service{ use generic-service_24x7 host_name www1 service_description check http check_command check_http! -u http://www.testsomething.com -w 5 -c 8 } This gives me a HTTP OK: HTTP/1.1 200 OK - 414 bytes in 0.002 second response time? Back. But in the browser the check gives me a 503 statuscode back. The Nagios check_http script isn't detecting this 503 error message. Regards, Jaap On 11/20/12 8:20 AM, "Joerg Linge" wrote: > Please provide a complete example! > check_http works correct since years > > Joerg > > Am 19.11.2012 um 23:00 schrieb "Jaap van Arragon" : > >> Hey Joerg, >> >> The 4xx and 3xx error are handeld correctly but not the 5xx error ;-) >> >> any ideas? >> >> Regards, >> Jaap >> From: Joerg Linge [mailto:pitchfork at ederdrom.de] >> To: Nagios Users List [mailto:nagios-users at lists.sourceforge.net] >> Sent: Mon, 19 Nov 2012 18:07:52 +0100 >> Subject: Re: [Nagios-users] Check_http status 503 gives 200 OK >> >> >> Your example >> >> /usr/local/nagios/libexec/check_http -I -u http:// -w1 -c2 >> >> is a proxy request! >> >> -I = ip address to connect to >> -H = HTTP/1.1 Host Header >> -u = relative url to fetch without protocol infos like http:// >> >> some examples >> >> check nagios.org >> >> OMD[gearman]:~/lib/nagios/plugins$ ./check_http -H nagios.org >> HTTP OK: HTTP/1.1 200 OK - 54919 bytes in 1.703 second response time >> |time=1.703114s;;;0.000000 size=54919B;;;0 >> >> >> OMD[gearman]:~/lib/nagios/plugins$ host nagios.org >> nagios.org has address 96.126.126.159 >> >> ok, nagios .org runns on 96.126.126.159 >> lets check a non existing page. we got 404! >> >> OMD[gearman]:~/lib/nagios/plugins$ ./check_http -I 96.126.126.159 -H >> nagios.org -u /404 >> HTTP WARNING: HTTP/1.1 404 Not Found - 17141 bytes in 0.536 second response >> time |time=0.536015s;;;0.000000 size=17141B;;;0 >> >> lets ask nagios.org for icinga.org ;) and we will get a 302 >> >> OMD[gearman]:~/lib/nagios/plugins$ ./check_http -I 96.126.126.159 -H >> icinga.org -u / >> HTTP OK: HTTP/1.1 302 Found - 242 bytes in 1.837 second response time >> |time=1.837209s;;;0.000000 size=242B;;;0 >> >> Joerg >> >> Am 19.11.2012 um 17:14 schrieb Jaap van Arragon : >> >>> Thank you for your reply. >>> >>> I?ve tried the check without the ip adress option but it makes no >>> difference. >>> >>> Any other ideas? >>> >>> Thanks. >>> >>> >>> On 11/19/12 2:29 PM, "Ryan Edwards" wrote: >>> >>>> You said u are using it like so: >>>> >>>> Check: >>>> /usr/local/nagios/libexec/check_http -I -u http:// -w1 >>>> -c2 >>>> >>>> Maybe drop the IP address? I dunno, maybe cuz you have both IP and the url >>>> its causing problems. Maybe its replying on the IP, but not on the URL your >>>> providing. You prob only need one or the other if im not mistaken >>>> >>>> Cheers! >>>> >>>> >>>> On Mon, Nov 19, 2012 at 7:14 AM, Jaap van Arragon >>>> wrote: >>>>> Hello, >>>>> >>>>> Does anyone know why it gives me a 200 back? >>>>> >>>>> If you need more info, I will gladly provide it ;-) >>>>> >>>>> Thank you. >>>>> >>>>> Regards, >>>>> >>>>> Jaap >>>>> >>>>> >>>>> On 11/16/12 11:54 AM, "Jaap van Arragon" wrote: >>>>> >>>>>> Hello, >>>>>> >>>>>> I?m trying to use the check_http plugin to verify if one of our website >>>>>> is >>>>>> available. >>>>>> >>>>>> When I check our website it gives me a 200 OK status code back even when >>>>>> the >>>>>> website isn?t available en the URL gives me a 503 status code through the >>>>>> browser. >>>>>> >>>>>> After some searching I came across the post below: >>>>>> >>>>>> http://permalink.gmane.org/gmane.network.nagios.plugins.devel/485 >>>>>> >>>>>> This states that there is a bug in check_http. The only thing is that the >>>>>> post >>>>>> is from 2003 so I expect that the necessary changes are already in the >>>>>> new >>>>>> release. >>>>>> >>>>>> Things I?ve tried: >>>>>> >>>>>> - recompiled the latest version of the check_http plugin but the >>>>>> necessary >>>>>> changes seems to be integrated there already. >>>>>> - updated the plugins package to the latest version for our release >>>>>> >>>>>> Check: >>>>>> /usr/local/nagios/libexec/check_http -I -u http:// -w1 >>>>>> -c2 >>>>>> >>>>>> Packages: >>>>>> >>>>>> ii nagios-images 0.5 >>>>>> ii nagios-nrpe-plugin 2.12-4ubuntu1.10.04.1 >>>>>> ii nagios-nrpe-server 2.12-4ubuntu1.10.04.1 >>>>>> ii nagios-plugins 1.4.14-1ubuntu1 >>>>>> ii nagios-plugins-basic 1.4.14-1ubuntu1 >>>>>> ii nagios-plugins-standard 1.4.14-1ubuntu1 >>>>>> ii nagios3 3.2.0-4ubuntu2.2 >>>>>> ii nagios3-cgi 3.2.0-4ubuntu2.2 >>>>>> ii nagios3-common 3.2.0-4ubuntu2.2 >>>>>> ii nagios3-core 3.2.0-4ubuntu2.2 >>>>>> ii nagiosgrapher 1.7.1-1 >>>>>> >>>>>> Does anyone know why it gives me a status 200 OK back? At the moment I >>>>>> can't >>>>>> rely on my Nagios checks.. >>>>>> >>>>>> Thank you in advance >>>>>> >>>>>> Regards >>>>>> Jaap >>>>> >>>>> >>>>> >>>>> -------------------------------------------------------------------------- >>>>> ---- >>>>> Monitor your physical, virtual and cloud infrastructure from a single >>>>> web console. Get in-depth insight into apps, servers, databases, vmware, >>>>> SAP, cloud infrastructure, etc. Download 30-day Free Trial. >>>>> Pricing starts from $795 for 25 servers or applications! >>>>> http://p.sf.net/sfu/zoho_dev2dev_nov >>>>> _______________________________________________ >>>>> Nagios-users mailing list >>>>> Nagios-users at lists.sourceforge.net >>>>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>>>> ::: Please include Nagios version, plugin version (-v) and OS when >>>>> reporting any issue. >>>>> ::: Messages without supporting info will risk being sent to /dev/null >>>> >>>> >>> ---------------------------------------------------------------------------- >>> -- >>> Monitor your physical, virtual and cloud infrastructure from a single >>> web console. Get in-depth insight into apps, servers, databases, vmware, >>> SAP, cloud infrastructure, etc. Download 30-day Free Trial. >>> Pricing starts from $795 for 25 servers or applications! >>> http://p.sf.net/sfu/zoho_dev2dev_nov________________________________________ >>> _______ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: Please include Nagios version, plugin version (-v) and OS when reporting >>> any issue. >>> ::: Messages without supporting info will risk being sent to /dev/null >> >> >> ----------------------------------------------------------------------------->> - >> Monitor your physical, virtual and cloud infrastructure from a single >> web console. Get in-depth insight into apps, servers, databases, vmware, >> SAP, cloud infrastructure, etc. Download 30-day Free Trial. >> Pricing starts from $795 for 25 servers or applications! >> http://p.sf.net/sfu/zoho_dev2dev_nov >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting >> any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> ----------------------------------------------------------------------------->> - >> Monitor your physical, virtual and cloud infrastructure from a single >> web console. Get in-depth insight into apps, servers, databases, vmware, >> SAP, cloud infrastructure, etc. Download 30-day Free Trial. >> Pricing starts from $795 for 25 servers or applications! >> http://p.sf.net/sfu/zoho_dev2dev_nov_________________________________________ >> ______ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting >> any issue. >> ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------------------------------ > Monitor your physical, virtual and cloud infrastructure from a single > web console. Get in-depth insight into apps, servers, databases, vmware, > SAP, cloud infrastructure, etc. Download 30-day Free Trial. > Pricing starts from $795 for 25 servers or applications! > http://p.sf.net/sfu/zoho_dev2dev_nov > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Nov 20 09:05:32 2012 From: pitchfork at ederdrom.de (Joerg Linge) Date: Tue, 20 Nov 2012 09:05:32 +0100 Subject: Check_http status 503 gives 200 OK In-Reply-To: References: Message-ID: <6CB8A6E4-A6D1-4610-9D4B-C3F3E0714564@ederdrom.de> again check_http -H .... -u http://www.testsomething.com is a proxy request. NOT an valid HTTP request Joerg Am 20.11.2012 um 08:35 schrieb Jaap van Arragon : > Herewith > > define service{ > use generic-service_24x7 > host_name www1 > service_description check http > check_command check_http! -u > http://www.testsomething.com -w 5 -c 8 > } > > This gives me a > > HTTP OK: HTTP/1.1 200 OK - 414 bytes in 0.002 second response time > > Back. > > > But in the browser the check gives me a > > 503 statuscode back. > > The Nagios check_http script isn't detecting this 503 error message. > > Regards, > > Jaap > > > On 11/20/12 8:20 AM, "Joerg Linge" wrote: > >> Please provide a complete example! >> check_http works correct since years >> >> Joerg >> >> Am 19.11.2012 um 23:00 schrieb "Jaap van Arragon" : >> >>> Hey Joerg, >>> >>> The 4xx and 3xx error are handeld correctly but not the 5xx error ;-) >>> >>> any ideas? >>> >>> Regards, >>> Jaap >>> From: Joerg Linge [mailto:pitchfork at ederdrom.de] >>> To: Nagios Users List [mailto:nagios-users at lists.sourceforge.net] >>> Sent: Mon, 19 Nov 2012 18:07:52 +0100 >>> Subject: Re: [Nagios-users] Check_http status 503 gives 200 OK >>> >>> >>> Your example >>> >>> /usr/local/nagios/libexec/check_http -I -u http:// -w1 -c2 >>> >>> is a proxy request! >>> >>> -I = ip address to connect to >>> -H = HTTP/1.1 Host Header >>> -u = relative url to fetch without protocol infos like http:// >>> >>> some examples >>> >>> check nagios.org >>> >>> OMD[gearman]:~/lib/nagios/plugins$ ./check_http -H nagios.org >>> HTTP OK: HTTP/1.1 200 OK - 54919 bytes in 1.703 second response time >>> |time=1.703114s;;;0.000000 size=54919B;;;0 >>> >>> >>> OMD[gearman]:~/lib/nagios/plugins$ host nagios.org >>> nagios.org has address 96.126.126.159 >>> >>> ok, nagios .org runns on 96.126.126.159 >>> lets check a non existing page. we got 404! >>> >>> OMD[gearman]:~/lib/nagios/plugins$ ./check_http -I 96.126.126.159 -H >>> nagios.org -u /404 >>> HTTP WARNING: HTTP/1.1 404 Not Found - 17141 bytes in 0.536 second response >>> time |time=0.536015s;;;0.000000 size=17141B;;;0 >>> >>> lets ask nagios.org for icinga.org ;) and we will get a 302 >>> >>> OMD[gearman]:~/lib/nagios/plugins$ ./check_http -I 96.126.126.159 -H >>> icinga.org -u / >>> HTTP OK: HTTP/1.1 302 Found - 242 bytes in 1.837 second response time >>> |time=1.837209s;;;0.000000 size=242B;;;0 >>> >>> Joerg >>> >>> Am 19.11.2012 um 17:14 schrieb Jaap van Arragon : >>> >>>> Thank you for your reply. >>>> >>>> I?ve tried the check without the ip adress option but it makes no >>>> difference. >>>> >>>> Any other ideas? >>>> >>>> Thanks. >>>> >>>> >>>> On 11/19/12 2:29 PM, "Ryan Edwards" wrote: >>>> >>>>> You said u are using it like so: >>>>> >>>>> Check: >>>>> /usr/local/nagios/libexec/check_http -I -u http:// -w1 >>>>> -c2 >>>>> >>>>> Maybe drop the IP address? I dunno, maybe cuz you have both IP and the url >>>>> its causing problems. Maybe its replying on the IP, but not on the URL your >>>>> providing. You prob only need one or the other if im not mistaken >>>>> >>>>> Cheers! >>>>> >>>>> >>>>> On Mon, Nov 19, 2012 at 7:14 AM, Jaap van Arragon >>>>> wrote: >>>>>> Hello, >>>>>> >>>>>> Does anyone know why it gives me a 200 back? >>>>>> >>>>>> If you need more info, I will gladly provide it ;-) >>>>>> >>>>>> Thank you. >>>>>> >>>>>> Regards, >>>>>> >>>>>> Jaap >>>>>> >>>>>> >>>>>> On 11/16/12 11:54 AM, "Jaap van Arragon" wrote: >>>>>> >>>>>>> Hello, >>>>>>> >>>>>>> I?m trying to use the check_http plugin to verify if one of our website >>>>>>> is >>>>>>> available. >>>>>>> >>>>>>> When I check our website it gives me a 200 OK status code back even when >>>>>>> the >>>>>>> website isn?t available en the URL gives me a 503 status code through the >>>>>>> browser. >>>>>>> >>>>>>> After some searching I came across the post below: >>>>>>> >>>>>>> http://permalink.gmane.org/gmane.network.nagios.plugins.devel/485 >>>>>>> >>>>>>> This states that there is a bug in check_http. The only thing is that the >>>>>>> post >>>>>>> is from 2003 so I expect that the necessary changes are already in the >>>>>>> new >>>>>>> release. >>>>>>> >>>>>>> Things I?ve tried: >>>>>>> >>>>>>> - recompiled the latest version of the check_http plugin but the >>>>>>> necessary >>>>>>> changes seems to be integrated there already. >>>>>>> - updated the plugins package to the latest version for our release >>>>>>> >>>>>>> Check: >>>>>>> /usr/local/nagios/libexec/check_http -I -u http:// -w1 >>>>>>> -c2 >>>>>>> >>>>>>> Packages: >>>>>>> >>>>>>> ii nagios-images 0.5 >>>>>>> ii nagios-nrpe-plugin 2.12-4ubuntu1.10.04.1 >>>>>>> ii nagios-nrpe-server 2.12-4ubuntu1.10.04.1 >>>>>>> ii nagios-plugins 1.4.14-1ubuntu1 >>>>>>> ii nagios-plugins-basic 1.4.14-1ubuntu1 >>>>>>> ii nagios-plugins-standard 1.4.14-1ubuntu1 >>>>>>> ii nagios3 3.2.0-4ubuntu2.2 >>>>>>> ii nagios3-cgi 3.2.0-4ubuntu2.2 >>>>>>> ii nagios3-common 3.2.0-4ubuntu2.2 >>>>>>> ii nagios3-core 3.2.0-4ubuntu2.2 >>>>>>> ii nagiosgrapher 1.7.1-1 >>>>>>> >>>>>>> Does anyone know why it gives me a status 200 OK back? At the moment I >>>>>>> can't >>>>>>> rely on my Nagios checks.. >>>>>>> >>>>>>> Thank you in advance >>>>>>> >>>>>>> Regards >>>>>>> Jaap >>>>>> >>>>>> >>>>>> >>>>>> -------------------------------------------------------------------------- >>>>>> ---- >>>>>> Monitor your physical, virtual and cloud infrastructure from a single >>>>>> web console. Get in-depth insight into apps, servers, databases, vmware, >>>>>> SAP, cloud infrastructure, etc. Download 30-day Free Trial. >>>>>> Pricing starts from $795 for 25 servers or applications! >>>>>> http://p.sf.net/sfu/zoho_dev2dev_nov >>>>>> _______________________________________________ >>>>>> Nagios-users mailing list >>>>>> Nagios-users at lists.sourceforge.net >>>>>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>>>>> ::: Please include Nagios version, plugin version (-v) and OS when >>>>>> reporting any issue. >>>>>> ::: Messages without supporting info will risk being sent to /dev/null >>>>> >>>>> >>>> ---------------------------------------------------------------------------- >>>> -- >>>> Monitor your physical, virtual and cloud infrastructure from a single >>>> web console. Get in-depth insight into apps, servers, databases, vmware, >>>> SAP, cloud infrastructure, etc. Download 30-day Free Trial. >>>> Pricing starts from $795 for 25 servers or applications! >>>> http://p.sf.net/sfu/zoho_dev2dev_nov________________________________________ >>>> _______ >>>> Nagios-users mailing list >>>> Nagios-users at lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>>> ::: Please include Nagios version, plugin version (-v) and OS when reporting >>>> any issue. >>>> ::: Messages without supporting info will risk being sent to /dev/null >>> >>> >>> > ----------------------------------------------------------------------------->> > - >>> Monitor your physical, virtual and cloud infrastructure from a single >>> web console. Get in-depth insight into apps, servers, databases, vmware, >>> SAP, cloud infrastructure, etc. Download 30-day Free Trial. >>> Pricing starts from $795 for 25 servers or applications! >>> http://p.sf.net/sfu/zoho_dev2dev_nov >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: Please include Nagios version, plugin version (-v) and OS when reporting >>> any issue. >>> ::: Messages without supporting info will risk being sent to /dev/null >>> > ----------------------------------------------------------------------------->> > - >>> Monitor your physical, virtual and cloud infrastructure from a single >>> web console. Get in-depth insight into apps, servers, databases, vmware, >>> SAP, cloud infrastructure, etc. Download 30-day Free Trial. >>> Pricing starts from $795 for 25 servers or applications! >>> http://p.sf.net/sfu/zoho_dev2dev_nov_________________________________________ >>> ______ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: Please include Nagios version, plugin version (-v) and OS when reporting >>> any issue. >>> ::: Messages without supporting info will risk being sent to /dev/null >> >> >> ------------------------------------------------------------------------------ >> Monitor your physical, virtual and cloud infrastructure from a single >> web console. Get in-depth insight into apps, servers, databases, vmware, >> SAP, cloud infrastructure, etc. Download 30-day Free Trial. >> Pricing starts from $795 for 25 servers or applications! >> http://p.sf.net/sfu/zoho_dev2dev_nov >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting >> any issue. >> ::: Messages without supporting info will risk being sent to /dev/null > > > > ------------------------------------------------------------------------------ > Monitor your physical, virtual and cloud infrastructure from a single > web console. Get in-depth insight into apps, servers, databases, vmware, > SAP, cloud infrastructure, etc. Download 30-day Free Trial. > Pricing starts from $795 for 25 servers or applications! > http://p.sf.net/sfu/zoho_dev2dev_nov > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 20 09:55:59 2012 From: ae at op5.se (Andreas Ericsson) Date: Tue, 20 Nov 2012 09:55:59 +0100 Subject: circular parent/child chain In-Reply-To: <50AA812F.6020608@pelzeronline.de> References: <50A7C474.7060604@pelzeronline.de> <50A7F713.1030801@coochey.net> <50AA812F.6020608@pelzeronline.de> Message-ID: <50AB459F.3050503@op5.se> On 11/19/2012 07:57 PM, Lucy Pelzer wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi List, > > thanks for your fast replies, but I think you missed my point. I know > that I could configure one parent and alert about spanning tree or do a > lot of other stuff, but this would not help me at all in the following > situations. > > Lets say that I have a lot of important infrastructure behind switch-4 > and switch-5 and that the "normal" stp way is to route through switch-2 > for switch-5 and for switch-4 to switch-3. Lets also suggest that at > switch-2 there is not that much important infrastructure. If now > switch-2 is failing at the same time a really important infrastructure > behind switch-5 fails. I will only get informed that switch-2 failed, > because switch-5 is a child of switch-2, but I will not be informed > about the more important stuff at switch-5. Now I will spend a lot of > time to exchange switch-2 before I even find out that there is something > really important at switch-5 going on only because I could not give it a > second parent (switch-4). Maybe the other problem would have been fixed > in minutes if I would have known about it. I think it is a bad idea to > have such parent/child chains. And please keep in mind that this is just > a simple example and that a network can be much bigger than just 5 switches. > > The other point is that I will never see the real network infrastructure > in the statusmap. As far as I can read the documentation I should also > be able to build up my whole infrastructure like it is in the statusmap. > Or for what is it at all? > parent/child relations are primarily to block notifications for stuff that is only down because some earlier stage in the traffic shoveling is down. > I would be really pleased if somebody could answer my question. > > - - Why is it in nagios not possible to be parent/child of a other host at > the same time? > - - Why is it a deadlock and where is the problem? > Because if A is a parent of B and B is a parent of A we'd never run out of parents to check when trying to determine the root cause of the problem. -- 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. ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From m.borsani at it.net Tue Nov 20 10:10:14 2012 From: m.borsani at it.net (Marco Borsani) Date: Tue, 20 Nov 2012 10:10:14 +0100 Subject: R: little question about disable notification and schedule downtime In-Reply-To: <96F2CCD5CB684D46BA39D6060E6574A42FFFC7B7B8@MSCPCWEXMAA1.bsg.ad.adp.com> References: <02c701cdc668$0d3cf6d0$27b6e470$@it.net> <96F2CCD5CB684D46BA39D6060E6574A42FFFC7B7B8@MSCPCWEXMAA1.bsg.ad.adp.com> Message-ID: <004801cdc6fe$e0440780$a0cc1680$@it.net> Thank you. What do you mean with ?drop that command into nagios.cmd? ? Marco Da: Onotsky, Steve x55328 [mailto:Steve.Onotsky at broadridge.com] Inviato: luned? 19 novembre 2012 17:28 A: Nagios Users List Oggetto: Re: [Nagios-users] little question about disable notification and schedule downtime Correct. The former will cause notifications to remain disabled until told otherwise; the latter only for as long as specified. You should read up on the difference between Fixed and Flexible scheduled downtime while you?re at it. If you want service/host checks disabled, you need to select that option from the web GUI (or drop that command into nagios.cmd). 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 The purpose of the universe is to explore the realm of possibility. Our purpose is to witness it. - S. James Gates Jr. From: Marco Borsani [mailto:m.borsani at it.net] Sent: Monday, November 19, 2012 10:11 AM To: NAGIOS Subject: [Nagios-users] little question about disable notification and schedule downtime Hi all Reading for the first time the docs it seems that these 2 options do the same thing. Is it ? Is the only difference that the first one disable the notification forever, while the other only in a particular timeperiod ? Both do not stop the service checks. Marco Borsani Unix and Monitoring Sysadmin Technical Operations Dpt. tel: +39 010 4310115 fax: +39 02 30130311 cell: +39 329 5953944 ITnet Srl Societ? con socio unico Direzione e Coordinamento di Libero S.r.l. 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. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From travisrunyard at gmail.com Tue Nov 20 10:26:00 2012 From: travisrunyard at gmail.com (Travis Runyard) Date: Tue, 20 Nov 2012 01:26:00 -0800 Subject: Check_http status 503 gives 200 OK In-Reply-To: <6CB8A6E4-A6D1-4610-9D4B-C3F3E0714564@ederdrom.de> References: <6CB8A6E4-A6D1-4610-9D4B-C3F3E0714564@ederdrom.de> Message-ID: He's not using host headers in his definition. On Tue, Nov 20, 2012 at 12:05 AM, Joerg Linge wrote: > again > > check_http -H .... -u http://www.testsomething.com > > is a proxy request. NOT an valid HTTP request > > Joerg > > Am 20.11.2012 um 08:35 schrieb Jaap van Arragon >: > > > Herewith > > > > define service{ > > use generic-service_24x7 > > host_name www1 > > service_description check http > > check_command check_http! -u > > http://www.testsomething.com -w 5 -c 8 > > } > > > > This gives me a > > > > HTTP OK: HTTP/1.1 200 OK - 414 bytes in 0.002 second response time > > > > Back. > > > > > > But in the browser the check gives me a > > > > 503 statuscode back. > > > > The Nagios check_http script isn't detecting this 503 error message. > > > > Regards, > > > > Jaap > > > > > > On 11/20/12 8:20 AM, "Joerg Linge" wrote: > > > >> Please provide a complete example! > >> check_http works correct since years > >> > >> Joerg > >> > >> Am 19.11.2012 um 23:00 schrieb "Jaap van Arragon" < > j.vanarragon at lukkien.com>: > >> > >>> Hey Joerg, > >>> > >>> The 4xx and 3xx error are handeld correctly but not the 5xx error ;-) > >>> > >>> any ideas? > >>> > >>> Regards, > >>> Jaap > >>> From: Joerg Linge [mailto:pitchfork at ederdrom.de] > >>> To: Nagios Users List [mailto:nagios-users at lists.sourceforge.net] > >>> Sent: Mon, 19 Nov 2012 18:07:52 +0100 > >>> Subject: Re: [Nagios-users] Check_http status 503 gives 200 OK > >>> > >>> > >>> Your example > >>> > >>> /usr/local/nagios/libexec/check_http -I -u http:// > -w1 -c2 > >>> > >>> is a proxy request! > >>> > >>> -I = ip address to connect to > >>> -H = HTTP/1.1 Host Header > >>> -u = relative url to fetch without protocol infos like http:// > >>> > >>> some examples > >>> > >>> check nagios.org > >>> > >>> OMD[gearman]:~/lib/nagios/plugins$ ./check_http -H nagios.org > >>> HTTP OK: HTTP/1.1 200 OK - 54919 bytes in 1.703 second response time > >>> |time=1.703114s;;;0.000000 size=54919B;;;0 > >>> > >>> > >>> OMD[gearman]:~/lib/nagios/plugins$ host nagios.org > >>> nagios.org has address 96.126.126.159 > >>> > >>> ok, nagios .org runns on 96.126.126.159 > >>> lets check a non existing page. we got 404! > >>> > >>> OMD[gearman]:~/lib/nagios/plugins$ ./check_http -I 96.126.126.159 -H > >>> nagios.org -u /404 > >>> HTTP WARNING: HTTP/1.1 404 Not Found - 17141 bytes in 0.536 second > response > >>> time |time=0.536015s;;;0.000000 size=17141B;;;0 > >>> > >>> lets ask nagios.org for icinga.org ;) and we will get a 302 > >>> > >>> OMD[gearman]:~/lib/nagios/plugins$ ./check_http -I 96.126.126.159 -H > >>> icinga.org -u / > >>> HTTP OK: HTTP/1.1 302 Found - 242 bytes in 1.837 second response time > >>> |time=1.837209s;;;0.000000 size=242B;;;0 > >>> > >>> Joerg > >>> > >>> Am 19.11.2012 um 17:14 schrieb Jaap van Arragon < > j.vanarragon at lukkien.com>: > >>> > >>>> Thank you for your reply. > >>>> > >>>> I?ve tried the check without the ip adress option but it makes no > >>>> difference. > >>>> > >>>> Any other ideas? > >>>> > >>>> Thanks. > >>>> > >>>> > >>>> On 11/19/12 2:29 PM, "Ryan Edwards" wrote: > >>>> > >>>>> You said u are using it like so: > >>>>> > >>>>> Check: > >>>>> /usr/local/nagios/libexec/check_http -I -u http:// > -w1 > >>>>> -c2 > >>>>> > >>>>> Maybe drop the IP address? I dunno, maybe cuz you have both IP and > the url > >>>>> its causing problems. Maybe its replying on the IP, but not on the > URL your > >>>>> providing. You prob only need one or the other if im not mistaken > >>>>> > >>>>> Cheers! > >>>>> > >>>>> > >>>>> On Mon, Nov 19, 2012 at 7:14 AM, Jaap van Arragon > >>>>> wrote: > >>>>>> Hello, > >>>>>> > >>>>>> Does anyone know why it gives me a 200 back? > >>>>>> > >>>>>> If you need more info, I will gladly provide it ;-) > >>>>>> > >>>>>> Thank you. > >>>>>> > >>>>>> Regards, > >>>>>> > >>>>>> Jaap > >>>>>> > >>>>>> > >>>>>> On 11/16/12 11:54 AM, "Jaap van Arragon" > wrote: > >>>>>> > >>>>>>> Hello, > >>>>>>> > >>>>>>> I?m trying to use the check_http plugin to verify if one of our > website > >>>>>>> is > >>>>>>> available. > >>>>>>> > >>>>>>> When I check our website it gives me a 200 OK status code back > even when > >>>>>>> the > >>>>>>> website isn?t available en the URL gives me a 503 status code > through the > >>>>>>> browser. > >>>>>>> > >>>>>>> After some searching I came across the post below: > >>>>>>> > >>>>>>> http://permalink.gmane.org/gmane.network.nagios.plugins.devel/485 > >>>>>>> > >>>>>>> This states that there is a bug in check_http. The only thing is > that the > >>>>>>> post > >>>>>>> is from 2003 so I expect that the necessary changes are already in > the > >>>>>>> new > >>>>>>> release. > >>>>>>> > >>>>>>> Things I?ve tried: > >>>>>>> > >>>>>>> - recompiled the latest version of the check_http plugin but the > >>>>>>> necessary > >>>>>>> changes seems to be integrated there already. > >>>>>>> - updated the plugins package to the latest version for our release > >>>>>>> > >>>>>>> Check: > >>>>>>> /usr/local/nagios/libexec/check_http -I -u http:// > -w1 > >>>>>>> -c2 > >>>>>>> > >>>>>>> Packages: > >>>>>>> > >>>>>>> ii nagios-images 0.5 > >>>>>>> ii nagios-nrpe-plugin 2.12-4ubuntu1.10.04.1 > >>>>>>> ii nagios-nrpe-server 2.12-4ubuntu1.10.04.1 > >>>>>>> ii nagios-plugins 1.4.14-1ubuntu1 > >>>>>>> ii nagios-plugins-basic 1.4.14-1ubuntu1 > >>>>>>> ii nagios-plugins-standard 1.4.14-1ubuntu1 > >>>>>>> ii nagios3 3.2.0-4ubuntu2.2 > >>>>>>> ii nagios3-cgi 3.2.0-4ubuntu2.2 > >>>>>>> ii nagios3-common 3.2.0-4ubuntu2.2 > >>>>>>> ii nagios3-core 3.2.0-4ubuntu2.2 > >>>>>>> ii nagiosgrapher 1.7.1-1 > >>>>>>> > >>>>>>> Does anyone know why it gives me a status 200 OK back? At the > moment I > >>>>>>> can't > >>>>>>> rely on my Nagios checks.. > >>>>>>> > >>>>>>> Thank you in advance > >>>>>>> > >>>>>>> Regards > >>>>>>> Jaap > >>>>>> > >>>>>> > >>>>>> > >>>>>> > -------------------------------------------------------------------------- > >>>>>> ---- > >>>>>> Monitor your physical, virtual and cloud infrastructure from a > single > >>>>>> web console. Get in-depth insight into apps, servers, databases, > vmware, > >>>>>> SAP, cloud infrastructure, etc. Download 30-day Free Trial. > >>>>>> Pricing starts from $795 for 25 servers or applications! > >>>>>> http://p.sf.net/sfu/zoho_dev2dev_nov > >>>>>> _______________________________________________ > >>>>>> Nagios-users mailing list > >>>>>> Nagios-users at lists.sourceforge.net > >>>>>> https://lists.sourceforge.net/lists/listinfo/nagios-users > >>>>>> ::: Please include Nagios version, plugin version (-v) and OS when > >>>>>> reporting any issue. > >>>>>> ::: Messages without supporting info will risk being sent to > /dev/null > >>>>> > >>>>> > >>>> > ---------------------------------------------------------------------------- > >>>> -- > >>>> Monitor your physical, virtual and cloud infrastructure from a single > >>>> web console. Get in-depth insight into apps, servers, databases, > vmware, > >>>> SAP, cloud infrastructure, etc. Download 30-day Free Trial. > >>>> Pricing starts from $795 for 25 servers or applications! > >>>> > http://p.sf.net/sfu/zoho_dev2dev_nov________________________________________ > >>>> _______ > >>>> Nagios-users mailing list > >>>> Nagios-users at lists.sourceforge.net > >>>> https://lists.sourceforge.net/lists/listinfo/nagios-users > >>>> ::: Please include Nagios version, plugin version (-v) and OS when > reporting > >>>> any issue. > >>>> ::: Messages without supporting info will risk being sent to /dev/null > >>> > >>> > >>> > > > ----------------------------------------------------------------------------->> > > - > >>> Monitor your physical, virtual and cloud infrastructure from a single > >>> web console. Get in-depth insight into apps, servers, databases, > vmware, > >>> SAP, cloud infrastructure, etc. Download 30-day Free Trial. > >>> Pricing starts from $795 for 25 servers or applications! > >>> http://p.sf.net/sfu/zoho_dev2dev_nov > >>> _______________________________________________ > >>> Nagios-users mailing list > >>> Nagios-users at lists.sourceforge.net > >>> https://lists.sourceforge.net/lists/listinfo/nagios-users > >>> ::: Please include Nagios version, plugin version (-v) and OS when > reporting > >>> any issue. > >>> ::: Messages without supporting info will risk being sent to /dev/null > >>> > > > ----------------------------------------------------------------------------->> > > - > >>> Monitor your physical, virtual and cloud infrastructure from a single > >>> web console. Get in-depth insight into apps, servers, databases, > vmware, > >>> SAP, cloud infrastructure, etc. Download 30-day Free Trial. > >>> Pricing starts from $795 for 25 servers or applications! > >>> > http://p.sf.net/sfu/zoho_dev2dev_nov_________________________________________ > >>> ______ > >>> Nagios-users mailing list > >>> Nagios-users at lists.sourceforge.net > >>> https://lists.sourceforge.net/lists/listinfo/nagios-users > >>> ::: Please include Nagios version, plugin version (-v) and OS when > reporting > >>> any issue. > >>> ::: Messages without supporting info will risk being sent to /dev/null > >> > >> > >> > ------------------------------------------------------------------------------ > >> Monitor your physical, virtual and cloud infrastructure from a single > >> web console. Get in-depth insight into apps, servers, databases, vmware, > >> SAP, cloud infrastructure, etc. Download 30-day Free Trial. > >> Pricing starts from $795 for 25 servers or applications! > >> http://p.sf.net/sfu/zoho_dev2dev_nov > >> _______________________________________________ > >> Nagios-users mailing list > >> Nagios-users at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/nagios-users > >> ::: Please include Nagios version, plugin version (-v) and OS when > reporting > >> any issue. > >> ::: Messages without supporting info will risk being sent to /dev/null > > > > > > > > > ------------------------------------------------------------------------------ > > Monitor your physical, virtual and cloud infrastructure from a single > > web console. Get in-depth insight into apps, servers, databases, vmware, > > SAP, cloud infrastructure, etc. Download 30-day Free Trial. > > Pricing starts from $795 for 25 servers or applications! > > http://p.sf.net/sfu/zoho_dev2dev_nov > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > ------------------------------------------------------------------------------ > Monitor your physical, virtual and cloud infrastructure from a single > web console. Get in-depth insight into apps, servers, databases, vmware, > SAP, cloud infrastructure, etc. Download 30-day Free Trial. > Pricing starts from $795 for 25 servers or applications! > http://p.sf.net/sfu/zoho_dev2dev_nov > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov -------------- 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 kaskada at email.cz Tue Nov 20 10:47:31 2012 From: kaskada at email.cz (kaskada at email.cz) Date: Tue, 20 Nov 2012 10:47:31 +0100 (CET) Subject: =?utf-8?q?how_to_use_logged-in_=28Apache=29_user_i?= =?utf-8?q?n_plugins=3F?= References: <1u2c.aRdG.6tkBq8P99XH.1Gfiux@seznam.cz> <50A7C4A5.8040808@coochey.net> <1{QQ.aRcA.26FjxetHVwB.1GgD7f@seznam.cz> Message-ID: <2E9a.aRbu.2DsIAL7qK}Q.1Ggr6p@seznam.cz> Hi, anyone knows a solution or any help? Please... Pepe ---------- P?vodn? zpr?va ---------- Od: kaskada at email.cz Datum: 18. 11. 2012 P?edm?t: Re: [Nagios-users] how to use logged-in (Apache) user in plugins? " Hello, no, I really want to have different output from one plugin depending on user logged in. So I need to show some advanced output to some most advanced admins. (secretary and naiosadmin was just an example) Pep. ---------- P?vodn? zpr?va ---------- Od: Giles Coochey Datum: 17. 11. 2012 P?edm?t: Re: [Nagios-users] how to use logged-in (Apache) user in plugins? "On 16/11/2012 23:37, kaskada at email.cz wrote: > Hello, > > I`m trying, googling but with no success. > > What I need is to adjust the output of a Nagios plugin depending on a > user who is logged in the Nagios web interface. Like for example when > "nagiosadmin" is logged in, the plugin will show more output/debug > information than when just user "secretary" is logged in Nagios web. > > Is that somehow possible? > You probably just want a different web front-end altogether for "secretary"... search around for different Nagios Front-Ends. -- Regards, Giles Coochey, CCNA, CCNAS NetSecSpec Ltd +44 (0) 7983 877438 http://www.coochey.net(http://www.coochey.net) http://www.netsecspec.co.uk(http://www.netsecspec.co.uk) giles at coochey.net" " -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov -------------- 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 s.felici at mclink.eu Tue Nov 20 10:40:16 2012 From: s.felici at mclink.eu (Simone Felici) Date: Tue, 20 Nov 2012 10:40:16 +0100 Subject: R: little question about disable notification and schedule downtime In-Reply-To: <004801cdc6fe$e0440780$a0cc1680$@it.net> References: <02c701cdc668$0d3cf6d0$27b6e470$@it.net> <96F2CCD5CB684D46BA39D6060E6574A42FFFC7B7B8@MSCPCWEXMAA1.bsg.ad.adp.com> <004801cdc6fe$e0440780$a0cc1680$@it.net> Message-ID: <50AB5000.603@mclink.eu> You can submit commands directly to the command file http://nagios.sourceforge.net/docs/3_0/extcommands.html Bye, Simone -- Simone Felici Divisione Tecnica: Progettazione e Sviluppo tel. +39 0461.030.111 fax. +39 0461 030.112 Via Fersina, 23 - 38123 Trento Il 20/11/2012 10:10, Marco Borsani ha scritto: > Thank you. > > What do you mean with ?drop that command into nagios.cmd? ? > > Marco > > *Da:*Onotsky, Steve x55328 [mailto:Steve.Onotsky at broadridge.com] > *Inviato:* luned? 19 novembre 2012 17:28 > *A:* Nagios Users List > *Oggetto:* Re: [Nagios-users] little question about disable notification and schedule downtime > > Correct. The former will cause notifications to remain disabled until told otherwise; the latter > only for as long as specified. You should read up on the difference between Fixed and Flexible > scheduled downtime while you?re at it. > > If you want service/host checks disabled, you need to select that option from the web GUI (or drop > that command into nagios.cmd). > > 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 > > /The purpose of the universe is to explore the realm of possibility. / > > /Our purpose is to witness it. - S. James Gates Jr./ > > *From:*Marco Borsani [mailto:m.borsani at it.net] > *Sent:* Monday, November 19, 2012 10:11 AM > *To:* NAGIOS > *Subject:* [Nagios-users] little question about disable notification and schedule downtime > > Hi all > > Reading for the first time the docs it seems that these 2 options do the same thing. Is it ? > > Is the only difference that the first one disable the notification forever, while the other only in > a particular timeperiod ? > > Both do not stop the service checks. > > Marco Borsani > > *Unix and Monitoring Sysadmin* > > *Technical Operations Dpt.* > > tel: +39 010 4310115 > > fax: +39 02 30130311 > > cell: +39 329 5953944 > > ITnet Srl > > Societ? con socio unico > > Direzione e Coordinamento di Libero S.r.l. > > > 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. > > > > ------------------------------------------------------------------------------ > Monitor your physical, virtual and cloud infrastructure from a single > web console. Get in-depth insight into apps, servers, databases, vmware, > SAP, cloud infrastructure, etc. Download 30-day Free Trial. > Pricing starts from $795 for 25 servers or applications! > http://p.sf.net/sfu/zoho_dev2dev_nov > > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From palli at ok.is Tue Nov 20 11:15:03 2012 From: palli at ok.is (=?utf-8?Q?P=C3=A1ll_Gu=C3=B0j=C3=B3n_Sigur=C3=B0sson?=) Date: Tue, 20 Nov 2012 10:15:03 -0000 (GMT) Subject: how to use logged-in (Apache) user in plugins? In-Reply-To: <2E9a.aRbu.2DsIAL7qK}Q.1Ggr6p@seznam.cz> References: <2E9a.aRbu.2DsIAL7qK}Q.1Ggr6p@seznam.cz> Message-ID: Pepe, Nagios design does not allow for this. Plugins are executed without any user being logged in the web interface so a plugin has no idea which user is going to look at the results later on. What you can do instead is define multiple service checks, with "secretary" only having access to some of them. while the other "more advanced" ones are viewable to nagios admins. Maybe what you are really looking for is http://exchange.nagios.org/directory/Addons/Components/Nagios-Business-Process-Intelligence-(BPI)/details Which allows you to take a lot of service checks and group them together in higher level view. i.e. * "Webservices are up" * "Databases are down" Kind Regards, Pall Sigurdsson ----- Original Message ----- From: kaskada at email.cz To: "Nagios Users List" Sent: Tuesday, November 20, 2012 9:47:31 AM Subject: Re: [Nagios-users] how to use logged-in (Apache) user in plugins? Hi, anyone knows a solution or any help? Please... Pepe ---------- P?vodn? zpr?va ---------- Od: kaskada at email.cz Datum: 18. 11. 2012 P?edm?t: Re: [Nagios-users] how to use logged-in (Apache) user in plugins? Hello, no, I really want to have different output from one plugin depending on user logged in. So I need to show some advanced output to some most advanced admins. (secretary and naiosadmin was just an example) Pep. ---------- P?vodn? zpr?va ---------- Od: Giles Coochey Datum: 17. 11. 2012 P?edm?t: Re: [Nagios-users] how to use logged-in (Apache) user in plugins? On 16/11/2012 23:37, kaskada at email.cz wrote: > Hello, > > I`m trying, googling but with no success. > > What I need is to adjust the output of a Nagios plugin depending on a > user who is logged in the Nagios web interface. Like for example when > "nagiosadmin" is logged in, the plugin will show more output/debug > information than when just user "secretary" is logged in Nagios web. > > Is that somehow possible? > You probably just want a different web front-end altogether for "secretary"... search around for different Nagios Front-Ends. -- Regards, Giles Coochey, CCNA, CCNAS NetSecSpec Ltd +44 (0) 7983 877438 http://www.coochey.net http://www.netsecspec.co.uk giles at coochey.net = ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Julian_Grunnell at tdwh.co.uk Tue Nov 20 12:03:34 2012 From: Julian_Grunnell at tdwh.co.uk (Julian_Grunnell at tdwh.co.uk) Date: Tue, 20 Nov 2012 11:03:34 +0000 Subject: contact_groups and contacts Message-ID: Hi - wonder if someone can explain this to me, or tell me if I'm defining my service incorrectly. I have a simple TCP check as such: define service{ use remote-service service_description DESKTOP SNA SERVICE TCP 4097 notification_interval 5 hostgroup_name desktopsnahisservers contact_groups dtns-admins24x7 contacts tdwilkn check_command check_sts!4097 } define serviceescalation{ hostgroup_name desktopsnahisservers service_description DESKTOP SNA SERVICE TCP 4097 first_notification 2 last_notification 0 notification_interval 5 contacts tdwillc } Is it ok to have both contact_groups and contacts defined in the same service? I ask because this check failed for a couple of hours over the weekend but looking in the nagios log I can see that on the first notification both dtns-admins24x7 and tdwilkn got an email. But then every 5mins ONLY dtns-admins24x7 got an email - tdwilkn received nothing more when he should have. I also have a serviceescalation defined and this worked as expected with tdwillc also getting an alert every 5mins after the 2nd failure. Any help would be appreciated. Thanks - Julian. Julian Grunnell | Unix Analyst, Infrastructure | TD Direct Investing T: +44 (0) 113 346 2824 | M: +44 (0) 7889 352527 ----------------------------------------------- Consider the environment: Please don't print this e-mail unless you really need to. Confidentiality:? This email and its attachments are intended for the above named only and may be confidential.? If they have come to you in error you must take no action based on them, nor must you copy or show them to anyone; please reply to this email and highlight the error. Viruses:? Although we have taken steps to ensure that this email and attachments are free from any virus, we advise that in keeping with good computing practice the recipient should ensure that they are actually virus-free. Brokerage services provided by TD Direct Investing (Europe) Limited (a subsidiary of The Toronto-Dominion Bank).? Authorised and regulated by the Financial Services Authority (FSA registered number 141282), member of the London Stock Exchange and the PLUS market. Incorporated in England and Wales under registration number 2101863.? Registered office: Exchange Court, Duncombe Street, Leeds LS1 4AX.?Banking services provided by TD Bank N.V. authorised and regulated by De Nederlandsche Bank and the Financial Services Authority for UK Business (FSA registered number 216791).? Incorporated in the Netherlands and registered as a branch in England and Wales under branch registration number BR006780. ------------------------------------------------ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov -------------- 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 kaskada at email.cz Tue Nov 20 13:49:40 2012 From: kaskada at email.cz (kaskada at email.cz) Date: Tue, 20 Nov 2012 13:49:40 +0100 (CET) Subject: =?utf-8?q?how_to_use_logged-in_=28Apache=29_user_i?= =?utf-8?q?n_plugins=3F?= References: <2E9a.aRbu.2DsIAL7qK}Q.1Ggr6p@seznam.cz> Message-ID: <2Fnn.aRbA.5ZH9zCAFzno.1Ggtna@seznam.cz> Thank you for your answer. I understand now, so my bad luck :) I have to do it maybe your way. Best regards, Pepe ---------- P?vodn? zpr?va ---------- Od: P?ll Gu?j?n Sigur?sson Datum: 20. 11. 2012 P?edm?t: Re: [Nagios-users] how to use logged-in (Apache) user in plugins? "Pepe, Nagios design does not allow for this. Plugins are executed without any user being logged in the web interface so a plugin has no idea which user is going to look at the results later on. What you can do instead is define multiple service checks, with "secretary" only having access to some of them. while the other "more advanced" ones are viewable to nagios admins. Maybe what you are really looking for is http://exchange.nagios.org/ directory/Addons/Components/Nagios-Business-Process-Intelligence-(BPI)/ details (http://exchange.nagios.org/directory/Addons/Components/Nagios-Business-Process-Intelligence-(BPI)/details) Which allows you to take a lot of service checks and group them together in higher level view. i.e. * "Webservices are up" * "Databases are down" Kind Regards, Pall Sigurdsson ----- Original Message ----- From: kaskada at email.cz To: "Nagios Users List" Sent: Tuesday, November 20, 2012 9:47:31 AM Subject: Re: [Nagios-users] how to use logged-in (Apache) user in plugins? Hi, anyone knows a solution or any help? Please... Pepe ---------- P?vodn? zpr?va ---------- Od: kaskada at email.cz Datum: 18. 11. 2012 P?edm?t: Re: [Nagios-users] how to use logged-in (Apache) user in plugins? Hello, no, I really want to have different output from one plugin depending on user logged in. So I need to show some advanced output to some most advanced admins. (secretary and naiosadmin was just an example) Pep. ---------- P?vodn? zpr?va ---------- Od: Giles Coochey Datum: 17. 11. 2012 P?edm?t: Re: [Nagios-users] how to use logged-in (Apache) user in plugins? On 16/11/2012 23:37, kaskada at email.cz wrote: > Hello, > > I`m trying, googling but with no success. > > What I need is to adjust the output of a Nagios plugin depending on a > user who is logged in the Nagios web interface. Like for example when > "nagiosadmin" is logged in, the plugin will show more output/debug > information than when just user "secretary" is logged in Nagios web. > > Is that somehow possible? > You probably just want a different web front-end altogether for "secretary"... search around for different Nagios Front-Ends. -- Regards, Giles Coochey, CCNA, CCNAS NetSecSpec Ltd +44 (0) 7983 877438 http://www.coochey.net(http://www.coochey.net) http://www.netsecspec.co.uk(http://www.netsecspec.co.uk) giles at coochey.net = ---------------------------------------------------------------------------- -- Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov(http://p.sf.net/sfu/zoho_dev2dev_nov) _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users (https://lists.sourceforge.net/lists/listinfo/nagios-users) ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ---------------------------------------------------------------------------- -- Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov(http://p.sf.net/sfu/zoho_dev2dev_nov) _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users (https://lists.sourceforge.net/lists/listinfo/nagios-users) ::: 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 -------------- ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From support at crazynetwork.it Tue Nov 20 15:01:04 2012 From: support at crazynetwork.it (Supporto Tecnico - Crazy Network) Date: Tue, 20 Nov 2012 15:01:04 +0100 Subject: Nagios 3.99.95 contact_groups Message-ID: <50AB8D20.2020806@crazynetwork.it> Hi, i did update Nagios to this alpha release for test purpose using working configurations (on Nagios 3.4.1). The only big trouble im having is that i dont receive any notification. Here contacts.cfg define contact{ name cn-contacts service_notification_period 24x7 host_notification_period 24x7 service_notification_options c,r host_notification_options d,u,r service_notification_commands notify-service-by-email host_notification_commands notify-host-by-email register 0 } define contact{ contact_name andrea.iannucci use cn-contacts alias Andrea Iannucci email support at crazynetwork.it contact_groups crazynetwork.it service_notification_commands notify-service-by-email,notify-service-by-sms host_notification_commands notify-host-by-email,notify-host-by-sms pager ************* } define contactgroup{ contactgroup_name crazynetwork.it alias CrazyNetwork.it Staff } I did try to use contactgroups and contact_groups in contact definition I did try to add members andrea.iannucci in contactgroup definition The error on debug_level=32 i can see is that for group crazynetwork.it he cant fine any member (in any case). Setting contacts instead of contact_groups to services definition make notification work. Here debug output: [1353420007.497082] [032.0] [pid=14604] ** Service Notification Attempt ** Host: 'Test.CrazyNetwork.it', Service: 'MySQL', Type: 0, Options: 0, Current State: 0, Last Notification: Thu Jan 1 01:00:00 1970 [1353420007.497154] [032.0] [pid=14604] Notification viability test passed. [1353420007.497181] [032.1] [pid=14604] Current notification number: 2 (incremented) [1353420007.497195] [032.2] [pid=14604] Creating list of contacts to be notified. [1353420007.497206] [032.1] [pid=14604] Service notification will NOT be escalated. [1353420007.497217] [032.1] [pid=14604] Adding normal contacts for service to notification list. [1353420007.497233] [032.2] [pid=14604] Adding members of contact group 'crazynetwork.it' for service to notification list. [1353420007.497245] [032.0] [pid=14604] No contacts were found for notification purposes. No notification was sent out. Hope someone can help me fix this cause on older version was working at actually it look like a bug to me. Thanks -- Andrea Iannucci ---------------------------- ---------------------------- Crazy Network di Iannucci Andrea Viale G.B. Lulli, 24 00050 Cerveteri - RM (w) www.crazynetwork.it (e) andrea.iannucci at crazynetwork.it (t) +39 06 62279876 (f) +39 06 62298767 (m) +39 338 8552885 ------------------------------------------------------------------------------- Please consider our enviromental responsabilit? before printing this E-Mail. Thank you. ------------------------------------------------------------------------------- Questo messaggio di posta elettronica contiene informazioni di carattere confidenziale rivolte esclusivamente al destinatario sopra indicato. E' vietato l'uso, la diffusione, distribuzione o riproduzione da parte di ogni altra persona. Nel caso aveste ricevuto questo messaggio di posta elettronica per errore, siete pregati di segnalarlo immediatamente al mittente e distruggere quanto ricevuto (compresi i file allegati) senza farne copia. Qualsivoglia utilizzo non autorizzato del contenuto di questo messaggio costituisce violazione dell'obbligo di non prendere cognizione della corrispondenza tra altri soggetti, salvo pi? grave illecito, ed espone il responsabile alle relative conseguenze. -------------------------------------------------------------------------------- This e-mail is confidential and may also contain privileged information. If you are not the intended recipient you are not authorised to read, print, save, process or disclose this message. If you have received this message by mistake, please inform the sender immediately and delete this e-mail, its attachments and any copies. Any use, distribution, reproduction or disclosure by any person other than the intended recipient is strictly prohibited and the person responsible may incur penalties. -------------------------------------------------------------------------------- ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From robin.sonefors at op5.com Tue Nov 20 17:23:08 2012 From: robin.sonefors at op5.com (Robin Sonefors) Date: Tue, 20 Nov 2012 17:23:08 +0100 Subject: Nagios 3.99.95 contact_groups In-Reply-To: <50AB8D20.2020806@crazynetwork.it> References: <50AB8D20.2020806@crazynetwork.it> Message-ID: <50ABAE6C.90305@op5.com> Hi "Crazy Network", Using bleeding edge code, I've tried copying your contacts.cfg (with my own email instead), put "crazynetwork.it" as the contact_group for a service, and I do receive notifications for it. So there must be something else at play here that affects you. What does your services/hosts look like? On 2012-11-20 15:01, Supporto Tecnico - Crazy Network wrote: > Hi, > > i did update Nagios to this alpha release for test purpose using working > configurations (on Nagios 3.4.1). > > The only big trouble im having is that i dont receive any notification. > > Here contacts.cfg > > define contact{ > name cn-contacts > service_notification_period 24x7 > host_notification_period 24x7 > service_notification_options c,r > host_notification_options d,u,r > service_notification_commands notify-service-by-email > host_notification_commands notify-host-by-email > register 0 > } > > define contact{ > contact_name andrea.iannucci > use cn-contacts > alias Andrea Iannucci > email support at crazynetwork.it > contact_groups crazynetwork.it > service_notification_commands > notify-service-by-email,notify-service-by-sms > host_notification_commands > notify-host-by-email,notify-host-by-sms > pager ************* > } > > define contactgroup{ > contactgroup_name crazynetwork.it > alias CrazyNetwork.it Staff > } > > > I did try to use contactgroups and contact_groups in contact definition > I did try to add members andrea.iannucci in contactgroup definition > > The error on debug_level=32 i can see is that for group crazynetwork.it > he cant fine any member (in any case). > > Setting contacts instead of contact_groups to services definition make > notification work. > > Here debug output: > > [1353420007.497082] [032.0] [pid=14604] ** Service Notification Attempt > ** Host: 'Test.CrazyNetwork.it', Service: 'MySQL', Type: 0, Options: 0, > Current State: 0, Last Notification: Thu Jan 1 01:00:00 1970 > [1353420007.497154] [032.0] [pid=14604] Notification viability test passed. > [1353420007.497181] [032.1] [pid=14604] Current notification number: 2 > (incremented) > [1353420007.497195] [032.2] [pid=14604] Creating list of contacts to be > notified. > [1353420007.497206] [032.1] [pid=14604] Service notification will NOT be > escalated. > [1353420007.497217] [032.1] [pid=14604] Adding normal contacts for > service to notification list. > [1353420007.497233] [032.2] [pid=14604] Adding members of contact group > 'crazynetwork.it' for service to notification list. > [1353420007.497245] [032.0] [pid=14604] No contacts were found for > notification purposes. No notification was sent out. > > > Hope someone can help me fix this cause on older version was working at > actually it look like a bug to me. > > Thanks > ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From support at crazynetwork.it Tue Nov 20 23:33:51 2012 From: support at crazynetwork.it (Supporto Tecnico - Crazy Network) Date: Tue, 20 Nov 2012 23:33:51 +0100 Subject: Nagios 3.99.95 contact_groups In-Reply-To: <50ABAE6C.90305@op5.com> References: <50AB8D20.2020806@crazynetwork.it> <50ABAE6C.90305@op5.com> Message-ID: <50AC054F.6070907@crazynetwork.it> Hi Robin sorry, dont know why my signature has been cutted out :) My name is Andrea. This is a sample services definition. define service{ name cn-ftp-service active_checks_enabled 1 passive_checks_enabled 1 parallelize_check 1 obsess_over_service 1 check_freshness 0 notifications_enabled 1 event_handler_enabled 1 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 is_volatile 0 servicegroups ftp-server service_description Server FTP check_command check_ftp icon_image ftp.png check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 2 contact_groups crazynetwork.it notification_options c,r notification_interval 60 notification_period 24x7 register 0 } Courios is, if here i replace contact_groups with contacts and put andrea.iannucci instead of crazynetwork.it it does work.. but just for the single person of course. Thanks Regards Il 20/11/2012 17:23, Robin Sonefors ha scritto: > Hi "Crazy Network", > > Using bleeding edge code, I've tried copying your contacts.cfg (with > my own email instead), put "crazynetwork.it" as the contact_group for > a service, and I do receive notifications for it. So there must be > something else at play here that affects you. > > What does your services/hosts look like? > > On 2012-11-20 15:01, Supporto Tecnico - Crazy Network wrote: >> Hi, >> >> i did update Nagios to this alpha release for test purpose using working >> configurations (on Nagios 3.4.1). >> >> The only big trouble im having is that i dont receive any notification. >> >> Here contacts.cfg >> >> define contact{ >> name cn-contacts >> service_notification_period 24x7 >> host_notification_period 24x7 >> service_notification_options c,r >> host_notification_options d,u,r >> service_notification_commands notify-service-by-email >> host_notification_commands notify-host-by-email >> register 0 >> } >> >> define contact{ >> contact_name andrea.iannucci >> use cn-contacts >> alias Andrea Iannucci >> email support at crazynetwork.it >> contact_groups crazynetwork.it >> service_notification_commands >> notify-service-by-email,notify-service-by-sms >> host_notification_commands >> notify-host-by-email,notify-host-by-sms >> pager ************* >> } >> >> define contactgroup{ >> contactgroup_name crazynetwork.it >> alias CrazyNetwork.it Staff >> } >> >> >> I did try to use contactgroups and contact_groups in contact definition >> I did try to add members andrea.iannucci in contactgroup definition >> >> The error on debug_level=32 i can see is that for group crazynetwork.it >> he cant fine any member (in any case). >> >> Setting contacts instead of contact_groups to services definition make >> notification work. >> >> Here debug output: >> >> [1353420007.497082] [032.0] [pid=14604] ** Service Notification Attempt >> ** Host: 'Test.CrazyNetwork.it', Service: 'MySQL', Type: 0, Options: 0, >> Current State: 0, Last Notification: Thu Jan 1 01:00:00 1970 >> [1353420007.497154] [032.0] [pid=14604] Notification viability test >> passed. >> [1353420007.497181] [032.1] [pid=14604] Current notification number: 2 >> (incremented) >> [1353420007.497195] [032.2] [pid=14604] Creating list of contacts to be >> notified. >> [1353420007.497206] [032.1] [pid=14604] Service notification will NOT be >> escalated. >> [1353420007.497217] [032.1] [pid=14604] Adding normal contacts for >> service to notification list. >> [1353420007.497233] [032.2] [pid=14604] Adding members of contact group >> 'crazynetwork.it' for service to notification list. >> [1353420007.497245] [032.0] [pid=14604] No contacts were found for >> notification purposes. No notification was sent out. >> >> >> Hope someone can help me fix this cause on older version was working at >> actually it look like a bug to me. >> >> Thanks >> > > -- Andrea Iannucci ------------------------------- ------------------------------- Crazy Network di Iannucci Andrea Viale G.B. Lulli, 24 00050 Cerveteri - RM (w) www.crazynetwork.it (e) andrea.iannucci at crazynetwork.it (t) +39 06 62279876 (f) +39 06 62298767 (m) +39 338 8552885 ------------------------------------------------------------------------------- Please consider our enviromental responsability before printing this E-Mail. Thank you. ------------------------------------------------------------------------------- Questo messaggio di posta elettronica contiene informazioni di carattere confidenziale rivolte esclusivamente al destinatario sopra indicato. E' vietato l'uso, la diffusione, distribuzione o riproduzione da parte di ogni altra persona. Nel caso aveste ricevuto questo messaggio di posta elettronica per errore, siete pregati di segnalarlo immediatamente al mittente e distruggere quanto ricevuto (compresi i file allegati) senza farne copia. Qualsivoglia utilizzo non autorizzato del contenuto di questo messaggio costituisce violazione dell'obbligo di non prendere cognizione della corrispondenza tra altri soggetti, salvo pi? grave illecito, ed espone il responsabile alle relative conseguenze. -------------------------------------------------------------------------------- This e-mail is confidential and may also contain privileged information. If you are not the intended recipient you are not authorised to read, print, save, process or disclose this message. If you have received this message by mistake, please inform the sender immediately and delete this e-mail, its attachments and any copies. Any use, distribution, reproduction or disclosure by any person other than the intended recipient is strictly prohibited and the person responsible may incur penalties. -------------------------------------------------------------------------------- ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From agriffin at nagios.com Wed Nov 21 00:04:30 2012 From: agriffin at nagios.com (Alex Griffin) Date: Tue, 20 Nov 2012 17:04:30 -0600 Subject: R: little question about disable notification and schedule downtime In-Reply-To: <004801cdc6fe$e0440780$a0cc1680$@it.net> References: <02c701cdc668$0d3cf6d0$27b6e470$@it.net> <96F2CCD5CB684D46BA39D6060E6574A42FFFC7B7B8@MSCPCWEXMAA1.bsg.ad.adp.com> <004801cdc6fe$e0440780$a0cc1680$@it.net> Message-ID: <50AC0C7E.9010703@nagios.com> For example, to disable host checks on host "Sample1," check the documentation at http://old.nagios.org/developerinfo/externalcommands/commandinfo.php?command_id=54, which tells you to run the following command on your Nagios server: # echo "[$(date +%s)] DISABLE_HOST_CHECK;Sample1" > /usr/local/nagios/var/rw/nagios.cmd The list of commands is located here: http://old.nagios.org/developerinfo/externalcommands/commandlist.php Alex Griffin --- Tech Team agriffin at nagios.com On 2012-11-20 03:10, Marco Borsani wrote: > Thank you. > > What do you mean with ?drop that command into nagios.cmd? ? > > Marco > > *Da:*Onotsky, Steve x55328 [mailto:Steve.Onotsky at broadridge.com] > *Inviato:* luned? 19 novembre 2012 17:28 > *A:* Nagios Users List > *Oggetto:* Re: [Nagios-users] little question about disable notification > and schedule downtime > > Correct. The former will cause notifications to remain disabled until > told otherwise; the latter only for as long as specified. You should > read up on the difference between Fixed and Flexible scheduled downtime > while you?re at it. > > If you want service/host checks disabled, you need to select that option > from the web GUI (or drop that command into nagios.cmd). > > 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 > > /The purpose of the universe is to explore the realm of possibility. / > > /Our purpose is to witness it. - S. James Gates Jr./ > > *From:*Marco Borsani [mailto:m.borsani at it.net] > *Sent:* Monday, November 19, 2012 10:11 AM > *To:* NAGIOS > *Subject:* [Nagios-users] little question about disable notification and > schedule downtime > > Hi all > > Reading for the first time the docs it seems that these 2 options do the > same thing. Is it ? > > Is the only difference that the first one disable the notification > forever, while the other only in a particular timeperiod ? > > Both do not stop the service checks. > > Marco Borsani > > *Unix and Monitoring Sysadmin* > > *Technical Operations Dpt.* > > tel: +39 010 4310115 > > fax: +39 02 30130311 > > cell: +39 329 5953944 > > ITnet Srl > > Societ? con socio unico > > Direzione e Coordinamento di Libero S.r.l. > > > 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. > > > > ------------------------------------------------------------------------------ > Monitor your physical, virtual and cloud infrastructure from a single > web console. Get in-depth insight into apps, servers, databases, vmware, > SAP, cloud infrastructure, etc. Download 30-day Free Trial. > Pricing starts from $795 for 25 servers or applications! > http://p.sf.net/sfu/zoho_dev2dev_nov > > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andrew at fulgent.co.uk Wed Nov 21 13:01:18 2012 From: andrew at fulgent.co.uk (Andrew Thompson) Date: Wed, 21 Nov 2012 12:01:18 +0000 Subject: SSL Enable web interface help Message-ID: Hi all, I am publishing my Nagios web console to be accessible over the interweb, now I need to make it secure. I have loaded a test VM with Nagios 3.4.1 on, on Ubuntu 12.04 desktop to test on rather than play with SSL on the live box. I have followed this guide: http://blog.stefandanielschwarz.de/2010/02/howto-securing-nagios.html But I cant get it to work......... When I browse https://localhost/nagios firefox returns: Secure Connection Failed An Error occurred during a connection to localhost SSL received a record that exceeded the maximum permissible length Error code: ssl_error_rx_record_too_long) For the cert setup I entered localhost for the Common Name. On the live box though I will enter the FQDN that I will hit over the internet abc.def.com for example Anybody give me any pointers on how to sort this out on the test box please? Thankyou -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov -------------- 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 cafrineromy at yahoo.fr Wed Nov 21 13:23:06 2012 From: cafrineromy at yahoo.fr (romy rajoelison) Date: Wed, 21 Nov 2012 12:23:06 +0000 (GMT) Subject: SSL Enable web interface help In-Reply-To: References: Message-ID: <1353500586.43965.YahooMailNeo@web171606.mail.ir2.yahoo.com> Hi, Have you tried to type service nagios start? chkconfig nagios on make sure that firewall don't block nagios's port ________________________________ De?: Andrew Thompson ??: "nagios-users at lists.sourceforge.net" Envoy? le : Mercredi 21 novembre 2012 15h01 Objet?: [Nagios-users] SSL Enable web interface help Hi all, ? I am publishing my Nagios web console to be accessible over the interweb, now I need to make it secure. ? I have loaded a test VM with Nagios 3.4.1 on, on Ubuntu 12.04 desktop to test on rather than play with SSL on the live box. ? I have followed this guide: http://blog.stefandanielschwarz.de/2010/02/howto-securing-nagios.html ? But I cant get it to work??? ? When I browse https://localhost/nagios firefox returns: ? Secure Connection Failed ? An Error occurred during a connection to localhost ? SSL received a record that exceeded the maximum permissible length ? Error code: ssl_error_rx_record_too_long) ? For the cert setup I entered localhost for the Common Name. On the live box though I will enter the FQDN that I will hit over the internet abc.def.com for example ? Anybody give me any pointers on how to sort this out on the test box please? ? Thankyou ? ? ? ? ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov -------------- 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 andrew at fulgent.co.uk Wed Nov 21 13:34:49 2012 From: andrew at fulgent.co.uk (Andrew Thompson) Date: Wed, 21 Nov 2012 12:34:49 +0000 Subject: SSL Enable web interface help In-Reply-To: <1353500586.43965.YahooMailNeo@web171606.mail.ir2.yahoo.com> References: <1353500586.43965.YahooMailNeo@web171606.mail.ir2.yahoo.com> Message-ID: Hello thanks for reply. Nagios is deffo running. I don?t have any firewall enabled on local machine Thanks From: romy rajoelison [mailto:cafrineromy at yahoo.fr] Sent: 21 November 2012 12:23 To: Nagios Users List Subject: Re: [Nagios-users] SSL Enable web interface help Hi, Have you tried to type service nagios start? chkconfig nagios on make sure that firewall don't block nagios's port ________________________________ De : Andrew Thompson > ? : "nagios-users at lists.sourceforge.net" > Envoy? le : Mercredi 21 novembre 2012 15h01 Objet : [Nagios-users] SSL Enable web interface help Hi all, I am publishing my Nagios web console to be accessible over the interweb, now I need to make it secure. I have loaded a test VM with Nagios 3.4.1 on, on Ubuntu 12.04 desktop to test on rather than play with SSL on the live box. I have followed this guide: http://blog.stefandanielschwarz.de/2010/02/howto-securing-nagios.html But I cant get it to work??? When I browse https://localhost/nagios firefox returns: Secure Connection Failed An Error occurred during a connection to localhost SSL received a record that exceeded the maximum permissible length Error code: ssl_error_rx_record_too_long) For the cert setup I entered localhost for the Common Name. On the live box though I will enter the FQDN that I will hit over the internet abc.def.com for example Anybody give me any pointers on how to sort this out on the test box please? Thankyou ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov -------------- 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 cafrineromy at yahoo.fr Wed Nov 21 13:42:44 2012 From: cafrineromy at yahoo.fr (romy rajoelison) Date: Wed, 21 Nov 2012 12:42:44 +0000 (GMT) Subject: SSL Enable web interface help In-Reply-To: References: <1353500586.43965.YahooMailNeo@web171606.mail.ir2.yahoo.com> Message-ID: <1353501764.53472.YahooMailNeo@web171602.mail.ir2.yahoo.com> Instead of localhost, what happened if you type ip address? http://ipaddress/nagios ________________________________ De?: Andrew Thompson ??: romy rajoelison ; Nagios Users List Envoy? le : Mercredi 21 novembre 2012 15h34 Objet?: RE: [Nagios-users] SSL Enable web interface help Hello thanks for reply. ? Nagios is deffo running. I don?t have any firewall enabled on local machine ? Thanks ? From:romy rajoelison [mailto:cafrineromy at yahoo.fr] Sent: 21 November 2012 12:23 To: Nagios Users List Subject: Re: [Nagios-users] SSL Enable web interface help ? Hi, Have you tried to type service nagios start? chkconfig nagios on make sure that firewall don't block nagios's port ________________________________ De?:Andrew Thompson ??: "nagios-users at lists.sourceforge.net" Envoy? le : Mercredi 21 novembre 2012 15h01 Objet?: [Nagios-users] SSL Enable web interface help ? Hi all, ? I am publishing my Nagios web console to be accessible over the interweb, now I need to make it secure. ? I have loaded a test VM with Nagios 3.4.1 on, on Ubuntu 12.04 desktop to test on rather than play with SSL on the live box. ? I have followed this guide: http://blog.stefandanielschwarz.de/2010/02/howto-securing-nagios.html ? But I cant get it to work??? ? When I browse https://localhost/nagios firefox returns: ? Secure Connection Failed ? An Error occurred during a connection to localhost ? SSL received a record that exceeded the maximum permissible length ? Error code: ssl_error_rx_record_too_long) ? For the cert setup I entered localhost for the Common Name. On the live box though I will enter the FQDN that I will hit over the internet abc.def.com for example ? Anybody give me any pointers on how to sort this out on the test box please? ? Thankyou ? ? ? ? ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov -------------- 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 cafrineromy at yahoo.fr Wed Nov 21 13:49:10 2012 From: cafrineromy at yahoo.fr (romy rajoelison) Date: Wed, 21 Nov 2012 12:49:10 +0000 (GMT) Subject: SSL Enable web interface help In-Reply-To: <1353502049.11221.YahooMailNeo@web171605.mail.ir2.yahoo.com> References: <1353500586.43965.YahooMailNeo@web171606.mail.ir2.yahoo.com> <1353502049.11221.YahooMailNeo@web171605.mail.ir2.yahoo.com> Message-ID: <1353502150.64549.YahooMailNeo@web171602.mail.ir2.yahoo.com> and this one: /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg? ________________________________ De?: romy rajoelison ??: Andrew Thompson ; Nagios Users List Envoy? le : Mercredi 21 novembre 2012 15h47 Objet?: Re: [Nagios-users] SSL Enable web interface help or tried :?ps aux | grep nagios? and copy it here ________________________________ De?: Andrew Thompson ??: romy rajoelison ; Nagios Users List Envoy? le : Mercredi 21 novembre 2012 15h34 Objet?: RE: [Nagios-users] SSL Enable web interface help Hello thanks for reply. ? Nagios is deffo running. I don?t have any firewall enabled on local machine ? Thanks ? From:romy rajoelison [mailto:cafrineromy at yahoo.fr] Sent: 21 November 2012 12:23 To: Nagios Users List Subject: Re: [Nagios-users] SSL Enable web interface help ? Hi, Have you tried to type service nagios start? chkconfig nagios on make sure that firewall don't block nagios's port ________________________________ De?:Andrew Thompson ??: "nagios-users at lists.sourceforge.net" Envoy? le : Mercredi 21 novembre 2012 15h01 Objet?: [Nagios-users] SSL Enable web interface help ? Hi all, ? I am publishing my Nagios web console to be accessible over the interweb, now I need to make it secure. ? I have loaded a test VM with Nagios 3.4.1 on, on Ubuntu 12.04 desktop to test on rather than play with SSL on the live box. ? I have followed this guide: http://blog.stefandanielschwarz.de/2010/02/howto-securing-nagios.html ? But I cant get it to work??? ? When I browse https://localhost/nagios firefox returns: ? Secure Connection Failed ? An Error occurred during a connection to localhost ? SSL received a record that exceeded the maximum permissible length ? Error code: ssl_error_rx_record_too_long) ? For the cert setup I entered localhost for the Common Name. On the live box though I will enter the FQDN that I will hit over the internet abc.def.com for example ? Anybody give me any pointers on how to sort this out on the test box please? ? Thankyou ? ? ? ? ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov -------------- 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 andrew at fulgent.co.uk Wed Nov 21 13:54:05 2012 From: andrew at fulgent.co.uk (Andrew Thompson) Date: Wed, 21 Nov 2012 12:54:05 +0000 Subject: SSL Enable web interface help In-Reply-To: <1353502150.64549.YahooMailNeo@web171602.mail.ir2.yahoo.com> References: <1353500586.43965.YahooMailNeo@web171606.mail.ir2.yahoo.com> <1353502049.11221.YahooMailNeo@web171605.mail.ir2.yahoo.com> <1353502150.64549.YahooMailNeo@web171602.mail.ir2.yahoo.com> Message-ID: Grep results nagios at nagiosSSL:~$ sudo ps aux | grep nagios [sudo] password for nagios: nagios 361 0.5 0.0 4372 832 pts/0 S+ 12:49 0:00 grep --color=auto nagios avahi 735 0.0 0.0 3436 1460 ? S 10:48 0:00 avahi-daemon: running [nagiosSSL.local] nagios 3595 0.0 0.1 63148 4140 ? Sl 10:55 0:00 /usr/bin/gnome-keyring-daemon --daemonize --login nagios 3606 0.0 0.2 50492 9844 ? Ssl 10:55 0:00 gnome-session --session=gnome-classic nagios 3641 0.0 0.0 4060 208 ? Ss 10:55 0:00 /usr/bin/ssh-agent /usr/bin/dbus-launch --exit-with-session gnome-session --session=gnome-classic nagios 3644 0.0 0.0 3920 744 ? S 10:55 0:00 /usr/bin/dbus-launch --exit-with-session gnome-session --session=gnome-classic nagios 3645 0.0 0.0 5884 2296 ? Ss 10:55 0:03 //bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session nagios 3657 0.0 0.3 137084 16052 ? Sl 10:55 0:03 /usr/lib/gnome-settings-daemon/gnome-settings-daemon nagios 3667 0.0 0.0 8436 2300 ? S 10:55 0:00 /usr/lib/gvfs/gvfsd nagios 3669 0.0 0.0 35040 3228 ? Sl 10:55 0:00 /usr/lib/gvfs//gvfs-fuse-daemon -f /home/nagios/.gvfs nagios 3677 0.0 0.0 48644 3920 ? Sl 10:55 0:00 /usr/lib/gnome-settings-daemon/gsd-printer nagios 3678 0.0 0.3 120312 12496 ? Sl 10:55 0:06 metacity nagios 3691 0.0 0.0 9304 2952 ? S 10:55 0:00 /usr/lib/i386-linux-gnu/gconf/gconfd-2 nagios 3692 0.1 0.5 113048 21564 ? Sl 10:55 0:11 gnome-panel nagios 3698 0.0 0.0 88772 3988 ? S> ? : Andrew Thompson >; Nagios Users List > Envoy? le : Mercredi 21 novembre 2012 15h47 Objet : Re: [Nagios-users] SSL Enable web interface help or tried : ps aux | grep nagios and copy it here ________________________________ De : Andrew Thompson > ? : romy rajoelison >; Nagios Users List > Envoy? le : Mercredi 21 novembre 2012 15h34 Objet : RE: [Nagios-users] SSL Enable web interface help Hello thanks for reply. Nagios is deffo running. I don?t have any firewall enabled on local machine Thanks From: romy rajoelison [mailto:cafrineromy at yahoo.fr] Sent: 21 November 2012 12:23 To: Nagios Users List Subject: Re: [Nagios-users] SSL Enable web interface help Hi, Have you tried to type service nagios start? chkconfig nagios on make sure that firewall don't block nagios's port ________________________________ De : Andrew Thompson > ? : "nagios-users at lists.sourceforge.net" > Envoy? le : Mercredi 21 novembre 2012 15h01 Objet : [Nagios-users] SSL Enable web interface help Hi all, I am publishing my Nagios web console to be accessible over the interweb, now I need to make it secure. I have loaded a test VM with Nagios 3.4.1 on, on Ubuntu 12.04 desktop to test on rather than play with SSL on the live box. I have followed this guide: http://blog.stefandanielschwarz.de/2010/02/howto-securing-nagios.html But I cant get it to work??? When I browse https://localhost/nagios firefox returns: Secure Connection Failed An Error occurred during a connection to localhost SSL received a record that exceeded the maximum permissible length Error code: ssl_error_rx_record_too_long) For the cert setup I entered localhost for the Common Name. On the live box though I will enter the FQDN that I will hit over the internet abc.def.com for example Anybody give me any pointers on how to sort this out on the test box please? Thankyou ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov -------------- 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 cafrineromy at yahoo.fr Wed Nov 21 13:47:29 2012 From: cafrineromy at yahoo.fr (romy rajoelison) Date: Wed, 21 Nov 2012 12:47:29 +0000 (GMT) Subject: SSL Enable web interface help In-Reply-To: References: <1353500586.43965.YahooMailNeo@web171606.mail.ir2.yahoo.com> Message-ID: <1353502049.11221.YahooMailNeo@web171605.mail.ir2.yahoo.com> or tried :?ps aux | grep nagios? and copy it here ________________________________ De?: Andrew Thompson ??: romy rajoelison ; Nagios Users List Envoy? le : Mercredi 21 novembre 2012 15h34 Objet?: RE: [Nagios-users] SSL Enable web interface help Hello thanks for reply. ? Nagios is deffo running. I don?t have any firewall enabled on local machine ? Thanks ? From:romy rajoelison [mailto:cafrineromy at yahoo.fr] Sent: 21 November 2012 12:23 To: Nagios Users List Subject: Re: [Nagios-users] SSL Enable web interface help ? Hi, Have you tried to type service nagios start? chkconfig nagios on make sure that firewall don't block nagios's port ________________________________ De?:Andrew Thompson ??: "nagios-users at lists.sourceforge.net" Envoy? le : Mercredi 21 novembre 2012 15h01 Objet?: [Nagios-users] SSL Enable web interface help ? Hi all, ? I am publishing my Nagios web console to be accessible over the interweb, now I need to make it secure. ? I have loaded a test VM with Nagios 3.4.1 on, on Ubuntu 12.04 desktop to test on rather than play with SSL on the live box. ? I have followed this guide: http://blog.stefandanielschwarz.de/2010/02/howto-securing-nagios.html ? But I cant get it to work??? ? When I browse https://localhost/nagios firefox returns: ? Secure Connection Failed ? An Error occurred during a connection to localhost ? SSL received a record that exceeded the maximum permissible length ? Error code: ssl_error_rx_record_too_long) ? For the cert setup I entered localhost for the Common Name. On the live box though I will enter the FQDN that I will hit over the internet abc.def.com for example ? Anybody give me any pointers on how to sort this out on the test box please? ? Thankyou ? ? ? ? ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ftlnagios at gmail.com Wed Nov 21 16:25:18 2012 From: ftlnagios at gmail.com (FTL Nagios) Date: Wed, 21 Nov 2012 15:25:18 -0000 Subject: FW: SSL Enable web interface help In-Reply-To: References: Message-ID: <005101cdc7fc$6b5b6450$42122cf0$@gmail.com> Ok I think I have sorted it, dunno if it's the right way to sort it but now my nagios page serves me on https!! This file : /etc/apache2/sites-available/ssl Has this line in: Removed the :80 and voila it worked. From: Andrew Thompson [mailto:andrew at fulgent.co.uk] Sent: 21 November 2012 12:01 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] SSL Enable web interface help Hi all, I am publishing my Nagios web console to be accessible over the interweb, now I need to make it secure. I have loaded a test VM with Nagios 3.4.1 on, on Ubuntu 12.04 desktop to test on rather than play with SSL on the live box. I have followed this guide: http://blog.stefandanielschwarz.de/2010/02/howto-securing-nagios.html But I cant get it to work... When I browse https://localhost/nagios firefox returns: Secure Connection Failed An Error occurred during a connection to localhost SSL received a record that exceeded the maximum permissible length Error code: ssl_error_rx_record_too_long) For the cert setup I entered localhost for the Common Name. On the live box though I will enter the FQDN that I will hit over the internet abc.def.com for example Anybody give me any pointers on how to sort this out on the test box please? Thankyou -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov -------------- 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 cafrineromy at yahoo.fr Wed Nov 21 16:38:49 2012 From: cafrineromy at yahoo.fr (romy rajoelison) Date: Wed, 21 Nov 2012 15:38:49 +0000 (GMT) Subject: SSL Enable web interface help In-Reply-To: References: <1353500586.43965.YahooMailNeo@web171606.mail.ir2.yahoo.com> <1353502049.11221.YahooMailNeo@web171605.mail.ir2.yahoo.com> <1353502150.64549.YahooMailNeo@web171602.mail.ir2.yahoo.com> Message-ID: <1353512329.57593.YahooMailNeo@web171602.mail.ir2.yahoo.com> try to?kill all those process then start nagios. ________________________________ De?: Andrew Thompson ??: romy rajoelison ; "nagios-users at lists.sourceforge.net" Envoy? le : Mercredi 21 novembre 2012 15h54 Objet?: RE: [Nagios-users] SSL Enable web interface help Grep results ? nagios at nagiosSSL:~$ sudo ps aux | grep nagios [sudo] password for nagios: nagios???? 361? 0.5? 0.0?? 4372?? 832 pts/0??? S+?? 12:49?? 0:00 grep --color=auto nagios avahi????? 735? 0.0? 0.0?? 3436? 1460 ???????? S??? 10:48?? 0:00 avahi-daemon: running [nagiosSSL.local] nagios??? 3595? 0.0? 0.1? 63148? 4140 ???????? Sl?? 10:55?? 0:00 /usr/bin/gnome-keyring-daemon --daemonize --login nagios??? 3606? 0.0? 0.2? 50492? 9844 ???????? Ssl? 10:55?? 0:00 gnome-session --session=gnome-classic nagios??? 3641? 0.0? 0.0?? 4060?? 208 ???????? Ss?? 10:55?? 0:00 /usr/bin/ssh-agent /usr/bin/dbus-launch --exit-with-session gnome-session --session=gnome-classic nagios??? 3644? 0.0? 0.0?? 3920?? 744 ???????? S??? 10:55?? 0:00 /usr/bin/dbus-launch --exit-with-session gnome-session --session=gnome-classic nagios??? 3645? 0.0? 0.0?? 5884? 2296 ???????? Ss?? 10:55?? 0:03 //bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session nagios??? 3657? 0.0? 0.3 137084 16052 ???????? Sl?? 10:55?? 0:03 /usr/lib/gnome-settings-daemon/gnome-settings-daemon nagios??? 3667? 0.0? 0.0?? 8436? 2300 ???????? S??? 10:55?? 0:00 /usr/lib/gvfs/gvfsd nagios??? 3669? 0.0? 0.0? 35040? 3228 ???????? Sl?? 10:55?? 0:00 /usr/lib/gvfs//gvfs-fuse-daemon -f /home/nagios/.gvfs nagios??? 3677? 0.0? 0.0? 48644? 3920 ???????? Sl?? 10:55 ??0:00 /usr/lib/gnome-settings-daemon/gsd-printer nagios??? 3678? 0.0? 0.3 120312 12496 ???????? Sl?? 10:55?? 0:06 metacity nagios??? 3691? 0.0? 0.0?? 9304? 2952 ???????? S??? 10:55?? 0:00 /usr/lib/i386-linux-gnu/gconf/gconfd-2 nagios??? 3692? 0.1? 0.5 113048 21564 ???????? Sl?? 10:55?? 0:11 gnome-panel nagios??? 3698? 0.0? 0.0? 88772? 3988 ???????? S ??: Andrew Thompson ; Nagios Users List Envoy? le : Mercredi 21 novembre 2012 15h47 Objet?: Re: [Nagios-users] SSL Enable web interface help ? or tried :?ps aux | grep nagios? ? and copy it here ? ________________________________ De?:Andrew Thompson ??: romy rajoelison ; Nagios Users List Envoy? le : Mercredi 21 novembre 2012 15h34 Objet?: RE: [Nagios-users] SSL Enable web interface help ? Hello thanks for reply. ? Nagios is deffo running. I don?t have any firewall enabled on local machine ? Thanks ? From:romy rajoelison [mailto:cafrineromy at yahoo.fr] Sent: 21 November 2012 12:23 To: Nagios Users List Subject: Re: [Nagios-users] SSL Enable web interface help ? Hi, Have you tried to type service nagios start? chkconfig nagios on make sure that firewall don't block nagios's port ________________________________ De?:Andrew Thompson ??: "nagios-users at lists.sourceforge.net" Envoy? le : Mercredi 21 novembre 2012 15h01 Objet?: [Nagios-users] SSL Enable web interface help ? Hi all, ? I am publishing my Nagios web console to be accessible over the interweb, now I need to make it secure. ? I have loaded a test VM with Nagios 3.4.1 on, on Ubuntu 12.04 desktop to test on rather than play with SSL on the live box. ? I have followed this guide: http://blog.stefandanielschwarz.de/2010/02/howto-securing-nagios.html ? But I cant get it to work??? ? When I browse https://localhost/nagios firefox returns: ? Secure Connection Failed ? An Error occurred during a connection to localhost ? SSL received a record that exceeded the maximum permissible length ? Error code: ssl_error_rx_record_too_long) ? For the cert setup I entered localhost for the Common Name. On the live box though I will enter the FQDN that I will hit over the internet abc.def.com for example ? Anybody give me any pointers on how to sort this out on the test box please? ? Thankyou ? ? ? ? ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ck at claudiokuenzler.com Thu Nov 22 13:11:25 2012 From: ck at claudiokuenzler.com (Claudio Kuenzler) Date: Thu, 22 Nov 2012 13:11:25 +0100 Subject: Check_http status 503 gives 200 OK In-Reply-To: References: <6CB8A6E4-A6D1-4610-9D4B-C3F3E0714564@ederdrom.de> Message-ID: Jaap, if you'd use check_http correctly, as the others mentioned, it would work. It just happens that https://latitude.google.com shows a 503 error right this moment and for curiosity's sake I tested it: # ./check_http -H latitude.google.com -S HTTP CRITICAL: HTTP/1.1 503 Service Unavailable - 1119 bytes in 0.071 second response time |time=0.070649s;;;0.000000 size=1119B;;;0 As you see, it works as it should if used correctly. On Tue, Nov 20, 2012 at 10:26 AM, Travis Runyard wrote: > He's not using host headers in his definition. > > > On Tue, Nov 20, 2012 at 12:05 AM, Joerg Linge wrote: > >> again >> >> check_http -H .... -u http://www.testsomething.com >> >> is a proxy request. NOT an valid HTTP request >> >> Joerg >> >> Am 20.11.2012 um 08:35 schrieb Jaap van Arragon > >: >> >> > Herewith >> > >> > define service{ >> > use generic-service_24x7 >> > host_name www1 >> > service_description check http >> > check_command check_http! -u >> > http://www.testsomething.com -w 5 -c 8 >> > } >> > >> > This gives me a >> > >> > HTTP OK: HTTP/1.1 200 OK - 414 bytes in 0.002 second response time >> > >> > Back. >> > >> > >> > But in the browser the check gives me a >> > >> > 503 statuscode back. >> > >> > The Nagios check_http script isn't detecting this 503 error message. >> > >> > Regards, >> > >> > Jaap >> > >> > >> > On 11/20/12 8:20 AM, "Joerg Linge" wrote: >> > >> >> Please provide a complete example! >> >> check_http works correct since years >> >> >> >> Joerg >> >> >> >> Am 19.11.2012 um 23:00 schrieb "Jaap van Arragon" < >> j.vanarragon at lukkien.com>: >> >> >> >>> Hey Joerg, >> >>> >> >>> The 4xx and 3xx error are handeld correctly but not the 5xx error ;-) >> >>> >> >>> any ideas? >> >>> >> >>> Regards, >> >>> Jaap >> >>> From: Joerg Linge [mailto:pitchfork at ederdrom.de] >> >>> To: Nagios Users List [mailto:nagios-users at lists.sourceforge.net] >> >>> Sent: Mon, 19 Nov 2012 18:07:52 +0100 >> >>> Subject: Re: [Nagios-users] Check_http status 503 gives 200 OK >> >>> >> >>> >> >>> Your example >> >>> >> >>> /usr/local/nagios/libexec/check_http -I -u http:// >> -w1 -c2 >> >>> >> >>> is a proxy request! >> >>> >> >>> -I = ip address to connect to >> >>> -H = HTTP/1.1 Host Header >> >>> -u = relative url to fetch without protocol infos like http:// >> >>> >> >>> some examples >> >>> >> >>> check nagios.org >> >>> >> >>> OMD[gearman]:~/lib/nagios/plugins$ ./check_http -H nagios.org >> >>> HTTP OK: HTTP/1.1 200 OK - 54919 bytes in 1.703 second response time >> >>> |time=1.703114s;;;0.000000 size=54919B;;;0 >> >>> >> >>> >> >>> OMD[gearman]:~/lib/nagios/plugins$ host nagios.org >> >>> nagios.org has address 96.126.126.159 >> >>> >> >>> ok, nagios .org runns on 96.126.126.159 >> >>> lets check a non existing page. we got 404! >> >>> >> >>> OMD[gearman]:~/lib/nagios/plugins$ ./check_http -I 96.126.126.159 -H >> >>> nagios.org -u /404 >> >>> HTTP WARNING: HTTP/1.1 404 Not Found - 17141 bytes in 0.536 second >> response >> >>> time |time=0.536015s;;;0.000000 size=17141B;;;0 >> >>> >> >>> lets ask nagios.org for icinga.org ;) and we will get a 302 >> >>> >> >>> OMD[gearman]:~/lib/nagios/plugins$ ./check_http -I 96.126.126.159 -H >> >>> icinga.org -u / >> >>> HTTP OK: HTTP/1.1 302 Found - 242 bytes in 1.837 second response time >> >>> |time=1.837209s;;;0.000000 size=242B;;;0 >> >>> >> >>> Joerg >> >>> >> >>> Am 19.11.2012 um 17:14 schrieb Jaap van Arragon < >> j.vanarragon at lukkien.com>: >> >>> >> >>>> Thank you for your reply. >> >>>> >> >>>> I?ve tried the check without the ip adress option but it makes no >> >>>> difference. >> >>>> >> >>>> Any other ideas? >> >>>> >> >>>> Thanks. >> >>>> >> >>>> >> >>>> On 11/19/12 2:29 PM, "Ryan Edwards" wrote: >> >>>> >> >>>>> You said u are using it like so: >> >>>>> >> >>>>> Check: >> >>>>> /usr/local/nagios/libexec/check_http -I -u http:// >> -w1 >> >>>>> -c2 >> >>>>> >> >>>>> Maybe drop the IP address? I dunno, maybe cuz you have both IP and >> the url >> >>>>> its causing problems. Maybe its replying on the IP, but not on the >> URL your >> >>>>> providing. You prob only need one or the other if im not mistaken >> >>>>> >> >>>>> Cheers! >> >>>>> >> >>>>> >> >>>>> On Mon, Nov 19, 2012 at 7:14 AM, Jaap van Arragon >> >>>>> wrote: >> >>>>>> Hello, >> >>>>>> >> >>>>>> Does anyone know why it gives me a 200 back? >> >>>>>> >> >>>>>> If you need more info, I will gladly provide it ;-) >> >>>>>> >> >>>>>> Thank you. >> >>>>>> >> >>>>>> Regards, >> >>>>>> >> >>>>>> Jaap >> >>>>>> >> >>>>>> >> >>>>>> On 11/16/12 11:54 AM, "Jaap van Arragon" >> wrote: >> >>>>>> >> >>>>>>> Hello, >> >>>>>>> >> >>>>>>> I?m trying to use the check_http plugin to verify if one of our >> website >> >>>>>>> is >> >>>>>>> available. >> >>>>>>> >> >>>>>>> When I check our website it gives me a 200 OK status code back >> even when >> >>>>>>> the >> >>>>>>> website isn?t available en the URL gives me a 503 status code >> through the >> >>>>>>> browser. >> >>>>>>> >> >>>>>>> After some searching I came across the post below: >> >>>>>>> >> >>>>>>> http://permalink.gmane.org/gmane.network.nagios.plugins.devel/485 >> >>>>>>> >> >>>>>>> This states that there is a bug in check_http. The only thing is >> that the >> >>>>>>> post >> >>>>>>> is from 2003 so I expect that the necessary changes are already >> in the >> >>>>>>> new >> >>>>>>> release. >> >>>>>>> >> >>>>>>> Things I?ve tried: >> >>>>>>> >> >>>>>>> - recompiled the latest version of the check_http plugin but the >> >>>>>>> necessary >> >>>>>>> changes seems to be integrated there already. >> >>>>>>> - updated the plugins package to the latest version for our >> release >> >>>>>>> >> >>>>>>> Check: >> >>>>>>> /usr/local/nagios/libexec/check_http -I -u http:// >> -w1 >> >>>>>>> -c2 >> >>>>>>> >> >>>>>>> Packages: >> >>>>>>> >> >>>>>>> ii nagios-images 0.5 >> >>>>>>> ii nagios-nrpe-plugin 2.12-4ubuntu1.10.04.1 >> >>>>>>> ii nagios-nrpe-server 2.12-4ubuntu1.10.04.1 >> >>>>>>> ii nagios-plugins 1.4.14-1ubuntu1 >> >>>>>>> ii nagios-plugins-basic 1.4.14-1ubuntu1 >> >>>>>>> ii nagios-plugins-standard 1.4.14-1ubuntu1 >> >>>>>>> ii nagios3 3.2.0-4ubuntu2.2 >> >>>>>>> ii nagios3-cgi 3.2.0-4ubuntu2.2 >> >>>>>>> ii nagios3-common 3.2.0-4ubuntu2.2 >> >>>>>>> ii nagios3-core 3.2.0-4ubuntu2.2 >> >>>>>>> ii nagiosgrapher 1.7.1-1 >> >>>>>>> >> >>>>>>> Does anyone know why it gives me a status 200 OK back? At the >> moment I >> >>>>>>> can't >> >>>>>>> rely on my Nagios checks.. >> >>>>>>> >> >>>>>>> Thank you in advance >> >>>>>>> >> >>>>>>> Regards >> >>>>>>> Jaap >> >>>>>> >> >>>>>> >> >>>>>> >> >>>>>> >> -------------------------------------------------------------------------- >> >>>>>> ---- >> >>>>>> Monitor your physical, virtual and cloud infrastructure from a >> single >> >>>>>> web console. Get in-depth insight into apps, servers, databases, >> vmware, >> >>>>>> SAP, cloud infrastructure, etc. Download 30-day Free Trial. >> >>>>>> Pricing starts from $795 for 25 servers or applications! >> >>>>>> http://p.sf.net/sfu/zoho_dev2dev_nov >> >>>>>> _______________________________________________ >> >>>>>> Nagios-users mailing list >> >>>>>> Nagios-users at lists.sourceforge.net >> >>>>>> https://lists.sourceforge.net/lists/listinfo/nagios-users >> >>>>>> ::: Please include Nagios version, plugin version (-v) and OS when >> >>>>>> reporting any issue. >> >>>>>> ::: Messages without supporting info will risk being sent to >> /dev/null >> >>>>> >> >>>>> >> >>>> >> ---------------------------------------------------------------------------- >> >>>> -- >> >>>> Monitor your physical, virtual and cloud infrastructure from a single >> >>>> web console. Get in-depth insight into apps, servers, databases, >> vmware, >> >>>> SAP, cloud infrastructure, etc. Download 30-day Free Trial. >> >>>> Pricing starts from $795 for 25 servers or applications! >> >>>> >> http://p.sf.net/sfu/zoho_dev2dev_nov________________________________________ >> >>>> _______ >> >>>> Nagios-users mailing list >> >>>> Nagios-users at lists.sourceforge.net >> >>>> https://lists.sourceforge.net/lists/listinfo/nagios-users >> >>>> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting >> >>>> any issue. >> >>>> ::: Messages without supporting info will risk being sent to >> /dev/null >> >>> >> >>> >> >>> >> > >> ----------------------------------------------------------------------------->> >> > - >> >>> Monitor your physical, virtual and cloud infrastructure from a single >> >>> web console. Get in-depth insight into apps, servers, databases, >> vmware, >> >>> SAP, cloud infrastructure, etc. Download 30-day Free Trial. >> >>> Pricing starts from $795 for 25 servers or applications! >> >>> http://p.sf.net/sfu/zoho_dev2dev_nov >> >>> _______________________________________________ >> >>> Nagios-users mailing list >> >>> Nagios-users at lists.sourceforge.net >> >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >> >>> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting >> >>> any issue. >> >>> ::: Messages without supporting info will risk being sent to /dev/null >> >>> >> > >> ----------------------------------------------------------------------------->> >> > - >> >>> Monitor your physical, virtual and cloud infrastructure from a single >> >>> web console. Get in-depth insight into apps, servers, databases, >> vmware, >> >>> SAP, cloud infrastructure, etc. Download 30-day Free Trial. >> >>> Pricing starts from $795 for 25 servers or applications! >> >>> >> http://p.sf.net/sfu/zoho_dev2dev_nov_________________________________________ >> >>> ______ >> >>> Nagios-users mailing list >> >>> Nagios-users at lists.sourceforge.net >> >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >> >>> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting >> >>> any issue. >> >>> ::: Messages without supporting info will risk being sent to /dev/null >> >> >> >> >> >> >> ------------------------------------------------------------------------------ >> >> Monitor your physical, virtual and cloud infrastructure from a single >> >> web console. Get in-depth insight into apps, servers, databases, >> vmware, >> >> SAP, cloud infrastructure, etc. Download 30-day Free Trial. >> >> Pricing starts from $795 for 25 servers or applications! >> >> http://p.sf.net/sfu/zoho_dev2dev_nov >> >> _______________________________________________ >> >> Nagios-users mailing list >> >> Nagios-users at lists.sourceforge.net >> >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting >> >> any issue. >> >> ::: Messages without supporting info will risk being sent to /dev/null >> > >> > >> > >> > >> ------------------------------------------------------------------------------ >> > Monitor your physical, virtual and cloud infrastructure from a single >> > web console. Get in-depth insight into apps, servers, databases, vmware, >> > SAP, cloud infrastructure, etc. Download 30-day Free Trial. >> > Pricing starts from $795 for 25 servers or applications! >> > http://p.sf.net/sfu/zoho_dev2dev_nov >> > _______________________________________________ >> > Nagios-users mailing list >> > Nagios-users at lists.sourceforge.net >> > https://lists.sourceforge.net/lists/listinfo/nagios-users >> > ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> > ::: Messages without supporting info will risk being sent to /dev/null >> >> >> >> ------------------------------------------------------------------------------ >> Monitor your physical, virtual and cloud infrastructure from a single >> web console. Get in-depth insight into apps, servers, databases, vmware, >> SAP, cloud infrastructure, etc. Download 30-day Free Trial. >> Pricing starts from $795 for 25 servers or applications! >> http://p.sf.net/sfu/zoho_dev2dev_nov >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > > > ------------------------------------------------------------------------------ > Monitor your physical, virtual and cloud infrastructure from a single > web console. Get in-depth insight into apps, servers, databases, vmware, > SAP, cloud infrastructure, etc. Download 30-day Free Trial. > Pricing starts from $795 for 25 servers or applications! > http://p.sf.net/sfu/zoho_dev2dev_nov > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov -------------- 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 niall at makalumedia.com Fri Nov 23 08:38:52 2012 From: niall at makalumedia.com (Niall O Broin) Date: Fri, 23 Nov 2012 08:38:52 +0100 Subject: Nagios showing OK for service which is in CRITICAL state Message-ID: <8609F838-B46A-4EAC-8CEA-54461E9A2298@makalumedia.com> Had a bit of a panic this morning to get into the office and see that an SSL cert. had expired. By pure good luck I was in work very early so I got moving on a new cert. and having done that, I headed off to my Nagios status page because I was pretty sure that I had a check for this cert. in place. Sure enough, I did, but Nagios wasn't displaying an alert for its expiry, nor had it warned me that it was about to expire. I opened up the Services page and there I saw the following line, just as green as any of the others: SSL cert. YOUR-DOMAIN OK 2012-11-23 08:28:58 207d 17h 2m 26s 1/4 CRITICAL - Cannot make SSL connection Now HOW on earth can Nagios be displaying CRITICAL - Cannot make SSL connection in the Status Information column while simultaneously showing OK in the Status column ? Kindest regards, Niall O Broin ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From niall at makalumedia.com Fri Nov 23 12:06:28 2012 From: niall at makalumedia.com (Niall O Broin) Date: Fri, 23 Nov 2012 12:06:28 +0100 Subject: Nagios showing OK for service which is in CRITICAL state In-Reply-To: <50AF4A8A.2030203@flatto.net> References: <8609F838-B46A-4EAC-8CEA-54461E9A2298@makalumedia.com> <50AF4A8A.2030203@flatto.net> Message-ID: <98972607-314C-45C9-BF30-F549B6C88554@makalumedia.com> On 23 Nov 2012, at 11:06, Assaf Flatto wrote: > On 23/11/12 07:38, Niall O Broin wrote: >> Had a bit of a panic this morning to get into the office and see that an SSL cert. had expired. By pure good luck I was in work very early so I got moving on a new cert. and having done that, I headed off to my Nagios status page because I was pretty sure that I had a check for this cert. in place. Sure enough, I did, but Nagios wasn't displaying an alert for its expiry, nor had it warned me that it was about to expire. >> >> I opened up the Services page and there I saw the following line, just as green as any of the others: >> >> >> SSL cert. YOUR-DOMAIN OK 2012-11-23 08:28:58 207d 17h 2m 26s 1/4 CRITICAL - Cannot make SSL connection >> >> >> Now HOW on earth can Nagios be displaying CRITICAL - Cannot make SSL connection in the Status Information column while simultaneously showing OK in the Status column ? > What plugin are you using ? it could be that the text returned from the > check includes the Critical string but the execution exit code is 0 and > hence translated as OK by nagios My bad - I should have mentioned that I had already checked that - I am using the standard check_http plugin. But your asking that has anyway solved the problem, because it jogged my mind somehow. The check_http plugin outputs dates in U.S. format, and this is not configurable. I had a command definition which passed the output of the plugin through, so what Nagios was getting back was the result code from sed and not from the plugin. I've now written a little wrapper script which saves the result code and all is now sweetness and light. It would be nice if check_http's date output format were configurable :-( Kindest regards, Niall O Broin ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lqmarshall at inetspace.net Fri Nov 23 14:37:51 2012 From: lqmarshall at inetspace.net (lqmarshall at inetspace.net) Date: Fri, 23 Nov 2012 08:37:51 -0500 Subject: SSL Enable web interface help In-Reply-To: References: Message-ID: <006d01cdc97f$c67a8440$536f8cc0$@net> This seems to be an Apache(ssl) configuration issue not NAGIOS. I'd expect that you'd find more assistance on an apache list. That said... How are you connecting to a remote host using localhost? Localhost will resolve to the local system which makes it generally a non-functional name especially for SSL connections on most setups. -----Original Message----- From: nagios-users-request at lists.sourceforge.net [mailto:nagios-users-request at lists.sourceforge.net] Sent: Wednesday, November 21, 2012 10:26 AM To: nagios-users at lists.sourceforge.net Subject: Nagios-users Digest, Vol 78, Issue 12 Send Nagios-users mailing list submissions to nagios-users at lists.sourceforge.net To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/nagios-users or, via email, send a message with subject or body 'help' to nagios-users-request at lists.sourceforge.net You can reach the person managing the list at nagios-users-owner at lists.sourceforge.net When replying, please edit your Subject line so it is more specific than "Re: Contents of Nagios-users digest..." Today's Topics: 1. Re: SSL Enable web interface help (Andrew Thompson) 2. Re: SSL Enable web interface help (romy rajoelison) 3. FW: SSL Enable web interface help (FTL Nagios) ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bluethundr at jokefire.com Sat Nov 24 15:30:41 2012 From: bluethundr at jokefire.com (Tim Dunphy) Date: Sat, 24 Nov 2012 09:30:41 -0500 (EST) Subject: detect failover in suncluster In-Reply-To: <598067779.34.1353767121970.JavaMail.root@jokefire.com> References: <598067779.34.1353767121970.JavaMail.root@jokefire.com> Message-ID: <855587998.41.1353767441887.JavaMail.root@jokefire.com> Hello, I've been asked to check whether members of a number of sun clusters we have here have 'failed over' from primary to secondary. The clustered machines are all Oracle Databases. The idea is that if one node goes down then the secondary in the node becomes the primary Database. Apparently this is all achieved through Sun Cluster, which I have to admit I'm not well versed on. I did find a plugin in the nagios exchange that checks the components of Sun Cluster - things such as IPMP, resource groups and quorum. But what I don't think it offers is to tell if one node fails over to another. It could just be that I don't know enough about Sun Cluster to correlate the options in the check. Here's the usage for the check: [db07-dc2:~] root% /opt/nagios/libexec/check_suncluster -h Usage: check_suncluster [-t, -q, -g, -G resource-group, -r, -R resource, -i] Usage: check_suncluster --help Sun Cluster check plugin for Nagios -t: check transport paths -q: check quorum -g: check resource groups -G: check one individual resource group -r: check all resources -R: check one individual resources -i: check IPMP groups Does anyone out there have any suggestions on how I may get this check or perhaps another one you may know of to indicate whether a Sun Cluster (Database) node fails over and a secondary becomes primary? Thanks in advance, Tim ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 27 09:19:02 2012 From: trm.nagios at gmail.com (trm asn) Date: Tue, 27 Nov 2012 13:49:02 +0530 Subject: Email notification while scheduling downtime Message-ID: Dear Friends, I would like to setup an email notification mechanism while adding a schedule maintenance downtime. It should use the existing contact info to send the mail. it'll be really helpful, if anybody help me to get started with. --Thanks, TRM -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From travisrunyard at gmail.com Tue Nov 27 10:59:51 2012 From: travisrunyard at gmail.com (Travis Runyard) Date: Tue, 27 Nov 2012 01:59:51 -0800 Subject: Email notification while scheduling downtime In-Reply-To: References: Message-ID: Its the "S" attribute, just like D,U,C,W,R etc... just put it in your contacts.cfg and templates.cfg On Tue, Nov 27, 2012 at 12:19 AM, trm asn wrote: > Dear Friends, > > I would like to setup an email notification mechanism while adding a > schedule maintenance downtime. It should use the existing contact info to > send the mail. > it'll be really helpful, if anybody help me to get started with. > > > --Thanks, > TRM > > > ------------------------------------------------------------------------------ > Monitor your physical, virtual and cloud infrastructure from a single > web console. Get in-depth insight into apps, servers, databases, vmware, > SAP, cloud infrastructure, etc. Download 30-day Free Trial. > Pricing starts from $795 for 25 servers or applications! > http://p.sf.net/sfu/zoho_dev2dev_nov > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov -------------- 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 Nov 27 13:17:09 2012 From: xml.devel at gmail.com (Kumar, Ashish) Date: Tue, 27 Nov 2012 17:47:09 +0530 Subject: Email notification while scheduling downtime In-Reply-To: References: Message-ID: On 27 November 2012 15:29, Travis Runyard wrote: > Its the "S" attribute, just like D,U,C,W,R etc... just put it in your > contacts.cfg and templates.cfg > > Modify your contacts/contactgroups as: define contact { ..... host_notification_options d,u,r,s ..... } refer to http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#contact for further information. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov -------------- 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 Nov 27 18:32:58 2012 From: fatcharly at gmx.de (fatcharly at gmx.de) Date: Tue, 27 Nov 2012 18:32:58 +0100 Subject: event handler debug Message-ID: <20121127173258.12240@gmx.net> Hi, I`m using a nagios 3.0.3 on a CentOS 5.8 and I?m a little stuck with a eventhandeler problem- I can`t see it running and I can?t find a problem in the logfiles. Here a short overview: define service{ use generic-service host_name hostname service_description host_hh_prod1_1 check_command check_nrpe!hh_prod1_1 event_handler hh_prod11_down notifications_enabled 1 } in commands.cfg is defined: define command{ command_name hh_prod11_down command_line /usr/local/nagios/libexec/eventhandlers/hh_prod1_1_down.sh $HOSTSTATE$ $HOSTSTATETYPE$ $HOSTATTEMPT$ } /usr/local/nagios/libexec/eventhandlers/hh_prod1_1_down.sh : #/bin/bash # $1=State $2=Zustandstyp hard oder soft $3= Versuch case $1 in OK) #/usr/local/nagios/libexec/check_nrpe -H 192.168.18.30 -c route_back_1 echo `date`"route hh_prod1_1 ok" >>/var/log/ipsecrouting_beth.log ;; CRITICAL) if [ $2 == "HARD" ] || [[ $2="SOFT" && $3 -gt 0 ]]; then /usr/local/nagios/libexec/check_nrpe -H 192.168.16.4 -c check_hhprod11 echo `date`"route hh_prod1_1 down" >>/var/log/ipsecrouting_beth.log fi ;; UNKNOWN) echo `date`"route hh_prod1_1 down unkonwn error kein event" >>/var/log/ipsecrouting_beth.log ;; esac exit 0 When I call the hh_prod1_1_down.sh manuell with the appropriate numbers, I get entries in the ipsecrouting_beth.log-file and the command is executed, but when I let it run by nagios nothing is happening. Any suggestions or hints to debug (I already switched the debug to -1 but nothing can be found about the event handler) are welcome. Kind regards fatcharly ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 27 18:45:39 2012 From: fatcharly at gmx.de (fatcharly at gmx.de) Date: Tue, 27 Nov 2012 18:45:39 +0100 Subject: event handler debug In-Reply-To: <20121127173258.12240@gmx.net> References: <20121127173258.12240@gmx.net> Message-ID: <20121127174539.12240@gmx.net> I forgot to mention that log_event_handlers is set to 1. Kind regards fatcharly -------- Original-Nachricht -------- > Datum: Tue, 27 Nov 2012 18:32:58 +0100 > Von: fatcharly at gmx.de > An: " nagios-list" > Betreff: [Nagios-users] event handler debug > Hi, > > I`m using a nagios 3.0.3 on a CentOS 5.8 and I?m a little stuck with a > eventhandeler problem- I can`t see it running and I can?t find a problem in > the logfiles. Here a short overview: > > define service{ > use generic-service > host_name hostname > service_description host_hh_prod1_1 > check_command check_nrpe!hh_prod1_1 > event_handler hh_prod11_down > notifications_enabled 1 > } > > > in commands.cfg is defined: > > define command{ > command_name hh_prod11_down > command_line > /usr/local/nagios/libexec/eventhandlers/hh_prod1_1_down.sh $HOSTSTATE$ $HOSTSTATETYPE$ $HOSTATTEMPT$ > } > > > /usr/local/nagios/libexec/eventhandlers/hh_prod1_1_down.sh : > > #/bin/bash > # $1=State $2=Zustandstyp hard oder soft $3= Versuch > case $1 in > OK) > #/usr/local/nagios/libexec/check_nrpe -H 192.168.18.30 -c > route_back_1 > echo `date`"route hh_prod1_1 ok" >>/var/log/ipsecrouting_beth.log > ;; > CRITICAL) > if [ $2 == "HARD" ] || [[ $2="SOFT" && $3 -gt 0 ]]; then > /usr/local/nagios/libexec/check_nrpe -H 192.168.16.4 -c > check_hhprod11 > echo `date`"route hh_prod1_1 down" > >>/var/log/ipsecrouting_beth.log > fi > ;; > UNKNOWN) > echo `date`"route hh_prod1_1 down unkonwn error kein event" > >>/var/log/ipsecrouting_beth.log > ;; > esac > exit 0 > > When I call the hh_prod1_1_down.sh manuell with the appropriate numbers, I > get entries in the ipsecrouting_beth.log-file and the command is executed, > but when I let it run by nagios nothing is happening. > > > Any suggestions or hints to debug (I already switched the debug to -1 but > nothing can be found about the event handler) are welcome. > > Kind regards > > fatcharly > > ------------------------------------------------------------------------------ > Monitor your physical, virtual and cloud infrastructure from a single > web console. Get in-depth insight into apps, servers, databases, vmware, > SAP, cloud infrastructure, etc. Download 30-day Free Trial. > Pricing starts from $795 for 25 servers or applications! > http://p.sf.net/sfu/zoho_dev2dev_nov > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 27 20:16:50 2012 From: nagios at flatto.net (Assaf Flatto) Date: Tue, 27 Nov 2012 19:16:50 +0000 Subject: event handler debug In-Reply-To: <20121127173258.12240@gmx.net> References: <20121127173258.12240@gmx.net> Message-ID: <50B511A2.7020605@flatto.net> On 27/11/12 17:32, fatcharly at gmx.de wrote: > Hi, > > I`m using a nagios 3.0.3 on a CentOS 5.8 and I?m a little stuck with a eventhandeler problem- I can`t see it running and I can?t find a problem in the logfiles. Here a short overview: > > define service{ > use generic-service > host_name hostname > service_description host_hh_prod1_1 > check_command check_nrpe!hh_prod1_1 > event_handler hh_prod11_down > notifications_enabled 1 > } > > > in commands.cfg is defined: > > define command{ > command_name hh_prod11_down > command_line /usr/local/nagios/libexec/eventhandlers/hh_prod1_1_down.sh $HOSTSTATE$ $HOSTSTATETYPE$ $HOSTATTEMPT$ > } > > > /usr/local/nagios/libexec/eventhandlers/hh_prod1_1_down.sh : > > #/bin/bash > # $1=State $2=Zustandstyp hard oder soft $3= Versuch > case $1 in > OK) > #/usr/local/nagios/libexec/check_nrpe -H 192.168.18.30 -c route_back_1 > echo `date`"route hh_prod1_1 ok">>/var/log/ipsecrouting_beth.log > ;; > CRITICAL) > if [ $2 == "HARD" ] || [[ $2="SOFT"&& $3 -gt 0 ]]; then > /usr/local/nagios/libexec/check_nrpe -H 192.168.16.4 -c check_hhprod11 > echo `date`"route hh_prod1_1 down">>/var/log/ipsecrouting_beth.log > fi > ;; > UNKNOWN) > echo `date`"route hh_prod1_1 down unkonwn error kein event">>/var/log/ipsecrouting_beth.log > ;; > esac > exit 0 > > When I call the hh_prod1_1_down.sh manuell with the appropriate numbers, I get entries in the ipsecrouting_beth.log-file and the command is executed, but when I let it run by nagios nothing is happening. > > > Any suggestions or hints to debug (I already switched the debug to -1 but nothing can be found about the event handler) are welcome. > > Kind regards > > fatcharly > > ------------------------------------------------------------------------------ > Monitor your physical, virtual and cloud infrastructure from a single > web console. Get in-depth insight into apps, servers, databases, vmware, > SAP, cloud infrastructure, etc. Download 30-day Free Trial. > Pricing starts from $795 for 25 servers or applications! > http://p.sf.net/sfu/zoho_dev2dev_nov > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null can you see anything on the nrpe side ? when you are testing , are you running it as the nagios user or as root? Where are you passing the parameters to the eventhandler in your command definition ? ------------------------------------------------------------------------------ Keep yourself connected to Go Parallel: DESIGN Expert tips on starting your parallel project right. http://goparallel.sourceforge.net _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From support at voipbusiness.us Tue Nov 27 20:30:00 2012 From: support at voipbusiness.us (Tech Support) Date: Tue, 27 Nov 2012 14:30:00 -0500 Subject: Defining a service dependency for large number of services Message-ID: <00da01cdccd5$97e15600$c7a40200$@us> All; I need to define service dependencies for some services. Pretty straightforward stuff, do not check service B unless service A is running also. For example, I have 100 different service checks that all depend on service A. So my question is this. Is there an easy way to define a dependency for a large number of services? Any insight at all would be greatly appreciated. Thanks; John -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Keep yourself connected to Go Parallel: DESIGN Expert tips on starting your parallel project right. http://goparallel.sourceforge.net -------------- 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 mgagne at iweb.com Tue Nov 27 21:33:11 2012 From: mgagne at iweb.com (=?ISO-8859-1?Q?Mathieu_Gagn=E9?=) Date: Tue, 27 Nov 2012 15:33:11 -0500 Subject: Defining a service dependency for large number of services In-Reply-To: <00da01cdccd5$97e15600$c7a40200$@us> References: <00da01cdccd5$97e15600$c7a40200$@us> Message-ID: <50B52387.8060902@iweb.com> Hi, On 12-11-27 2:30 PM, Tech Support wrote: > > I need to define service dependencies for some services. Pretty > straightforward stuff, do not check service B unless service A is > running also. For example, I have 100 different service checks that all > depend on service A. So my question is this. Is there an easy way to > define a dependency for a large number of services? Any insight at all > would be greatly appreciated. > > Thanks; > You can use this trick: http://nagios.sourceforge.net/docs/3_0/objecttricks.html#same_host_dependency_with_servicegroups I use it to massively add service dependencies for all NRPE based service checks on the NRPE service running on the same host as the NRPE based service checks. -- Mathieu ------------------------------------------------------------------------------ Keep yourself connected to Go Parallel: DESIGN Expert tips on starting your parallel project right. http://goparallel.sourceforge.net _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Nov 27 22:59:27 2012 From: nagiosusers at edcint.co.nz (Matthew Jurgens) Date: Wed, 28 Nov 2012 08:59:27 +1100 Subject: event handler debug In-Reply-To: <50B511A2.7020605@flatto.net> References: <20121127173258.12240@gmx.net> <50B511A2.7020605@flatto.net> Message-ID: <50B537BF.20201@edcint.co.nz> For shell based event handlers I normally add these lines to the top of the script: set -x exec >> /tmp/event.log 2>&1 echo "================= Started `date` ================" set This way, everything the event handler does is written to the file /tmp/event.log Also, this page: http://edcint.co.nz/checkwmiplus/?q=genericeventhandler is about a generic event handler which could replace your event handler just by passing it some parameters. The other advantage of the generic event handler is that is has good logging and debug features. This page: http://edcint.co.nz/checkwmiplus/?q=faq_worksoncommandline is about plugins that don't work in Nagios but work on the command line. Most of the pointers here also apply to event handlers. On 28/11/2012 6:16 AM, Assaf Flatto wrote: > On 27/11/12 17:32, fatcharly at gmx.de wrote: >> Hi, >> >> I`m using a nagios 3.0.3 on a CentOS 5.8 and I?m a little stuck with a eventhandeler problem- I can`t see it running and I can?t find a problem in the logfiles. Here a short overview: >> > -- Smartmon System Monitoring www.smartmon.com.au -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Keep yourself connected to Go Parallel: DESIGN Expert tips on starting your parallel project right. http://goparallel.sourceforge.net -------------- 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 Anil_KumarV at McAfee.com Tue Nov 27 11:29:25 2012 From: Anil_KumarV at McAfee.com (Anil_KumarV at McAfee.com) Date: Tue, 27 Nov 2012 10:29:25 +0000 Subject: Nagios plugin check_ftp default threshold limits Message-ID: Hi Guys Can you guys let us know what is the default Critical(-c) and warning(-w) response time threshold limits set for the below plugin : ============================================================================================================== # / check_ftp --help check_ftp v1991 (nagios-plugins 1.4.13) Copyright (c) 1999 Ethan Galstad Copyright (c) 1999-2008 Nagios Plugin Development Team This plugin tests FTP connections with the specified host (or unix socket). Usage:check_ftp -H host -p port [-w ] [-c ] [-s ] [-e ] [-q ][-m ] [-d ] [-t ] [-r ] [-M ] [-v] [-4|-6] [-j] [-D ] [-S ] [-E] Options: -h, --help Print detailed help screen -V, --version Print version information -H, --hostname=ADDRESS Host name, IP Address, or unix socket (must be an absolute path) -p, --port=INTEGER Port number (default: none) -4, --use-ipv4 Use IPv4 connection -6, --use-ipv6 Use IPv6 connection -E, --escape Can use \n, \r, \t or \ in send or quit string. Must come before send or quit option Default: nothing added to send, \r\n added to end of quit -s, --send=STRING String to send to the server -e, --expect=STRING String to expect in server response (may be repeated) -A, --all All expect strings need to occur in server response. Default is any -q, --quit=STRING String to send server to initiate a clean close of the connection -r, --refuse=ok|warn|crit Accept tcp refusals with states ok, warn, crit (default: crit) -M, --mismatch=ok|warn|crit Accept expected string mismatches with states ok, warn, crit (default: warn) -j, --jail Hide output from TCP socket -m, --maxbytes=INTEGER Close connection once more than this number of bytes are received -d, --delay=INTEGER Seconds to wait between sending string and polling for response -D, --certificate=INTEGER Minimum number of days a certificate has to be valid. -S, --ssl Use SSL for the connection. -w, --warning=DOUBLE Response time to result in warning status (seconds) -c, --critical=DOUBLE Response time to result in critical status (seconds) -t, --timeout=INTEGER Seconds before connection times out (default: 10) -v, --verbose Show details for command-line debugging (Nagios may truncate output) Send email to nagios-users at lists.sourceforge.net if you have questions regarding use of this software. To submit patches or suggest improvements, send email to nagiosplug-devel at lists.sourceforge.net ============================================================================================================== Anil Kumar V Infrastructure Engineer (McAfee Labs) [cid:image001.png at 01CB69EE.8BB3CB20] McAfee, Inc. Embassy Golf Links Business Park | Pine Valley | Bangalore | 560071 Main: +91 80 6656 9000 Direct: +91 80 6656 1604 Mobile: +91 968 656 6550 Anil_Kumar2 at mcafee.com www.mcafee.com Avoid dangerous web sites using McAfee SiteAdvisor(tm) FREE download here [sns_sig_550x120_fnl.png] -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 2895 bytes Desc: image001.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.png Type: image/png Size: 54368 bytes Desc: image002.png URL: -------------- next part -------------- ------------------------------------------------------------------------------ Keep yourself connected to Go Parallel: INSIGHTS What's next for parallel hardware, programming and related areas? Interviews and blogs by thought leaders keep you ahead of the curve. http://goparallel.sourceforge.net -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From support at voipbusiness.us Wed Nov 28 23:40:55 2012 From: support at voipbusiness.us (Tech Support) Date: Wed, 28 Nov 2012 17:40:55 -0500 Subject: Defining a service dependency for large number of services In-Reply-To: <50B52387.8060902@iweb.com> References: <00da01cdccd5$97e15600$c7a40200$@us> <50B52387.8060902@iweb.com> Message-ID: <012d01cdcdb9$6e181bd0$4a485370$@us> Thank you. That?s extremely helpful information. I have one problem though. Because the master service that the service group depends on is also part of the service group, I'm getting (an expected) error about the circular dependency. Is there an easy way around that? Thanks; John -----Original Message----- From: Mathieu Gagn? [mailto:mgagne at iweb.com] Sent: Tuesday, November 27, 2012 3:33 PM To: Nagios Users List Cc: Tech Support Subject: Re: [Nagios-users] Defining a service dependency for large number of services Hi, On 12-11-27 2:30 PM, Tech Support wrote: > > I need to define service dependencies for some services. Pretty > straightforward stuff, do not check service B unless service A is > running also. For example, I have 100 different service checks that > all depend on service A. So my question is this. Is there an easy way > to define a dependency for a large number of services? Any insight at > all would be greatly appreciated. > > Thanks; > You can use this trick: http://nagios.sourceforge.net/docs/3_0/objecttricks.html#same_host_dependenc y_with_servicegroups I use it to massively add service dependencies for all NRPE based service checks on the NRPE service running on the same host as the NRPE based service checks. -- Mathieu ------------------------------------------------------------------------------ Keep yourself connected to Go Parallel: INSIGHTS What's next for parallel hardware, programming and related areas? Interviews and blogs by thought leaders keep you ahead of the curve. http://goparallel.sourceforge.net _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From support at crazynetwork.it Wed Nov 28 23:56:17 2012 From: support at crazynetwork.it (Supporto Tecnico - Crazy Network) Date: Wed, 28 Nov 2012 23:56:17 +0100 Subject: Nagios 3.99.95 contact_groups In-Reply-To: <50AB8D20.2020806@crazynetwork.it> References: <50AB8D20.2020806@crazynetwork.it> Message-ID: <50B69691.8040905@crazynetwork.it> no one have any hint on my issue? Il 20/11/2012 15:01, Supporto Tecnico - Crazy Network ha scritto: > Hi, > > i did update Nagios to this alpha release for test purpose using working > configurations (on Nagios 3.4.1). > > The only big trouble im having is that i dont receive any notification. > > Here contacts.cfg > > define contact{ > name cn-contacts > service_notification_period 24x7 > host_notification_period 24x7 > service_notification_options c,r > host_notification_options d,u,r > service_notification_commands notify-service-by-email > host_notification_commands notify-host-by-email > register 0 > } > > define contact{ > contact_name andrea.iannucci > use cn-contacts > alias Andrea Iannucci > email support at crazynetwork.it > contact_groups crazynetwork.it > service_notification_commands > notify-service-by-email,notify-service-by-sms > host_notification_commands > notify-host-by-email,notify-host-by-sms > pager ************* > } > > define contactgroup{ > contactgroup_name crazynetwork.it > alias CrazyNetwork.it Staff > } > > > I did try to use contactgroups and contact_groups in contact definition > I did try to add members andrea.iannucci in contactgroup definition > > The error on debug_level=32 i can see is that for group crazynetwork.it > he cant fine any member (in any case). > > Setting contacts instead of contact_groups to services definition make > notification work. > > Here debug output: > > [1353420007.497082] [032.0] [pid=14604] ** Service Notification Attempt > ** Host: 'Test.CrazyNetwork.it', Service: 'MySQL', Type: 0, Options: 0, > Current State: 0, Last Notification: Thu Jan 1 01:00:00 1970 > [1353420007.497154] [032.0] [pid=14604] Notification viability test passed. > [1353420007.497181] [032.1] [pid=14604] Current notification number: 2 > (incremented) > [1353420007.497195] [032.2] [pid=14604] Creating list of contacts to be > notified. > [1353420007.497206] [032.1] [pid=14604] Service notification will NOT be > escalated. > [1353420007.497217] [032.1] [pid=14604] Adding normal contacts for > service to notification list. > [1353420007.497233] [032.2] [pid=14604] Adding members of contact group > 'crazynetwork.it' for service to notification list. > [1353420007.497245] [032.0] [pid=14604] No contacts were found for > notification purposes. No notification was sent out. > > > Hope someone can help me fix this cause on older version was working at > actually it look like a bug to me. > > Thanks -- Andrea Iannucci ------------------------------- ------------------------------- Crazy Network di Iannucci Andrea Viale G.B. Lulli, 24 00050 Cerveteri - RM (w) www.crazynetwork.it (e) andrea.iannucci at crazynetwork.it (t) +39 06 62279876 (f) +39 06 62298767 (m) +39 338 8552885 ------------------------------------------------------------------------------- Please consider our enviromental responsability before printing this E-Mail. Thank you. ------------------------------------------------------------------------------- Questo messaggio di posta elettronica contiene informazioni di carattere confidenziale rivolte esclusivamente al destinatario sopra indicato. E' vietato l'uso, la diffusione, distribuzione o riproduzione da parte di ogni altra persona. Nel caso aveste ricevuto questo messaggio di posta elettronica per errore, siete pregati di segnalarlo immediatamente al mittente e distruggere quanto ricevuto (compresi i file allegati) senza farne copia. Qualsivoglia utilizzo non autorizzato del contenuto di questo messaggio costituisce violazione dell'obbligo di non prendere cognizione della corrispondenza tra altri soggetti, salvo pi? grave illecito, ed espone il responsabile alle relative conseguenze. -------------------------------------------------------------------------------- This e-mail is confidential and may also contain privileged information. If you are not the intended recipient you are not authorised to read, print, save, process or disclose this message. If you have received this message by mistake, please inform the sender immediately and delete this e-mail, its attachments and any copies. Any use, distribution, reproduction or disclosure by any person other than the intended recipient is strictly prohibited and the person responsible may incur penalties. -------------------------------------------------------------------------------- ------------------------------------------------------------------------------ Keep yourself connected to Go Parallel: INSIGHTS What's next for parallel hardware, programming and related areas? Interviews and blogs by thought leaders keep you ahead of the curve. http://goparallel.sourceforge.net _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Nov 29 11:53:18 2012 From: pitchfork at ederdrom.de (Joerg Linge) Date: Thu, 29 Nov 2012 11:53:18 +0100 Subject: Nagios plugin check_ftp default threshold limits In-Reply-To: References: Message-ID: <9051CBA6-2CC8-41F1-A032-1BCDFA8F1203@ederdrom.de> Am 27.11.2012 um 11:29 schrieb Anil_KumarV at McAfee.com: > Hi Guys > > Can you guys let us know what is the default Critical(-c) and warning(-w) response time threshold limits set for the below plugin : > https://github.com/nagios-plugins/nagios-plugins/blob/master/plugins/check_tcp.c#L61 IMHO the default is 0 so you have to define -w and -c to check against these thresholds Per default the state depends in the ftp server response and not on response time Joerg ------------------------------------------------------------------------------ Keep yourself connected to Go Parallel: VERIFY Test and improve your parallel project with help from experts and peers. http://goparallel.sourceforge.net _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Nov 29 12:29:30 2012 From: zarrelli at linux.it (Giorgio Zarrelli) Date: Thu, 29 Nov 2012 12:29:30 +0100 Subject: Nagios plugin check_ftp default threshold limits In-Reply-To: <9051CBA6-2CC8-41F1-A032-1BCDFA8F1203@ederdrom.de> References: <9051CBA6-2CC8-41F1-A032-1BCDFA8F1203@ederdrom.de> Message-ID: Hi, I never used this plugin but perusing through the code I see: /* perf-data doesn't apply when server doesn't talk properly, * so print all zeroes on warn and crit. Use fperfdata since * localisation settings can make different outputs */ if(match == FALSE) printf ("|%s", fperfdata ("time", elapsed_time, "s", (flags & FLAG_TIME_WARN ? TRUE : FALSE), 0, (flags & FLAG_TIME_CRIT ? TRUE : FALSE), 0, TRUE, 0, TRUE, socket_timeout) ); else printf("|%s", fperfdata ("time", elapsed_time, "s", (flags & FLAG_TIME_WARN ? TRUE : FALSE), warning_time, (flags & FLAG_TIME_CRIT ? TRUE : FALSE), critical_time, TRUE, 0, TRUE, socket_timeout) ); putchar('\n'); return result; } So I suppose it depends on how long it takes or you consider acceptable to receive an answer from the daemon. Giorgio > > Am 27.11.2012 um 11:29 schrieb Anil_KumarV at McAfee.com: > >> Hi Guys >> >> Can you guys let us know what is the default Critical(-c) and >> warning(-w) response time threshold limits set for the below plugin : >> > > https://github.com/nagios-plugins/nagios-plugins/blob/master/plugins/check_tcp.c#L61 > > IMHO the default is 0 so you have to define -w and -c to check against > these thresholds > > Per default the state depends in the ftp server response and not on > response time > > Joerg > > > ------------------------------------------------------------------------------ > Keep yourself connected to Go Parallel: > VERIFY Test and improve your parallel project with help from experts > and peers. http://goparallel.sourceforge.net > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Keep yourself connected to Go Parallel: VERIFY Test and improve your parallel project with help from experts and peers. http://goparallel.sourceforge.net _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andrew at fulgent.co.uk Thu Nov 29 17:10:37 2012 From: andrew at fulgent.co.uk (Andrew Thompson) Date: Thu, 29 Nov 2012 16:10:37 +0000 Subject: Nagios is ignoring the retry_interval setting Message-ID: Hi, My nagios box has decided to stop listening to the retry_interval entry in my templates. My server template reads: define host{ name host-server check_period server_24x7 check_interval 1 retry_interval 3 max_check_attempts 3 notification_period server_24x7 notification_interval 3 notification_options d,r notifications_enabled 1 contact_groups servers email, servers sms event_handler_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 passive_checks_enabled 0 obsess_over_host 0 check_freshness 0 flap_detection_enabled 0 failure_prediction_enabled 0 } Now this is what happens: * Server goes down at 1pm. * I check the next scheduled check and it clearly states 1.03pm * But at 1.01pm it checks again and then spits out an email and text message saying the server is down. Completely ignoring the retry_interval setting!!! Id expect from the above: * 1pm server goes down * 1.03pm check 2 is done * 1.06pm check 3 is done and determined hard state. * At 1.06pm the notification should be sent out. Why is this, is something in my config wrong? Ubuntu 12.04 desktop and Nagios 3.4.1 Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Keep yourself connected to Go Parallel: VERIFY Test and improve your parallel project with help from experts and peers. http://goparallel.sourceforge.net -------------- 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 gevery at gmail.com Thu Nov 29 17:15:52 2012 From: gevery at gmail.com (Gary Every) Date: Thu, 29 Nov 2012 09:15:52 -0700 Subject: Nagios is ignoring the retry_interval setting In-Reply-To: References: Message-ID: <74CEEBD7-8C52-48CB-8A59-B1746F56D9FC@gmail.com> Your check_interval is set to 1, that takes precedence over retry_interval g.; On Nov 29, 2012, at 9:10 AM, Andrew Thompson wrote: > Hi, > > My nagios box has decided to stop listening to the retry_interval entry in my templates. > > My server template reads: > > define host{ > name host-server > check_period server_24x7 > check_interval 1 > retry_interval 3 > max_check_attempts 3 > notification_period server_24x7 > notification_interval 3 > notification_options d,r > notifications_enabled 1 > contact_groups servers email, servers sms > event_handler_enabled 1 > process_perf_data 1 > retain_status_information 1 > retain_nonstatus_information 1 > passive_checks_enabled 0 > obsess_over_host 0 > check_freshness 0 > flap_detection_enabled 0 > failure_prediction_enabled 0 > } > > Now this is what happens: > > ? Server goes down at 1pm. > ? I check the next scheduled check and it clearly states 1.03pm > ? But at 1.01pm it checks again and then spits out an email and text message saying the server is down. > > Completely ignoring the retry_interval setting!!! > > Id expect from the above: > > ? 1pm server goes down > ? 1.03pm check 2 is done > ? 1.06pm check 3 is done and determined hard state. > ? At 1.06pm the notification should be sent out. > > Why is this, is something in my config wrong? > > Ubuntu 12.04 desktop and Nagios 3.4.1 > > Thanks > > > ------------------------------------------------------------------------------ > Keep yourself connected to Go Parallel: > VERIFY Test and improve your parallel project with help from experts > and peers. http://goparallel.sourceforge.net_______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Keep yourself connected to Go Parallel: VERIFY Test and improve your parallel project with help from experts and peers. http://goparallel.sourceforge.net -------------- 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 Thu Nov 29 17:39:26 2012 From: zarrelli at linux.it (Giorgio Zarrelli) Date: Thu, 29 Nov 2012 17:39:26 +0100 Subject: Nagios is ignoring the retry_interval setting In-Reply-To: <74CEEBD7-8C52-48CB-8A59-B1746F56D9FC@gmail.com> References: <74CEEBD7-8C52-48CB-8A59-B1746F56D9FC@gmail.com> Message-ID: <7e05b40cba4e20eba9ff392d666d3b04.squirrel@picard.linux.it> Hi, wrong. retry interval comes in when there a state change. check_interval is the interval for "normal" checks. When there is a status change, the retry_interval comes in ** until ** max_check_attempts is reached, then check_interval kicks in again. > ------------------------------------------------------------------------------ > Keep yourself connected to Go Parallel: > VERIFY Test and improve your parallel project with help from experts > and peers. > http://goparallel.sourceforge.net_______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Keep yourself connected to Go Parallel: VERIFY Test and improve your parallel project with help from experts and peers. http://goparallel.sourceforge.net _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Nov 29 17:41:51 2012 From: zarrelli at linux.it (Giorgio Zarrelli) Date: Thu, 29 Nov 2012 17:41:51 +0100 Subject: Nagios is ignoring the retry_interval setting In-Reply-To: References: Message-ID: <3df5fdeef736cb19d3dcdf2abf410bbe.squirrel@picard.linux.it> Hi, write here the host actual definition. Moreover, if the define host you wrote in you email is a template, why I do not see "register 0"? > Hi, > > My nagios box has decided to stop listening to the retry_interval entry in > my templates. > > My server template reads: > > define host{ > name host-server > check_period server_24x7 > check_interval 1 > retry_interval 3 > max_check_attempts 3 > notification_period server_24x7 > notification_interval 3 > notification_options d,r > notifications_enabled 1 > contact_groups servers email, servers sms > event_handler_enabled 1 > process_perf_data 1 > retain_status_information 1 > retain_nonstatus_information 1 > passive_checks_enabled 0 > obsess_over_host 0 > check_freshness 0 > flap_detection_enabled 0 > failure_prediction_enabled 0 > } > > Now this is what happens: > > > * Server goes down at 1pm. > > * I check the next scheduled check and it clearly states 1.03pm > > * But at 1.01pm it checks again and then spits out an email and > text message saying the server is down. > > Completely ignoring the retry_interval setting!!! > > Id expect from the above: > > > * 1pm server goes down > > * 1.03pm check 2 is done > > * 1.06pm check 3 is done and determined hard state. > > * At 1.06pm the notification should be sent out. > > Why is this, is something in my config wrong? > > Ubuntu 12.04 desktop and Nagios 3.4.1 > > Thanks > > > ------------------------------------------------------------------------------ > Keep yourself connected to Go Parallel: > VERIFY Test and improve your parallel project with help from experts > and peers. > http://goparallel.sourceforge.net_______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Keep yourself connected to Go Parallel: VERIFY Test and improve your parallel project with help from experts and peers. http://goparallel.sourceforge.net _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andrew at fulgent.co.uk Thu Nov 29 18:02:35 2012 From: andrew at fulgent.co.uk (Andrew Thompson) Date: Thu, 29 Nov 2012 17:02:35 +0000 Subject: Nagios is ignoring the retry_interval setting Message-ID: Hi Georgio, The whole test cfg I am using to try troubleshoot this can be found at: http://dl.dropbox.com/u/895609/test.cfg This is a direct copy of my main servers config but with the rest of the servers and some templates for other server checks taken out Kind Regards Andrew From: Andrew Thompson Sent: 29 November 2012 16:11 To: nagios-users at lists.sourceforge.net Subject: Nagios is ignoring the retry_interval setting Hi, My nagios box has decided to stop listening to the retry_interval entry in my templates. My server template reads: define host{ name host-server check_period server_24x7 check_interval 1 retry_interval 3 max_check_attempts 3 notification_period server_24x7 notification_interval 3 notification_options d,r notifications_enabled 1 contact_groups servers email, servers sms event_handler_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 passive_checks_enabled 0 obsess_over_host 0 check_freshness 0 flap_detection_enabled 0 failure_prediction_enabled 0 } Now this is what happens: * Server goes down at 1pm. * I check the next scheduled check and it clearly states 1.03pm * But at 1.01pm it checks again and then spits out an email and text message saying the server is down. Completely ignoring the retry_interval setting!!! Id expect from the above: * 1pm server goes down * 1.03pm check 2 is done * 1.06pm check 3 is done and determined hard state. * At 1.06pm the notification should be sent out. Why is this, is something in my config wrong? Ubuntu 12.04 desktop and Nagios 3.4.1 Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Keep yourself connected to Go Parallel: VERIFY Test and improve your parallel project with help from experts and peers. http://goparallel.sourceforge.net -------------- 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 robin.sonefors at op5.com Thu Nov 29 18:59:06 2012 From: robin.sonefors at op5.com (Robin Sonefors) Date: Thu, 29 Nov 2012 18:59:06 +0100 Subject: Nagios 3.99.95 contact_groups In-Reply-To: <50B69691.8040905@crazynetwork.it> References: <50AB8D20.2020806@crazynetwork.it> <50B69691.8040905@crazynetwork.it> Message-ID: <50B7A26A.3070306@op5.com> So, I think I just found the issue you're experiencing (though I failed to mention you in the commit message, sorry) - see the patches I sent out to nagios-devel the other minute. On 2012-11-28 23:56, Supporto Tecnico - Crazy Network wrote: > no one have any hint on my issue? > > Il 20/11/2012 15:01, Supporto Tecnico - Crazy Network ha scritto: >> Hi, >> >> i did update Nagios to this alpha release for test purpose using working >> configurations (on Nagios 3.4.1). >> >> The only big trouble im having is that i dont receive any notification. >> >> Here contacts.cfg >> >> define contact{ >> name cn-contacts >> service_notification_period 24x7 >> host_notification_period 24x7 >> service_notification_options c,r >> host_notification_options d,u,r >> service_notification_commands notify-service-by-email >> host_notification_commands notify-host-by-email >> register 0 >> } >> >> define contact{ >> contact_name andrea.iannucci >> use cn-contacts >> alias Andrea Iannucci >> email support at crazynetwork.it >> contact_groups crazynetwork.it >> service_notification_commands >> notify-service-by-email,notify-service-by-sms >> host_notification_commands >> notify-host-by-email,notify-host-by-sms >> pager ************* >> } >> >> define contactgroup{ >> contactgroup_name crazynetwork.it >> alias CrazyNetwork.it Staff >> } >> >> >> I did try to use contactgroups and contact_groups in contact definition >> I did try to add members andrea.iannucci in contactgroup definition >> >> The error on debug_level=32 i can see is that for group crazynetwork.it >> he cant fine any member (in any case). >> >> Setting contacts instead of contact_groups to services definition make >> notification work. >> >> Here debug output: >> >> [1353420007.497082] [032.0] [pid=14604] ** Service Notification Attempt >> ** Host: 'Test.CrazyNetwork.it', Service: 'MySQL', Type: 0, Options: 0, >> Current State: 0, Last Notification: Thu Jan 1 01:00:00 1970 >> [1353420007.497154] [032.0] [pid=14604] Notification viability test passed. >> [1353420007.497181] [032.1] [pid=14604] Current notification number: 2 >> (incremented) >> [1353420007.497195] [032.2] [pid=14604] Creating list of contacts to be >> notified. >> [1353420007.497206] [032.1] [pid=14604] Service notification will NOT be >> escalated. >> [1353420007.497217] [032.1] [pid=14604] Adding normal contacts for >> service to notification list. >> [1353420007.497233] [032.2] [pid=14604] Adding members of contact group >> 'crazynetwork.it' for service to notification list. >> [1353420007.497245] [032.0] [pid=14604] No contacts were found for >> notification purposes. No notification was sent out. >> >> >> Hope someone can help me fix this cause on older version was working at >> actually it look like a bug to me. >> >> Thanks > > ------------------------------------------------------------------------------ Keep yourself connected to Go Parallel: VERIFY Test and improve your parallel project with help from experts and peers. http://goparallel.sourceforge.net _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Nov 29 19:06:55 2012 From: wyild1 at gmail.com (Ryan Edwards) Date: Thu, 29 Nov 2012 12:06:55 -0600 Subject: Nagios 3.99.95 contact_groups In-Reply-To: <50B69691.8040905@crazynetwork.it> References: <50AB8D20.2020806@crazynetwork.it> <50B69691.8040905@crazynetwork.it> Message-ID: Shouldnt your contract group definition include contacts?? Maybe I'm part of the old school way but there should be a members line in there. define contactgroup{ contactgroup_name crazynetwork.it alias CrazyNetwork.it Staff members andrea.innucci } Least thats how my Nagios Core ones are setup Cheers! On Nov 28, 2012 5:01 PM, "Supporto Tecnico - Crazy Network" < support at crazynetwork.it> wrote: > no one have any hint on my issue? > > Il 20/11/2012 15:01, Supporto Tecnico - Crazy Network ha scritto: > > Hi, > > > > i did update Nagios to this alpha release for test purpose using working > > configurations (on Nagios 3.4.1). > > > > The only big trouble im having is that i dont receive any notification. > > > > Here contacts.cfg > > > > define contact{ > > name cn-contacts > > service_notification_period 24x7 > > host_notification_period 24x7 > > service_notification_options c,r > > host_notification_options d,u,r > > service_notification_commands notify-service-by-email > > host_notification_commands notify-host-by-email > > register 0 > > } > > > > define contact{ > > contact_name andrea.iannucci > > use cn-contacts > > alias Andrea Iannucci > > email support at crazynetwork.it > > contact_groups crazynetwork.it > > service_notification_commands > > notify-service-by-email,notify-service-by-sms > > host_notification_commands > > notify-host-by-email,notify-host-by-sms > > pager ************* > > } > > > > define contactgroup{ > > contactgroup_name crazynetwork.it > > alias CrazyNetwork.it Staff > > } > > > > > > I did try to use contactgroups and contact_groups in contact definition > > I did try to add members andrea.iannucci in contactgroup definition > > > > The error on debug_level=32 i can see is that for group crazynetwork.it > > he cant fine any member (in any case). > > > > Setting contacts instead of contact_groups to services definition make > > notification work. > > > > Here debug output: > > > > [1353420007.497082] [032.0] [pid=14604] ** Service Notification Attempt > > ** Host: 'Test.CrazyNetwork.it', Service: 'MySQL', Type: 0, Options: 0, > > Current State: 0, Last Notification: Thu Jan 1 01:00:00 1970 > > [1353420007.497154] [032.0] [pid=14604] Notification viability test > passed. > > [1353420007.497181] [032.1] [pid=14604] Current notification number: 2 > > (incremented) > > [1353420007.497195] [032.2] [pid=14604] Creating list of contacts to be > > notified. > > [1353420007.497206] [032.1] [pid=14604] Service notification will NOT be > > escalated. > > [1353420007.497217] [032.1] [pid=14604] Adding normal contacts for > > service to notification list. > > [1353420007.497233] [032.2] [pid=14604] Adding members of contact group > > 'crazynetwork.it' for service to notification list. > > [1353420007.497245] [032.0] [pid=14604] No contacts were found for > > notification purposes. No notification was sent out. > > > > > > Hope someone can help me fix this cause on older version was working at > > actually it look like a bug to me. > > > > Thanks > > > -- > > Andrea Iannucci > ------------------------------- > > ------------------------------- > Crazy Network di Iannucci Andrea > Viale G.B. Lulli, 24 > 00050 Cerveteri - RM > (w) www.crazynetwork.it > (e) andrea.iannucci at crazynetwork.it > (t) +39 06 62279876 > (f) +39 06 62298767 > (m) +39 338 8552885 > > ------------------------------------------------------------------------------- > Please consider our enviromental responsability before printing this > E-Mail. Thank you. > > ------------------------------------------------------------------------------- > Questo messaggio di posta elettronica contiene informazioni di carattere > confidenziale rivolte esclusivamente al destinatario sopra indicato. > E' vietato l'uso, la diffusione, distribuzione o riproduzione da parte > di ogni altra persona. Nel caso aveste ricevuto questo messaggio di > posta elettronica per errore, siete pregati di segnalarlo immediatamente > al mittente e distruggere quanto ricevuto (compresi i file allegati) > senza farne copia. > Qualsivoglia utilizzo non autorizzato del contenuto di questo messaggio > costituisce violazione dell'obbligo di non prendere cognizione della > corrispondenza tra altri soggetti, salvo pi? grave illecito, ed espone > il responsabile alle relative conseguenze. > > -------------------------------------------------------------------------------- > This e-mail is confidential and may also contain privileged information. > If you are not the intended recipient you are not authorised to read, > print, save, process or disclose this message. If you have received this > message by mistake, please inform the sender immediately and delete this > e-mail, its attachments and any copies. > Any use, distribution, reproduction or disclosure by any person other > than the intended recipient is strictly prohibited and the person > responsible may incur penalties. > > -------------------------------------------------------------------------------- > > > > > ------------------------------------------------------------------------------ > Keep yourself connected to Go Parallel: > INSIGHTS What's next for parallel hardware, programming and related areas? > Interviews and blogs by thought leaders keep you ahead of the curve. > http://goparallel.sourceforge.net > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Keep yourself connected to Go Parallel: VERIFY Test and improve your parallel project with help from experts and peers. http://goparallel.sourceforge.net -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From support at crazynetwork.it Thu Nov 29 19:17:25 2012 From: support at crazynetwork.it (Supporto Tecnico - Crazy Network) Date: Thu, 29 Nov 2012 19:17:25 +0100 Subject: Nagios 3.99.95 contact_groups In-Reply-To: <50B7A26A.3070306@op5.com> References: <50AB8D20.2020806@crazynetwork.it> <50B69691.8040905@crazynetwork.it> <50B7A26A.3070306@op5.com> Message-ID: <50B7A6B5.6090904@crazynetwork.it> Thanks a lot :) Just two questions: 1 - Where i can find the patch you menthioned? 2 - I will get latest (patched) version with git clone from repository? Tomorrow i'll grep latest git repo and try to recompile and test Thanks Il 29/11/2012 18:59, Robin Sonefors ha scritto: > So, I think I just found the issue you're experiencing (though I > failed to mention you in the commit message, sorry) - see the patches > I sent out to nagios-devel the other minute. > > On 2012-11-28 23:56, Supporto Tecnico - Crazy Network wrote: >> no one have any hint on my issue? >> >> Il 20/11/2012 15:01, Supporto Tecnico - Crazy Network ha scritto: >>> Hi, >>> >>> i did update Nagios to this alpha release for test purpose using >>> working >>> configurations (on Nagios 3.4.1). >>> >>> The only big trouble im having is that i dont receive any notification. >>> >>> Here contacts.cfg >>> >>> define contact{ >>> name cn-contacts >>> service_notification_period 24x7 >>> host_notification_period 24x7 >>> service_notification_options c,r >>> host_notification_options d,u,r >>> service_notification_commands notify-service-by-email >>> host_notification_commands notify-host-by-email >>> register 0 >>> } >>> >>> define contact{ >>> contact_name andrea.iannucci >>> use cn-contacts >>> alias Andrea Iannucci >>> email support at crazynetwork.it >>> contact_groups crazynetwork.it >>> service_notification_commands >>> notify-service-by-email,notify-service-by-sms >>> host_notification_commands >>> notify-host-by-email,notify-host-by-sms >>> pager ************* >>> } >>> >>> define contactgroup{ >>> contactgroup_name crazynetwork.it >>> alias CrazyNetwork.it Staff >>> } >>> >>> >>> I did try to use contactgroups and contact_groups in contact definition >>> I did try to add members andrea.iannucci in contactgroup definition >>> >>> The error on debug_level=32 i can see is that for group crazynetwork.it >>> he cant fine any member (in any case). >>> >>> Setting contacts instead of contact_groups to services definition make >>> notification work. >>> >>> Here debug output: >>> >>> [1353420007.497082] [032.0] [pid=14604] ** Service Notification Attempt >>> ** Host: 'Test.CrazyNetwork.it', Service: 'MySQL', Type: 0, Options: 0, >>> Current State: 0, Last Notification: Thu Jan 1 01:00:00 1970 >>> [1353420007.497154] [032.0] [pid=14604] Notification viability test >>> passed. >>> [1353420007.497181] [032.1] [pid=14604] Current notification number: 2 >>> (incremented) >>> [1353420007.497195] [032.2] [pid=14604] Creating list of contacts to be >>> notified. >>> [1353420007.497206] [032.1] [pid=14604] Service notification will >>> NOT be >>> escalated. >>> [1353420007.497217] [032.1] [pid=14604] Adding normal contacts for >>> service to notification list. >>> [1353420007.497233] [032.2] [pid=14604] Adding members of contact group >>> 'crazynetwork.it' for service to notification list. >>> [1353420007.497245] [032.0] [pid=14604] No contacts were found for >>> notification purposes. No notification was sent out. >>> >>> >>> Hope someone can help me fix this cause on older version was working at >>> actually it look like a bug to me. >>> >>> Thanks >> >> > > -- Andrea Iannucci ------------------------------- ------------------------------- Crazy Network di Iannucci Andrea Viale G.B. Lulli, 24 00050 Cerveteri - RM (w) www.crazynetwork.it (e) andrea.iannucci at crazynetwork.it (t) +39 06 62279876 (f) +39 06 62298767 (m) +39 338 8552885 ------------------------------------------------------------------------------- Please consider our enviromental responsability before printing this E-Mail. Thank you. ------------------------------------------------------------------------------- Questo messaggio di posta elettronica contiene informazioni di carattere confidenziale rivolte esclusivamente al destinatario sopra indicato. E' vietato l'uso, la diffusione, distribuzione o riproduzione da parte di ogni altra persona. Nel caso aveste ricevuto questo messaggio di posta elettronica per errore, siete pregati di segnalarlo immediatamente al mittente e distruggere quanto ricevuto (compresi i file allegati) senza farne copia. Qualsivoglia utilizzo non autorizzato del contenuto di questo messaggio costituisce violazione dell'obbligo di non prendere cognizione della corrispondenza tra altri soggetti, salvo pi? grave illecito, ed espone il responsabile alle relative conseguenze. -------------------------------------------------------------------------------- This e-mail is confidential and may also contain privileged information. If you are not the intended recipient you are not authorised to read, print, save, process or disclose this message. If you have received this message by mistake, please inform the sender immediately and delete this e-mail, its attachments and any copies. Any use, distribution, reproduction or disclosure by any person other than the intended recipient is strictly prohibited and the person responsible may incur penalties. -------------------------------------------------------------------------------- ------------------------------------------------------------------------------ Keep yourself connected to Go Parallel: VERIFY Test and improve your parallel project with help from experts and peers. http://goparallel.sourceforge.net _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From leonardo at lbasolutions.com Thu Nov 29 19:53:52 2012 From: leonardo at lbasolutions.com (Leonardo Bacha Abrantes) Date: Thu, 29 Nov 2012 16:53:52 -0200 Subject: execute nrpe and put result on another host.... Message-ID: Hi guys, I have a server called SRV1 that is connected on a router at other office. The SRV1 has static routes to these networks. My nagios has been monitoring SRV1, and I configured nrpe on it with: command[check_router1]=/etc/check_ping -H xxxxxxxxxxx -w 3000.0,80% -c 5000.0,100% -p 4 -4 command[check_router2]=/etc/check_ping -H xxxxxxxxxxx -w 3000.0,80% -c 5000.0,100% -p 4 -4 ------ | SRV1 | -------> | router1 | ------> | router2 | --->.... I also added in my nagios router1 and router2. is possible to configure a command in nagios server to execute check_router1 and check_router2 on SRV1 and put the result in routers status ? many thanks!! -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Keep yourself connected to Go Parallel: VERIFY Test and improve your parallel project with help from experts and peers. http://goparallel.sourceforge.net -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From agriffin at nagios.com Thu Nov 29 20:08:34 2012 From: agriffin at nagios.com (Alex Griffin) Date: Thu, 29 Nov 2012 13:08:34 -0600 Subject: Defining a service dependency for large number of services In-Reply-To: <012d01cdcdb9$6e181bd0$4a485370$@us> References: <00da01cdccd5$97e15600$c7a40200$@us> <50B52387.8060902@iweb.com> <012d01cdcdb9$6e181bd0$4a485370$@us> Message-ID: <50B7B2B2.7070000@nagios.com> Personally, I would just define a new group with all the same services except that master service in it. You would have two nearly identical groups then; I'm not sure if that would be a problem for you. Alex Griffin --- Tech Team agriffin at nagios.com On 2012-11-28 16:40, Tech Support wrote: > Thank you. That?s extremely helpful information. I have one problem though. > Because the master service that the service group depends on is also part of > the service group, I'm getting (an expected) error about the circular > dependency. Is there an easy way around that? > Thanks; > John > > -----Original Message----- > From: Mathieu Gagn? [mailto:mgagne at iweb.com] > Sent: Tuesday, November 27, 2012 3:33 PM > To: Nagios Users List > Cc: Tech Support > Subject: Re: [Nagios-users] Defining a service dependency for large number > of services > > Hi, > > On 12-11-27 2:30 PM, Tech Support wrote: >> >> I need to define service dependencies for some services. Pretty >> straightforward stuff, do not check service B unless service A is >> running also. For example, I have 100 different service checks that >> all depend on service A. So my question is this. Is there an easy way >> to define a dependency for a large number of services? Any insight at >> all would be greatly appreciated. >> >> Thanks; >> > > You can use this trick: > http://nagios.sourceforge.net/docs/3_0/objecttricks.html#same_host_dependenc > y_with_servicegroups > > I use it to massively add service dependencies for all NRPE based service > checks on the NRPE service running on the same host as the NRPE based > service checks. > > -- > Mathieu > > > ------------------------------------------------------------------------------ > Keep yourself connected to Go Parallel: > INSIGHTS What's next for parallel hardware, programming and related areas? > Interviews and blogs by thought leaders keep you ahead of the curve. > http://goparallel.sourceforge.net > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Keep yourself connected to Go Parallel: VERIFY Test and improve your parallel project with help from experts and peers. http://goparallel.sourceforge.net _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Nov 29 20:23:44 2012 From: zarrelli at linux.it (Giorgio Zarrelli) Date: Thu, 29 Nov 2012 20:23:44 +0100 Subject: Nagios is ignoring the retry_interval setting In-Reply-To: References: Message-ID: <2d7c52241f12c9d3419ef557df8509a4.squirrel@picard.linux.it> Hi, do not seee anything wrong. Could you set debug=-1 repeat the problem and put the log online? Giorgio > Hi Georgio, > > The whole test cfg I am using to try troubleshoot this can be found at: > > http://dl.dropbox.com/u/895609/test.cfg > > This is a direct copy of my main servers config but with the rest of the > servers and some templates for other server checks taken out > > > > Kind Regards > Andrew > > From: Andrew Thompson > Sent: 29 November 2012 16:11 > To: nagios-users at lists.sourceforge.net > Subject: Nagios is ignoring the retry_interval setting > > Hi, > > My nagios box has decided to stop listening to the retry_interval entry in > my templates. > > My server template reads: > > define host{ > name host-server > check_period server_24x7 > check_interval 1 > retry_interval 3 > max_check_attempts 3 > notification_period server_24x7 > notification_interval 3 > notification_options d,r > notifications_enabled 1 > contact_groups servers email, servers sms > event_handler_enabled 1 > process_perf_data 1 > retain_status_information 1 > retain_nonstatus_information 1 > passive_checks_enabled 0 > obsess_over_host 0 > check_freshness 0 > flap_detection_enabled 0 > failure_prediction_enabled 0 > } > > Now this is what happens: > > > * Server goes down at 1pm. > > * I check the next scheduled check and it clearly states 1.03pm > > * But at 1.01pm it checks again and then spits out an email and > text message saying the server is down. > > Completely ignoring the retry_interval setting!!! > > Id expect from the above: > > > * 1pm server goes down > > * 1.03pm check 2 is done > > * 1.06pm check 3 is done and determined hard state. > > * At 1.06pm the notification should be sent out. > > Why is this, is something in my config wrong? > > Ubuntu 12.04 desktop and Nagios 3.4.1 > > Thanks > > > ------------------------------------------------------------------------------ > Keep yourself connected to Go Parallel: > VERIFY Test and improve your parallel project with help from experts > and peers. > http://goparallel.sourceforge.net_______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Keep yourself connected to Go Parallel: VERIFY Test and improve your parallel project with help from experts and peers. http://goparallel.sourceforge.net _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From support at crazynetwork.it Fri Nov 30 00:12:15 2012 From: support at crazynetwork.it (Supporto Tecnico - Crazy Network) Date: Fri, 30 Nov 2012 00:12:15 +0100 Subject: Nagios 3.99.95 contact_groups In-Reply-To: References: <50AB8D20.2020806@crazynetwork.it> <50B69691.8040905@crazynetwork.it> Message-ID: <50B7EBCF.8040506@crazynetwork.it> Hi, i did try that way too, but doesnt change so much. On Nagios 3.4.1 this way does work, i prefer to specify contact_groups for each users instead create user and than fill members in different groups, same thing of course.. but was working so i guess should still work :) Lets see tomorrow Thanks Il 29/11/2012 19:06, Ryan Edwards ha scritto: > > Shouldnt your contract group definition include contacts?? Maybe I'm > part of the old school way but there should be a members line in there. > > define contactgroup{ > contactgroup_name crazynetwork.it > alias CrazyNetwork.it Staff > members andrea.innucci > } > > Least thats how my Nagios Core ones are setup > > Cheers! > > On Nov 28, 2012 5:01 PM, "Supporto Tecnico - Crazy Network" > > wrote: > > no one have any hint on my issue? > > Il 20/11/2012 15:01, Supporto Tecnico - Crazy Network ha scritto: > > Hi, > > > > i did update Nagios to this alpha release for test purpose using > working > > configurations (on Nagios 3.4.1). > > > > The only big trouble im having is that i dont receive any > notification. > > > > Here contacts.cfg > > > > define contact{ > > name cn-contacts > > service_notification_period 24x7 > > host_notification_period 24x7 > > service_notification_options c,r > > host_notification_options d,u,r > > service_notification_commands notify-service-by-email > > host_notification_commands notify-host-by-email > > register 0 > > } > > > > define contact{ > > contact_name andrea.iannucci > > use cn-contacts > > alias Andrea Iannucci > > email support at crazynetwork.it > > > contact_groups crazynetwork.it > > service_notification_commands > > notify-service-by-email,notify-service-by-sms > > host_notification_commands > > notify-host-by-email,notify-host-by-sms > > pager ************* > > } > > > > define contactgroup{ > > contactgroup_name crazynetwork.it > > alias CrazyNetwork.it Staff > > } > > > > > > I did try to use contactgroups and contact_groups in contact > definition > > I did try to add members andrea.iannucci in contactgroup definition > > > > The error on debug_level=32 i can see is that for group > crazynetwork.it > > he cant fine any member (in any case). > > > > Setting contacts instead of contact_groups to services > definition make > > notification work. > > > > Here debug output: > > > > [1353420007.497082] [032.0] [pid=14604] ** Service Notification > Attempt > > ** Host: 'Test.CrazyNetwork.it ', > Service: 'MySQL', Type: 0, Options: 0, > > Current State: 0, Last Notification: Thu Jan 1 01:00:00 1970 > > [1353420007.497154] [032.0] [pid=14604] Notification viability > test passed. > > [1353420007.497181] [032.1] [pid=14604] Current notification > number: 2 > > (incremented) > > [1353420007.497195] [032.2] [pid=14604] Creating list of > contacts to be > > notified. > > [1353420007.497206] [032.1] [pid=14604] Service notification > will NOT be > > escalated. > > [1353420007.497217] [032.1] [pid=14604] Adding normal contacts for > > service to notification list. > > [1353420007.497233] [032.2] [pid=14604] Adding members of > contact group > > 'crazynetwork.it ' for service to > notification list. > > [1353420007.497245] [032.0] [pid=14604] No contacts were found for > > notification purposes. No notification was sent out. > > > > > > Hope someone can help me fix this cause on older version was > working at > > actually it look like a bug to me. > > > > Thanks > > > -- > > Andrea Iannucci > ------------------------------- > > ------------------------------- > Crazy Network di Iannucci Andrea > Viale G.B. Lulli, 24 > 00050 Cerveteri - RM > (w) www.crazynetwork.it > (e) andrea.iannucci at crazynetwork.it > > (t) +39 06 62279876 > (f) +39 06 62298767 > (m) +39 338 8552885 > ------------------------------------------------------------------------------- > Please consider our enviromental responsability before printing this > E-Mail. Thank you. > ------------------------------------------------------------------------------- > Questo messaggio di posta elettronica contiene informazioni di > carattere > confidenziale rivolte esclusivamente al destinatario sopra indicato. > E' vietato l'uso, la diffusione, distribuzione o riproduzione da parte > di ogni altra persona. Nel caso aveste ricevuto questo messaggio di > posta elettronica per errore, siete pregati di segnalarlo > immediatamente > al mittente e distruggere quanto ricevuto (compresi i file allegati) > senza farne copia. > Qualsivoglia utilizzo non autorizzato del contenuto di questo > messaggio > costituisce violazione dell'obbligo di non prendere cognizione della > corrispondenza tra altri soggetti, salvo pi? grave illecito, ed espone > il responsabile alle relative conseguenze. > -------------------------------------------------------------------------------- > This e-mail is confidential and may also contain privileged > information. > If you are not the intended recipient you are not authorised to read, > print, save, process or disclose this message. If you have > received this > message by mistake, please inform the sender immediately and > delete this > e-mail, its attachments and any copies. > Any use, distribution, reproduction or disclosure by any person other > than the intended recipient is strictly prohibited and the person > responsible may incur penalties. > -------------------------------------------------------------------------------- > > > > ------------------------------------------------------------------------------ > Keep yourself connected to Go Parallel: > INSIGHTS What's next for parallel hardware, programming and > related areas? > Interviews and blogs by thought leaders keep you ahead of the curve. > http://goparallel.sourceforge.net > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Andrea Iannucci ------------------------------- ------------------------------- Crazy Network di Iannucci Andrea Viale G.B. Lulli, 24 00050 Cerveteri - RM (w) www.crazynetwork.it (e) andrea.iannucci at crazynetwork.it (t) +39 06 62279876 (f) +39 06 62298767 (m) +39 338 8552885 ------------------------------------------------------------------------------- Please consider our enviromental responsability before printing this E-Mail. Thank you. ------------------------------------------------------------------------------- Questo messaggio di posta elettronica contiene informazioni di carattere confidenziale rivolte esclusivamente al destinatario sopra indicato. E' vietato l'uso, la diffusione, distribuzione o riproduzione da parte di ogni altra persona. Nel caso aveste ricevuto questo messaggio di posta elettronica per errore, siete pregati di segnalarlo immediatamente al mittente e distruggere quanto ricevuto (compresi i file allegati) senza farne copia. Qualsivoglia utilizzo non autorizzato del contenuto di questo messaggio costituisce violazione dell'obbligo di non prendere cognizione della corrispondenza tra altri soggetti, salvo pi? grave illecito, ed espone il responsabile alle relative conseguenze. -------------------------------------------------------------------------------- This e-mail is confidential and may also contain privileged information. If you are not the intended recipient you are not authorised to read, print, save, process or disclose this message. If you have received this message by mistake, please inform the sender immediately and delete this e-mail, its attachments and any copies. Any use, distribution, reproduction or disclosure by any person other than the intended recipient is strictly prohibited and the person responsible may incur penalties. -------------------------------------------------------------------------------- ------------------------------------------------------------------------------ Keep yourself connected to Go Parallel: VERIFY Test and improve your parallel project with help from experts and peers. http://goparallel.sourceforge.net _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nicoxweb at yahoo.fr Fri Nov 30 13:49:53 2012 From: nicoxweb at yahoo.fr (nico thx) Date: Fri, 30 Nov 2012 12:49:53 +0000 (GMT) Subject: (no subject) Message-ID: <1354279793.73554.BPMail_high_noncarrier@web171305.mail.ir2.yahoo.com> http://www.egyptandbeyondtravel.com/427268.php?vapybjfj ------------------------------------------------------------------------------ Keep yourself connected to Go Parallel: TUNE You got it built. Now make it sing. Tune shows you how. http://goparallel.sourceforge.net _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 30 15:42:22 2012 From: ae at op5.se (Andreas Ericsson) Date: Fri, 30 Nov 2012 15:42:22 +0100 Subject: Nagios 3.99.95 contact_groups In-Reply-To: <50B7A6B5.6090904@crazynetwork.it> References: <50AB8D20.2020806@crazynetwork.it> <50B69691.8040905@crazynetwork.it> <50B7A26A.3070306@op5.com> <50B7A6B5.6090904@crazynetwork.it> Message-ID: <50B8C5CE.5090203@op5.se> On 11/29/2012 07:17 PM, Supporto Tecnico - Crazy Network wrote: > Thanks a lot :) > > Just two questions: > > 1 - Where i can find the patch you menthioned? In git, soon. > 2 - I will get latest (patched) version with git clone from repository? > In a (very) short while, yes. > Tomorrow i'll grep latest git repo and try to recompile and test > Since today was tomorrow yesterday that might be hard, unless you're working late. It'll be something you can try on monday though. -- 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. ------------------------------------------------------------------------------ Keep yourself connected to Go Parallel: TUNE You got it built. Now make it sing. Tune shows you how. http://goparallel.sourceforge.net _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From leonardo at lbasolutions.com Fri Nov 30 17:21:44 2012 From: leonardo at lbasolutions.com (Leonardo Bacha Abrantes) Date: Fri, 30 Nov 2012 14:21:44 -0200 Subject: servicedependecy is not working Message-ID: Hi guys, I use nrpe to monitor my machines and I configured servicedependency (see below), however, nagios still sending alerts when nrpe is on critical state. define servicedependency{ dependent_host_name srv1 dependent_service_description /var Partition host_name srv1 service_description NRPE plugin execution_failure_criteria c,u,p notification_failure_criteria c,u,p dependency_period 24x7 } Can you help me please ? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Keep yourself connected to Go Parallel: TUNE You got it built. Now make it sing. Tune shows you how. http://goparallel.sourceforge.net -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at flatto.net Fri Nov 30 17:54:29 2012 From: nagios at flatto.net (Assaf Flatto) Date: Fri, 30 Nov 2012 16:54:29 +0000 Subject: servicedependecy is not working In-Reply-To: References: Message-ID: <50B8E4C5.3040707@flatto.net> On 30/11/12 16:21, Leonardo Bacha Abrantes wrote: > Hi guys, > > I use nrpe to monitor my machines and I configured servicedependency > (see below), however, nagios still sending alerts when nrpe is on > critical state. > > define servicedependency{ > dependent_host_name srv1 > dependent_service_description /var Partition > host_name srv1 > service_description NRPE plugin > execution_failure_criteria c,u,p > notification_failure_criteria c,u,p > dependency_period 24x7 > } > > Can you help me please ? for same host dependency you do not need to specify the dependent host. also make sure that the names are exact to the services checked. ------------------------------------------------------------------------------ Keep yourself connected to Go Parallel: TUNE You got it built. Now make it sing. Tune shows you how. http://goparallel.sourceforge.net _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From support at crazynetwork.it Fri Nov 30 21:26:15 2012 From: support at crazynetwork.it (Supporto Tecnico - Crazy Network) Date: Fri, 30 Nov 2012 21:26:15 +0100 Subject: Nagios 3.99.95 contact_groups In-Reply-To: <50B8C5CE.5090203@op5.se> References: <50AB8D20.2020806@crazynetwork.it> <50B69691.8040905@crazynetwork.it> <50B7A26A.3070306@op5.com> <50B7A6B5.6090904@crazynetwork.it> <50B8C5CE.5090203@op5.se> Message-ID: <50B91667.2080003@crazynetwork.it> Thanks Andreas, actually i did try 1hr ago and the problem seems to be still there so somehow the git is not updated i suppose :) Regarding the yesterday/today/tomorrow i think is just a timezone issue :) Regards Il 30/11/2012 15:42, Andreas Ericsson ha scritto: > On 11/29/2012 07:17 PM, Supporto Tecnico - Crazy Network wrote: >> Thanks a lot :) >> >> Just two questions: >> >> 1 - Where i can find the patch you menthioned? > In git, soon. > >> 2 - I will get latest (patched) version with git clone from repository? >> > In a (very) short while, yes. > >> Tomorrow i'll grep latest git repo and try to recompile and test >> > Since today was tomorrow yesterday that might be hard, unless you're > working late. It'll be something you can try on monday though. > -- Andrea Iannucci ------------------------------- ------------------------------- Crazy Network di Iannucci Andrea Viale G.B. Lulli, 24 00050 Cerveteri - RM (w) www.crazynetwork.it (e) andrea.iannucci at crazynetwork.it (t) +39 06 62279876 (f) +39 06 62298767 (m) +39 338 8552885 ------------------------------------------------------------------------------- Please consider our enviromental responsability before printing this E-Mail. Thank you. ------------------------------------------------------------------------------- Questo messaggio di posta elettronica contiene informazioni di carattere confidenziale rivolte esclusivamente al destinatario sopra indicato. E' vietato l'uso, la diffusione, distribuzione o riproduzione da parte di ogni altra persona. Nel caso aveste ricevuto questo messaggio di posta elettronica per errore, siete pregati di segnalarlo immediatamente al mittente e distruggere quanto ricevuto (compresi i file allegati) senza farne copia. Qualsivoglia utilizzo non autorizzato del contenuto di questo messaggio costituisce violazione dell'obbligo di non prendere cognizione della corrispondenza tra altri soggetti, salvo pi? grave illecito, ed espone il responsabile alle relative conseguenze. -------------------------------------------------------------------------------- This e-mail is confidential and may also contain privileged information. If you are not the intended recipient you are not authorised to read, print, save, process or disclose this message. If you have received this message by mistake, please inform the sender immediately and delete this e-mail, its attachments and any copies. Any use, distribution, reproduction or disclosure by any person other than the intended recipient is strictly prohibited and the person responsible may incur penalties. -------------------------------------------------------------------------------- ------------------------------------------------------------------------------ Keep yourself connected to Go Parallel: TUNE You got it built. Now make it sing. Tune shows you how. http://goparallel.sourceforge.net _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at flatto.net Fri Nov 23 11:06:02 2012 From: nagios at flatto.net (Assaf Flatto) Date: Fri, 23 Nov 2012 10:06:02 +0000 Subject: Nagios showing OK for service which is in CRITICAL state In-Reply-To: <8609F838-B46A-4EAC-8CEA-54461E9A2298@makalumedia.com> References: <8609F838-B46A-4EAC-8CEA-54461E9A2298@makalumedia.com> Message-ID: <50AF4A8A.2030203@flatto.net> On 23/11/12 07:38, Niall O Broin wrote: > Had a bit of a panic this morning to get into the office and see that an SSL cert. had expired. By pure good luck I was in work very early so I got moving on a new cert. and having done that, I headed off to my Nagios status page because I was pretty sure that I had a check for this cert. in place. Sure enough, I did, but Nagios wasn't displaying an alert for its expiry, nor had it warned me that it was about to expire. > > I opened up the Services page and there I saw the following line, just as green as any of the others: > > > SSL cert. YOUR-DOMAIN OK 2012-11-23 08:28:58 207d 17h 2m 26s 1/4 CRITICAL - Cannot make SSL connection > > > Now HOW on earth can Nagios be displaying CRITICAL - Cannot make SSL connection in the Status Information column while simultaneously showing OK in the Status column ? > > > > > Kindest regards, > > > > Niall O Broin > > > > What plugin are you using ? it could be that the text returned from the check includes the Critical string but the execution exit code is 0 and hence translated as OK by nagios . ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null