Currently I am trying to create checks via HTTP POST and I was wondering if it is possible to pass arguments for the check since I don't see any variables for this in the help section. From the help section:
Is there a variable that let's me post arguments for my new check? My payload for the HTTP post will look something like this:Optional Parameters Value Type
config_name config name (in CCM)
host_name host name
service_description service name
check_command command_name
max_check_attempts #
check_interval #
retry_interval #
check_period timeperiod_name
notification_interval #
notification_period timeperiod_name
contacts or contact_groups contacts or contact_groups
{'check_period': '24x7', 'config_name': 'My new check', 'notification_interval': '5', 'notification_period': '24x7', 'retry_interval': '1', 'check_command': 'My check', 'check_arg1': 'My arguments to the check', 'host_name': 'host.test.com', 'check_interval': '600', 'service_description': 'My new check', 'max_check_attempts': '1'}
Thanks in advance!