Page 1 of 1

delete comments nagios after alert has been recovered

Posted: Thu Feb 18, 2021 10:09 am
by lozaniko
Good afternoon,
I write here, since I need to delete the comments in nagios once the alert has been recovered.
Could you help me?
Thanks
Javier Lozano

Re: delete comments nagios after alert has been recovered

Posted: Fri Feb 19, 2021 5:47 pm
by benjaminsmith
Hi Javier,

If you click on the host in the user interface, scroll down to the bottom and you can delete the comments.

Alternatively, this can be done using a Nagios external command.

https://assets.nagios.com/downloads/nag ... mands.html

Let us know if you get it working.

Benjamin

Re: delete comments nagios after alert has been recovered

Posted: Mon Feb 22, 2021 3:19 am
by lozaniko
Good Morning,
Thanks for your answer. What I need is that once the alert is automatically recovered, the comment that I have automatically placed is deleted.
This is possible?