Nagios 3.99.95 contact_groups

Andreas Ericsson ae at op5.se
Wed Dec 5 14:20:18 CET 2012


On 12/04/2012 02:29 PM, Supporto Tecnico - Crazy Network wrote:
>   Here from object.cache
> 
> define servicegroup {
>          servicegroup_name       ftp-server
>          alias   FTP Server
>          }
> 
> define service {
>          host_name       Server.SysAdminDiary.it
>          service_description     Server FTP
>          check_period    24x7
>          check_command   check_ftp
>          contact_groups  sysadmindiary.it
>          notification_period     24x7
>          initial_state   o
>          hourly_value    1
>          check_interval  5.000000
>          retry_interval  2.000000
>          max_check_attempts      3
>          is_volatile     0
>          parallelize_check       1
>          active_checks_enabled   1
>          passive_checks_enabled  1
>          obsess  1
>          event_handler_enabled   1
>          low_flap_threshold      0.000000
>          high_flap_threshold     0.000000
>          flap_detection_enabled  1
>          flap_detection_options  a
>          freshness_threshold     0
>          check_freshness 0
>          notification_options    r,c
>          notifications_enabled   1
>          notification_interval   60.000000
>          first_notification_delay        0.000000
>          stalking_options        n
>          process_perf_data       1
>          icon_image      ftp.png
>          retain_status_information       1
>          retain_nonstatus_information    1
>          }
> 
> 
> define contact {
>          contact_name    andrea.iannucci
>          alias   Andrea Iannucci
>          service_notification_period     24x7
>          host_notification_period        24x7
>          service_notification_options    r,c
> 
>          host_notification_options       r,d,u
>          service_notification_commands notify-service-by-email,notify-service-by-sms
>          host_notification_commands notify-host-by-email,notify-host-by-sms
>          email   support at crazynetwork.it
>          pager   00393388552885
>          minimum_value   1
>          host_notifications_enabled      1
>          service_notifications_enabled   1
>          can_submit_commands     1
>          retain_status_information       1
>          retain_nonstatus_information    1
>          }
> 
> 
> 
> Apparently in contact definition the contact_groups disappear and it come with an empty line.
> 

In objects.cache the contacts are always written to the contactgroup's
members variable. If it's available there, Nagios knows about it. If
not, then there's something seriously wrong.

> Im preparing the box to send privatly login data so you can check by yourself.
> 

Much appreciated. Many thanks.

-- 
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 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 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





More information about the Users mailing list