Opsview 6.9.x End of Support
Opsview versions 6.9.x reached their End of Support (EOS) status at the end of January 2026, in accordance with our Support policy. As of this date, these versions no longer receive code fixes, security updates, maintenance releases, or backported changes.
The documentation for version 6.9.7 and earlier releases will remain accessible for reference, but it will no longer be updated or maintained. We strongly recommend upgrading to the latest supported version of Opsview to ensure continued support and access to the latest features and security enhancements.
Detail - Setting
Note
Setting a service check to enter a soft state before transitioning to a hard state based on recheck attempts is no longer supported via the REST API. Service checks now transition directly to a hard state. Additionally, thestate_typeparameter is no longer a valid input in the Detail - Setting for services.
You can choose hosts or services using the same URL parameters as the status API.
Input:
{
"notifications": { "enabled": 0 }
}
Output:
{"success": "1"}
Possible input values for host:
{
"active_checks": {
"host_enabled": 0, // or 1
"services_enabled": 1 // or 0
},
"passive_checks": {
"enabled": 0, // or 1
},
"set_state": {
"result": 0, // 0=UP, 1=DOWN, 2=UNREACHABLE
"output": "Plugin output|time=9", // Must be set not empty. Add perfdata after pipe symbol
},
"notifications": {
"host_enabled": 0, // or 1
"services_enabled": 0, // or 1
},
"event_handler": {
"enabled": 0, // or 1
},
"flap_detection": {
"enabled": 0, // or 1
},
"recheck": {
"check_host": 0, // or 1. If both are 0, then nothing is sent to the Orchestrator
"check_services": 0, // or 1
"time" : 1234567890, // Epoch seconds. Default now
}
}
Possible input for services:
{
"active_checks": {
"enabled": 0, // or 1
},
"passive_checks": {
"enabled": 0, // or 1
},
"set_state": {
"result": 0, // 0=OK, 1=WARNING, 2=CRITICAL, 3=UNKNOWN
"output": "Plugin output|time=9", // Must be set not empty. Add perfdata after pipe symbol
},
"notifications": {
"enabled": 0, // or 1
},
"event_handler": {
"enabled": 0, // or 1
},
"flap_detection": {
"enabled": 0, // or 1
},
"recheck": {
"time" : 1234567890, // Epoch seconds. Default now
}
}
You can also set some input using parameters.
Valid parameters for hosts:
active_checks::host_enabledactive_checks::services_enabledpassive_checks::enablednotifications::host_enablednotifications::services_enabledevent_handler::enabledflap_detection::enabled
Valid parameters for services:
active_checks::enabledpassive_checks::enablednotifications::enabledevent_handler::enabledflap_detection::enabled