Page 1 of 1

Check who clicked "Force an immediate check"

Posted: Mon Mar 25, 2019 1:53 pm
by sampaths
Hi,

we are using few passive checks with freshness threshold.
If there is a warning or critical reported from the passive check and someone clicks on "Force an immediate check" from the Quick Actions.
It turns to Unknown as we have used

Code: Select all

command_line	/usr/local/nagios/libexec/check_dummy 3 "No Result from service"
1. Is there a log file where i can see who has clicked the "Force an immediate check"
2. Is there a way to remove the "Force an immediate check" from quick actions when we are using passive checks. using service groups or something like that.

Re: Check who clicked "Force an immediate check"

Posted: Mon Mar 25, 2019 3:08 pm
by npolovenko
Hello, @sampaths. Nagios doesn't keep track of users who clicked on "Force immediate check". This command is submitted directly to the Nagios cmd file from the system user. We are planning on adding more integrations between backend Core components and nagios users in XI 6.
You can hide the "force immediate check" button for all service and host checks using a custom CSS rule. Doing the same depending on service groups is not supported. Unless you create your own custom Actions URL component.
https://support.nagios.com/kb/article.php?id=408