- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Ambari not loading changes to alerts.json
- Labels:
-
Apache Ambari
Created 02-08-2018 06:24 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Created 02-08-2018 06:34 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The alerts.json files are only used to seed alert definitions initially. After an alert definition has been created in the system, modification of that alert must be done through the REST API.
See: https://github.com/apache/ambari/blob/trunk/ambari-server/docs/api/v1/alert-definitions.md#create
You can delete the alert definition as well. This will cause the alerts.json to be read in again on Ambari Server restart.
Created 02-08-2018 06:34 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The alerts.json files are only used to seed alert definitions initially. After an alert definition has been created in the system, modification of that alert must be done through the REST API.
See: https://github.com/apache/ambari/blob/trunk/ambari-server/docs/api/v1/alert-definitions.md#create
You can delete the alert definition as well. This will cause the alerts.json to be read in again on Ambari Server restart.
Created 02-09-2018 05:27 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you @Jonathan Hurley. this worked!
