Sticky Acknowledgements

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
ddbrooks
Posts: 22
Joined: Fri Nov 09, 2012 1:16 pm

Sticky Acknowledgements

Post by ddbrooks »

How can I find what services or host have been acknowledge with a sticky acknowledgement set?
bwallace
Posts: 1145
Joined: Tue Nov 17, 2015 1:57 pm

Re: Sticky Acknowledgements

Post by bwallace »

I thought this was an easy question when I first read it. I was surprised to find there is not a way to determine this in XI. When I set an acknowledgement to be sticky, I'm unable to find any record of having selected this option. Home > Incident Mgmnt > Acknowledgements only shows it has been acknowledged, but not how it's been acknowledged - looking for it to say whether it's sticky or not.

I'll be filing a feature request for this shortly...
Be sure to check out the Knowledgebase for helpful articles and solutions!
bwallace
Posts: 1145
Joined: Tue Nov 17, 2015 1:57 pm

Re: Sticky Acknowledgements

Post by bwallace »

FR filed: TASK ID 9258
Be sure to check out the Knowledgebase for helpful articles and solutions!
ddbrooks
Posts: 22
Joined: Fri Nov 09, 2012 1:16 pm

Re: Sticky Acknowledgements

Post by ddbrooks »

Is there a log file that can be monitory for "sticky" or something similar in the short term?
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Sticky Acknowledgements

Post by tmcdonald »

I'd have to do some digging on that one. I think there is a solution, but it might involve looking for an integer instead of the word "sticky". Let me check on this and get back to you tomorrow.
Former Nagios employee
ddbrooks
Posts: 22
Joined: Fri Nov 09, 2012 1:16 pm

Re: Sticky Acknowledgements

Post by ddbrooks »

Roger that.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Sticky Acknowledgements

Post by tmcdonald »

/usr/local/nagios/var/status.dat will have acknowledgement_type=2 for a given host/service that is acknowledged and stickied. It will be set to 1 for non-sticky. This is indirectly documented here:

http://old.nagios.org/developerinfo/ext ... mand_id=40

if you're curious about that sort of thing.

So basically for the moment it is stored in the status.dat file but we don't have an existing way to get that into the web interface that I know of.
Former Nagios employee
Locked