Opsview 6.8.x End of Support
With the release of Opsview 6.11.0 on February 2025, versions 6.8.x have reached their End of Support (EOS) status, according to our Support policy. This means that versions 6.8.x will no longer receive code fixes or security updates.
The documentation for version 6.8.9 and earlier versions will remain accessible for the time being, but it will no longer be updated or receive backports. We strongly recommend upgrading to the latest version of Opsview to ensure continued support and access to the latest features and security enhancements.
Config - Notification Method
Object type: notificationmethod
Request URL: /rest/config/notificationmethod
Example GET Copied
{
"object" : {
"namespace" : "com.opsview.notificationmethods.aql",
"master" : "0",
"name" : "AQL",
"active" : "1",
"notificationprofiles" : [
{
"ref" : "/rest/config/notificationprofile/12",
"name" : "Non work hours sms"
},
{
"ref" : "/rest/config/notificationprofile/3",
"name" : "Default"
}
],
"id" : "1",
"uncommitted" : "0",
"command" : "submit_sms_aql -u '' -p '' -P ''",
"contact_variables" : "PAGER",
"variables" : [
{
"name" : "AQL_PASSWORD",
"value" : "aqlpass"
},
{
"name" : "AQL_PROXY_SERVER",
"value" : "http://proxy.example.com"
},
{
"name" : "AQL_USERNAME",
"value" : "aqluser"
}
]
}
}
Optional parameters:
-
include_contacts
— if set to 1, will return a list of contacts for all the notification profiles and the shared notification profiles as an array of hashes, eg:notificationprofile_contacts => [ { id => 8, name => "viewsomechangenone" }, { id => 9, name => "viewsomechangenonewonotify" }, ]