Hi,
I'm looking for an option to enable/disable some commands in the service-details-view of the shown "Service Commands".
In the cgi.cfg exist an option "authorized_for_all_service_commands=XXXX", to enable or disable commands (all or nothing) for an authenticated user, but I would like to disable only a couple of the commands in the CGI.
For instance the command "Re-schedule the next check of this service" should be still enabled, so that an user could call this command,
but the command "Disable Active Checks Of This Service" should be disabled (or removed from view) so that an CGI-user should never be able to call this command in the CGI.
Does there exist an option for the CGI of Nagios Core 4.0.8 to fulfill this requirement?
Regards
How to configure Nagios Core, CGI web interface?
Re: How to configure Nagios Core, CGI web interface?
On a case-by-case basis, no. You would need to modify the source code to block out those links, then recompile. However that just removes the commands from appearing in the interface - they would still be available to those that know the URL structure.
Former Nagios employee