How to identify specific service checks
Parameters:
- hostname & servicename - to identify the specific service check
Returns:
{
"pluginname": "check_tcp", // Plugin name
"args": "-H $HOSTNAME$", // args used for check. Will consider host exceptions. If sensitive_arguments is set on service check, this will be null
"macro_help": [{
"name": "$HOSTADDRESS$",
"value": "Primary hostname/ip of host",
}], // name/value pairs of macro help. Values will be internationalised
"plugin_help": "Help information", // Output from ./check_plugin --help
"can_change_args": 1, // 0=cannot change args, 1=can
}
Will return HTTP 400 if:
- service does not exist
- found host, but not the service
- Opsview configuration service check has been removed
- Opsview configuration host has been removed