If you have a maintenance window or a scheduled outage for a device then you will likely want to suspend alerting for that device during that period.
NMIS has supported this for a long time, please refer to the NMIS Outages documentation for further information.
Now, it is also possible to manage Outages within the Administration console or API.
Released in -
Summary
Operation | Method | API |
---|---|---|
Operation | Method | API |
Get a list of Outages | GET | http://server/en/omk/admin/api/v3/outages |
Get an Outage | GET | http://server/en/omk/admin/api/v3/outages/:id |
Create an Outage | POST | http://server/en/omk/admin/api/v3/outages |
Update an Outage | PUT | http://server/en/omk/admin/api/v3/outages |
Delete an Outage | DELETE | http://server/en/omk/admin/api/v3/outages/:id |
Note: At the moment, this only works for local nodes.
Authentication
All these methods require authentication.
POST http://server/en/omk/admin/login
Form data:
- username
- password
Methods
Get Outages
GET http://server/en/omk/admin/api/v3/outages
Returns a list of outages.
Response: