[Nagios-users] Peter Shankland is out of the office.
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.bar...@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.shankl...@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 9NSattachment: pic11337.gifattachment: pic15457.jpg-- 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] 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. 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.ran...@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 bruno.mart...@gruporumos.commailto:bruno.mart...@gruporumos.com 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_enabled1 service_notifications_enabled 1 host_notification_period 24x7 service_notification_period24x7 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 u...@domain.commailto:u...@domain.com register1 } This contact is part of WISESRV-critical group. This host is sending out notifications: define host { host_nameFLAGSRV_imagina alias DC da Flag address x.y.z.q parentsRUMOSRD_rlxfw01-rumos useServer register1 } 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
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:a...@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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] 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 Will Bashlor Manager IP Services (912) 632-3104 tel:%28912%29%20632-3104 Direct (912) 632-9984 tel:%28912%29%20632-9984 Fax (912) 816-3344 tel:%28912%29%20816-3344 Mobile (800) 540-6480 tel:%28800%29%20540-6480 Tech Support wbash...@atcnetworks.net mailto:wbash...@atcnetworks.net http://www.atcbroadband.com http://www.atcbroadband.com/ image001.jpg-- 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null