00! 10
# servicegroups bandwidth_services_period 24x7_options w, c, r_interval 30_groups admins_enabled 1
}
service {generic-service_name localhost_description Memory Usage_command check_snmp_mem_v1! public! 70,70! 90,90_period 24x7_options w, c, r_interval 30_groups admins_enabled 1
}
/etc/nagios3/objects/servers/1c.cfg
# Define a host for the Windows machine we'll be monitoring
# Change the host_name, alias, and address to fit your situationhost {windows-server; Inherit default values ??from a template_name 1c; The name we're giving to this host1c terminal server; A longer name associated with the host10.10.80.33; IP address of the host_period 24x7_options d, u, f, r_interval 30_groups admins_enabled 1
}
# Create a service for monitoring the version of NSCLient ++ that is installed
# Change the host_name to match the name of the host you defined above
service {generic-service_name 1c_description NSClient ++ Version_command check_nt! CLIENTVERSION
}
# Create a service for monitoring the uptime of the server
# Change the host_name to match the name of the host you defined above
service {generic-service_name 1c_description Uptime_command check_nt! UPTIME
}
# Create a service for monitoring CPU load
# Change the host_name to match the name of the host you defined above
service {generic-service_name 1c_description CPU Load_command check_nt! CPULOAD! -l 5,80,90_period 24x7_options w, c, r_interval 30_groups admins_enabled 1
}
# Create a service for monitoring
# Change the host_name to match the name of the host you defined above
service {generic-service_name 1c_description Memory Usage_command check_nt! MEMUSE! -w 80 -c 90_period 24x7_options w, c, r_interval 30_groups admins_enabled 1
}
# Create a service for monitoring C: disk usage
# Change the host_name to match the name of the host you defined above
service {generic-service_name 1c_description C: System Space_command check_nt! USEDDISKSPACE! -lc -w 80 -c 90_period 24x7_options w, c, r_interval 30_groups admins_enabled 1
}
service {generic-service_name 1c_description D: Data Space_command check_nt! USEDDISKSPACE! -ld -w 80 -c 90_period 24x7_options w, c, r_interval 30_groups admins_enabled 1
}
service {generic-service_name 1c_description E: Swap Usage_command check_nt! USEDDISKSPACE! -le -w 80 -c 90_period 24x7_options w, c, r_interval 30_groups admins_enabled 1
}
# Create a service for monitoring the Explorer.exe process
# Change the host_name to match the name of the host you defined above
service {generic-service_name 1c_description Explorer_command check_nt! PROCSTATE! -d SHOWALL -l Explorer.exe_period 24x7_options w, c, r_interval 30_groups admins_enabled 1
}
/etc/nagios3/objects/servers/db.cfg
host {linux-server_name dbDatabase and DNS192.168.10.215at9924_period 24x7_options d, u, r, f_interval 30_groups admins_enabled 1
}
service {local-service; Name of service template to use_name db_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 db_description Uptime_command check_netapp_uptime
}
service {generic-service_name db_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 db_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 db_description/var Free Space_command check_nrpe_1arg! check_disk2_period 24x7_options w, c, r_interval 30_groups admins_enabled 1
}
service {generic-service_name db_des...