It makes sense to a lot of people to ask if Nagios has an API for external controls. As far as I know there isn’t one that’s well designed.

However, you can either find your way to submit your commands to nagios.cmd file directly Examples, or you can find out the Nagios web URL for the action you need to submit:

1. open your nagios web, go to the service and find the “Service Commands” box.

2. Right click on the action you want to perform through API and copy the address. Now you have the full URL for the action to your specific service. eg. the url for Disable active checks of this service is: