define command { command_name cs-nagios_check-memory command_line <%= bin_path -%>cs-nagios check router memory -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ --config <%= config_file %> register 1 } define command { command_name cs-nagios_check-cpu command_line <%= bin_path -%>cs-nagios check router cpu -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ --config <%= config_file %> register 1 } define command { command_name cs-nagios_check-network command_line <%= bin_path -%>cs-nagios check router network -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ --if-speed <%= if_speed %> --config <%= config_file %> register 1 } define command { command_name cs-nagios_check-rootfsrw command_line <%= bin_path -%>cs-nagios check router rootfs_rw -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ --config <%= config_file %> register 1 } define command { command_name cs-nagios_check-diskusage command_line <%= bin_path -%>cs-nagios check router disk_usage -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ --config <%= config_file %> register 1 } define service { hostgroup_name Cloudstack service_description Cloudstack Virtual Router Memory display_name Cloudstack Virtual Router Memory use Generic-Service,service-pnp check_command cs-nagios_check-memory!80!90 register 1 } define service { hostgroup_name Cloudstack service_description Cloudstack Virtual Router CPU display_name Cloudstack Virtual Router CPU use Generic-Service,service-pnp check_command cs-nagios_check-cpu!80!90 register 1 } define service { hostgroup_name Cloudstack service_description Cloudstack Virtual Router Network display_name Cloudstack Virtual Router Network use Generic-Service,service-pnp check_command cs-nagios_check-network!80!90 register 1 } define service { hostgroup_name Cloudstack service_description Cloudstack Virtual Router RootFS rw display_name Cloudstack Virtual Router RootFS rw use Generic-Service,service-pnp check_command cs-nagios_check-rootfsrw!80!90 register 1 } define service { hostgroup_name Cloudstack service_description Cloudstack Virtual RouterDiskUsage display_name Cloudstack Virtual Router DiskUsage use Generic-Service,service-pnp check_command cs-nagios_check-diskusage!80!90 register 1 }