######################################## # NAGIOS OBJECT CACHE FILE # # THIS FILE IS AUTOMATICALLY GENERATED # BY NAGIOS. DO NOT MODIFY THIS FILE! # # Created: Wed Sep 14 14:18:22 2016 ######################################## define timeperiod { timeperiod_name 24x7 alias 24 Hours A Day, 7 Days A Week sunday 00:00-24:00 monday 00:00-24:00 tuesday 00:00-24:00 wednesday 00:00-24:00 thursday 00:00-24:00 friday 00:00-24:00 saturday 00:00-24:00 } define timeperiod { timeperiod_name 24x7_sans_holidays alias 24x7 Sans Holidays december 25 00:00-00:00 july 4 00:00-00:00 january 1 00:00-00:00 thursday 4 november 00:00-00:00 monday 1 september 00:00-00:00 monday -1 may 00:00-00:00 sunday 00:00-24:00 monday 00:00-24:00 tuesday 00:00-24:00 wednesday 00:00-24:00 thursday 00:00-24:00 friday 00:00-24:00 saturday 00:00-24:00 } define timeperiod { timeperiod_name Busines Day alias Normal Work Hours monday 08:00-18:00 tuesday 08:00-18:00 wednesday 08:00-18:00 thursday 08:00-18:00 friday 08:00-18:00 } define timeperiod { timeperiod_name none alias No Time Is A Good Time } define timeperiod { timeperiod_name us-holidays alias U.S. Holidays january 1 00:00-00:00 july 4 00:00-00:00 december 25 00:00-00:00 monday -1 may 00:00-00:00 monday 1 september 00:00-00:00 thursday 4 november 00:00-00:00 } define command { command_name check-host-alive command_line $USER1$/check_ping -H $HOSTADDRESS$ -w 3000.0,80% -c 5000.0,100% -p 5 } define command { command_name check_dhcp command_line $USER1$/check_dhcp $ARG1$ } define command { command_name check_ftp command_line $USER1$/check_ftp -H $HOSTADDRESS$ $ARG1$ } define command { command_name check_hpjd command_line $USER1$/check_hpjd -H $HOSTADDRESS$ $ARG1$ } define command { command_name check_http command_line $USER1$/check_http -I $HOSTADDRESS$ $ARG1$ } define command { command_name check_imap command_line $USER1$/check_imap -H $HOSTADDRESS$ $ARG1$ } define command { command_name check_local_disk command_line $USER1$/check_disk -w $ARG1$ -c $ARG2$ -p $ARG3$ } define command { command_name check_local_load command_line $USER1$/check_load -w $ARG1$ -c $ARG2$ } define command { command_name check_local_mrtgtraf command_line $USER1$/check_mrtgtraf -F $ARG1$ -a $ARG2$ -w $ARG3$ -c $ARG4$ -e $ARG5$ } define command { command_name check_local_procs command_line $USER1$/check_procs -w $ARG1$ -c $ARG2$ -s $ARG3$ } define command { command_name check_local_swap command_line $USER1$/check_swap -w $ARG1$ -c $ARG2$ } define command { command_name check_local_users command_line $USER1$/check_users -w $ARG1$ -c $ARG2$ } define command { command_name check_nrpe_cluster command_line /usr/local/nagios/libexec/check_nrpe -H $HOSTADDRESS$ -c check_nrpe_cluster } define command { command_name check_nt command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 12489 -v $ARG1$ $ARG2$ } define command { command_name check_ping command_line $USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -p 5 } define command { command_name check_pop command_line $USER1$/check_pop -H $HOSTADDRESS$ $ARG1$ } define command { command_name check_smtp command_line $USER1$/check_smtp -H $HOSTADDRESS$ $ARG1$ } define command { command_name check_snmp command_line $USER1$/check_snmp -H $HOSTADDRESS$ $ARG1$ } define command { command_name check_ssh command_line $USER1$/check_ssh $ARG1$ $HOSTADDRESS$ } define command { command_name check_tcp command_line $USER1$/check_tcp -H $HOSTADDRESS$ -p $ARG1$ $ARG2$ } define command { command_name check_udp command_line $USER1$/check_udp -H $HOSTADDRESS$ -p $ARG1$ $ARG2$ } define command { command_name notify-host-by-email command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | /bin/mail -s "** $NOTIFICATIONTYPE$ Host Alert: $HOSTNAME$ is $HOSTSTATE$ **" $CONTACTEMAIL$ } define command { command_name notify-service-by-email command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$\n" | /bin/mail -s "** $NOTIFICATIONTYPE$ Service Alert: $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ } define command { command_name process-host-perfdata command_line /usr/bin/printf "%b" "$LASTHOSTCHECK$\t$HOSTNAME$\t$HOSTSTATE$\t$HOSTATTEMPT$\t$HOSTSTATETYPE$\t$HOSTEXECUTIONTIME$\t$HOSTOUTPUT$\t$HOSTPERFDATA$\n" >> /usr/local/nagios/var/host-perfdata.out } define command { command_name process-service-perfdata command_line /usr/bin/printf "%b" "$LASTSERVICECHECK$\t$HOSTNAME$\t$SERVICEDESC$\t$SERVICESTATE$\t$SERVICEATTEMPT$\t$SERVICESTATETYPE$\t$SERVICEEXECUTIONTIME$\t$SERVICELATENCY$\t$SERVICEOUTPUT$\t$SERVICEPERFDATA$\n" >> /usr/local/nagios/var/service-perfdata.out } define contactgroup { contactgroup_name admins alias Nagios Administrators members nagiosadmin } define hostgroup { hostgroup_name name alias name2 members localhost notes Servers } define hostgroup { hostgroup_name linux-servers alias Linux Servers members localhost } define contact { contact_name name alias name2 service_notification_period 24x7 host_notification_period 24x7 service_notification_options r,w,u,c host_notification_options r,d,u service_notification_commands notify-service-by-email host_notification_commands notify-host-by-email email mail@mail.com address1 mail2@mail.com address2 mail3@mail.com minimum_importance 0 host_notifications_enabled 1 service_notifications_enabled 1 can_submit_commands 1 retain_status_information 1 retain_nonstatus_information 1 } define contact { contact_name nagiosadmin alias Nagios Admin service_notification_period 24x7 host_notification_period 24x7 service_notification_options r,w,u,c,f,s host_notification_options r,d,u,f,s service_notification_commands notify-service-by-email host_notification_commands notify-host-by-email email mail@mail.com minimum_importance 0 host_notifications_enabled 1 service_notifications_enabled 1 can_submit_commands 1 retain_status_information 1 retain_nonstatus_information 1 } define host { host_name server_client display_name cluster node 1 alias hostname address 1.2.3.4 check_period 24x7 check_command check_nrpe_cluster! contacts nagiosadmin contact_groups admins notification_period 24x7 initial_state o importance 0 check_interval 5.000000 retry_interval 1.000000 max_check_attempts 2 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,d,u notifications_enabled 1 notification_interval 20.000000 first_notification_delay 0.000000 stalking_options n process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 } define host { host_name server_client2 display_name cluster node 2 alias hostname address 1.2.3.5 check_period 24x7 check_command check_nrpe_cluster! contacts nagiosadmin contact_groups admins notification_period 24x7 initial_state o importance 0 check_interval 5.000000 retry_interval 1.000000 max_check_attempts 2 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,d,u notifications_enabled 1 notification_interval 20.000000 first_notification_delay 0.000000 stalking_options n process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 } define service { host_name localhost service_description Current Load check_period 24x7 check_command check_local_load!5.0,4.0,3.0!10.0,6.0,4.0 contact_groups admins notification_period 24x7 initial_state o importance 0 check_interval 5.000000 retry_interval 1.000000 max_check_attempts 4 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,w,u,c notifications_enabled 1 notification_interval 60.000000 first_notification_delay 0.000000 stalking_options n process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 } define service { host_name localhost service_description Current Users check_period 24x7 check_command check_local_users!20!50 contact_groups admins notification_period 24x7 initial_state o importance 0 check_interval 5.000000 retry_interval 1.000000 max_check_attempts 4 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,w,u,c notifications_enabled 1 notification_interval 60.000000 first_notification_delay 0.000000 stalking_options n process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 } define service { host_name localhost service_description HTTP check_period 24x7 check_command check_http contact_groups admins notification_period 24x7 initial_state o importance 0 check_interval 5.000000 retry_interval 1.000000 max_check_attempts 4 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,w,u,c notifications_enabled 0 notification_interval 60.000000 first_notification_delay 0.000000 stalking_options n process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 } define service { host_name localhost service_description PING check_period 24x7 check_command check_ping!100.0,20%!500.0,60% contact_groups admins notification_period 24x7 initial_state o importance 0 check_interval 5.000000 retry_interval 1.000000 max_check_attempts 4 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,w,u,c notifications_enabled 1 notification_interval 60.000000 first_notification_delay 0.000000 stalking_options n process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 } define service { host_name localhost service_description Root Partition check_period 24x7 check_command check_local_disk!20%!10%!/ contact_groups admins notification_period 24x7 initial_state o importance 0 check_interval 5.000000 retry_interval 1.000000 max_check_attempts 4 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,w,u,c notifications_enabled 1 notification_interval 60.000000 first_notification_delay 0.000000 stalking_options n process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 } define service { host_name localhost service_description SSH check_period 24x7 check_command check_ssh contact_groups admins notification_period 24x7 initial_state o importance 0 check_interval 5.000000 retry_interval 1.000000 max_check_attempts 4 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,w,u,c notifications_enabled 0 notification_interval 60.000000 first_notification_delay 0.000000 stalking_options n process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 } define service { host_name localhost service_description Swap Usage check_period 24x7 check_command check_local_swap!20!10 contact_groups admins notification_period 24x7 initial_state o importance 0 check_interval 5.000000 retry_interval 1.000000 max_check_attempts 4 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,w,u,c notifications_enabled 1 notification_interval 60.000000 first_notification_delay 0.000000 stalking_options n process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 } define service { host_name localhost service_description Total Processes check_period 24x7 check_command check_local_procs!250!400!RSZDT contact_groups admins notification_period 24x7 initial_state o importance 0 check_interval 5.000000 retry_interval 1.000000 max_check_attempts 4 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,w,u,c notifications_enabled 1 notification_interval 60.000000 first_notification_delay 0.000000 stalking_options n process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 }