ses_command check_nrpe_1arg! check_zombie_procs_period 24x7_options w, c, r_interval 30_groups admins_enabled 1
}
service {generic-service_name host_mail_description Swap Usage_command check_nrpe_1arg! check_swap_period 24x7_options w, c, r_interval 30_groups admins_enabled 1
}
service {generic-service_name host_mail_description eth0 External Link Status on hosting_command check_snmp! public! ifOperStatus.2!-m RFC1213-MIB_period 24x7_options w, c, r_interval 30_groups admins_enabled 1
}
service {generic-service_name host_mail_description eth1 System Link Status on hosting_command check_snmp! public! ifOperStatus.3!-m RFC1213-MIB_period 24x7_options w, c, r_interval 30_groups admins_enabled 1
}
service {generic-service_name host_mail_description eth1.80 Internal Link Status on hosting_command check_snmp! public! ifOperStatus.4!-m RFC1213-MIB_period 24x7_options w, c, r_interval 30_groups admins_enabled 1
}
# Monitor bandwidth via MRTG logsservice {generic-service_name host_mail_description eth0 Bandwidth Usage on hosting_command traffic_average!/var/www/mrtg/host_mail/192.168.10.214_2.log!AVG!1000000,2000000!5000000,5000000!10_period 24x7_options w, c, r_interval 30_groups admins_enabled 1
}
service {generic-service_name host_mail_description eth1 Bandwidth Usage on hosting_command traffic_average!/var/www/mrtg/host_mail/192.168.10.214_3.log!AVG!1000000,2000000!5000000,5000000!10_period 24x7_options w, c, r_interval 30_groups admins_enabled 1
}
service {generic-service_name host_mail_description eth1.80 Bandwidth Usage on hosting_command traffic_average!/var/www/mrtg/host_mail/192.168.10.214_5.log!AVG!1000000,2000000!5000000,5000000!10_period 24x7_options w, c, r_interval 30_groups admins_enabled 1
}
service {generic-service_name host_mail_description SMTP_command check_smtp_period 24x7_options w, c, r_interval 30_groups admins_enabled 1
}
service {generic-service_name host_mail_description POP3_command check_pop_period 24x7_options w, c, r_interval 30_groups admins_enabled 1
}
service {generic-service_name host_mail_description IMAP_command check_imap_period 24x7_options w, c, r_interval 30_groups admins_enabled 1
}
service {generic-service_name host_mail_description Memory Usage_command check_snmp_mem_v1! public! 85,70! 90,90_period 24x7_options w, c, r_interval 30_groups admins_enabled 1
} service {generic-service_name host_mail_description Raid State md1_command check_nrpe_1arg! check_raid_period 24x7_options w, c, r_interval 30_groups admins_enabled 1
}
service {generic-service_name host_mail_description HTTP_command check_http
}
/etc/nagios3/objects/servers/isp.cfg
host {linux-server_name ispDatabase and DNS192.168.10.217at9924_period 24x7_options d, u, r, f_interval 30_groups admins_enabled 1
}
service {local-service_name isp_description PING_command check_ping! 100.0,20%! 500.0,60% _period 24x7_options w, c, r_interval 30_groups admins_enabled 1
}
service {generic-service_name isp_description DNS_command check_dns
}
/etc/nagios3/objects/routers/at9924.cfg
host {generic-switch; Inherit default values ??from a template_name at9924; The name we're giving to this switchAllied Telesyn AT - 9 924; A longer name associated with the switch192.168.10.101; IP address of the switchrouters; Host groups this switch is associated with_period 24x7_options d, u, f, r_interval 30_groups admins_enabled 1
}
# Create a service to PING to switch
service {generic-service; Inherit values ??from a template_name at9924; The name of the host the service is associated with_description PING; The service description_command check_ping! 200.0,20%! 600.0,60%; The command used to monitor the service_check_interval 5; Check the service every 5 minutes under normal conditions_check_interval 1; Re-check the service every minute until its final/hard state is determined_period 24x7_options w, c, r_interval 30_groups admins_enabled 1
}
# Monitor uptime via SNMP