New History Tab in 2024R1.2.x contains all comments from other objects
Posted: Wed Sep 11, 2024 6:16 am
Since Nagios version 2024R1.2 the history tab is back for hosts and services.
When you acknowledge an alert the history tab shows 2 records of type "acknowledgement" and type "comment".
Both have the same data (the comment) but the acknowledgement has the state specified and the comment has "N/A" as state.
So far so good, although it's not really necessary to have the separate comment as an extra record.
However, that same comment is also shown on the history tab of other services and not only for that host.
The history tab just shows all comments ever made for any service.
This seems like a bug in the query to the comments table
When you acknowledge an alert the history tab shows 2 records of type "acknowledgement" and type "comment".
Both have the same data (the comment) but the acknowledgement has the state specified and the comment has "N/A" as state.
So far so good, although it's not really necessary to have the separate comment as an extra record.
However, that same comment is also shown on the history tab of other services and not only for that host.
The history tab just shows all comments ever made for any service.
This seems like a bug in the query to the comments table