CLI Curl Command to run External Commands - Disable/Enable


Running 3.2.0 on Ubuntu 10.04.

Looking for the proper syntax for a curl command to disable/enable all service notifications for a particular host. I have run into a couple links, but none work. Does anyone have a command that works?

Already looked at: … dows-linux … ?f=3&t=460

Thanks! :smiley:




If your running the command from nagios then you don’t need curl, use the api … ndlist.php

If you want to use nsca, check out nscaweb to send commands via a url.