> service {generic-service; Inherit values ??from a template_name at9924_description Uptime_command check_netapp_uptime
}
# Monitor Ports status via SNMP
service {generic-service; Inherit values ??from a template_name at9924_description Port 1 Link Status ub13_command check_snmp! Public! IfOperStatus.1!-m RFC1213-MIB
}
service {generic-service; Inherit values ??from a template_name at9924_description Port 2 Link Status Lenina - 105B_command check_snmp! Public! IfOperStatus.2!-m RFC1213-MIB
}
service {generic-service; Inherit values ??from a template_name at9924_description Port 3 Link Status krivousova36b_command check_snmp! Public! IfOperStatus.3!-m RFC1213-MIB
}
service {generic-service; Inherit values ??from a template_name at9924_description Port 4 Link Status ur39a_command check_snmp! Public! IfOperStatus.4!-m RFC1213-MIB
}
service {generic-service; Inherit values ??from a template_name at9924_description Port 5 Link Status ISP-concentrator_command check_snmp! Public! IfOperStatus.5!-m RFC1213-MIB
}
service {generic-service; Inherit values ??from a template_name at9924_description Port 6 Link Status isp-server_command check_snmp! Public! IfOperStatus.6!-m RFC1213-MIB
}
lt; ... gt;
# Monitor bandwidth via MRTG logs
service {generic-service; Inherit values ??from a template_name at9924_description Port 1 Bandwidth Usage ub13_command traffic_average!/Var/www/mrtg/AT - 9 924/192.168.10.101_1.log! AVG! +80000000,90000000! +100000000,120000000! 10_period 24x7_options w, c, r_interval 30_groups admins_enabled 1
}
service {generic-service; Inherit values ??from a template_name at9924_description Port 2 Bandwidth Usage Lenina - 105B_command traffic_average!/Var/www/mrtg/AT - 9924/192.168.10.101_2.log! AVG! +80000000,90000000! +100000000,120000000! 10_period 24x7_options w, c, r_interval 30_groups admins_enabled 1
}
service {generic-service; Inherit values ??from a template_name at9924_description Port 3 Bandwidth Usage krivousova36b_command traffic_average!/Var/www/mrtg/AT - 9 924/192.168.10.101_3.log! AVG! +80000000,90000000! +100000000,120000000! 10_period 24x7_options w, c, r_interval 30_groups admins_enabled 1
} service {generic-service; Inherit values ??from a template_name at9924_description Port 4 Bandwidth Usage ur39a_command traffic_average!/Var/www/mrtg/AT - 9 924/192.168.10.101_4.log! AVG! +80000000,90000000! +100000000,120000000! 10_period 24x7_options w, c, r_interval 30_groups admins_enabled 1
}
lt; ... gt;
/etc/nagios3/objects/routers/router_len58a.cfg
host {linux-server_name router_len58aLenina 58a Router192.168.10.158des3627g_period 24x7_options d, u, r, f_interval 30_groups admins_enabled 1
} service {local-service; Name of service template to use_name router_len58a_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; Inherit values ??from a template_name router_len58a_description Uptime_command check_netapp_uptime
}
service {generic-service_name router_len58a_description CPU Load_command check_nrpe_1arg! check_load_period 24x7_options w, c, r_interval 30_groups admins_enabled 1
} service {generic-service_name router_len58a_description/Free Space_command check_nrpe_1arg! check_disk1_period 24x7_options w, c, r_interval 30_groups admins_enabled 1
}
service {generic-service_name router_len58a_description Total Processes_command check_nrpe_1arg! check_total_procs_period 24x7_options w, c, r_interval 30_groups admins_enabled 1
}
service {generic-service_name router_len58a_description Zombie Processes_command check_nrpe_1arg! check_zombie_procs_period 24x7_options w, c, r_interval 30_groups admins_enabled 1
}
service {generic-service_name router_len58a_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; Inherit values ??from a template_na...