An alert named X already exists

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Locked
connected

An alert named X already exists

Post by connected »

I cannot create or rename an alert, it then gives the message "An alert named Alarm raised already exists".
I cannot find this alert existing anywhere. It looks a lot like the already solved bug mentioned here:
https://support.nagios.com/forum/viewto ... ts#p297041

But maybe I am doing something wrong. Any idea how to solve this?
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: An alert named X already exists

Post by cdienger »

What version of NLS is this?

I'd like tog et a copy of the configuration. This can be done by exporting a copy of the nagioslogserver index with the command:

Code: Select all

curl -XPOST http://localhost:9200/nagioslogserver/_export?path=/tmp/nagioslogserver.tar.gz
Please send me a copy of the /tmp/nagioslogserver.tar.gz file that it creates. It will have sensitive information so please send it to me in a private message.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
connected

Re: An alert named X already exists

Post by connected »

Hi, the version is 2.1.7
I've send the tar file via PM :-)
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: An alert named X already exists

Post by cdienger »

Thanks for the data. I've been able to reprooduce and it looks like the problem is the query that we make on the backend to determine if an alert already exists is too inclusive and is hitting on the "All systems Alarm Raised". The query code is encrypted so there isn't a quick change that I can provide at the moment. I'll file a bug for this and see if we can get a patch for this. In the meantime I would try using a different name.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
connected

Re: An alert named X already exists

Post by connected »

Thanks for the support. Interesting bug :-)
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: An alert named X already exists

Post by cdienger »

No problem. The next release of NLS will be "soon" and I'll update this thread once this is addressed.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: An alert named X already exists

Post by cdienger »

2.1.8 has been released. Please upgrade and let us know if your issue with alert names has been resolved.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked