Re: [Nagios-users] Nagios 3.99.95 contact_groups
Hi, i did re-install nagios again (from git repo) using: git clone git://github.com/ageric/nagios.git But still got same error from debug level 32: [1354549057.568949] [032.0] [pid=4151] ** Service Notification Attempt ** Host: 'Server.SysAdminDiary.it', Service: 'Server FTP', Type: 0, Options: 0, Current State: 2, Last Notification: Thu Jan 1 01:00:00 1970 [1354549057.569017] [032.0] [pid=4151] Notification viability test passed. [1354549057.569029] [032.1] [pid=4151] Current notification number: 1 (incremented) [1354549057.569040] [032.1] [pid=4151] Service notification will NOT be escalated. [1354549057.569049] [032.1] [pid=4151] Adding normal contacts for service to notification list. [1354549057.569056] [032.0] [pid=4151] No contacts were found for notification purposes. No notification was sent out. Here contacts file: define contact{ namecn-contacts service_notification_period 24x7 host_notification_period24x7 service_notification_optionsc,r host_notification_options d,u,r service_notification_commands notify-service-by-email host_notification_commands notify-host-by-email register0 } define contact{ contact_nameandrea.iannucci use cn-contacts alias Andrea Iannucci email supp...@crazynetwork.it contact_groups sysadmindiary.it service_notification_commands notify-service-by-email,notify-service-by-sms host_notification_commands notify-host-by-email,notify-host-by-sms pager 00391234567890 } define contactgroup{ contactgroup_name sysadmindiary.it alias SysAdminDiary.it Staff } Here service definition: define service{ namecn-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_information1 is_volatile 0 servicegroups ftp-server service_description Server FTP check_command check_ftp icon_image ftp.png check_period24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval2 contact_groups sysadmindiary.it notification_optionsc,r notification_interval 60 notification_period 24x7 register0 } define servicegroup { servicegroup_name ftp-server alias FTP Server } Here service call in server host file. define service{ use cn-ftp-service host_name Server.SysAdminDiary.it } Any suggestions/hint? Thanks 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{ > namecn-contacts > service_notification_period 24x7 > host_notification_period24x7 > service_notification_optionsc,r > host_notification_options d,u,r > service_notification_commands notify-service-by-email > host_notification_commands notify-host-by-email > register0 > } > > define contact{ > contact_nameandrea.iannucci > use cn-contacts > alias Andrea Iannucci > email supp...@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
Re: [Nagios-users] Nagios is ignoring the retry_interval setting
Hi Georgio, Apologies for the delay, I am doing this first thing tomorrow morning (Tue 4th Dec)- I will post the debug log then. Thankyou -Original Message- From: Giorgio Zarrelli [mailto:zarre...@linux.it] Sent: 29 November 2012 19:24 To: Nagios Users List Subject: Re: [Nagios-users] Nagios is ignoring the retry_interval setting 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@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_interval1 > retry_interval3 > max_check_attempts3 > notification_period server_24x7 > notification_interval 3 > notification_options d,r > notifications_enabled 1 > contact_groupsservers email, servers sms > event_handler_enabled 1 > process_perf_data 1 > retain_status_information1 > 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@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: BUILD Helping you discover the best ways to construct your parallel projects. http://goparallel.sourceforge.net ___ 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] Listing Contacts, Groups, Services, etc.
I may have missed something along these lines and if I did, I do apologize. What I am looking for and needing is if there is a way to get a listing of all the contacts, contact groups, hosts, services. My management wants to see who, what and how. I am running XI is that makes a difference. Thanks, Ed Zoeller -- Keep yourself connected to Go Parallel: BUILD Helping you discover the best ways to construct your parallel projects. http://goparallel.sourceforge.net___ 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] Service scheduled for one week later....
Dear All: I have a curios question about 'timeperiod' and 'service'. My 'cfg' files look like: define timeperiod{ timeperiod_name DayTime alias DayTime monday 08:00-19:00 tuesday 08:00-19:00 wednesday 08:00-19:00 thursday08:00-19:00 friday 08:00-19:00 saturday08:00-19:00 sunday 08:00-19:00 } define timeperiod{ timeperiod_name NightTime alias NightTime monday 19:01-07:59 tuesday 19:01-07:59 wednesday 19:01-07:59 thursday19:01-07:59 friday 19:01-07:59 saturday19:01-07:59 sunday 19:01-07:59 } define service { host_name service_description NightTime Data Partition: /diska check_command check_nrpe!check_disk!20%!10%!/diska!MB check_periodNightTime } define service { host_name service_description DayTime Data Partition: /diska check_command check_nrpe!check_disk!40%!20%!/diska!MB check_periodDayTime } However, 'NightTime Data Partition: /diska' was scheduled for Dec. 11th 19:01.. one week later! and 'DayTime Data Partition: /diska' scheduled as spected... Any ideas ?? Thank you Rodrigo. -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d ___ 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] Weird Nagios Problem
I have been running Nagios for over a year with no issues. All of a sudden, all of my current loads on my linux servers all go into warning state at the same time, showing the exact same load, which then increments every hour to critical. After a while (3 or 4 hours) they all come back down to normal. Checking on the servers themselves using HTOP shows normal load levels throughout the time period. Another issue is one check_Interface_Table that returns 255 out of bounds but over 30 others (in the same service group using the same command) return normal. The problem is obviously with Nagios but I don't know where to look. Any suggestions? Martin T. Hugo Network Administrator Hilliard City Schools Tel: 614-921-7102 -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d___ 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