define command { command_name cs-nagios_check-memory command_line <%= bin_path -%>cs-nagios check router memory -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ --ssh-key <%= ssh_key %> --ssh-port <%= ssh_port %> --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$ --ssh-key <%= ssh_key %> --ssh-port <%= ssh_port %> --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 %> --ssh-key <%= ssh_key %> --ssh-port <%= ssh_port %> --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$ --ssh-key <%= ssh_key %> --ssh-port <%= ssh_port %> --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$ -P $ARG3$ --ssh-key <%= ssh_key %> --ssh-port <%= ssh_port %> --config <%= config_file %> register 1 } define command { command_name cs-nagios_check-conntrack_connections command_line <%= bin_path -%>cs-nagios check router conntrack_connections -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ --ssh-key <%= ssh_key %> --ssh-port <%= ssh_port %> --config <%= config_file %> register 1 } define command { command_name cs-nagios_check-active_ftp command_line <%= bin_path -%>cs-nagios check router active_ftp -H $HOSTADDRESS$ --ssh-key <%= ssh_key %> --ssh-port <%= ssh_port %> --config <%= config_file %> register 1 } define service { hostgroup_name CloudstackRouter 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 CloudstackRouter 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 CloudstackRouter 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 CloudstackRouter 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 CloudstackRouter service_description Cloudstack Virtual RouterDiskUsageRoot display_name Cloudstack Virtual Router DiskUsage Root use Generic-Service,service-pnp check_command cs-nagios_check-diskusage!80!90!/ register 1 } define service { hostgroup_name CloudstackRouter service_description Cloudstack Virtual RouterDiskUsageVar display_name Cloudstack Virtual Router DiskUsage Var use Generic-Service,service-pnp check_command cs-nagios_check-diskusage!80!90!/var register 1 } define service { hostgroup_name CloudstackRouter service_description Cloudstack Virtual RouterConntrackConnections display_name Cloudstack Virtual Router Conntrack Connections use Generic-Service,service-pnp check_command cs-nagios_check-conntrack_connections!80!90 register 1 } define service { hostgroup_name CloudstackRouter service_description Cloudstack Virtual RouterActiveFTP display_name Cloudstack Virtual RouterActiveFTP use Generic-Service,service-pnp check_command cs-nagios_check-active_ftp register 1 }