CLI Curl Command to run External Commands - Disable/Enable

Hi,
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:
serverfault.com/questions/58966/ … dows-linux
groundworkopensource.com/com … ?f=3&t=460

Thanks! :smiley:

bump

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

old.nagios.org/developerinfo/ext … ndlist.php

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