Remove a Service Command from GUI

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
mzaheer
Posts: 1
Joined: Fri Oct 05, 2018 9:05 am

Remove a Service Command from GUI

Post by mzaheer »

Hi
I want to change service commands that are available through Nagios GUI.
I want to remove the highlighted one in the attached screenshot.
Capture.PNG
I have searched but I am unable to find anything about this.
Does anybody know hoe to do this.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Remove a Service Command from GUI

Post by scottwilkerson »

This is written into the cgi's in nagios, the only way to remove them would be to remove them from the source and recompile the modified source
https://github.com/NagiosEnterprises/nagioscore

the specific lines you are looking for are in this file

https://github.com/NagiosEnterprises/na ... tatuswml.c
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Locked