object CheckCommand "cs-nagios_check-snapshots" { import "plugin-check-command" command = [ "<%= bin_path -%>cs-nagios check snapshots" ] arguments = { "-w" = "80" "-c" = "90" "--config" = "<%= config_file %>" } } apply Service "Cloudstack Snapshots" { import "generic-service-pnp" assign where "Cloudstack" in host.groups check_command = "cs-nagios_check-snapshots" }