Is there a way to make comments persist across a restart of Nagios but get removed when a service recovers?
If we select the persistent comment check box when acknowledging a service problem then we seem to be left with a large number of old comments, so when the service fails again some time later (days or weeks in some cases) it is shown with the old comment making our team think that somebody is dealing with issue.
If we uncheck the persistent comment check box then all comments are lost every night when we regenerate our Nagios configuration files and restart Nagios.
Is there a way to make Nagios remove comments when a service recovers but make them persist through a restart?
Any help would be much appreciated!