I create an alert and then eventually need to edit it using the "Advanced (Manage Query)" section. I then save changes and confirm everything is working.
When I click on the dashboard button in the alert menu
the old query is being shown.
I'd expect the dashboard button to take me to the active query that the alert is using, not the original one prior to the alert being edited. This happens whether I load a premade query or manually edit the text of the alert query. The alert functions as is should, so this is more cosmetic and confusing than anything else.
Manually editing alert query issue
-
- Posts: 159
- Joined: Wed Jun 19, 2013 10:21 am
Manually editing alert query issue
You do not have the required permissions to view the files attached to this post.
I like graphs...
-
- Development Lead
- Posts: 611
- Joined: Mon Apr 22, 2013 10:06 am
- Location: Nagios Enterprises
Re: Manually editing alert query issue
This is already a bug that has been reported - unfortunately it's incredibly hard to move a query that has been edited back into the dashboard once it has been manually changed. It's a better idea to edit the query in the dashboard, save over the query or save a new one and then update the alert to use the query you edited or made. That way you can ensure it will work. In future versions, if you manually edit a query, it will take you to the API output instead of the dashboard.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
-
- Posts: 159
- Joined: Wed Jun 19, 2013 10:21 am
Re: Manually editing alert query issue
Ok, thanks for letting me know. I'll try out the suggested method and wait for future updates to use the API.
I like graphs...
-
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
Re: Manually editing alert query issue
Did you want to leave this open, or do you want us to lock it up?
-
- Posts: 159
- Joined: Wed Jun 19, 2013 10:21 am
Re: Manually editing alert query issue
lock it updwhitfield wrote:Did you want to leave this open, or do you want us to lock it up?
I like graphs...