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 - BSM - Service
Object type: BSM Service
Request URL: /rest/config/bsmservice
List Copied
Parameters: N/A
Example GET response Copied
To list all available BSM services:
$ opsview_rest --username=admin --password=initial --pretty --data-format=json GET 'config/bsmservice'
{
"list" : [
{
"components" : [
{
"name" : "Opsview",
"ref" : "/rest/config/businesscomponent/3"
}
],
"id" : "3",
"name" : "Opsview",
"ref" : "/rest/config/bsmservice/3",
"uncommitted" : "0"
},
{
"components" : [],
"id" : "4",
"name" : "Test Env",
"ref" : "/rest/config/bsmservice/4",
"uncommitted" : "0"
}
],
"summary" : {
"allrows" : "2",
"page" : "1",
"rows" : "2",
"totalpages" : "1",
"totalrows" : "2"
}
}
Create Copied
Example POST to create a new BSM Service called Google Mail Copied
Parameters:
- name
- id
- components (by id)
opsview_rest --username=admin -t ~/opsview_restapi_token --pretty --data-format=json POST 'config/bsmservice' --data '{"name":"Web System","components":[ "5" ] } '
{
"object" : {
"components" : [
{
"name" : "New Component",
"ref" : "/rest/config/businesscomponent/5"
}
],
"id" : "6",
"name" : "Web System",
"uncommitted" : "1"
}
}
Delete Copied
Deletes must be done using the ID in the URL, as follows:
$ opsview_rest --username=admin --password=initial --pretty --data-format=json DELETE 'config/bsmservice/5'
{
"success" : "1"
}