repository_name stringlengths 5 67 | func_path_in_repository stringlengths 4 234 | func_name stringlengths 0 314 | whole_func_string stringlengths 52 3.87M | language stringclasses 6
values | func_code_string stringlengths 52 3.87M | func_code_tokens listlengths 15 672k | func_documentation_string stringlengths 1 47.2k | func_documentation_tokens listlengths 1 3.92k | split_name stringclasses 1
value | func_code_url stringlengths 85 339 |
|---|---|---|---|---|---|---|---|---|---|---|
Alignak-monitoring/alignak | alignak/external_command.py | ExternalCommandManager.change_contact_svc_notification_timeperiod | def change_contact_svc_notification_timeperiod(self, contact, notification_timeperiod):
"""Change contact service notification timeperiod value
Format of the line that triggers function call::
CHANGE_CONTACT_SVC_NOTIFICATION_TIMEPERIOD;<contact_name>;<notification_timeperiod>
:param co... | python | def change_contact_svc_notification_timeperiod(self, contact, notification_timeperiod):
"""Change contact service notification timeperiod value
Format of the line that triggers function call::
CHANGE_CONTACT_SVC_NOTIFICATION_TIMEPERIOD;<contact_name>;<notification_timeperiod>
:param co... | [
"def",
"change_contact_svc_notification_timeperiod",
"(",
"self",
",",
"contact",
",",
"notification_timeperiod",
")",
":",
"contact",
".",
"modified_service_attributes",
"|=",
"DICT_MODATTR",
"[",
"\"MODATTR_NOTIFICATION_TIMEPERIOD\"",
"]",
".",
"value",
"contact",
".",
... | Change contact service notification timeperiod value
Format of the line that triggers function call::
CHANGE_CONTACT_SVC_NOTIFICATION_TIMEPERIOD;<contact_name>;<notification_timeperiod>
:param contact: contact to edit
:type contact: alignak.objects.contact.Contact
:param notifi... | [
"Change",
"contact",
"service",
"notification",
"timeperiod",
"value",
"Format",
"of",
"the",
"line",
"that",
"triggers",
"function",
"call",
"::"
] | train | https://github.com/Alignak-monitoring/alignak/blob/f3c145207e83159b799d3714e4241399c7740a64/alignak/external_command.py#L1190-L1205 |
Alignak-monitoring/alignak | alignak/external_command.py | ExternalCommandManager.change_custom_contact_var | def change_custom_contact_var(self, contact, varname, varvalue):
"""Change custom contact variable
Format of the line that triggers function call::
CHANGE_CUSTOM_CONTACT_VAR;<contact_name>;<varname>;<varvalue>
:param contact: contact to edit
:type contact: alignak.objects.conta... | python | def change_custom_contact_var(self, contact, varname, varvalue):
"""Change custom contact variable
Format of the line that triggers function call::
CHANGE_CUSTOM_CONTACT_VAR;<contact_name>;<varname>;<varvalue>
:param contact: contact to edit
:type contact: alignak.objects.conta... | [
"def",
"change_custom_contact_var",
"(",
"self",
",",
"contact",
",",
"varname",
",",
"varvalue",
")",
":",
"if",
"varname",
".",
"upper",
"(",
")",
"in",
"contact",
".",
"customs",
":",
"contact",
".",
"modified_attributes",
"|=",
"DICT_MODATTR",
"[",
"\"MO... | Change custom contact variable
Format of the line that triggers function call::
CHANGE_CUSTOM_CONTACT_VAR;<contact_name>;<varname>;<varvalue>
:param contact: contact to edit
:type contact: alignak.objects.contact.Contact
:param varname: variable name to change
:type var... | [
"Change",
"custom",
"contact",
"variable",
"Format",
"of",
"the",
"line",
"that",
"triggers",
"function",
"call",
"::"
] | train | https://github.com/Alignak-monitoring/alignak/blob/f3c145207e83159b799d3714e4241399c7740a64/alignak/external_command.py#L1207-L1224 |
Alignak-monitoring/alignak | alignak/external_command.py | ExternalCommandManager.change_custom_host_var | def change_custom_host_var(self, host, varname, varvalue):
"""Change custom host variable
Format of the line that triggers function call::
CHANGE_CUSTOM_HOST_VAR;<host_name>;<varname>;<varvalue>
:param host: host to edit
:type host: alignak.objects.host.Host
:param varn... | python | def change_custom_host_var(self, host, varname, varvalue):
"""Change custom host variable
Format of the line that triggers function call::
CHANGE_CUSTOM_HOST_VAR;<host_name>;<varname>;<varvalue>
:param host: host to edit
:type host: alignak.objects.host.Host
:param varn... | [
"def",
"change_custom_host_var",
"(",
"self",
",",
"host",
",",
"varname",
",",
"varvalue",
")",
":",
"if",
"varname",
".",
"upper",
"(",
")",
"in",
"host",
".",
"customs",
":",
"host",
".",
"modified_attributes",
"|=",
"DICT_MODATTR",
"[",
"\"MODATTR_CUSTOM... | Change custom host variable
Format of the line that triggers function call::
CHANGE_CUSTOM_HOST_VAR;<host_name>;<varname>;<varvalue>
:param host: host to edit
:type host: alignak.objects.host.Host
:param varname: variable name to change
:type varname: str
:param... | [
"Change",
"custom",
"host",
"variable",
"Format",
"of",
"the",
"line",
"that",
"triggers",
"function",
"call",
"::"
] | train | https://github.com/Alignak-monitoring/alignak/blob/f3c145207e83159b799d3714e4241399c7740a64/alignak/external_command.py#L1226-L1244 |
Alignak-monitoring/alignak | alignak/external_command.py | ExternalCommandManager.change_custom_svc_var | def change_custom_svc_var(self, service, varname, varvalue):
"""Change custom service variable
Format of the line that triggers function call::
CHANGE_CUSTOM_SVC_VAR;<host_name>;<service_description>;<varname>;<varvalue>
:param service: service to edit
:type service: alignak.ob... | python | def change_custom_svc_var(self, service, varname, varvalue):
"""Change custom service variable
Format of the line that triggers function call::
CHANGE_CUSTOM_SVC_VAR;<host_name>;<service_description>;<varname>;<varvalue>
:param service: service to edit
:type service: alignak.ob... | [
"def",
"change_custom_svc_var",
"(",
"self",
",",
"service",
",",
"varname",
",",
"varvalue",
")",
":",
"if",
"varname",
".",
"upper",
"(",
")",
"in",
"service",
".",
"customs",
":",
"service",
".",
"modified_attributes",
"|=",
"DICT_MODATTR",
"[",
"\"MODATT... | Change custom service variable
Format of the line that triggers function call::
CHANGE_CUSTOM_SVC_VAR;<host_name>;<service_description>;<varname>;<varvalue>
:param service: service to edit
:type service: alignak.objects.service.Service
:param varname: variable name to change
... | [
"Change",
"custom",
"service",
"variable",
"Format",
"of",
"the",
"line",
"that",
"triggers",
"function",
"call",
"::"
] | train | https://github.com/Alignak-monitoring/alignak/blob/f3c145207e83159b799d3714e4241399c7740a64/alignak/external_command.py#L1246-L1263 |
Alignak-monitoring/alignak | alignak/external_command.py | ExternalCommandManager.change_host_check_command | def change_host_check_command(self, host, check_command):
"""Modify host check command
Format of the line that triggers function call::
CHANGE_HOST_CHECK_COMMAND;<host_name>;<check_command>
:param host: host to modify check command
:type host: alignak.objects.host.Host
... | python | def change_host_check_command(self, host, check_command):
"""Modify host check command
Format of the line that triggers function call::
CHANGE_HOST_CHECK_COMMAND;<host_name>;<check_command>
:param host: host to modify check command
:type host: alignak.objects.host.Host
... | [
"def",
"change_host_check_command",
"(",
"self",
",",
"host",
",",
"check_command",
")",
":",
"host",
".",
"modified_attributes",
"|=",
"DICT_MODATTR",
"[",
"\"MODATTR_CHECK_COMMAND\"",
"]",
".",
"value",
"data",
"=",
"{",
"\"commands\"",
":",
"self",
".",
"comm... | Modify host check command
Format of the line that triggers function call::
CHANGE_HOST_CHECK_COMMAND;<host_name>;<check_command>
:param host: host to modify check command
:type host: alignak.objects.host.Host
:param check_command: command line
:type check_command:
... | [
"Modify",
"host",
"check",
"command",
"Format",
"of",
"the",
"line",
"that",
"triggers",
"function",
"call",
"::"
] | train | https://github.com/Alignak-monitoring/alignak/blob/f3c145207e83159b799d3714e4241399c7740a64/alignak/external_command.py#L1301-L1316 |
Alignak-monitoring/alignak | alignak/external_command.py | ExternalCommandManager.change_host_check_timeperiod | def change_host_check_timeperiod(self, host, timeperiod):
"""Modify host check timeperiod
Format of the line that triggers function call::
CHANGE_HOST_CHECK_TIMEPERIOD;<host_name>;<timeperiod>
:param host: host to modify check timeperiod
:type host: alignak.objects.host.Host
... | python | def change_host_check_timeperiod(self, host, timeperiod):
"""Modify host check timeperiod
Format of the line that triggers function call::
CHANGE_HOST_CHECK_TIMEPERIOD;<host_name>;<timeperiod>
:param host: host to modify check timeperiod
:type host: alignak.objects.host.Host
... | [
"def",
"change_host_check_timeperiod",
"(",
"self",
",",
"host",
",",
"timeperiod",
")",
":",
"host",
".",
"modified_attributes",
"|=",
"DICT_MODATTR",
"[",
"\"MODATTR_CHECK_TIMEPERIOD\"",
"]",
".",
"value",
"host",
".",
"check_period",
"=",
"timeperiod",
"self",
... | Modify host check timeperiod
Format of the line that triggers function call::
CHANGE_HOST_CHECK_TIMEPERIOD;<host_name>;<timeperiod>
:param host: host to modify check timeperiod
:type host: alignak.objects.host.Host
:param timeperiod: timeperiod object
:type timeperiod: ... | [
"Modify",
"host",
"check",
"timeperiod",
"Format",
"of",
"the",
"line",
"that",
"triggers",
"function",
"call",
"::"
] | train | https://github.com/Alignak-monitoring/alignak/blob/f3c145207e83159b799d3714e4241399c7740a64/alignak/external_command.py#L1318-L1332 |
Alignak-monitoring/alignak | alignak/external_command.py | ExternalCommandManager.change_host_event_handler | def change_host_event_handler(self, host, event_handler_command):
"""Modify host event handler
Format of the line that triggers function call::
CHANGE_HOST_EVENT_HANDLER;<host_name>;<event_handler_command>
:param host: host to modify event handler
:type host: alignak.objects.ho... | python | def change_host_event_handler(self, host, event_handler_command):
"""Modify host event handler
Format of the line that triggers function call::
CHANGE_HOST_EVENT_HANDLER;<host_name>;<event_handler_command>
:param host: host to modify event handler
:type host: alignak.objects.ho... | [
"def",
"change_host_event_handler",
"(",
"self",
",",
"host",
",",
"event_handler_command",
")",
":",
"host",
".",
"modified_attributes",
"|=",
"DICT_MODATTR",
"[",
"\"MODATTR_EVENT_HANDLER_COMMAND\"",
"]",
".",
"value",
"data",
"=",
"{",
"\"commands\"",
":",
"self"... | Modify host event handler
Format of the line that triggers function call::
CHANGE_HOST_EVENT_HANDLER;<host_name>;<event_handler_command>
:param host: host to modify event handler
:type host: alignak.objects.host.Host
:param event_handler_command: event handler command line
... | [
"Modify",
"host",
"event",
"handler",
"Format",
"of",
"the",
"line",
"that",
"triggers",
"function",
"call",
"::"
] | train | https://github.com/Alignak-monitoring/alignak/blob/f3c145207e83159b799d3714e4241399c7740a64/alignak/external_command.py#L1334-L1349 |
Alignak-monitoring/alignak | alignak/external_command.py | ExternalCommandManager.change_host_snapshot_command | def change_host_snapshot_command(self, host, snapshot_command):
"""Modify host snapshot command
Format of the line that triggers function call::
CHANGE_HOST_SNAPSHOT_COMMAND;<host_name>;<event_handler_command>
:param host: host to modify snapshot command
:type host: alignak.obj... | python | def change_host_snapshot_command(self, host, snapshot_command):
"""Modify host snapshot command
Format of the line that triggers function call::
CHANGE_HOST_SNAPSHOT_COMMAND;<host_name>;<event_handler_command>
:param host: host to modify snapshot command
:type host: alignak.obj... | [
"def",
"change_host_snapshot_command",
"(",
"self",
",",
"host",
",",
"snapshot_command",
")",
":",
"host",
".",
"modified_attributes",
"|=",
"DICT_MODATTR",
"[",
"\"MODATTR_EVENT_HANDLER_COMMAND\"",
"]",
".",
"value",
"data",
"=",
"{",
"\"commands\"",
":",
"self",
... | Modify host snapshot command
Format of the line that triggers function call::
CHANGE_HOST_SNAPSHOT_COMMAND;<host_name>;<event_handler_command>
:param host: host to modify snapshot command
:type host: alignak.objects.host.Host
:param snapshot_command: snapshot command command li... | [
"Modify",
"host",
"snapshot",
"command",
"Format",
"of",
"the",
"line",
"that",
"triggers",
"function",
"call",
"::"
] | train | https://github.com/Alignak-monitoring/alignak/blob/f3c145207e83159b799d3714e4241399c7740a64/alignak/external_command.py#L1351-L1366 |
Alignak-monitoring/alignak | alignak/external_command.py | ExternalCommandManager.change_host_modattr | def change_host_modattr(self, host, value):
"""Change host modified attributes
Format of the line that triggers function call::
CHANGE_HOST_MODATTR;<host_name>;<value>
For boolean attributes, toggles the service attribute state (enable/disable)
For non boolean attribute, only i... | python | def change_host_modattr(self, host, value):
"""Change host modified attributes
Format of the line that triggers function call::
CHANGE_HOST_MODATTR;<host_name>;<value>
For boolean attributes, toggles the service attribute state (enable/disable)
For non boolean attribute, only i... | [
"def",
"change_host_modattr",
"(",
"self",
",",
"host",
",",
"value",
")",
":",
"# todo: deprecate this",
"# We need to change each of the needed attributes.",
"previous_value",
"=",
"host",
".",
"modified_attributes",
"changes",
"=",
"int",
"(",
"value",
")",
"# For al... | Change host modified attributes
Format of the line that triggers function call::
CHANGE_HOST_MODATTR;<host_name>;<value>
For boolean attributes, toggles the service attribute state (enable/disable)
For non boolean attribute, only indicates that the corresponding attribute is to be save... | [
"Change",
"host",
"modified",
"attributes",
"Format",
"of",
"the",
"line",
"that",
"triggers",
"function",
"call",
"::"
] | train | https://github.com/Alignak-monitoring/alignak/blob/f3c145207e83159b799d3714e4241399c7740a64/alignak/external_command.py#L1368-L1425 |
Alignak-monitoring/alignak | alignak/external_command.py | ExternalCommandManager.change_max_host_check_attempts | def change_max_host_check_attempts(self, host, check_attempts):
"""Modify max host check attempt
Format of the line that triggers function call::
CHANGE_MAX_HOST_CHECK_ATTEMPTS;<host_name>;<check_attempts>
:param host: host to edit
:type host: alignak.objects.host.Host
... | python | def change_max_host_check_attempts(self, host, check_attempts):
"""Modify max host check attempt
Format of the line that triggers function call::
CHANGE_MAX_HOST_CHECK_ATTEMPTS;<host_name>;<check_attempts>
:param host: host to edit
:type host: alignak.objects.host.Host
... | [
"def",
"change_max_host_check_attempts",
"(",
"self",
",",
"host",
",",
"check_attempts",
")",
":",
"host",
".",
"modified_attributes",
"|=",
"DICT_MODATTR",
"[",
"\"MODATTR_MAX_CHECK_ATTEMPTS\"",
"]",
".",
"value",
"host",
".",
"max_check_attempts",
"=",
"check_attem... | Modify max host check attempt
Format of the line that triggers function call::
CHANGE_MAX_HOST_CHECK_ATTEMPTS;<host_name>;<check_attempts>
:param host: host to edit
:type host: alignak.objects.host.Host
:param check_attempts: new value to set
:type check_attempts: int
... | [
"Modify",
"max",
"host",
"check",
"attempt",
"Format",
"of",
"the",
"line",
"that",
"triggers",
"function",
"call",
"::"
] | train | https://github.com/Alignak-monitoring/alignak/blob/f3c145207e83159b799d3714e4241399c7740a64/alignak/external_command.py#L1427-L1443 |
Alignak-monitoring/alignak | alignak/external_command.py | ExternalCommandManager.change_max_svc_check_attempts | def change_max_svc_check_attempts(self, service, check_attempts):
"""Modify max service check attempt
Format of the line that triggers function call::
CHANGE_MAX_SVC_CHECK_ATTEMPTS;<host_name>;<service_description>;<check_attempts>
:param service: service to edit
:type service:... | python | def change_max_svc_check_attempts(self, service, check_attempts):
"""Modify max service check attempt
Format of the line that triggers function call::
CHANGE_MAX_SVC_CHECK_ATTEMPTS;<host_name>;<service_description>;<check_attempts>
:param service: service to edit
:type service:... | [
"def",
"change_max_svc_check_attempts",
"(",
"self",
",",
"service",
",",
"check_attempts",
")",
":",
"service",
".",
"modified_attributes",
"|=",
"DICT_MODATTR",
"[",
"\"MODATTR_MAX_CHECK_ATTEMPTS\"",
"]",
".",
"value",
"service",
".",
"max_check_attempts",
"=",
"che... | Modify max service check attempt
Format of the line that triggers function call::
CHANGE_MAX_SVC_CHECK_ATTEMPTS;<host_name>;<service_description>;<check_attempts>
:param service: service to edit
:type service: alignak.objects.service.Service
:param check_attempts: new value to ... | [
"Modify",
"max",
"service",
"check",
"attempt",
"Format",
"of",
"the",
"line",
"that",
"triggers",
"function",
"call",
"::"
] | train | https://github.com/Alignak-monitoring/alignak/blob/f3c145207e83159b799d3714e4241399c7740a64/alignak/external_command.py#L1445-L1461 |
Alignak-monitoring/alignak | alignak/external_command.py | ExternalCommandManager.change_normal_host_check_interval | def change_normal_host_check_interval(self, host, check_interval):
"""Modify host check interval
Format of the line that triggers function call::
CHANGE_NORMAL_HOST_CHECK_INTERVAL;<host_name>;<check_interval>
:param host: host to edit
:type host: alignak.objects.host.Host
... | python | def change_normal_host_check_interval(self, host, check_interval):
"""Modify host check interval
Format of the line that triggers function call::
CHANGE_NORMAL_HOST_CHECK_INTERVAL;<host_name>;<check_interval>
:param host: host to edit
:type host: alignak.objects.host.Host
... | [
"def",
"change_normal_host_check_interval",
"(",
"self",
",",
"host",
",",
"check_interval",
")",
":",
"host",
".",
"modified_attributes",
"|=",
"DICT_MODATTR",
"[",
"\"MODATTR_NORMAL_CHECK_INTERVAL\"",
"]",
".",
"value",
"old_interval",
"=",
"host",
".",
"check_inter... | Modify host check interval
Format of the line that triggers function call::
CHANGE_NORMAL_HOST_CHECK_INTERVAL;<host_name>;<check_interval>
:param host: host to edit
:type host: alignak.objects.host.Host
:param check_interval: new value to set
:type check_interval:
... | [
"Modify",
"host",
"check",
"interval",
"Format",
"of",
"the",
"line",
"that",
"triggers",
"function",
"call",
"::"
] | train | https://github.com/Alignak-monitoring/alignak/blob/f3c145207e83159b799d3714e4241399c7740a64/alignak/external_command.py#L1463-L1485 |
Alignak-monitoring/alignak | alignak/external_command.py | ExternalCommandManager.change_retry_host_check_interval | def change_retry_host_check_interval(self, host, check_interval):
"""Modify host retry interval
Format of the line that triggers function call::
CHANGE_RETRY_HOST_CHECK_INTERVAL;<host_name>;<check_interval>
:param host: host to edit
:type host: alignak.objects.host.Host
... | python | def change_retry_host_check_interval(self, host, check_interval):
"""Modify host retry interval
Format of the line that triggers function call::
CHANGE_RETRY_HOST_CHECK_INTERVAL;<host_name>;<check_interval>
:param host: host to edit
:type host: alignak.objects.host.Host
... | [
"def",
"change_retry_host_check_interval",
"(",
"self",
",",
"host",
",",
"check_interval",
")",
":",
"host",
".",
"modified_attributes",
"|=",
"DICT_MODATTR",
"[",
"\"MODATTR_RETRY_CHECK_INTERVAL\"",
"]",
".",
"value",
"host",
".",
"retry_interval",
"=",
"check_inter... | Modify host retry interval
Format of the line that triggers function call::
CHANGE_RETRY_HOST_CHECK_INTERVAL;<host_name>;<check_interval>
:param host: host to edit
:type host: alignak.objects.host.Host
:param check_interval: new value to set
:type check_interval:
... | [
"Modify",
"host",
"retry",
"interval",
"Format",
"of",
"the",
"line",
"that",
"triggers",
"function",
"call",
"::"
] | train | https://github.com/Alignak-monitoring/alignak/blob/f3c145207e83159b799d3714e4241399c7740a64/alignak/external_command.py#L1511-L1525 |
Alignak-monitoring/alignak | alignak/external_command.py | ExternalCommandManager.change_retry_svc_check_interval | def change_retry_svc_check_interval(self, service, check_interval):
"""Modify service retry interval
Format of the line that triggers function call::
CHANGE_RETRY_SVC_CHECK_INTERVAL;<host_name>;<service_description>;<check_interval>
:param service: service to edit
:type service... | python | def change_retry_svc_check_interval(self, service, check_interval):
"""Modify service retry interval
Format of the line that triggers function call::
CHANGE_RETRY_SVC_CHECK_INTERVAL;<host_name>;<service_description>;<check_interval>
:param service: service to edit
:type service... | [
"def",
"change_retry_svc_check_interval",
"(",
"self",
",",
"service",
",",
"check_interval",
")",
":",
"service",
".",
"modified_attributes",
"|=",
"DICT_MODATTR",
"[",
"\"MODATTR_RETRY_CHECK_INTERVAL\"",
"]",
".",
"value",
"service",
".",
"retry_interval",
"=",
"che... | Modify service retry interval
Format of the line that triggers function call::
CHANGE_RETRY_SVC_CHECK_INTERVAL;<host_name>;<service_description>;<check_interval>
:param service: service to edit
:type service: alignak.objects.service.Service
:param check_interval: new value to s... | [
"Modify",
"service",
"retry",
"interval",
"Format",
"of",
"the",
"line",
"that",
"triggers",
"function",
"call",
"::"
] | train | https://github.com/Alignak-monitoring/alignak/blob/f3c145207e83159b799d3714e4241399c7740a64/alignak/external_command.py#L1527-L1541 |
Alignak-monitoring/alignak | alignak/external_command.py | ExternalCommandManager.change_svc_check_command | def change_svc_check_command(self, service, check_command):
"""Modify service check command
Format of the line that triggers function call::
CHANGE_SVC_CHECK_COMMAND;<host_name>;<service_description>;<check_command>
:param service: service to modify check command
:type service:... | python | def change_svc_check_command(self, service, check_command):
"""Modify service check command
Format of the line that triggers function call::
CHANGE_SVC_CHECK_COMMAND;<host_name>;<service_description>;<check_command>
:param service: service to modify check command
:type service:... | [
"def",
"change_svc_check_command",
"(",
"self",
",",
"service",
",",
"check_command",
")",
":",
"service",
".",
"modified_attributes",
"|=",
"DICT_MODATTR",
"[",
"\"MODATTR_CHECK_COMMAND\"",
"]",
".",
"value",
"data",
"=",
"{",
"\"commands\"",
":",
"self",
".",
... | Modify service check command
Format of the line that triggers function call::
CHANGE_SVC_CHECK_COMMAND;<host_name>;<service_description>;<check_command>
:param service: service to modify check command
:type service: alignak.objects.service.Service
:param check_command: command ... | [
"Modify",
"service",
"check",
"command",
"Format",
"of",
"the",
"line",
"that",
"triggers",
"function",
"call",
"::"
] | train | https://github.com/Alignak-monitoring/alignak/blob/f3c145207e83159b799d3714e4241399c7740a64/alignak/external_command.py#L1543-L1558 |
Alignak-monitoring/alignak | alignak/external_command.py | ExternalCommandManager.change_svc_check_timeperiod | def change_svc_check_timeperiod(self, service, check_timeperiod):
"""Modify service check timeperiod
Format of the line that triggers function call::
CHANGE_SVC_CHECK_TIMEPERIOD;<host_name>;<service_description>;<check_timeperiod>
:param service: service to modify check timeperiod
... | python | def change_svc_check_timeperiod(self, service, check_timeperiod):
"""Modify service check timeperiod
Format of the line that triggers function call::
CHANGE_SVC_CHECK_TIMEPERIOD;<host_name>;<service_description>;<check_timeperiod>
:param service: service to modify check timeperiod
... | [
"def",
"change_svc_check_timeperiod",
"(",
"self",
",",
"service",
",",
"check_timeperiod",
")",
":",
"service",
".",
"modified_attributes",
"|=",
"DICT_MODATTR",
"[",
"\"MODATTR_CHECK_TIMEPERIOD\"",
"]",
".",
"value",
"service",
".",
"check_period",
"=",
"check_timep... | Modify service check timeperiod
Format of the line that triggers function call::
CHANGE_SVC_CHECK_TIMEPERIOD;<host_name>;<service_description>;<check_timeperiod>
:param service: service to modify check timeperiod
:type service: alignak.objects.service.Service
:param check_timep... | [
"Modify",
"service",
"check",
"timeperiod",
"Format",
"of",
"the",
"line",
"that",
"triggers",
"function",
"call",
"::"
] | train | https://github.com/Alignak-monitoring/alignak/blob/f3c145207e83159b799d3714e4241399c7740a64/alignak/external_command.py#L1560-L1574 |
Alignak-monitoring/alignak | alignak/external_command.py | ExternalCommandManager.change_svc_event_handler | def change_svc_event_handler(self, service, event_handler_command):
"""Modify service event handler
Format of the line that triggers function call::
CHANGE_SVC_EVENT_HANDLER;<host_name>;<service_description>;<event_handler_command>
:param service: service to modify event handler
... | python | def change_svc_event_handler(self, service, event_handler_command):
"""Modify service event handler
Format of the line that triggers function call::
CHANGE_SVC_EVENT_HANDLER;<host_name>;<service_description>;<event_handler_command>
:param service: service to modify event handler
... | [
"def",
"change_svc_event_handler",
"(",
"self",
",",
"service",
",",
"event_handler_command",
")",
":",
"service",
".",
"modified_attributes",
"|=",
"DICT_MODATTR",
"[",
"\"MODATTR_EVENT_HANDLER_COMMAND\"",
"]",
".",
"value",
"data",
"=",
"{",
"\"commands\"",
":",
"... | Modify service event handler
Format of the line that triggers function call::
CHANGE_SVC_EVENT_HANDLER;<host_name>;<service_description>;<event_handler_command>
:param service: service to modify event handler
:type service: alignak.objects.service.Service
:param event_handler_c... | [
"Modify",
"service",
"event",
"handler",
"Format",
"of",
"the",
"line",
"that",
"triggers",
"function",
"call",
"::"
] | train | https://github.com/Alignak-monitoring/alignak/blob/f3c145207e83159b799d3714e4241399c7740a64/alignak/external_command.py#L1576-L1591 |
Alignak-monitoring/alignak | alignak/external_command.py | ExternalCommandManager.change_svc_snapshot_command | def change_svc_snapshot_command(self, service, snapshot_command):
"""Modify host snapshot command
Format of the line that triggers function call::
CHANGE_HOST_SNAPSHOT_COMMAND;<host_name>;<event_handler_command>
:param service: service to modify snapshot command
:type service: ... | python | def change_svc_snapshot_command(self, service, snapshot_command):
"""Modify host snapshot command
Format of the line that triggers function call::
CHANGE_HOST_SNAPSHOT_COMMAND;<host_name>;<event_handler_command>
:param service: service to modify snapshot command
:type service: ... | [
"def",
"change_svc_snapshot_command",
"(",
"self",
",",
"service",
",",
"snapshot_command",
")",
":",
"service",
".",
"modified_attributes",
"|=",
"DICT_MODATTR",
"[",
"\"MODATTR_EVENT_HANDLER_COMMAND\"",
"]",
".",
"value",
"data",
"=",
"{",
"\"commands\"",
":",
"se... | Modify host snapshot command
Format of the line that triggers function call::
CHANGE_HOST_SNAPSHOT_COMMAND;<host_name>;<event_handler_command>
:param service: service to modify snapshot command
:type service: alignak.objects.service.Service
:param snapshot_command: snapshot com... | [
"Modify",
"host",
"snapshot",
"command",
"Format",
"of",
"the",
"line",
"that",
"triggers",
"function",
"call",
"::"
] | train | https://github.com/Alignak-monitoring/alignak/blob/f3c145207e83159b799d3714e4241399c7740a64/alignak/external_command.py#L1593-L1608 |
Alignak-monitoring/alignak | alignak/external_command.py | ExternalCommandManager.change_svc_modattr | def change_svc_modattr(self, service, value):
"""Change service modified attributes
Format of the line that triggers function call::
CHANGE_SVC_MODATTR;<host_name>;<service_description>;<value>
For boolean attributes, toggles the service attribute state (enable/disable)
For non... | python | def change_svc_modattr(self, service, value):
"""Change service modified attributes
Format of the line that triggers function call::
CHANGE_SVC_MODATTR;<host_name>;<service_description>;<value>
For boolean attributes, toggles the service attribute state (enable/disable)
For non... | [
"def",
"change_svc_modattr",
"(",
"self",
",",
"service",
",",
"value",
")",
":",
"# todo: deprecate this",
"# We need to change each of the needed attributes.",
"previous_value",
"=",
"service",
".",
"modified_attributes",
"changes",
"=",
"int",
"(",
"value",
")",
"# F... | Change service modified attributes
Format of the line that triggers function call::
CHANGE_SVC_MODATTR;<host_name>;<service_description>;<value>
For boolean attributes, toggles the service attribute state (enable/disable)
For non boolean attribute, only indicates that the corresponding... | [
"Change",
"service",
"modified",
"attributes",
"Format",
"of",
"the",
"line",
"that",
"triggers",
"function",
"call",
"::"
] | train | https://github.com/Alignak-monitoring/alignak/blob/f3c145207e83159b799d3714e4241399c7740a64/alignak/external_command.py#L1610-L1667 |
Alignak-monitoring/alignak | alignak/external_command.py | ExternalCommandManager.change_svc_notification_timeperiod | def change_svc_notification_timeperiod(self, service, notification_timeperiod):
"""Change service notification timeperiod
Format of the line that triggers function call::
CHANGE_SVC_NOTIFICATION_TIMEPERIOD;<host_name>;<service_description>;
<notification_timeperiod>
:param serv... | python | def change_svc_notification_timeperiod(self, service, notification_timeperiod):
"""Change service notification timeperiod
Format of the line that triggers function call::
CHANGE_SVC_NOTIFICATION_TIMEPERIOD;<host_name>;<service_description>;
<notification_timeperiod>
:param serv... | [
"def",
"change_svc_notification_timeperiod",
"(",
"self",
",",
"service",
",",
"notification_timeperiod",
")",
":",
"service",
".",
"modified_attributes",
"|=",
"DICT_MODATTR",
"[",
"\"MODATTR_NOTIFICATION_TIMEPERIOD\"",
"]",
".",
"value",
"service",
".",
"notification_pe... | Change service notification timeperiod
Format of the line that triggers function call::
CHANGE_SVC_NOTIFICATION_TIMEPERIOD;<host_name>;<service_description>;
<notification_timeperiod>
:param service: service to edit
:type service: alignak.objects.service.Service
:param ... | [
"Change",
"service",
"notification",
"timeperiod",
"Format",
"of",
"the",
"line",
"that",
"triggers",
"function",
"call",
"::"
] | train | https://github.com/Alignak-monitoring/alignak/blob/f3c145207e83159b799d3714e4241399c7740a64/alignak/external_command.py#L1669-L1684 |
Alignak-monitoring/alignak | alignak/external_command.py | ExternalCommandManager.delay_host_notification | def delay_host_notification(self, host, notification_time):
"""Modify host first notification delay
Format of the line that triggers function call::
DELAY_HOST_NOTIFICATION;<host_name>;<notification_time>
:param host: host to edit
:type host: alignak.objects.host.Host
:... | python | def delay_host_notification(self, host, notification_time):
"""Modify host first notification delay
Format of the line that triggers function call::
DELAY_HOST_NOTIFICATION;<host_name>;<notification_time>
:param host: host to edit
:type host: alignak.objects.host.Host
:... | [
"def",
"delay_host_notification",
"(",
"self",
",",
"host",
",",
"notification_time",
")",
":",
"host",
".",
"first_notification_delay",
"=",
"notification_time",
"self",
".",
"send_an_element",
"(",
"host",
".",
"get_update_status_brok",
"(",
")",
")"
] | Modify host first notification delay
Format of the line that triggers function call::
DELAY_HOST_NOTIFICATION;<host_name>;<notification_time>
:param host: host to edit
:type host: alignak.objects.host.Host
:param notification_time: new value to set
:type notification_ti... | [
"Modify",
"host",
"first",
"notification",
"delay",
"Format",
"of",
"the",
"line",
"that",
"triggers",
"function",
"call",
"::"
] | train | https://github.com/Alignak-monitoring/alignak/blob/f3c145207e83159b799d3714e4241399c7740a64/alignak/external_command.py#L1686-L1699 |
Alignak-monitoring/alignak | alignak/external_command.py | ExternalCommandManager.delay_svc_notification | def delay_svc_notification(self, service, notification_time):
"""Modify service first notification delay
Format of the line that triggers function call::
DELAY_SVC_NOTIFICATION;<host_name>;<service_description>;<notification_time>
:param service: service to edit
:type service: ... | python | def delay_svc_notification(self, service, notification_time):
"""Modify service first notification delay
Format of the line that triggers function call::
DELAY_SVC_NOTIFICATION;<host_name>;<service_description>;<notification_time>
:param service: service to edit
:type service: ... | [
"def",
"delay_svc_notification",
"(",
"self",
",",
"service",
",",
"notification_time",
")",
":",
"service",
".",
"first_notification_delay",
"=",
"notification_time",
"self",
".",
"send_an_element",
"(",
"service",
".",
"get_update_status_brok",
"(",
")",
")"
] | Modify service first notification delay
Format of the line that triggers function call::
DELAY_SVC_NOTIFICATION;<host_name>;<service_description>;<notification_time>
:param service: service to edit
:type service: alignak.objects.service.Service
:param notification_time: new val... | [
"Modify",
"service",
"first",
"notification",
"delay",
"Format",
"of",
"the",
"line",
"that",
"triggers",
"function",
"call",
"::"
] | train | https://github.com/Alignak-monitoring/alignak/blob/f3c145207e83159b799d3714e4241399c7740a64/alignak/external_command.py#L1701-L1714 |
Alignak-monitoring/alignak | alignak/external_command.py | ExternalCommandManager.del_all_host_comments | def del_all_host_comments(self, host):
"""Delete all host comments
Format of the line that triggers function call::
DEL_ALL_HOST_COMMENTS;<host_name>
:param host: host to edit
:type host: alignak.objects.host.Host
:return: None
"""
comments = list(host.c... | python | def del_all_host_comments(self, host):
"""Delete all host comments
Format of the line that triggers function call::
DEL_ALL_HOST_COMMENTS;<host_name>
:param host: host to edit
:type host: alignak.objects.host.Host
:return: None
"""
comments = list(host.c... | [
"def",
"del_all_host_comments",
"(",
"self",
",",
"host",
")",
":",
"comments",
"=",
"list",
"(",
"host",
".",
"comments",
".",
"keys",
"(",
")",
")",
"for",
"uuid",
"in",
"comments",
":",
"host",
".",
"del_comment",
"(",
"uuid",
")",
"self",
".",
"s... | Delete all host comments
Format of the line that triggers function call::
DEL_ALL_HOST_COMMENTS;<host_name>
:param host: host to edit
:type host: alignak.objects.host.Host
:return: None | [
"Delete",
"all",
"host",
"comments",
"Format",
"of",
"the",
"line",
"that",
"triggers",
"function",
"call",
"::"
] | train | https://github.com/Alignak-monitoring/alignak/blob/f3c145207e83159b799d3714e4241399c7740a64/alignak/external_command.py#L1729-L1742 |
Alignak-monitoring/alignak | alignak/external_command.py | ExternalCommandManager.del_all_host_downtimes | def del_all_host_downtimes(self, host):
"""Delete all host downtimes
Format of the line that triggers function call::
DEL_ALL_HOST_DOWNTIMES;<host_name>
:param host: host to edit
:type host: alignak.objects.host.Host
:return: None
"""
for downtime in hos... | python | def del_all_host_downtimes(self, host):
"""Delete all host downtimes
Format of the line that triggers function call::
DEL_ALL_HOST_DOWNTIMES;<host_name>
:param host: host to edit
:type host: alignak.objects.host.Host
:return: None
"""
for downtime in hos... | [
"def",
"del_all_host_downtimes",
"(",
"self",
",",
"host",
")",
":",
"for",
"downtime",
"in",
"host",
".",
"downtimes",
":",
"self",
".",
"del_host_downtime",
"(",
"downtime",
")",
"self",
".",
"send_an_element",
"(",
"host",
".",
"get_update_status_brok",
"("... | Delete all host downtimes
Format of the line that triggers function call::
DEL_ALL_HOST_DOWNTIMES;<host_name>
:param host: host to edit
:type host: alignak.objects.host.Host
:return: None | [
"Delete",
"all",
"host",
"downtimes",
"Format",
"of",
"the",
"line",
"that",
"triggers",
"function",
"call",
"::"
] | train | https://github.com/Alignak-monitoring/alignak/blob/f3c145207e83159b799d3714e4241399c7740a64/alignak/external_command.py#L1744-L1756 |
Alignak-monitoring/alignak | alignak/external_command.py | ExternalCommandManager.del_all_svc_comments | def del_all_svc_comments(self, service):
"""Delete all service comments
Format of the line that triggers function call::
DEL_ALL_SVC_COMMENTS;<host_name>;<service_description>
:param service: service to edit
:type service: alignak.objects.service.Service
:return: None
... | python | def del_all_svc_comments(self, service):
"""Delete all service comments
Format of the line that triggers function call::
DEL_ALL_SVC_COMMENTS;<host_name>;<service_description>
:param service: service to edit
:type service: alignak.objects.service.Service
:return: None
... | [
"def",
"del_all_svc_comments",
"(",
"self",
",",
"service",
")",
":",
"comments",
"=",
"list",
"(",
"service",
".",
"comments",
".",
"keys",
"(",
")",
")",
"for",
"uuid",
"in",
"comments",
":",
"service",
".",
"del_comment",
"(",
"uuid",
")",
"self",
"... | Delete all service comments
Format of the line that triggers function call::
DEL_ALL_SVC_COMMENTS;<host_name>;<service_description>
:param service: service to edit
:type service: alignak.objects.service.Service
:return: None | [
"Delete",
"all",
"service",
"comments",
"Format",
"of",
"the",
"line",
"that",
"triggers",
"function",
"call",
"::"
] | train | https://github.com/Alignak-monitoring/alignak/blob/f3c145207e83159b799d3714e4241399c7740a64/alignak/external_command.py#L1758-L1771 |
Alignak-monitoring/alignak | alignak/external_command.py | ExternalCommandManager.del_all_svc_downtimes | def del_all_svc_downtimes(self, service):
"""Delete all service downtime
Format of the line that triggers function call::
DEL_ALL_SVC_DOWNTIMES;<host_name>;<service_description>
:param service: service to edit
:type service: alignak.objects.service.Service
:return: None... | python | def del_all_svc_downtimes(self, service):
"""Delete all service downtime
Format of the line that triggers function call::
DEL_ALL_SVC_DOWNTIMES;<host_name>;<service_description>
:param service: service to edit
:type service: alignak.objects.service.Service
:return: None... | [
"def",
"del_all_svc_downtimes",
"(",
"self",
",",
"service",
")",
":",
"for",
"downtime",
"in",
"service",
".",
"downtimes",
":",
"self",
".",
"del_svc_downtime",
"(",
"downtime",
")",
"self",
".",
"send_an_element",
"(",
"service",
".",
"get_update_status_brok"... | Delete all service downtime
Format of the line that triggers function call::
DEL_ALL_SVC_DOWNTIMES;<host_name>;<service_description>
:param service: service to edit
:type service: alignak.objects.service.Service
:return: None | [
"Delete",
"all",
"service",
"downtime",
"Format",
"of",
"the",
"line",
"that",
"triggers",
"function",
"call",
"::"
] | train | https://github.com/Alignak-monitoring/alignak/blob/f3c145207e83159b799d3714e4241399c7740a64/alignak/external_command.py#L1773-L1785 |
Alignak-monitoring/alignak | alignak/external_command.py | ExternalCommandManager.del_contact_downtime | def del_contact_downtime(self, downtime_id):
"""Delete a contact downtime
Format of the line that triggers function call::
DEL_CONTACT_DOWNTIME;<downtime_id>
:param downtime_id: downtime id to delete
:type downtime_id: int
:return: None
"""
for item in s... | python | def del_contact_downtime(self, downtime_id):
"""Delete a contact downtime
Format of the line that triggers function call::
DEL_CONTACT_DOWNTIME;<downtime_id>
:param downtime_id: downtime id to delete
:type downtime_id: int
:return: None
"""
for item in s... | [
"def",
"del_contact_downtime",
"(",
"self",
",",
"downtime_id",
")",
":",
"for",
"item",
"in",
"self",
".",
"daemon",
".",
"contacts",
":",
"if",
"downtime_id",
"in",
"item",
".",
"downtimes",
":",
"item",
".",
"downtimes",
"[",
"downtime_id",
"]",
".",
... | Delete a contact downtime
Format of the line that triggers function call::
DEL_CONTACT_DOWNTIME;<downtime_id>
:param downtime_id: downtime id to delete
:type downtime_id: int
:return: None | [
"Delete",
"a",
"contact",
"downtime",
"Format",
"of",
"the",
"line",
"that",
"triggers",
"function",
"call",
"::"
] | train | https://github.com/Alignak-monitoring/alignak/blob/f3c145207e83159b799d3714e4241399c7740a64/alignak/external_command.py#L1787-L1804 |
Alignak-monitoring/alignak | alignak/external_command.py | ExternalCommandManager.del_host_comment | def del_host_comment(self, comment_id):
"""Delete a host comment
Format of the line that triggers function call::
DEL_HOST_COMMENT;<comment_id>
:param comment_id: comment id to delete
:type comment_id: int
:return: None
"""
for item in self.daemon.hosts:... | python | def del_host_comment(self, comment_id):
"""Delete a host comment
Format of the line that triggers function call::
DEL_HOST_COMMENT;<comment_id>
:param comment_id: comment id to delete
:type comment_id: int
:return: None
"""
for item in self.daemon.hosts:... | [
"def",
"del_host_comment",
"(",
"self",
",",
"comment_id",
")",
":",
"for",
"item",
"in",
"self",
".",
"daemon",
".",
"hosts",
":",
"if",
"comment_id",
"in",
"item",
".",
"comments",
":",
"item",
".",
"del_comment",
"(",
"comment_id",
")",
"self",
".",
... | Delete a host comment
Format of the line that triggers function call::
DEL_HOST_COMMENT;<comment_id>
:param comment_id: comment id to delete
:type comment_id: int
:return: None | [
"Delete",
"a",
"host",
"comment",
"Format",
"of",
"the",
"line",
"that",
"triggers",
"function",
"call",
"::"
] | train | https://github.com/Alignak-monitoring/alignak/blob/f3c145207e83159b799d3714e4241399c7740a64/alignak/external_command.py#L1806-L1824 |
Alignak-monitoring/alignak | alignak/external_command.py | ExternalCommandManager.del_host_downtime | def del_host_downtime(self, downtime_id):
"""Delete a host downtime
Format of the line that triggers function call::
DEL_HOST_DOWNTIME;<downtime_id>
:param downtime_id: downtime id to delete
:type downtime_id: int
:return: None
"""
broks = []
for... | python | def del_host_downtime(self, downtime_id):
"""Delete a host downtime
Format of the line that triggers function call::
DEL_HOST_DOWNTIME;<downtime_id>
:param downtime_id: downtime id to delete
:type downtime_id: int
:return: None
"""
broks = []
for... | [
"def",
"del_host_downtime",
"(",
"self",
",",
"downtime_id",
")",
":",
"broks",
"=",
"[",
"]",
"for",
"item",
"in",
"self",
".",
"daemon",
".",
"hosts",
":",
"if",
"downtime_id",
"in",
"item",
".",
"downtimes",
":",
"broks",
".",
"extend",
"(",
"item",... | Delete a host downtime
Format of the line that triggers function call::
DEL_HOST_DOWNTIME;<downtime_id>
:param downtime_id: downtime id to delete
:type downtime_id: int
:return: None | [
"Delete",
"a",
"host",
"downtime",
"Format",
"of",
"the",
"line",
"that",
"triggers",
"function",
"call",
"::"
] | train | https://github.com/Alignak-monitoring/alignak/blob/f3c145207e83159b799d3714e4241399c7740a64/alignak/external_command.py#L1826-L1848 |
Alignak-monitoring/alignak | alignak/external_command.py | ExternalCommandManager.del_svc_comment | def del_svc_comment(self, comment_id):
"""Delete a service comment
Format of the line that triggers function call::
DEL_SVC_COMMENT;<comment_id>
:param comment_id: comment id to delete
:type comment_id: int
:return: None
"""
for svc in self.daemon.servic... | python | def del_svc_comment(self, comment_id):
"""Delete a service comment
Format of the line that triggers function call::
DEL_SVC_COMMENT;<comment_id>
:param comment_id: comment id to delete
:type comment_id: int
:return: None
"""
for svc in self.daemon.servic... | [
"def",
"del_svc_comment",
"(",
"self",
",",
"comment_id",
")",
":",
"for",
"svc",
"in",
"self",
".",
"daemon",
".",
"services",
":",
"if",
"comment_id",
"in",
"svc",
".",
"comments",
":",
"svc",
".",
"del_comment",
"(",
"comment_id",
")",
"self",
".",
... | Delete a service comment
Format of the line that triggers function call::
DEL_SVC_COMMENT;<comment_id>
:param comment_id: comment id to delete
:type comment_id: int
:return: None | [
"Delete",
"a",
"service",
"comment",
"Format",
"of",
"the",
"line",
"that",
"triggers",
"function",
"call",
"::"
] | train | https://github.com/Alignak-monitoring/alignak/blob/f3c145207e83159b799d3714e4241399c7740a64/alignak/external_command.py#L1850-L1868 |
Alignak-monitoring/alignak | alignak/external_command.py | ExternalCommandManager.del_svc_downtime | def del_svc_downtime(self, downtime_id):
"""Delete a service downtime
Format of the line that triggers function call::
DEL_SVC_DOWNTIME;<downtime_id>
:param downtime_id: downtime id to delete
:type downtime_id: int
:return: None
"""
broks = []
fo... | python | def del_svc_downtime(self, downtime_id):
"""Delete a service downtime
Format of the line that triggers function call::
DEL_SVC_DOWNTIME;<downtime_id>
:param downtime_id: downtime id to delete
:type downtime_id: int
:return: None
"""
broks = []
fo... | [
"def",
"del_svc_downtime",
"(",
"self",
",",
"downtime_id",
")",
":",
"broks",
"=",
"[",
"]",
"for",
"svc",
"in",
"self",
".",
"daemon",
".",
"services",
":",
"if",
"downtime_id",
"in",
"svc",
".",
"downtimes",
":",
"broks",
".",
"extend",
"(",
"svc",
... | Delete a service downtime
Format of the line that triggers function call::
DEL_SVC_DOWNTIME;<downtime_id>
:param downtime_id: downtime id to delete
:type downtime_id: int
:return: None | [
"Delete",
"a",
"service",
"downtime",
"Format",
"of",
"the",
"line",
"that",
"triggers",
"function",
"call",
"::"
] | train | https://github.com/Alignak-monitoring/alignak/blob/f3c145207e83159b799d3714e4241399c7740a64/alignak/external_command.py#L1870-L1892 |
Alignak-monitoring/alignak | alignak/external_command.py | ExternalCommandManager.disable_contactgroup_host_notifications | def disable_contactgroup_host_notifications(self, contactgroup):
"""Disable host notifications for a contactgroup
Format of the line that triggers function call::
DISABLE_CONTACTGROUP_HOST_NOTIFICATIONS;<contactgroup_name>
:param contactgroup: contactgroup to disable
:type cont... | python | def disable_contactgroup_host_notifications(self, contactgroup):
"""Disable host notifications for a contactgroup
Format of the line that triggers function call::
DISABLE_CONTACTGROUP_HOST_NOTIFICATIONS;<contactgroup_name>
:param contactgroup: contactgroup to disable
:type cont... | [
"def",
"disable_contactgroup_host_notifications",
"(",
"self",
",",
"contactgroup",
")",
":",
"for",
"contact_id",
"in",
"contactgroup",
".",
"get_contacts",
"(",
")",
":",
"self",
".",
"disable_contact_host_notifications",
"(",
"self",
".",
"daemon",
".",
"contacts... | Disable host notifications for a contactgroup
Format of the line that triggers function call::
DISABLE_CONTACTGROUP_HOST_NOTIFICATIONS;<contactgroup_name>
:param contactgroup: contactgroup to disable
:type contactgroup: alignak.objects.contactgroup.Contactgroup
:return: None | [
"Disable",
"host",
"notifications",
"for",
"a",
"contactgroup",
"Format",
"of",
"the",
"line",
"that",
"triggers",
"function",
"call",
"::"
] | train | https://github.com/Alignak-monitoring/alignak/blob/f3c145207e83159b799d3714e4241399c7740a64/alignak/external_command.py#L1912-L1923 |
Alignak-monitoring/alignak | alignak/external_command.py | ExternalCommandManager.disable_contactgroup_svc_notifications | def disable_contactgroup_svc_notifications(self, contactgroup):
"""Disable service notifications for a contactgroup
Format of the line that triggers function call::
DISABLE_CONTACTGROUP_SVC_NOTIFICATIONS;<contactgroup_name>
:param contactgroup: contactgroup to disable
:type con... | python | def disable_contactgroup_svc_notifications(self, contactgroup):
"""Disable service notifications for a contactgroup
Format of the line that triggers function call::
DISABLE_CONTACTGROUP_SVC_NOTIFICATIONS;<contactgroup_name>
:param contactgroup: contactgroup to disable
:type con... | [
"def",
"disable_contactgroup_svc_notifications",
"(",
"self",
",",
"contactgroup",
")",
":",
"for",
"contact_id",
"in",
"contactgroup",
".",
"get_contacts",
"(",
")",
":",
"self",
".",
"disable_contact_svc_notifications",
"(",
"self",
".",
"daemon",
".",
"contacts",... | Disable service notifications for a contactgroup
Format of the line that triggers function call::
DISABLE_CONTACTGROUP_SVC_NOTIFICATIONS;<contactgroup_name>
:param contactgroup: contactgroup to disable
:type contactgroup: alignak.objects.contactgroup.Contactgroup
:return: None | [
"Disable",
"service",
"notifications",
"for",
"a",
"contactgroup",
"Format",
"of",
"the",
"line",
"that",
"triggers",
"function",
"call",
"::"
] | train | https://github.com/Alignak-monitoring/alignak/blob/f3c145207e83159b799d3714e4241399c7740a64/alignak/external_command.py#L1925-L1936 |
Alignak-monitoring/alignak | alignak/external_command.py | ExternalCommandManager.disable_contact_host_notifications | def disable_contact_host_notifications(self, contact):
"""Disable host notifications for a contact
Format of the line that triggers function call::
DISABLE_CONTACT_HOST_NOTIFICATIONS;<contact_name>
:param contact: contact to disable
:type contact: alignak.objects.contact.Contac... | python | def disable_contact_host_notifications(self, contact):
"""Disable host notifications for a contact
Format of the line that triggers function call::
DISABLE_CONTACT_HOST_NOTIFICATIONS;<contact_name>
:param contact: contact to disable
:type contact: alignak.objects.contact.Contac... | [
"def",
"disable_contact_host_notifications",
"(",
"self",
",",
"contact",
")",
":",
"if",
"contact",
".",
"host_notifications_enabled",
":",
"contact",
".",
"modified_attributes",
"|=",
"DICT_MODATTR",
"[",
"\"MODATTR_NOTIFICATIONS_ENABLED\"",
"]",
".",
"value",
"contac... | Disable host notifications for a contact
Format of the line that triggers function call::
DISABLE_CONTACT_HOST_NOTIFICATIONS;<contact_name>
:param contact: contact to disable
:type contact: alignak.objects.contact.Contact
:return: None | [
"Disable",
"host",
"notifications",
"for",
"a",
"contact",
"Format",
"of",
"the",
"line",
"that",
"triggers",
"function",
"call",
"::"
] | train | https://github.com/Alignak-monitoring/alignak/blob/f3c145207e83159b799d3714e4241399c7740a64/alignak/external_command.py#L1938-L1951 |
Alignak-monitoring/alignak | alignak/external_command.py | ExternalCommandManager.disable_contact_svc_notifications | def disable_contact_svc_notifications(self, contact):
"""Disable service notifications for a contact
Format of the line that triggers function call::
DISABLE_CONTACT_SVC_NOTIFICATIONS;<contact_name>
:param contact: contact to disable
:type contact: alignak.objects.contact.Conta... | python | def disable_contact_svc_notifications(self, contact):
"""Disable service notifications for a contact
Format of the line that triggers function call::
DISABLE_CONTACT_SVC_NOTIFICATIONS;<contact_name>
:param contact: contact to disable
:type contact: alignak.objects.contact.Conta... | [
"def",
"disable_contact_svc_notifications",
"(",
"self",
",",
"contact",
")",
":",
"if",
"contact",
".",
"service_notifications_enabled",
":",
"contact",
".",
"modified_attributes",
"|=",
"DICT_MODATTR",
"[",
"\"MODATTR_NOTIFICATIONS_ENABLED\"",
"]",
".",
"value",
"cont... | Disable service notifications for a contact
Format of the line that triggers function call::
DISABLE_CONTACT_SVC_NOTIFICATIONS;<contact_name>
:param contact: contact to disable
:type contact: alignak.objects.contact.Contact
:return: None | [
"Disable",
"service",
"notifications",
"for",
"a",
"contact",
"Format",
"of",
"the",
"line",
"that",
"triggers",
"function",
"call",
"::"
] | train | https://github.com/Alignak-monitoring/alignak/blob/f3c145207e83159b799d3714e4241399c7740a64/alignak/external_command.py#L1953-L1966 |
Alignak-monitoring/alignak | alignak/external_command.py | ExternalCommandManager.disable_event_handlers | def disable_event_handlers(self):
"""Disable event handlers (globally)
Format of the line that triggers function call::
DISABLE_EVENT_HANDLERS
:return: None
"""
# todo: #783 create a dedicated brok for global parameters
if self.my_conf.enable_event_handlers:
... | python | def disable_event_handlers(self):
"""Disable event handlers (globally)
Format of the line that triggers function call::
DISABLE_EVENT_HANDLERS
:return: None
"""
# todo: #783 create a dedicated brok for global parameters
if self.my_conf.enable_event_handlers:
... | [
"def",
"disable_event_handlers",
"(",
"self",
")",
":",
"# todo: #783 create a dedicated brok for global parameters",
"if",
"self",
".",
"my_conf",
".",
"enable_event_handlers",
":",
"self",
".",
"my_conf",
".",
"modified_attributes",
"|=",
"DICT_MODATTR",
"[",
"\"MODATTR... | Disable event handlers (globally)
Format of the line that triggers function call::
DISABLE_EVENT_HANDLERS
:return: None | [
"Disable",
"event",
"handlers",
"(",
"globally",
")",
"Format",
"of",
"the",
"line",
"that",
"triggers",
"function",
"call",
"::"
] | train | https://github.com/Alignak-monitoring/alignak/blob/f3c145207e83159b799d3714e4241399c7740a64/alignak/external_command.py#L1968-L1981 |
Alignak-monitoring/alignak | alignak/external_command.py | ExternalCommandManager.disable_flap_detection | def disable_flap_detection(self):
"""Disable flap detection (globally)
Format of the line that triggers function call::
DISABLE_FLAP_DETECTION
:return: None
"""
# todo: #783 create a dedicated brok for global parameters
if self.my_conf.enable_flap_detection:
... | python | def disable_flap_detection(self):
"""Disable flap detection (globally)
Format of the line that triggers function call::
DISABLE_FLAP_DETECTION
:return: None
"""
# todo: #783 create a dedicated brok for global parameters
if self.my_conf.enable_flap_detection:
... | [
"def",
"disable_flap_detection",
"(",
"self",
")",
":",
"# todo: #783 create a dedicated brok for global parameters",
"if",
"self",
".",
"my_conf",
".",
"enable_flap_detection",
":",
"self",
".",
"my_conf",
".",
"modified_attributes",
"|=",
"DICT_MODATTR",
"[",
"\"MODATTR... | Disable flap detection (globally)
Format of the line that triggers function call::
DISABLE_FLAP_DETECTION
:return: None | [
"Disable",
"flap",
"detection",
"(",
"globally",
")",
"Format",
"of",
"the",
"line",
"that",
"triggers",
"function",
"call",
"::"
] | train | https://github.com/Alignak-monitoring/alignak/blob/f3c145207e83159b799d3714e4241399c7740a64/alignak/external_command.py#L1983-L2007 |
Alignak-monitoring/alignak | alignak/external_command.py | ExternalCommandManager.disable_hostgroup_host_checks | def disable_hostgroup_host_checks(self, hostgroup):
"""Disable host checks for a hostgroup
Format of the line that triggers function call::
DISABLE_HOSTGROUP_HOST_CHECKS;<hostgroup_name>
:param hostgroup: hostgroup to disable
:type hostgroup: alignak.objects.hostgroup.Hostgroup... | python | def disable_hostgroup_host_checks(self, hostgroup):
"""Disable host checks for a hostgroup
Format of the line that triggers function call::
DISABLE_HOSTGROUP_HOST_CHECKS;<hostgroup_name>
:param hostgroup: hostgroup to disable
:type hostgroup: alignak.objects.hostgroup.Hostgroup... | [
"def",
"disable_hostgroup_host_checks",
"(",
"self",
",",
"hostgroup",
")",
":",
"for",
"host_id",
"in",
"hostgroup",
".",
"get_hosts",
"(",
")",
":",
"if",
"host_id",
"in",
"self",
".",
"daemon",
".",
"hosts",
":",
"self",
".",
"disable_host_check",
"(",
... | Disable host checks for a hostgroup
Format of the line that triggers function call::
DISABLE_HOSTGROUP_HOST_CHECKS;<hostgroup_name>
:param hostgroup: hostgroup to disable
:type hostgroup: alignak.objects.hostgroup.Hostgroup
:return: None | [
"Disable",
"host",
"checks",
"for",
"a",
"hostgroup",
"Format",
"of",
"the",
"line",
"that",
"triggers",
"function",
"call",
"::"
] | train | https://github.com/Alignak-monitoring/alignak/blob/f3c145207e83159b799d3714e4241399c7740a64/alignak/external_command.py#L2009-L2021 |
Alignak-monitoring/alignak | alignak/external_command.py | ExternalCommandManager.disable_hostgroup_host_notifications | def disable_hostgroup_host_notifications(self, hostgroup):
"""Disable host notifications for a hostgroup
Format of the line that triggers function call::
DISABLE_HOSTGROUP_HOST_NOTIFICATIONS;<hostgroup_name>
:param hostgroup: hostgroup to disable
:type hostgroup: alignak.object... | python | def disable_hostgroup_host_notifications(self, hostgroup):
"""Disable host notifications for a hostgroup
Format of the line that triggers function call::
DISABLE_HOSTGROUP_HOST_NOTIFICATIONS;<hostgroup_name>
:param hostgroup: hostgroup to disable
:type hostgroup: alignak.object... | [
"def",
"disable_hostgroup_host_notifications",
"(",
"self",
",",
"hostgroup",
")",
":",
"for",
"host_id",
"in",
"hostgroup",
".",
"get_hosts",
"(",
")",
":",
"if",
"host_id",
"in",
"self",
".",
"daemon",
".",
"hosts",
":",
"self",
".",
"disable_host_notificati... | Disable host notifications for a hostgroup
Format of the line that triggers function call::
DISABLE_HOSTGROUP_HOST_NOTIFICATIONS;<hostgroup_name>
:param hostgroup: hostgroup to disable
:type hostgroup: alignak.objects.hostgroup.Hostgroup
:return: None | [
"Disable",
"host",
"notifications",
"for",
"a",
"hostgroup",
"Format",
"of",
"the",
"line",
"that",
"triggers",
"function",
"call",
"::"
] | train | https://github.com/Alignak-monitoring/alignak/blob/f3c145207e83159b799d3714e4241399c7740a64/alignak/external_command.py#L2023-L2035 |
Alignak-monitoring/alignak | alignak/external_command.py | ExternalCommandManager.disable_hostgroup_passive_host_checks | def disable_hostgroup_passive_host_checks(self, hostgroup):
"""Disable host passive checks for a hostgroup
Format of the line that triggers function call::
DISABLE_HOSTGROUP_PASSIVE_HOST_CHECKS;<hostgroup_name>
:param hostgroup: hostgroup to disable
:type hostgroup: alignak.obj... | python | def disable_hostgroup_passive_host_checks(self, hostgroup):
"""Disable host passive checks for a hostgroup
Format of the line that triggers function call::
DISABLE_HOSTGROUP_PASSIVE_HOST_CHECKS;<hostgroup_name>
:param hostgroup: hostgroup to disable
:type hostgroup: alignak.obj... | [
"def",
"disable_hostgroup_passive_host_checks",
"(",
"self",
",",
"hostgroup",
")",
":",
"for",
"host_id",
"in",
"hostgroup",
".",
"get_hosts",
"(",
")",
":",
"if",
"host_id",
"in",
"self",
".",
"daemon",
".",
"hosts",
":",
"self",
".",
"disable_passive_host_c... | Disable host passive checks for a hostgroup
Format of the line that triggers function call::
DISABLE_HOSTGROUP_PASSIVE_HOST_CHECKS;<hostgroup_name>
:param hostgroup: hostgroup to disable
:type hostgroup: alignak.objects.hostgroup.Hostgroup
:return: None | [
"Disable",
"host",
"passive",
"checks",
"for",
"a",
"hostgroup",
"Format",
"of",
"the",
"line",
"that",
"triggers",
"function",
"call",
"::"
] | train | https://github.com/Alignak-monitoring/alignak/blob/f3c145207e83159b799d3714e4241399c7740a64/alignak/external_command.py#L2037-L2049 |
Alignak-monitoring/alignak | alignak/external_command.py | ExternalCommandManager.disable_hostgroup_passive_svc_checks | def disable_hostgroup_passive_svc_checks(self, hostgroup):
"""Disable service passive checks for a hostgroup
Format of the line that triggers function call::
DISABLE_HOSTGROUP_PASSIVE_SVC_CHECKS;<hostgroup_name>
:param hostgroup: hostgroup to disable
:type hostgroup: alignak.ob... | python | def disable_hostgroup_passive_svc_checks(self, hostgroup):
"""Disable service passive checks for a hostgroup
Format of the line that triggers function call::
DISABLE_HOSTGROUP_PASSIVE_SVC_CHECKS;<hostgroup_name>
:param hostgroup: hostgroup to disable
:type hostgroup: alignak.ob... | [
"def",
"disable_hostgroup_passive_svc_checks",
"(",
"self",
",",
"hostgroup",
")",
":",
"for",
"host_id",
"in",
"hostgroup",
".",
"get_hosts",
"(",
")",
":",
"if",
"host_id",
"in",
"self",
".",
"daemon",
".",
"hosts",
":",
"for",
"service_id",
"in",
"self",
... | Disable service passive checks for a hostgroup
Format of the line that triggers function call::
DISABLE_HOSTGROUP_PASSIVE_SVC_CHECKS;<hostgroup_name>
:param hostgroup: hostgroup to disable
:type hostgroup: alignak.objects.hostgroup.Hostgroup
:return: None | [
"Disable",
"service",
"passive",
"checks",
"for",
"a",
"hostgroup",
"Format",
"of",
"the",
"line",
"that",
"triggers",
"function",
"call",
"::"
] | train | https://github.com/Alignak-monitoring/alignak/blob/f3c145207e83159b799d3714e4241399c7740a64/alignak/external_command.py#L2051-L2065 |
Alignak-monitoring/alignak | alignak/external_command.py | ExternalCommandManager.disable_hostgroup_svc_checks | def disable_hostgroup_svc_checks(self, hostgroup):
"""Disable service checks for a hostgroup
Format of the line that triggers function call::
DISABLE_HOSTGROUP_SVC_CHECKS;<hostgroup_name>
:param hostgroup: hostgroup to disable
:type hostgroup: alignak.objects.hostgroup.Hostgrou... | python | def disable_hostgroup_svc_checks(self, hostgroup):
"""Disable service checks for a hostgroup
Format of the line that triggers function call::
DISABLE_HOSTGROUP_SVC_CHECKS;<hostgroup_name>
:param hostgroup: hostgroup to disable
:type hostgroup: alignak.objects.hostgroup.Hostgrou... | [
"def",
"disable_hostgroup_svc_checks",
"(",
"self",
",",
"hostgroup",
")",
":",
"for",
"host_id",
"in",
"hostgroup",
".",
"get_hosts",
"(",
")",
":",
"if",
"host_id",
"in",
"self",
".",
"daemon",
".",
"hosts",
":",
"for",
"service_id",
"in",
"self",
".",
... | Disable service checks for a hostgroup
Format of the line that triggers function call::
DISABLE_HOSTGROUP_SVC_CHECKS;<hostgroup_name>
:param hostgroup: hostgroup to disable
:type hostgroup: alignak.objects.hostgroup.Hostgroup
:return: None | [
"Disable",
"service",
"checks",
"for",
"a",
"hostgroup",
"Format",
"of",
"the",
"line",
"that",
"triggers",
"function",
"call",
"::"
] | train | https://github.com/Alignak-monitoring/alignak/blob/f3c145207e83159b799d3714e4241399c7740a64/alignak/external_command.py#L2067-L2081 |
Alignak-monitoring/alignak | alignak/external_command.py | ExternalCommandManager.disable_hostgroup_svc_notifications | def disable_hostgroup_svc_notifications(self, hostgroup):
"""Disable service notifications for a hostgroup
Format of the line that triggers function call::
DISABLE_HOSTGROUP_SVC_NOTIFICATIONS;<hostgroup_name>
:param hostgroup: hostgroup to disable
:type hostgroup: alignak.objec... | python | def disable_hostgroup_svc_notifications(self, hostgroup):
"""Disable service notifications for a hostgroup
Format of the line that triggers function call::
DISABLE_HOSTGROUP_SVC_NOTIFICATIONS;<hostgroup_name>
:param hostgroup: hostgroup to disable
:type hostgroup: alignak.objec... | [
"def",
"disable_hostgroup_svc_notifications",
"(",
"self",
",",
"hostgroup",
")",
":",
"for",
"host_id",
"in",
"hostgroup",
".",
"get_hosts",
"(",
")",
":",
"if",
"host_id",
"in",
"self",
".",
"daemon",
".",
"hosts",
":",
"for",
"service_id",
"in",
"self",
... | Disable service notifications for a hostgroup
Format of the line that triggers function call::
DISABLE_HOSTGROUP_SVC_NOTIFICATIONS;<hostgroup_name>
:param hostgroup: hostgroup to disable
:type hostgroup: alignak.objects.hostgroup.Hostgroup
:return: None | [
"Disable",
"service",
"notifications",
"for",
"a",
"hostgroup",
"Format",
"of",
"the",
"line",
"that",
"triggers",
"function",
"call",
"::"
] | train | https://github.com/Alignak-monitoring/alignak/blob/f3c145207e83159b799d3714e4241399c7740a64/alignak/external_command.py#L2083-L2097 |
Alignak-monitoring/alignak | alignak/external_command.py | ExternalCommandManager.disable_host_check | def disable_host_check(self, host):
"""Disable checks for a host
Format of the line that triggers function call::
DISABLE_HOST_CHECK;<host_name>
:param host: host to edit
:type host: alignak.objects.host.Host
:return: None
"""
if host.active_checks_enabl... | python | def disable_host_check(self, host):
"""Disable checks for a host
Format of the line that triggers function call::
DISABLE_HOST_CHECK;<host_name>
:param host: host to edit
:type host: alignak.objects.host.Host
:return: None
"""
if host.active_checks_enabl... | [
"def",
"disable_host_check",
"(",
"self",
",",
"host",
")",
":",
"if",
"host",
".",
"active_checks_enabled",
":",
"host",
".",
"modified_attributes",
"|=",
"DICT_MODATTR",
"[",
"\"MODATTR_ACTIVE_CHECKS_ENABLED\"",
"]",
".",
"value",
"host",
".",
"disable_active_chec... | Disable checks for a host
Format of the line that triggers function call::
DISABLE_HOST_CHECK;<host_name>
:param host: host to edit
:type host: alignak.objects.host.Host
:return: None | [
"Disable",
"checks",
"for",
"a",
"host",
"Format",
"of",
"the",
"line",
"that",
"triggers",
"function",
"call",
"::"
] | train | https://github.com/Alignak-monitoring/alignak/blob/f3c145207e83159b799d3714e4241399c7740a64/alignak/external_command.py#L2116-L2129 |
Alignak-monitoring/alignak | alignak/external_command.py | ExternalCommandManager.disable_host_event_handler | def disable_host_event_handler(self, host):
"""Disable event handlers for a host
Format of the line that triggers function call::
DISABLE_HOST_EVENT_HANDLER;<host_name>
:param host: host to edit
:type host: alignak.objects.host.Host
:return: None
"""
if ... | python | def disable_host_event_handler(self, host):
"""Disable event handlers for a host
Format of the line that triggers function call::
DISABLE_HOST_EVENT_HANDLER;<host_name>
:param host: host to edit
:type host: alignak.objects.host.Host
:return: None
"""
if ... | [
"def",
"disable_host_event_handler",
"(",
"self",
",",
"host",
")",
":",
"if",
"host",
".",
"event_handler_enabled",
":",
"host",
".",
"modified_attributes",
"|=",
"DICT_MODATTR",
"[",
"\"MODATTR_EVENT_HANDLER_ENABLED\"",
"]",
".",
"value",
"host",
".",
"event_handl... | Disable event handlers for a host
Format of the line that triggers function call::
DISABLE_HOST_EVENT_HANDLER;<host_name>
:param host: host to edit
:type host: alignak.objects.host.Host
:return: None | [
"Disable",
"event",
"handlers",
"for",
"a",
"host",
"Format",
"of",
"the",
"line",
"that",
"triggers",
"function",
"call",
"::"
] | train | https://github.com/Alignak-monitoring/alignak/blob/f3c145207e83159b799d3714e4241399c7740a64/alignak/external_command.py#L2131-L2144 |
Alignak-monitoring/alignak | alignak/external_command.py | ExternalCommandManager.disable_host_flap_detection | def disable_host_flap_detection(self, host):
"""Disable flap detection for a host
Format of the line that triggers function call::
DISABLE_HOST_FLAP_DETECTION;<host_name>
:param host: host to edit
:type host: alignak.objects.host.Host
:return: None
"""
i... | python | def disable_host_flap_detection(self, host):
"""Disable flap detection for a host
Format of the line that triggers function call::
DISABLE_HOST_FLAP_DETECTION;<host_name>
:param host: host to edit
:type host: alignak.objects.host.Host
:return: None
"""
i... | [
"def",
"disable_host_flap_detection",
"(",
"self",
",",
"host",
")",
":",
"if",
"host",
".",
"flap_detection_enabled",
":",
"host",
".",
"modified_attributes",
"|=",
"DICT_MODATTR",
"[",
"\"MODATTR_FLAP_DETECTION_ENABLED\"",
"]",
".",
"value",
"host",
".",
"flap_det... | Disable flap detection for a host
Format of the line that triggers function call::
DISABLE_HOST_FLAP_DETECTION;<host_name>
:param host: host to edit
:type host: alignak.objects.host.Host
:return: None | [
"Disable",
"flap",
"detection",
"for",
"a",
"host",
"Format",
"of",
"the",
"line",
"that",
"triggers",
"function",
"call",
"::"
] | train | https://github.com/Alignak-monitoring/alignak/blob/f3c145207e83159b799d3714e4241399c7740a64/alignak/external_command.py#L2146-L2163 |
Alignak-monitoring/alignak | alignak/external_command.py | ExternalCommandManager.disable_host_freshness_check | def disable_host_freshness_check(self, host):
"""Disable freshness check for a host
Format of the line that triggers function call::
DISABLE_HOST_FRESHNESS_CHECK;<host_name>
:param host: host to edit
:type host: alignak.objects.host.Host
:return: None
"""
... | python | def disable_host_freshness_check(self, host):
"""Disable freshness check for a host
Format of the line that triggers function call::
DISABLE_HOST_FRESHNESS_CHECK;<host_name>
:param host: host to edit
:type host: alignak.objects.host.Host
:return: None
"""
... | [
"def",
"disable_host_freshness_check",
"(",
"self",
",",
"host",
")",
":",
"if",
"host",
".",
"check_freshness",
":",
"host",
".",
"modified_attributes",
"|=",
"DICT_MODATTR",
"[",
"\"MODATTR_FRESHNESS_CHECKS_ENABLED\"",
"]",
".",
"value",
"host",
".",
"check_freshn... | Disable freshness check for a host
Format of the line that triggers function call::
DISABLE_HOST_FRESHNESS_CHECK;<host_name>
:param host: host to edit
:type host: alignak.objects.host.Host
:return: None | [
"Disable",
"freshness",
"check",
"for",
"a",
"host",
"Format",
"of",
"the",
"line",
"that",
"triggers",
"function",
"call",
"::"
] | train | https://github.com/Alignak-monitoring/alignak/blob/f3c145207e83159b799d3714e4241399c7740a64/alignak/external_command.py#L2165-L2178 |
Alignak-monitoring/alignak | alignak/external_command.py | ExternalCommandManager.disable_host_freshness_checks | def disable_host_freshness_checks(self):
"""Disable freshness checks (globally)
Format of the line that triggers function call::
DISABLE_HOST_FRESHNESS_CHECKS
:return: None
"""
if self.my_conf.check_host_freshness:
self.my_conf.modified_attributes |= \
... | python | def disable_host_freshness_checks(self):
"""Disable freshness checks (globally)
Format of the line that triggers function call::
DISABLE_HOST_FRESHNESS_CHECKS
:return: None
"""
if self.my_conf.check_host_freshness:
self.my_conf.modified_attributes |= \
... | [
"def",
"disable_host_freshness_checks",
"(",
"self",
")",
":",
"if",
"self",
".",
"my_conf",
".",
"check_host_freshness",
":",
"self",
".",
"my_conf",
".",
"modified_attributes",
"|=",
"DICT_MODATTR",
"[",
"\"MODATTR_FRESHNESS_CHECKS_ENABLED\"",
"]",
".",
"value",
"... | Disable freshness checks (globally)
Format of the line that triggers function call::
DISABLE_HOST_FRESHNESS_CHECKS
:return: None | [
"Disable",
"freshness",
"checks",
"(",
"globally",
")",
"Format",
"of",
"the",
"line",
"that",
"triggers",
"function",
"call",
"::"
] | train | https://github.com/Alignak-monitoring/alignak/blob/f3c145207e83159b799d3714e4241399c7740a64/alignak/external_command.py#L2180-L2193 |
Alignak-monitoring/alignak | alignak/external_command.py | ExternalCommandManager.disable_host_notifications | def disable_host_notifications(self, host):
"""Disable notifications for a host
Format of the line that triggers function call::
DISABLE_HOST_NOTIFICATIONS;<host_name>
:param host: host to edit
:type host: alignak.objects.host.Host
:return: None
"""
if h... | python | def disable_host_notifications(self, host):
"""Disable notifications for a host
Format of the line that triggers function call::
DISABLE_HOST_NOTIFICATIONS;<host_name>
:param host: host to edit
:type host: alignak.objects.host.Host
:return: None
"""
if h... | [
"def",
"disable_host_notifications",
"(",
"self",
",",
"host",
")",
":",
"if",
"host",
".",
"notifications_enabled",
":",
"host",
".",
"modified_attributes",
"|=",
"DICT_MODATTR",
"[",
"\"MODATTR_NOTIFICATIONS_ENABLED\"",
"]",
".",
"value",
"host",
".",
"notificatio... | Disable notifications for a host
Format of the line that triggers function call::
DISABLE_HOST_NOTIFICATIONS;<host_name>
:param host: host to edit
:type host: alignak.objects.host.Host
:return: None | [
"Disable",
"notifications",
"for",
"a",
"host",
"Format",
"of",
"the",
"line",
"that",
"triggers",
"function",
"call",
"::"
] | train | https://github.com/Alignak-monitoring/alignak/blob/f3c145207e83159b799d3714e4241399c7740a64/alignak/external_command.py#L2195-L2208 |
Alignak-monitoring/alignak | alignak/external_command.py | ExternalCommandManager.disable_host_svc_checks | def disable_host_svc_checks(self, host):
"""Disable service checks for a host
Format of the line that triggers function call::
DISABLE_HOST_SVC_CHECKS;<host_name>
:param host: host to edit
:type host: alignak.objects.host.Host
:return: None
"""
for servi... | python | def disable_host_svc_checks(self, host):
"""Disable service checks for a host
Format of the line that triggers function call::
DISABLE_HOST_SVC_CHECKS;<host_name>
:param host: host to edit
:type host: alignak.objects.host.Host
:return: None
"""
for servi... | [
"def",
"disable_host_svc_checks",
"(",
"self",
",",
"host",
")",
":",
"for",
"service_id",
"in",
"host",
".",
"services",
":",
"if",
"service_id",
"in",
"self",
".",
"daemon",
".",
"services",
":",
"service",
"=",
"self",
".",
"daemon",
".",
"services",
... | Disable service checks for a host
Format of the line that triggers function call::
DISABLE_HOST_SVC_CHECKS;<host_name>
:param host: host to edit
:type host: alignak.objects.host.Host
:return: None | [
"Disable",
"service",
"checks",
"for",
"a",
"host",
"Format",
"of",
"the",
"line",
"that",
"triggers",
"function",
"call",
"::"
] | train | https://github.com/Alignak-monitoring/alignak/blob/f3c145207e83159b799d3714e4241399c7740a64/alignak/external_command.py#L2210-L2224 |
Alignak-monitoring/alignak | alignak/external_command.py | ExternalCommandManager.disable_host_svc_notifications | def disable_host_svc_notifications(self, host):
"""Disable services notifications for a host
Format of the line that triggers function call::
DISABLE_HOST_SVC_NOTIFICATIONS;<host_name>
:param host: host to edit
:type host: alignak.objects.host.Host
:return: None
... | python | def disable_host_svc_notifications(self, host):
"""Disable services notifications for a host
Format of the line that triggers function call::
DISABLE_HOST_SVC_NOTIFICATIONS;<host_name>
:param host: host to edit
:type host: alignak.objects.host.Host
:return: None
... | [
"def",
"disable_host_svc_notifications",
"(",
"self",
",",
"host",
")",
":",
"for",
"service_id",
"in",
"host",
".",
"services",
":",
"if",
"service_id",
"in",
"self",
".",
"daemon",
".",
"services",
":",
"service",
"=",
"self",
".",
"daemon",
".",
"servic... | Disable services notifications for a host
Format of the line that triggers function call::
DISABLE_HOST_SVC_NOTIFICATIONS;<host_name>
:param host: host to edit
:type host: alignak.objects.host.Host
:return: None | [
"Disable",
"services",
"notifications",
"for",
"a",
"host",
"Format",
"of",
"the",
"line",
"that",
"triggers",
"function",
"call",
"::"
] | train | https://github.com/Alignak-monitoring/alignak/blob/f3c145207e83159b799d3714e4241399c7740a64/alignak/external_command.py#L2226-L2240 |
Alignak-monitoring/alignak | alignak/external_command.py | ExternalCommandManager.disable_notifications | def disable_notifications(self):
"""Disable notifications (globally)
Format of the line that triggers function call::
DISABLE_NOTIFICATIONS
:return: None
"""
# todo: #783 create a dedicated brok for global parameters
if self.my_conf.enable_notifications:
... | python | def disable_notifications(self):
"""Disable notifications (globally)
Format of the line that triggers function call::
DISABLE_NOTIFICATIONS
:return: None
"""
# todo: #783 create a dedicated brok for global parameters
if self.my_conf.enable_notifications:
... | [
"def",
"disable_notifications",
"(",
"self",
")",
":",
"# todo: #783 create a dedicated brok for global parameters",
"if",
"self",
".",
"my_conf",
".",
"enable_notifications",
":",
"self",
".",
"my_conf",
".",
"modified_attributes",
"|=",
"DICT_MODATTR",
"[",
"\"MODATTR_N... | Disable notifications (globally)
Format of the line that triggers function call::
DISABLE_NOTIFICATIONS
:return: None | [
"Disable",
"notifications",
"(",
"globally",
")",
"Format",
"of",
"the",
"line",
"that",
"triggers",
"function",
"call",
"::"
] | train | https://github.com/Alignak-monitoring/alignak/blob/f3c145207e83159b799d3714e4241399c7740a64/alignak/external_command.py#L2242-L2255 |
Alignak-monitoring/alignak | alignak/external_command.py | ExternalCommandManager.disable_passive_host_checks | def disable_passive_host_checks(self, host):
"""Disable passive checks for a host
Format of the line that triggers function call::
DISABLE_PASSIVE_HOST_CHECKS;<host_name>
:param host: host to edit
:type host: alignak.objects.host.Host
:return: None
"""
i... | python | def disable_passive_host_checks(self, host):
"""Disable passive checks for a host
Format of the line that triggers function call::
DISABLE_PASSIVE_HOST_CHECKS;<host_name>
:param host: host to edit
:type host: alignak.objects.host.Host
:return: None
"""
i... | [
"def",
"disable_passive_host_checks",
"(",
"self",
",",
"host",
")",
":",
"if",
"host",
".",
"passive_checks_enabled",
":",
"host",
".",
"modified_attributes",
"|=",
"DICT_MODATTR",
"[",
"\"MODATTR_PASSIVE_CHECKS_ENABLED\"",
"]",
".",
"value",
"host",
".",
"passive_... | Disable passive checks for a host
Format of the line that triggers function call::
DISABLE_PASSIVE_HOST_CHECKS;<host_name>
:param host: host to edit
:type host: alignak.objects.host.Host
:return: None | [
"Disable",
"passive",
"checks",
"for",
"a",
"host",
"Format",
"of",
"the",
"line",
"that",
"triggers",
"function",
"call",
"::"
] | train | https://github.com/Alignak-monitoring/alignak/blob/f3c145207e83159b799d3714e4241399c7740a64/alignak/external_command.py#L2257-L2270 |
Alignak-monitoring/alignak | alignak/external_command.py | ExternalCommandManager.disable_passive_svc_checks | def disable_passive_svc_checks(self, service):
"""Disable passive checks for a service
Format of the line that triggers function call::
DISABLE_PASSIVE_SVC_CHECKS;<host_name>;<service_description>
:param service: service to edit
:type service: alignak.objects.service.Service
... | python | def disable_passive_svc_checks(self, service):
"""Disable passive checks for a service
Format of the line that triggers function call::
DISABLE_PASSIVE_SVC_CHECKS;<host_name>;<service_description>
:param service: service to edit
:type service: alignak.objects.service.Service
... | [
"def",
"disable_passive_svc_checks",
"(",
"self",
",",
"service",
")",
":",
"if",
"service",
".",
"passive_checks_enabled",
":",
"service",
".",
"modified_attributes",
"|=",
"DICT_MODATTR",
"[",
"\"MODATTR_PASSIVE_CHECKS_ENABLED\"",
"]",
".",
"value",
"service",
".",
... | Disable passive checks for a service
Format of the line that triggers function call::
DISABLE_PASSIVE_SVC_CHECKS;<host_name>;<service_description>
:param service: service to edit
:type service: alignak.objects.service.Service
:return: None | [
"Disable",
"passive",
"checks",
"for",
"a",
"service",
"Format",
"of",
"the",
"line",
"that",
"triggers",
"function",
"call",
"::"
] | train | https://github.com/Alignak-monitoring/alignak/blob/f3c145207e83159b799d3714e4241399c7740a64/alignak/external_command.py#L2272-L2285 |
Alignak-monitoring/alignak | alignak/external_command.py | ExternalCommandManager.disable_performance_data | def disable_performance_data(self):
"""Disable performance data processing (globally)
Format of the line that triggers function call::
DISABLE_PERFORMANCE_DATA
:return: None
"""
# todo: #783 create a dedicated brok for global parameters
if self.my_conf.process_p... | python | def disable_performance_data(self):
"""Disable performance data processing (globally)
Format of the line that triggers function call::
DISABLE_PERFORMANCE_DATA
:return: None
"""
# todo: #783 create a dedicated brok for global parameters
if self.my_conf.process_p... | [
"def",
"disable_performance_data",
"(",
"self",
")",
":",
"# todo: #783 create a dedicated brok for global parameters",
"if",
"self",
".",
"my_conf",
".",
"process_performance_data",
":",
"self",
".",
"my_conf",
".",
"modified_attributes",
"|=",
"DICT_MODATTR",
"[",
"\"MO... | Disable performance data processing (globally)
Format of the line that triggers function call::
DISABLE_PERFORMANCE_DATA
:return: None | [
"Disable",
"performance",
"data",
"processing",
"(",
"globally",
")",
"Format",
"of",
"the",
"line",
"that",
"triggers",
"function",
"call",
"::"
] | train | https://github.com/Alignak-monitoring/alignak/blob/f3c145207e83159b799d3714e4241399c7740a64/alignak/external_command.py#L2287-L2301 |
Alignak-monitoring/alignak | alignak/external_command.py | ExternalCommandManager.disable_servicegroup_host_checks | def disable_servicegroup_host_checks(self, servicegroup):
"""Disable host checks for a servicegroup
Format of the line that triggers function call::
DISABLE_SERVICEGROUP_HOST_CHECKS;<servicegroup_name>
:param servicegroup: servicegroup to disable
:type servicegroup: alignak.obj... | python | def disable_servicegroup_host_checks(self, servicegroup):
"""Disable host checks for a servicegroup
Format of the line that triggers function call::
DISABLE_SERVICEGROUP_HOST_CHECKS;<servicegroup_name>
:param servicegroup: servicegroup to disable
:type servicegroup: alignak.obj... | [
"def",
"disable_servicegroup_host_checks",
"(",
"self",
",",
"servicegroup",
")",
":",
"for",
"service_id",
"in",
"servicegroup",
".",
"get_services",
"(",
")",
":",
"if",
"service_id",
"in",
"self",
".",
"daemon",
".",
"services",
":",
"host_id",
"=",
"self",... | Disable host checks for a servicegroup
Format of the line that triggers function call::
DISABLE_SERVICEGROUP_HOST_CHECKS;<servicegroup_name>
:param servicegroup: servicegroup to disable
:type servicegroup: alignak.objects.servicegroup.Servicegroup
:return: None | [
"Disable",
"host",
"checks",
"for",
"a",
"servicegroup",
"Format",
"of",
"the",
"line",
"that",
"triggers",
"function",
"call",
"::"
] | train | https://github.com/Alignak-monitoring/alignak/blob/f3c145207e83159b799d3714e4241399c7740a64/alignak/external_command.py#L2303-L2316 |
Alignak-monitoring/alignak | alignak/external_command.py | ExternalCommandManager.disable_servicegroup_host_notifications | def disable_servicegroup_host_notifications(self, servicegroup):
"""Disable host notifications for a servicegroup
Format of the line that triggers function call::
DISABLE_SERVICEGROUP_HOST_NOTIFICATIONS;<servicegroup_name>
:param servicegroup: servicegroup to disable
:type serv... | python | def disable_servicegroup_host_notifications(self, servicegroup):
"""Disable host notifications for a servicegroup
Format of the line that triggers function call::
DISABLE_SERVICEGROUP_HOST_NOTIFICATIONS;<servicegroup_name>
:param servicegroup: servicegroup to disable
:type serv... | [
"def",
"disable_servicegroup_host_notifications",
"(",
"self",
",",
"servicegroup",
")",
":",
"for",
"service_id",
"in",
"servicegroup",
".",
"get_services",
"(",
")",
":",
"if",
"service_id",
"in",
"self",
".",
"daemon",
".",
"services",
":",
"host_id",
"=",
... | Disable host notifications for a servicegroup
Format of the line that triggers function call::
DISABLE_SERVICEGROUP_HOST_NOTIFICATIONS;<servicegroup_name>
:param servicegroup: servicegroup to disable
:type servicegroup: alignak.objects.servicegroup.Servicegroup
:return: None | [
"Disable",
"host",
"notifications",
"for",
"a",
"servicegroup",
"Format",
"of",
"the",
"line",
"that",
"triggers",
"function",
"call",
"::"
] | train | https://github.com/Alignak-monitoring/alignak/blob/f3c145207e83159b799d3714e4241399c7740a64/alignak/external_command.py#L2318-L2331 |
Alignak-monitoring/alignak | alignak/external_command.py | ExternalCommandManager.disable_servicegroup_passive_host_checks | def disable_servicegroup_passive_host_checks(self, servicegroup):
"""Disable passive host checks for a servicegroup
Format of the line that triggers function call::
DISABLE_SERVICEGROUP_PASSIVE_HOST_CHECKS;<servicegroup_name>
:param servicegroup: servicegroup to disable
:type s... | python | def disable_servicegroup_passive_host_checks(self, servicegroup):
"""Disable passive host checks for a servicegroup
Format of the line that triggers function call::
DISABLE_SERVICEGROUP_PASSIVE_HOST_CHECKS;<servicegroup_name>
:param servicegroup: servicegroup to disable
:type s... | [
"def",
"disable_servicegroup_passive_host_checks",
"(",
"self",
",",
"servicegroup",
")",
":",
"for",
"service_id",
"in",
"servicegroup",
".",
"get_services",
"(",
")",
":",
"if",
"service_id",
"in",
"self",
".",
"daemon",
".",
"services",
":",
"host_id",
"=",
... | Disable passive host checks for a servicegroup
Format of the line that triggers function call::
DISABLE_SERVICEGROUP_PASSIVE_HOST_CHECKS;<servicegroup_name>
:param servicegroup: servicegroup to disable
:type servicegroup: alignak.objects.servicegroup.Servicegroup
:return: None | [
"Disable",
"passive",
"host",
"checks",
"for",
"a",
"servicegroup",
"Format",
"of",
"the",
"line",
"that",
"triggers",
"function",
"call",
"::"
] | train | https://github.com/Alignak-monitoring/alignak/blob/f3c145207e83159b799d3714e4241399c7740a64/alignak/external_command.py#L2333-L2346 |
Alignak-monitoring/alignak | alignak/external_command.py | ExternalCommandManager.disable_servicegroup_passive_svc_checks | def disable_servicegroup_passive_svc_checks(self, servicegroup):
"""Disable passive service checks for a servicegroup
Format of the line that triggers function call::
DISABLE_SERVICEGROUP_PASSIVE_SVC_CHECKS;<servicegroup_name>
:param servicegroup: servicegroup to disable
:type ... | python | def disable_servicegroup_passive_svc_checks(self, servicegroup):
"""Disable passive service checks for a servicegroup
Format of the line that triggers function call::
DISABLE_SERVICEGROUP_PASSIVE_SVC_CHECKS;<servicegroup_name>
:param servicegroup: servicegroup to disable
:type ... | [
"def",
"disable_servicegroup_passive_svc_checks",
"(",
"self",
",",
"servicegroup",
")",
":",
"for",
"service_id",
"in",
"servicegroup",
".",
"get_services",
"(",
")",
":",
"self",
".",
"disable_passive_svc_checks",
"(",
"self",
".",
"daemon",
".",
"services",
"["... | Disable passive service checks for a servicegroup
Format of the line that triggers function call::
DISABLE_SERVICEGROUP_PASSIVE_SVC_CHECKS;<servicegroup_name>
:param servicegroup: servicegroup to disable
:type servicegroup: alignak.objects.servicegroup.Servicegroup
:return: Non... | [
"Disable",
"passive",
"service",
"checks",
"for",
"a",
"servicegroup",
"Format",
"of",
"the",
"line",
"that",
"triggers",
"function",
"call",
"::"
] | train | https://github.com/Alignak-monitoring/alignak/blob/f3c145207e83159b799d3714e4241399c7740a64/alignak/external_command.py#L2348-L2359 |
Alignak-monitoring/alignak | alignak/external_command.py | ExternalCommandManager.disable_servicegroup_svc_checks | def disable_servicegroup_svc_checks(self, servicegroup):
"""Disable service checks for a servicegroup
Format of the line that triggers function call::
DISABLE_SERVICEGROUP_SVC_CHECKS;<servicegroup_name>
:param servicegroup: servicegroup to disable
:type servicegroup: alignak.ob... | python | def disable_servicegroup_svc_checks(self, servicegroup):
"""Disable service checks for a servicegroup
Format of the line that triggers function call::
DISABLE_SERVICEGROUP_SVC_CHECKS;<servicegroup_name>
:param servicegroup: servicegroup to disable
:type servicegroup: alignak.ob... | [
"def",
"disable_servicegroup_svc_checks",
"(",
"self",
",",
"servicegroup",
")",
":",
"for",
"service_id",
"in",
"servicegroup",
".",
"get_services",
"(",
")",
":",
"self",
".",
"disable_svc_check",
"(",
"self",
".",
"daemon",
".",
"services",
"[",
"service_id",... | Disable service checks for a servicegroup
Format of the line that triggers function call::
DISABLE_SERVICEGROUP_SVC_CHECKS;<servicegroup_name>
:param servicegroup: servicegroup to disable
:type servicegroup: alignak.objects.servicegroup.Servicegroup
:return: None | [
"Disable",
"service",
"checks",
"for",
"a",
"servicegroup",
"Format",
"of",
"the",
"line",
"that",
"triggers",
"function",
"call",
"::"
] | train | https://github.com/Alignak-monitoring/alignak/blob/f3c145207e83159b799d3714e4241399c7740a64/alignak/external_command.py#L2361-L2372 |
Alignak-monitoring/alignak | alignak/external_command.py | ExternalCommandManager.disable_servicegroup_svc_notifications | def disable_servicegroup_svc_notifications(self, servicegroup):
"""Disable service notifications for a servicegroup
Format of the line that triggers function call::
DISABLE_SERVICEGROUP_SVC_NOTIFICATIONS;<servicegroup_name>
:param servicegroup: servicegroup to disable
:type ser... | python | def disable_servicegroup_svc_notifications(self, servicegroup):
"""Disable service notifications for a servicegroup
Format of the line that triggers function call::
DISABLE_SERVICEGROUP_SVC_NOTIFICATIONS;<servicegroup_name>
:param servicegroup: servicegroup to disable
:type ser... | [
"def",
"disable_servicegroup_svc_notifications",
"(",
"self",
",",
"servicegroup",
")",
":",
"for",
"service_id",
"in",
"servicegroup",
".",
"get_services",
"(",
")",
":",
"self",
".",
"disable_svc_notifications",
"(",
"self",
".",
"daemon",
".",
"services",
"[",
... | Disable service notifications for a servicegroup
Format of the line that triggers function call::
DISABLE_SERVICEGROUP_SVC_NOTIFICATIONS;<servicegroup_name>
:param servicegroup: servicegroup to disable
:type servicegroup: alignak.objects.servicegroup.Servicegroup
:return: None | [
"Disable",
"service",
"notifications",
"for",
"a",
"servicegroup",
"Format",
"of",
"the",
"line",
"that",
"triggers",
"function",
"call",
"::"
] | train | https://github.com/Alignak-monitoring/alignak/blob/f3c145207e83159b799d3714e4241399c7740a64/alignak/external_command.py#L2374-L2385 |
Alignak-monitoring/alignak | alignak/external_command.py | ExternalCommandManager.disable_service_flap_detection | def disable_service_flap_detection(self, service):
"""Disable flap detection for a service
Format of the line that triggers function call::
DISABLE_SERVICE_FLAP_DETECTION;<host_name>;<service_description>
:param service: service to edit
:type service: alignak.objects.service.Se... | python | def disable_service_flap_detection(self, service):
"""Disable flap detection for a service
Format of the line that triggers function call::
DISABLE_SERVICE_FLAP_DETECTION;<host_name>;<service_description>
:param service: service to edit
:type service: alignak.objects.service.Se... | [
"def",
"disable_service_flap_detection",
"(",
"self",
",",
"service",
")",
":",
"if",
"service",
".",
"flap_detection_enabled",
":",
"service",
".",
"modified_attributes",
"|=",
"DICT_MODATTR",
"[",
"\"MODATTR_FLAP_DETECTION_ENABLED\"",
"]",
".",
"value",
"service",
"... | Disable flap detection for a service
Format of the line that triggers function call::
DISABLE_SERVICE_FLAP_DETECTION;<host_name>;<service_description>
:param service: service to edit
:type service: alignak.objects.service.Service
:return: None | [
"Disable",
"flap",
"detection",
"for",
"a",
"service",
"Format",
"of",
"the",
"line",
"that",
"triggers",
"function",
"call",
"::"
] | train | https://github.com/Alignak-monitoring/alignak/blob/f3c145207e83159b799d3714e4241399c7740a64/alignak/external_command.py#L2387-L2404 |
Alignak-monitoring/alignak | alignak/external_command.py | ExternalCommandManager.disable_svc_freshness_check | def disable_svc_freshness_check(self, service):
"""Disable freshness check for a service
Format of the line that triggers function call::
DISABLE_SERVICE_FRESHNESS_CHECK;<host_name>;<service_description>
:param service: service to edit
:type service: alignak.objects.service.Ser... | python | def disable_svc_freshness_check(self, service):
"""Disable freshness check for a service
Format of the line that triggers function call::
DISABLE_SERVICE_FRESHNESS_CHECK;<host_name>;<service_description>
:param service: service to edit
:type service: alignak.objects.service.Ser... | [
"def",
"disable_svc_freshness_check",
"(",
"self",
",",
"service",
")",
":",
"if",
"service",
".",
"check_freshness",
":",
"service",
".",
"modified_attributes",
"|=",
"DICT_MODATTR",
"[",
"\"MODATTR_FRESHNESS_CHECKS_ENABLED\"",
"]",
".",
"value",
"service",
".",
"c... | Disable freshness check for a service
Format of the line that triggers function call::
DISABLE_SERVICE_FRESHNESS_CHECK;<host_name>;<service_description>
:param service: service to edit
:type service: alignak.objects.service.Service
:return: None | [
"Disable",
"freshness",
"check",
"for",
"a",
"service",
"Format",
"of",
"the",
"line",
"that",
"triggers",
"function",
"call",
"::"
] | train | https://github.com/Alignak-monitoring/alignak/blob/f3c145207e83159b799d3714e4241399c7740a64/alignak/external_command.py#L2406-L2419 |
Alignak-monitoring/alignak | alignak/external_command.py | ExternalCommandManager.disable_service_freshness_checks | def disable_service_freshness_checks(self):
"""Disable service freshness checks (globally)
Format of the line that triggers function call::
DISABLE_SERVICE_FRESHNESS_CHECKS
:return: None
"""
if self.my_conf.check_service_freshness:
self.my_conf.modified_attr... | python | def disable_service_freshness_checks(self):
"""Disable service freshness checks (globally)
Format of the line that triggers function call::
DISABLE_SERVICE_FRESHNESS_CHECKS
:return: None
"""
if self.my_conf.check_service_freshness:
self.my_conf.modified_attr... | [
"def",
"disable_service_freshness_checks",
"(",
"self",
")",
":",
"if",
"self",
".",
"my_conf",
".",
"check_service_freshness",
":",
"self",
".",
"my_conf",
".",
"modified_attributes",
"|=",
"DICT_MODATTR",
"[",
"\"MODATTR_FRESHNESS_CHECKS_ENABLED\"",
"]",
".",
"value... | Disable service freshness checks (globally)
Format of the line that triggers function call::
DISABLE_SERVICE_FRESHNESS_CHECKS
:return: None | [
"Disable",
"service",
"freshness",
"checks",
"(",
"globally",
")",
"Format",
"of",
"the",
"line",
"that",
"triggers",
"function",
"call",
"::"
] | train | https://github.com/Alignak-monitoring/alignak/blob/f3c145207e83159b799d3714e4241399c7740a64/alignak/external_command.py#L2421-L2434 |
Alignak-monitoring/alignak | alignak/external_command.py | ExternalCommandManager.disable_svc_check | def disable_svc_check(self, service):
"""Disable checks for a service
Format of the line that triggers function call::
DISABLE_SVC_CHECK;<host_name>;<service_description>
:param service: service to edit
:type service: alignak.objects.service.Service
:return: None
... | python | def disable_svc_check(self, service):
"""Disable checks for a service
Format of the line that triggers function call::
DISABLE_SVC_CHECK;<host_name>;<service_description>
:param service: service to edit
:type service: alignak.objects.service.Service
:return: None
... | [
"def",
"disable_svc_check",
"(",
"self",
",",
"service",
")",
":",
"if",
"service",
".",
"active_checks_enabled",
":",
"service",
".",
"disable_active_checks",
"(",
"self",
".",
"daemon",
".",
"checks",
")",
"service",
".",
"modified_attributes",
"|=",
"DICT_MOD... | Disable checks for a service
Format of the line that triggers function call::
DISABLE_SVC_CHECK;<host_name>;<service_description>
:param service: service to edit
:type service: alignak.objects.service.Service
:return: None | [
"Disable",
"checks",
"for",
"a",
"service",
"Format",
"of",
"the",
"line",
"that",
"triggers",
"function",
"call",
"::"
] | train | https://github.com/Alignak-monitoring/alignak/blob/f3c145207e83159b799d3714e4241399c7740a64/alignak/external_command.py#L2436-L2450 |
Alignak-monitoring/alignak | alignak/external_command.py | ExternalCommandManager.disable_svc_event_handler | def disable_svc_event_handler(self, service):
"""Disable event handlers for a service
Format of the line that triggers function call::
DISABLE_SVC_EVENT_HANDLER;<host_name>;<service_description>
:param service: service to edit
:type service: alignak.objects.service.Service
... | python | def disable_svc_event_handler(self, service):
"""Disable event handlers for a service
Format of the line that triggers function call::
DISABLE_SVC_EVENT_HANDLER;<host_name>;<service_description>
:param service: service to edit
:type service: alignak.objects.service.Service
... | [
"def",
"disable_svc_event_handler",
"(",
"self",
",",
"service",
")",
":",
"if",
"service",
".",
"event_handler_enabled",
":",
"service",
".",
"modified_attributes",
"|=",
"DICT_MODATTR",
"[",
"\"MODATTR_EVENT_HANDLER_ENABLED\"",
"]",
".",
"value",
"service",
".",
"... | Disable event handlers for a service
Format of the line that triggers function call::
DISABLE_SVC_EVENT_HANDLER;<host_name>;<service_description>
:param service: service to edit
:type service: alignak.objects.service.Service
:return: None | [
"Disable",
"event",
"handlers",
"for",
"a",
"service",
"Format",
"of",
"the",
"line",
"that",
"triggers",
"function",
"call",
"::"
] | train | https://github.com/Alignak-monitoring/alignak/blob/f3c145207e83159b799d3714e4241399c7740a64/alignak/external_command.py#L2452-L2466 |
Alignak-monitoring/alignak | alignak/external_command.py | ExternalCommandManager.disable_svc_notifications | def disable_svc_notifications(self, service):
"""Disable notifications for a service
Format of the line that triggers function call::
DISABLE_SVC_NOTIFICATIONS;<host_name>;<service_description>
:param service: service to edit
:type service: alignak.objects.service.Service
... | python | def disable_svc_notifications(self, service):
"""Disable notifications for a service
Format of the line that triggers function call::
DISABLE_SVC_NOTIFICATIONS;<host_name>;<service_description>
:param service: service to edit
:type service: alignak.objects.service.Service
... | [
"def",
"disable_svc_notifications",
"(",
"self",
",",
"service",
")",
":",
"if",
"service",
".",
"notifications_enabled",
":",
"service",
".",
"modified_attributes",
"|=",
"DICT_MODATTR",
"[",
"\"MODATTR_NOTIFICATIONS_ENABLED\"",
"]",
".",
"value",
"service",
".",
"... | Disable notifications for a service
Format of the line that triggers function call::
DISABLE_SVC_NOTIFICATIONS;<host_name>;<service_description>
:param service: service to edit
:type service: alignak.objects.service.Service
:return: None | [
"Disable",
"notifications",
"for",
"a",
"service",
"Format",
"of",
"the",
"line",
"that",
"triggers",
"function",
"call",
"::"
] | train | https://github.com/Alignak-monitoring/alignak/blob/f3c145207e83159b799d3714e4241399c7740a64/alignak/external_command.py#L2480-L2494 |
Alignak-monitoring/alignak | alignak/external_command.py | ExternalCommandManager.enable_contactgroup_host_notifications | def enable_contactgroup_host_notifications(self, contactgroup):
"""Enable host notifications for a contactgroup
Format of the line that triggers function call::
ENABLE_CONTACTGROUP_HOST_NOTIFICATIONS;<contactgroup_name>
:param contactgroup: contactgroup to enable
:type contactg... | python | def enable_contactgroup_host_notifications(self, contactgroup):
"""Enable host notifications for a contactgroup
Format of the line that triggers function call::
ENABLE_CONTACTGROUP_HOST_NOTIFICATIONS;<contactgroup_name>
:param contactgroup: contactgroup to enable
:type contactg... | [
"def",
"enable_contactgroup_host_notifications",
"(",
"self",
",",
"contactgroup",
")",
":",
"for",
"contact_id",
"in",
"contactgroup",
".",
"get_contacts",
"(",
")",
":",
"self",
".",
"enable_contact_host_notifications",
"(",
"self",
".",
"daemon",
".",
"contacts",... | Enable host notifications for a contactgroup
Format of the line that triggers function call::
ENABLE_CONTACTGROUP_HOST_NOTIFICATIONS;<contactgroup_name>
:param contactgroup: contactgroup to enable
:type contactgroup: alignak.objects.contactgroup.Contactgroup
:return: None | [
"Enable",
"host",
"notifications",
"for",
"a",
"contactgroup",
"Format",
"of",
"the",
"line",
"that",
"triggers",
"function",
"call",
"::"
] | train | https://github.com/Alignak-monitoring/alignak/blob/f3c145207e83159b799d3714e4241399c7740a64/alignak/external_command.py#L2514-L2525 |
Alignak-monitoring/alignak | alignak/external_command.py | ExternalCommandManager.enable_contactgroup_svc_notifications | def enable_contactgroup_svc_notifications(self, contactgroup):
"""Enable service notifications for a contactgroup
Format of the line that triggers function call::
ENABLE_CONTACTGROUP_SVC_NOTIFICATIONS;<contactgroup_name>
:param contactgroup: contactgroup to enable
:type contact... | python | def enable_contactgroup_svc_notifications(self, contactgroup):
"""Enable service notifications for a contactgroup
Format of the line that triggers function call::
ENABLE_CONTACTGROUP_SVC_NOTIFICATIONS;<contactgroup_name>
:param contactgroup: contactgroup to enable
:type contact... | [
"def",
"enable_contactgroup_svc_notifications",
"(",
"self",
",",
"contactgroup",
")",
":",
"for",
"contact_id",
"in",
"contactgroup",
".",
"get_contacts",
"(",
")",
":",
"self",
".",
"enable_contact_svc_notifications",
"(",
"self",
".",
"daemon",
".",
"contacts",
... | Enable service notifications for a contactgroup
Format of the line that triggers function call::
ENABLE_CONTACTGROUP_SVC_NOTIFICATIONS;<contactgroup_name>
:param contactgroup: contactgroup to enable
:type contactgroup: alignak.objects.contactgroup.Contactgroup
:return: None | [
"Enable",
"service",
"notifications",
"for",
"a",
"contactgroup",
"Format",
"of",
"the",
"line",
"that",
"triggers",
"function",
"call",
"::"
] | train | https://github.com/Alignak-monitoring/alignak/blob/f3c145207e83159b799d3714e4241399c7740a64/alignak/external_command.py#L2527-L2538 |
Alignak-monitoring/alignak | alignak/external_command.py | ExternalCommandManager.enable_contact_host_notifications | def enable_contact_host_notifications(self, contact):
"""Enable host notifications for a contact
Format of the line that triggers function call::
ENABLE_CONTACT_HOST_NOTIFICATIONS;<contact_name>
:param contact: contact to enable
:type contact: alignak.objects.contact.Contact
... | python | def enable_contact_host_notifications(self, contact):
"""Enable host notifications for a contact
Format of the line that triggers function call::
ENABLE_CONTACT_HOST_NOTIFICATIONS;<contact_name>
:param contact: contact to enable
:type contact: alignak.objects.contact.Contact
... | [
"def",
"enable_contact_host_notifications",
"(",
"self",
",",
"contact",
")",
":",
"if",
"not",
"contact",
".",
"host_notifications_enabled",
":",
"contact",
".",
"modified_attributes",
"|=",
"DICT_MODATTR",
"[",
"\"MODATTR_NOTIFICATIONS_ENABLED\"",
"]",
".",
"value",
... | Enable host notifications for a contact
Format of the line that triggers function call::
ENABLE_CONTACT_HOST_NOTIFICATIONS;<contact_name>
:param contact: contact to enable
:type contact: alignak.objects.contact.Contact
:return: None | [
"Enable",
"host",
"notifications",
"for",
"a",
"contact",
"Format",
"of",
"the",
"line",
"that",
"triggers",
"function",
"call",
"::"
] | train | https://github.com/Alignak-monitoring/alignak/blob/f3c145207e83159b799d3714e4241399c7740a64/alignak/external_command.py#L2540-L2554 |
Alignak-monitoring/alignak | alignak/external_command.py | ExternalCommandManager.enable_contact_svc_notifications | def enable_contact_svc_notifications(self, contact):
"""Enable service notifications for a contact
Format of the line that triggers function call::
DISABLE_CONTACT_SVC_NOTIFICATIONS;<contact_name>
:param contact: contact to enable
:type contact: alignak.objects.contact.Contact
... | python | def enable_contact_svc_notifications(self, contact):
"""Enable service notifications for a contact
Format of the line that triggers function call::
DISABLE_CONTACT_SVC_NOTIFICATIONS;<contact_name>
:param contact: contact to enable
:type contact: alignak.objects.contact.Contact
... | [
"def",
"enable_contact_svc_notifications",
"(",
"self",
",",
"contact",
")",
":",
"if",
"not",
"contact",
".",
"service_notifications_enabled",
":",
"contact",
".",
"modified_attributes",
"|=",
"DICT_MODATTR",
"[",
"\"MODATTR_NOTIFICATIONS_ENABLED\"",
"]",
".",
"value",... | Enable service notifications for a contact
Format of the line that triggers function call::
DISABLE_CONTACT_SVC_NOTIFICATIONS;<contact_name>
:param contact: contact to enable
:type contact: alignak.objects.contact.Contact
:return: None | [
"Enable",
"service",
"notifications",
"for",
"a",
"contact",
"Format",
"of",
"the",
"line",
"that",
"triggers",
"function",
"call",
"::"
] | train | https://github.com/Alignak-monitoring/alignak/blob/f3c145207e83159b799d3714e4241399c7740a64/alignak/external_command.py#L2556-L2570 |
Alignak-monitoring/alignak | alignak/external_command.py | ExternalCommandManager.enable_hostgroup_host_checks | def enable_hostgroup_host_checks(self, hostgroup):
"""Enable host checks for a hostgroup
Format of the line that triggers function call::
ENABLE_HOSTGROUP_HOST_CHECKS;<hostgroup_name>
:param hostgroup: hostgroup to enable
:type hostgroup: alignak.objects.hostgroup.Hostgroup
... | python | def enable_hostgroup_host_checks(self, hostgroup):
"""Enable host checks for a hostgroup
Format of the line that triggers function call::
ENABLE_HOSTGROUP_HOST_CHECKS;<hostgroup_name>
:param hostgroup: hostgroup to enable
:type hostgroup: alignak.objects.hostgroup.Hostgroup
... | [
"def",
"enable_hostgroup_host_checks",
"(",
"self",
",",
"hostgroup",
")",
":",
"for",
"host_id",
"in",
"hostgroup",
".",
"get_hosts",
"(",
")",
":",
"if",
"host_id",
"in",
"self",
".",
"daemon",
".",
"hosts",
":",
"self",
".",
"enable_host_check",
"(",
"s... | Enable host checks for a hostgroup
Format of the line that triggers function call::
ENABLE_HOSTGROUP_HOST_CHECKS;<hostgroup_name>
:param hostgroup: hostgroup to enable
:type hostgroup: alignak.objects.hostgroup.Hostgroup
:return: None | [
"Enable",
"host",
"checks",
"for",
"a",
"hostgroup",
"Format",
"of",
"the",
"line",
"that",
"triggers",
"function",
"call",
"::"
] | train | https://github.com/Alignak-monitoring/alignak/blob/f3c145207e83159b799d3714e4241399c7740a64/alignak/external_command.py#L2604-L2616 |
Alignak-monitoring/alignak | alignak/external_command.py | ExternalCommandManager.enable_hostgroup_host_notifications | def enable_hostgroup_host_notifications(self, hostgroup):
"""Enable host notifications for a hostgroup
Format of the line that triggers function call::
ENABLE_HOSTGROUP_HOST_NOTIFICATIONS;<hostgroup_name>
:param hostgroup: hostgroup to enable
:type hostgroup: alignak.objects.ho... | python | def enable_hostgroup_host_notifications(self, hostgroup):
"""Enable host notifications for a hostgroup
Format of the line that triggers function call::
ENABLE_HOSTGROUP_HOST_NOTIFICATIONS;<hostgroup_name>
:param hostgroup: hostgroup to enable
:type hostgroup: alignak.objects.ho... | [
"def",
"enable_hostgroup_host_notifications",
"(",
"self",
",",
"hostgroup",
")",
":",
"for",
"host_id",
"in",
"hostgroup",
".",
"get_hosts",
"(",
")",
":",
"if",
"host_id",
"in",
"self",
".",
"daemon",
".",
"hosts",
":",
"self",
".",
"enable_host_notification... | Enable host notifications for a hostgroup
Format of the line that triggers function call::
ENABLE_HOSTGROUP_HOST_NOTIFICATIONS;<hostgroup_name>
:param hostgroup: hostgroup to enable
:type hostgroup: alignak.objects.hostgroup.Hostgroup
:return: None | [
"Enable",
"host",
"notifications",
"for",
"a",
"hostgroup",
"Format",
"of",
"the",
"line",
"that",
"triggers",
"function",
"call",
"::"
] | train | https://github.com/Alignak-monitoring/alignak/blob/f3c145207e83159b799d3714e4241399c7740a64/alignak/external_command.py#L2618-L2630 |
Alignak-monitoring/alignak | alignak/external_command.py | ExternalCommandManager.enable_hostgroup_passive_host_checks | def enable_hostgroup_passive_host_checks(self, hostgroup):
"""Enable host passive checks for a hostgroup
Format of the line that triggers function call::
ENABLE_HOSTGROUP_PASSIVE_HOST_CHECKS;<hostgroup_name>
:param hostgroup: hostgroup to enable
:type hostgroup: alignak.objects... | python | def enable_hostgroup_passive_host_checks(self, hostgroup):
"""Enable host passive checks for a hostgroup
Format of the line that triggers function call::
ENABLE_HOSTGROUP_PASSIVE_HOST_CHECKS;<hostgroup_name>
:param hostgroup: hostgroup to enable
:type hostgroup: alignak.objects... | [
"def",
"enable_hostgroup_passive_host_checks",
"(",
"self",
",",
"hostgroup",
")",
":",
"for",
"host_id",
"in",
"hostgroup",
".",
"get_hosts",
"(",
")",
":",
"if",
"host_id",
"in",
"self",
".",
"daemon",
".",
"hosts",
":",
"self",
".",
"enable_passive_host_che... | Enable host passive checks for a hostgroup
Format of the line that triggers function call::
ENABLE_HOSTGROUP_PASSIVE_HOST_CHECKS;<hostgroup_name>
:param hostgroup: hostgroup to enable
:type hostgroup: alignak.objects.hostgroup.Hostgroup
:return: None | [
"Enable",
"host",
"passive",
"checks",
"for",
"a",
"hostgroup",
"Format",
"of",
"the",
"line",
"that",
"triggers",
"function",
"call",
"::"
] | train | https://github.com/Alignak-monitoring/alignak/blob/f3c145207e83159b799d3714e4241399c7740a64/alignak/external_command.py#L2632-L2644 |
Alignak-monitoring/alignak | alignak/external_command.py | ExternalCommandManager.enable_hostgroup_passive_svc_checks | def enable_hostgroup_passive_svc_checks(self, hostgroup):
"""Enable service passive checks for a hostgroup
Format of the line that triggers function call::
ENABLE_HOSTGROUP_PASSIVE_SVC_CHECKS;<hostgroup_name>
:param hostgroup: hostgroup to enable
:type hostgroup: alignak.object... | python | def enable_hostgroup_passive_svc_checks(self, hostgroup):
"""Enable service passive checks for a hostgroup
Format of the line that triggers function call::
ENABLE_HOSTGROUP_PASSIVE_SVC_CHECKS;<hostgroup_name>
:param hostgroup: hostgroup to enable
:type hostgroup: alignak.object... | [
"def",
"enable_hostgroup_passive_svc_checks",
"(",
"self",
",",
"hostgroup",
")",
":",
"for",
"host_id",
"in",
"hostgroup",
".",
"get_hosts",
"(",
")",
":",
"if",
"host_id",
"in",
"self",
".",
"daemon",
".",
"hosts",
":",
"for",
"service_id",
"in",
"self",
... | Enable service passive checks for a hostgroup
Format of the line that triggers function call::
ENABLE_HOSTGROUP_PASSIVE_SVC_CHECKS;<hostgroup_name>
:param hostgroup: hostgroup to enable
:type hostgroup: alignak.objects.hostgroup.Hostgroup
:return: None | [
"Enable",
"service",
"passive",
"checks",
"for",
"a",
"hostgroup",
"Format",
"of",
"the",
"line",
"that",
"triggers",
"function",
"call",
"::"
] | train | https://github.com/Alignak-monitoring/alignak/blob/f3c145207e83159b799d3714e4241399c7740a64/alignak/external_command.py#L2646-L2660 |
Alignak-monitoring/alignak | alignak/external_command.py | ExternalCommandManager.enable_hostgroup_svc_checks | def enable_hostgroup_svc_checks(self, hostgroup):
"""Enable service checks for a hostgroup
Format of the line that triggers function call::
ENABLE_HOSTGROUP_SVC_CHECKS;<hostgroup_name>
:param hostgroup: hostgroup to enable
:type hostgroup: alignak.objects.hostgroup.Hostgroup
... | python | def enable_hostgroup_svc_checks(self, hostgroup):
"""Enable service checks for a hostgroup
Format of the line that triggers function call::
ENABLE_HOSTGROUP_SVC_CHECKS;<hostgroup_name>
:param hostgroup: hostgroup to enable
:type hostgroup: alignak.objects.hostgroup.Hostgroup
... | [
"def",
"enable_hostgroup_svc_checks",
"(",
"self",
",",
"hostgroup",
")",
":",
"for",
"host_id",
"in",
"hostgroup",
".",
"get_hosts",
"(",
")",
":",
"if",
"host_id",
"in",
"self",
".",
"daemon",
".",
"hosts",
":",
"for",
"service_id",
"in",
"self",
".",
... | Enable service checks for a hostgroup
Format of the line that triggers function call::
ENABLE_HOSTGROUP_SVC_CHECKS;<hostgroup_name>
:param hostgroup: hostgroup to enable
:type hostgroup: alignak.objects.hostgroup.Hostgroup
:return: None | [
"Enable",
"service",
"checks",
"for",
"a",
"hostgroup",
"Format",
"of",
"the",
"line",
"that",
"triggers",
"function",
"call",
"::"
] | train | https://github.com/Alignak-monitoring/alignak/blob/f3c145207e83159b799d3714e4241399c7740a64/alignak/external_command.py#L2662-L2676 |
Alignak-monitoring/alignak | alignak/external_command.py | ExternalCommandManager.enable_hostgroup_svc_notifications | def enable_hostgroup_svc_notifications(self, hostgroup):
"""Enable service notifications for a hostgroup
Format of the line that triggers function call::
ENABLE_HOSTGROUP_SVC_NOTIFICATIONS;<hostgroup_name>
:param hostgroup: hostgroup to enable
:type hostgroup: alignak.objects.h... | python | def enable_hostgroup_svc_notifications(self, hostgroup):
"""Enable service notifications for a hostgroup
Format of the line that triggers function call::
ENABLE_HOSTGROUP_SVC_NOTIFICATIONS;<hostgroup_name>
:param hostgroup: hostgroup to enable
:type hostgroup: alignak.objects.h... | [
"def",
"enable_hostgroup_svc_notifications",
"(",
"self",
",",
"hostgroup",
")",
":",
"for",
"host_id",
"in",
"hostgroup",
".",
"get_hosts",
"(",
")",
":",
"if",
"host_id",
"in",
"self",
".",
"daemon",
".",
"hosts",
":",
"for",
"service_id",
"in",
"self",
... | Enable service notifications for a hostgroup
Format of the line that triggers function call::
ENABLE_HOSTGROUP_SVC_NOTIFICATIONS;<hostgroup_name>
:param hostgroup: hostgroup to enable
:type hostgroup: alignak.objects.hostgroup.Hostgroup
:return: None | [
"Enable",
"service",
"notifications",
"for",
"a",
"hostgroup",
"Format",
"of",
"the",
"line",
"that",
"triggers",
"function",
"call",
"::"
] | train | https://github.com/Alignak-monitoring/alignak/blob/f3c145207e83159b799d3714e4241399c7740a64/alignak/external_command.py#L2678-L2692 |
Alignak-monitoring/alignak | alignak/external_command.py | ExternalCommandManager.enable_host_check | def enable_host_check(self, host):
"""Enable checks for a host
Format of the line that triggers function call::
ENABLE_HOST_CHECK;<host_name>
:param host: host to edit
:type host: alignak.objects.host.Host
:return: None
"""
if not host.active_checks_enab... | python | def enable_host_check(self, host):
"""Enable checks for a host
Format of the line that triggers function call::
ENABLE_HOST_CHECK;<host_name>
:param host: host to edit
:type host: alignak.objects.host.Host
:return: None
"""
if not host.active_checks_enab... | [
"def",
"enable_host_check",
"(",
"self",
",",
"host",
")",
":",
"if",
"not",
"host",
".",
"active_checks_enabled",
":",
"host",
".",
"active_checks_enabled",
"=",
"True",
"host",
".",
"modified_attributes",
"|=",
"DICT_MODATTR",
"[",
"\"MODATTR_ACTIVE_CHECKS_ENABLED... | Enable checks for a host
Format of the line that triggers function call::
ENABLE_HOST_CHECK;<host_name>
:param host: host to edit
:type host: alignak.objects.host.Host
:return: None | [
"Enable",
"checks",
"for",
"a",
"host",
"Format",
"of",
"the",
"line",
"that",
"triggers",
"function",
"call",
"::"
] | train | https://github.com/Alignak-monitoring/alignak/blob/f3c145207e83159b799d3714e4241399c7740a64/alignak/external_command.py#L2711-L2725 |
Alignak-monitoring/alignak | alignak/external_command.py | ExternalCommandManager.enable_host_event_handler | def enable_host_event_handler(self, host):
"""Enable event handlers for a host
Format of the line that triggers function call::
ENABLE_HOST_EVENT_HANDLER;<host_name>
:param host: host to edit
:type host: alignak.objects.host.Host
:return: None
"""
if not... | python | def enable_host_event_handler(self, host):
"""Enable event handlers for a host
Format of the line that triggers function call::
ENABLE_HOST_EVENT_HANDLER;<host_name>
:param host: host to edit
:type host: alignak.objects.host.Host
:return: None
"""
if not... | [
"def",
"enable_host_event_handler",
"(",
"self",
",",
"host",
")",
":",
"if",
"not",
"host",
".",
"event_handler_enabled",
":",
"host",
".",
"modified_attributes",
"|=",
"DICT_MODATTR",
"[",
"\"MODATTR_EVENT_HANDLER_ENABLED\"",
"]",
".",
"value",
"host",
".",
"eve... | Enable event handlers for a host
Format of the line that triggers function call::
ENABLE_HOST_EVENT_HANDLER;<host_name>
:param host: host to edit
:type host: alignak.objects.host.Host
:return: None | [
"Enable",
"event",
"handlers",
"for",
"a",
"host",
"Format",
"of",
"the",
"line",
"that",
"triggers",
"function",
"call",
"::"
] | train | https://github.com/Alignak-monitoring/alignak/blob/f3c145207e83159b799d3714e4241399c7740a64/alignak/external_command.py#L2727-L2741 |
Alignak-monitoring/alignak | alignak/external_command.py | ExternalCommandManager.enable_host_flap_detection | def enable_host_flap_detection(self, host):
"""Enable flap detection for a host
Format of the line that triggers function call::
ENABLE_HOST_FLAP_DETECTION;<host_name>
:param host: host to edit
:type host: alignak.objects.host.Host
:return: None
"""
if n... | python | def enable_host_flap_detection(self, host):
"""Enable flap detection for a host
Format of the line that triggers function call::
ENABLE_HOST_FLAP_DETECTION;<host_name>
:param host: host to edit
:type host: alignak.objects.host.Host
:return: None
"""
if n... | [
"def",
"enable_host_flap_detection",
"(",
"self",
",",
"host",
")",
":",
"if",
"not",
"host",
".",
"flap_detection_enabled",
":",
"host",
".",
"modified_attributes",
"|=",
"DICT_MODATTR",
"[",
"\"MODATTR_FLAP_DETECTION_ENABLED\"",
"]",
".",
"value",
"host",
".",
"... | Enable flap detection for a host
Format of the line that triggers function call::
ENABLE_HOST_FLAP_DETECTION;<host_name>
:param host: host to edit
:type host: alignak.objects.host.Host
:return: None | [
"Enable",
"flap",
"detection",
"for",
"a",
"host",
"Format",
"of",
"the",
"line",
"that",
"triggers",
"function",
"call",
"::"
] | train | https://github.com/Alignak-monitoring/alignak/blob/f3c145207e83159b799d3714e4241399c7740a64/alignak/external_command.py#L2743-L2757 |
Alignak-monitoring/alignak | alignak/external_command.py | ExternalCommandManager.enable_host_freshness_check | def enable_host_freshness_check(self, host):
"""Enable freshness check for a host
Format of the line that triggers function call::
ENABLE_HOST_FRESHNESS_CHECK;<host_name>
:param host: host to edit
:type host: alignak.objects.host.Host
:return: None
"""
i... | python | def enable_host_freshness_check(self, host):
"""Enable freshness check for a host
Format of the line that triggers function call::
ENABLE_HOST_FRESHNESS_CHECK;<host_name>
:param host: host to edit
:type host: alignak.objects.host.Host
:return: None
"""
i... | [
"def",
"enable_host_freshness_check",
"(",
"self",
",",
"host",
")",
":",
"if",
"not",
"host",
".",
"check_freshness",
":",
"host",
".",
"modified_attributes",
"|=",
"DICT_MODATTR",
"[",
"\"MODATTR_FRESHNESS_CHECKS_ENABLED\"",
"]",
".",
"value",
"host",
".",
"chec... | Enable freshness check for a host
Format of the line that triggers function call::
ENABLE_HOST_FRESHNESS_CHECK;<host_name>
:param host: host to edit
:type host: alignak.objects.host.Host
:return: None | [
"Enable",
"freshness",
"check",
"for",
"a",
"host",
"Format",
"of",
"the",
"line",
"that",
"triggers",
"function",
"call",
"::"
] | train | https://github.com/Alignak-monitoring/alignak/blob/f3c145207e83159b799d3714e4241399c7740a64/alignak/external_command.py#L2759-L2772 |
Alignak-monitoring/alignak | alignak/external_command.py | ExternalCommandManager.enable_host_freshness_checks | def enable_host_freshness_checks(self):
"""Enable freshness checks (globally)
Format of the line that triggers function call::
ENABLE_HOST_FRESHNESS_CHECKS
:return: None
"""
if not self.my_conf.check_host_freshness:
self.my_conf.modified_attributes |= \
... | python | def enable_host_freshness_checks(self):
"""Enable freshness checks (globally)
Format of the line that triggers function call::
ENABLE_HOST_FRESHNESS_CHECKS
:return: None
"""
if not self.my_conf.check_host_freshness:
self.my_conf.modified_attributes |= \
... | [
"def",
"enable_host_freshness_checks",
"(",
"self",
")",
":",
"if",
"not",
"self",
".",
"my_conf",
".",
"check_host_freshness",
":",
"self",
".",
"my_conf",
".",
"modified_attributes",
"|=",
"DICT_MODATTR",
"[",
"\"MODATTR_FRESHNESS_CHECKS_ENABLED\"",
"]",
".",
"val... | Enable freshness checks (globally)
Format of the line that triggers function call::
ENABLE_HOST_FRESHNESS_CHECKS
:return: None | [
"Enable",
"freshness",
"checks",
"(",
"globally",
")",
"Format",
"of",
"the",
"line",
"that",
"triggers",
"function",
"call",
"::"
] | train | https://github.com/Alignak-monitoring/alignak/blob/f3c145207e83159b799d3714e4241399c7740a64/alignak/external_command.py#L2774-L2787 |
Alignak-monitoring/alignak | alignak/external_command.py | ExternalCommandManager.enable_host_notifications | def enable_host_notifications(self, host):
"""Enable notifications for a host
Format of the line that triggers function call::
ENABLE_HOST_NOTIFICATIONS;<host_name>
:param host: host to edit
:type host: alignak.objects.host.Host
:return: None
"""
if not ... | python | def enable_host_notifications(self, host):
"""Enable notifications for a host
Format of the line that triggers function call::
ENABLE_HOST_NOTIFICATIONS;<host_name>
:param host: host to edit
:type host: alignak.objects.host.Host
:return: None
"""
if not ... | [
"def",
"enable_host_notifications",
"(",
"self",
",",
"host",
")",
":",
"if",
"not",
"host",
".",
"notifications_enabled",
":",
"host",
".",
"modified_attributes",
"|=",
"DICT_MODATTR",
"[",
"\"MODATTR_NOTIFICATIONS_ENABLED\"",
"]",
".",
"value",
"host",
".",
"not... | Enable notifications for a host
Format of the line that triggers function call::
ENABLE_HOST_NOTIFICATIONS;<host_name>
:param host: host to edit
:type host: alignak.objects.host.Host
:return: None | [
"Enable",
"notifications",
"for",
"a",
"host",
"Format",
"of",
"the",
"line",
"that",
"triggers",
"function",
"call",
"::"
] | train | https://github.com/Alignak-monitoring/alignak/blob/f3c145207e83159b799d3714e4241399c7740a64/alignak/external_command.py#L2789-L2803 |
Alignak-monitoring/alignak | alignak/external_command.py | ExternalCommandManager.enable_host_svc_checks | def enable_host_svc_checks(self, host):
"""Enable service checks for a host
Format of the line that triggers function call::
ENABLE_HOST_SVC_CHECKS;<host_name>
:param host: host to edit
:type host: alignak.objects.host.Host
:return: None
"""
for service_... | python | def enable_host_svc_checks(self, host):
"""Enable service checks for a host
Format of the line that triggers function call::
ENABLE_HOST_SVC_CHECKS;<host_name>
:param host: host to edit
:type host: alignak.objects.host.Host
:return: None
"""
for service_... | [
"def",
"enable_host_svc_checks",
"(",
"self",
",",
"host",
")",
":",
"for",
"service_id",
"in",
"host",
".",
"services",
":",
"if",
"service_id",
"in",
"self",
".",
"daemon",
".",
"services",
":",
"service",
"=",
"self",
".",
"daemon",
".",
"services",
"... | Enable service checks for a host
Format of the line that triggers function call::
ENABLE_HOST_SVC_CHECKS;<host_name>
:param host: host to edit
:type host: alignak.objects.host.Host
:return: None | [
"Enable",
"service",
"checks",
"for",
"a",
"host",
"Format",
"of",
"the",
"line",
"that",
"triggers",
"function",
"call",
"::"
] | train | https://github.com/Alignak-monitoring/alignak/blob/f3c145207e83159b799d3714e4241399c7740a64/alignak/external_command.py#L2805-L2819 |
Alignak-monitoring/alignak | alignak/external_command.py | ExternalCommandManager.enable_host_svc_notifications | def enable_host_svc_notifications(self, host):
"""Enable services notifications for a host
Format of the line that triggers function call::
ENABLE_HOST_SVC_NOTIFICATIONS;<host_name>
:param host: host to edit
:type host: alignak.objects.host.Host
:return: None
""... | python | def enable_host_svc_notifications(self, host):
"""Enable services notifications for a host
Format of the line that triggers function call::
ENABLE_HOST_SVC_NOTIFICATIONS;<host_name>
:param host: host to edit
:type host: alignak.objects.host.Host
:return: None
""... | [
"def",
"enable_host_svc_notifications",
"(",
"self",
",",
"host",
")",
":",
"for",
"service_id",
"in",
"host",
".",
"services",
":",
"if",
"service_id",
"in",
"self",
".",
"daemon",
".",
"services",
":",
"service",
"=",
"self",
".",
"daemon",
".",
"service... | Enable services notifications for a host
Format of the line that triggers function call::
ENABLE_HOST_SVC_NOTIFICATIONS;<host_name>
:param host: host to edit
:type host: alignak.objects.host.Host
:return: None | [
"Enable",
"services",
"notifications",
"for",
"a",
"host",
"Format",
"of",
"the",
"line",
"that",
"triggers",
"function",
"call",
"::"
] | train | https://github.com/Alignak-monitoring/alignak/blob/f3c145207e83159b799d3714e4241399c7740a64/alignak/external_command.py#L2821-L2835 |
Alignak-monitoring/alignak | alignak/external_command.py | ExternalCommandManager.enable_notifications | def enable_notifications(self):
"""Enable notifications (globally)
Format of the line that triggers function call::
ENABLE_NOTIFICATIONS
:return: None
"""
# todo: #783 create a dedicated brok for global parameters
if not self.my_conf.enable_notifications:
... | python | def enable_notifications(self):
"""Enable notifications (globally)
Format of the line that triggers function call::
ENABLE_NOTIFICATIONS
:return: None
"""
# todo: #783 create a dedicated brok for global parameters
if not self.my_conf.enable_notifications:
... | [
"def",
"enable_notifications",
"(",
"self",
")",
":",
"# todo: #783 create a dedicated brok for global parameters",
"if",
"not",
"self",
".",
"my_conf",
".",
"enable_notifications",
":",
"self",
".",
"my_conf",
".",
"modified_attributes",
"|=",
"DICT_MODATTR",
"[",
"\"M... | Enable notifications (globally)
Format of the line that triggers function call::
ENABLE_NOTIFICATIONS
:return: None | [
"Enable",
"notifications",
"(",
"globally",
")",
"Format",
"of",
"the",
"line",
"that",
"triggers",
"function",
"call",
"::"
] | train | https://github.com/Alignak-monitoring/alignak/blob/f3c145207e83159b799d3714e4241399c7740a64/alignak/external_command.py#L2837-L2851 |
Alignak-monitoring/alignak | alignak/external_command.py | ExternalCommandManager.enable_passive_host_checks | def enable_passive_host_checks(self, host):
"""Enable passive checks for a host
Format of the line that triggers function call::
ENABLE_PASSIVE_HOST_CHECKS;<host_name>
:param host: host to edit
:type host: alignak.objects.host.Host
:return: None
"""
if n... | python | def enable_passive_host_checks(self, host):
"""Enable passive checks for a host
Format of the line that triggers function call::
ENABLE_PASSIVE_HOST_CHECKS;<host_name>
:param host: host to edit
:type host: alignak.objects.host.Host
:return: None
"""
if n... | [
"def",
"enable_passive_host_checks",
"(",
"self",
",",
"host",
")",
":",
"if",
"not",
"host",
".",
"passive_checks_enabled",
":",
"host",
".",
"modified_attributes",
"|=",
"DICT_MODATTR",
"[",
"\"MODATTR_PASSIVE_CHECKS_ENABLED\"",
"]",
".",
"value",
"host",
".",
"... | Enable passive checks for a host
Format of the line that triggers function call::
ENABLE_PASSIVE_HOST_CHECKS;<host_name>
:param host: host to edit
:type host: alignak.objects.host.Host
:return: None | [
"Enable",
"passive",
"checks",
"for",
"a",
"host",
"Format",
"of",
"the",
"line",
"that",
"triggers",
"function",
"call",
"::"
] | train | https://github.com/Alignak-monitoring/alignak/blob/f3c145207e83159b799d3714e4241399c7740a64/alignak/external_command.py#L2853-L2867 |
Alignak-monitoring/alignak | alignak/external_command.py | ExternalCommandManager.enable_passive_svc_checks | def enable_passive_svc_checks(self, service):
"""Enable passive checks for a service
Format of the line that triggers function call::
ENABLE_PASSIVE_SVC_CHECKS;<host_name>;<service_description>
:param service: service to edit
:type service: alignak.objects.service.Service
... | python | def enable_passive_svc_checks(self, service):
"""Enable passive checks for a service
Format of the line that triggers function call::
ENABLE_PASSIVE_SVC_CHECKS;<host_name>;<service_description>
:param service: service to edit
:type service: alignak.objects.service.Service
... | [
"def",
"enable_passive_svc_checks",
"(",
"self",
",",
"service",
")",
":",
"if",
"not",
"service",
".",
"passive_checks_enabled",
":",
"service",
".",
"modified_attributes",
"|=",
"DICT_MODATTR",
"[",
"\"MODATTR_PASSIVE_CHECKS_ENABLED\"",
"]",
".",
"value",
"service",... | Enable passive checks for a service
Format of the line that triggers function call::
ENABLE_PASSIVE_SVC_CHECKS;<host_name>;<service_description>
:param service: service to edit
:type service: alignak.objects.service.Service
:return: None | [
"Enable",
"passive",
"checks",
"for",
"a",
"service",
"Format",
"of",
"the",
"line",
"that",
"triggers",
"function",
"call",
"::"
] | train | https://github.com/Alignak-monitoring/alignak/blob/f3c145207e83159b799d3714e4241399c7740a64/alignak/external_command.py#L2869-L2883 |
Alignak-monitoring/alignak | alignak/external_command.py | ExternalCommandManager.enable_performance_data | def enable_performance_data(self):
"""Enable performance data processing (globally)
Format of the line that triggers function call::
ENABLE_PERFORMANCE_DATA
:return: None
"""
if not self.my_conf.process_performance_data:
self.my_conf.modified_attributes |= \... | python | def enable_performance_data(self):
"""Enable performance data processing (globally)
Format of the line that triggers function call::
ENABLE_PERFORMANCE_DATA
:return: None
"""
if not self.my_conf.process_performance_data:
self.my_conf.modified_attributes |= \... | [
"def",
"enable_performance_data",
"(",
"self",
")",
":",
"if",
"not",
"self",
".",
"my_conf",
".",
"process_performance_data",
":",
"self",
".",
"my_conf",
".",
"modified_attributes",
"|=",
"DICT_MODATTR",
"[",
"\"MODATTR_PERFORMANCE_DATA_ENABLED\"",
"]",
".",
"valu... | Enable performance data processing (globally)
Format of the line that triggers function call::
ENABLE_PERFORMANCE_DATA
:return: None | [
"Enable",
"performance",
"data",
"processing",
"(",
"globally",
")",
"Format",
"of",
"the",
"line",
"that",
"triggers",
"function",
"call",
"::"
] | train | https://github.com/Alignak-monitoring/alignak/blob/f3c145207e83159b799d3714e4241399c7740a64/alignak/external_command.py#L2885-L2898 |
Alignak-monitoring/alignak | alignak/external_command.py | ExternalCommandManager.enable_servicegroup_host_checks | def enable_servicegroup_host_checks(self, servicegroup):
"""Enable host checks for a servicegroup
Format of the line that triggers function call::
ENABLE_SERVICEGROUP_HOST_CHECKS;<servicegroup_name>
:param servicegroup: servicegroup to enable
:type servicegroup: alignak.objects... | python | def enable_servicegroup_host_checks(self, servicegroup):
"""Enable host checks for a servicegroup
Format of the line that triggers function call::
ENABLE_SERVICEGROUP_HOST_CHECKS;<servicegroup_name>
:param servicegroup: servicegroup to enable
:type servicegroup: alignak.objects... | [
"def",
"enable_servicegroup_host_checks",
"(",
"self",
",",
"servicegroup",
")",
":",
"for",
"service_id",
"in",
"servicegroup",
".",
"get_services",
"(",
")",
":",
"if",
"service_id",
"in",
"self",
".",
"daemon",
".",
"services",
":",
"host_id",
"=",
"self",
... | Enable host checks for a servicegroup
Format of the line that triggers function call::
ENABLE_SERVICEGROUP_HOST_CHECKS;<servicegroup_name>
:param servicegroup: servicegroup to enable
:type servicegroup: alignak.objects.servicegroup.Servicegroup
:return: None | [
"Enable",
"host",
"checks",
"for",
"a",
"servicegroup",
"Format",
"of",
"the",
"line",
"that",
"triggers",
"function",
"call",
"::"
] | train | https://github.com/Alignak-monitoring/alignak/blob/f3c145207e83159b799d3714e4241399c7740a64/alignak/external_command.py#L2900-L2913 |
Alignak-monitoring/alignak | alignak/external_command.py | ExternalCommandManager.enable_servicegroup_host_notifications | def enable_servicegroup_host_notifications(self, servicegroup):
"""Enable host notifications for a servicegroup
Format of the line that triggers function call::
ENABLE_SERVICEGROUP_HOST_NOTIFICATIONS;<servicegroup_name>
:param servicegroup: servicegroup to enable
:type serviceg... | python | def enable_servicegroup_host_notifications(self, servicegroup):
"""Enable host notifications for a servicegroup
Format of the line that triggers function call::
ENABLE_SERVICEGROUP_HOST_NOTIFICATIONS;<servicegroup_name>
:param servicegroup: servicegroup to enable
:type serviceg... | [
"def",
"enable_servicegroup_host_notifications",
"(",
"self",
",",
"servicegroup",
")",
":",
"for",
"service_id",
"in",
"servicegroup",
".",
"get_services",
"(",
")",
":",
"if",
"service_id",
"in",
"self",
".",
"daemon",
".",
"services",
":",
"host_id",
"=",
"... | Enable host notifications for a servicegroup
Format of the line that triggers function call::
ENABLE_SERVICEGROUP_HOST_NOTIFICATIONS;<servicegroup_name>
:param servicegroup: servicegroup to enable
:type servicegroup: alignak.objects.servicegroup.Servicegroup
:return: None | [
"Enable",
"host",
"notifications",
"for",
"a",
"servicegroup",
"Format",
"of",
"the",
"line",
"that",
"triggers",
"function",
"call",
"::"
] | train | https://github.com/Alignak-monitoring/alignak/blob/f3c145207e83159b799d3714e4241399c7740a64/alignak/external_command.py#L2915-L2928 |
Alignak-monitoring/alignak | alignak/external_command.py | ExternalCommandManager.enable_servicegroup_passive_host_checks | def enable_servicegroup_passive_host_checks(self, servicegroup):
"""Enable passive host checks for a servicegroup
Format of the line that triggers function call::
ENABLE_SERVICEGROUP_PASSIVE_HOST_CHECKS;<servicegroup_name>
:param servicegroup: servicegroup to enable
:type servi... | python | def enable_servicegroup_passive_host_checks(self, servicegroup):
"""Enable passive host checks for a servicegroup
Format of the line that triggers function call::
ENABLE_SERVICEGROUP_PASSIVE_HOST_CHECKS;<servicegroup_name>
:param servicegroup: servicegroup to enable
:type servi... | [
"def",
"enable_servicegroup_passive_host_checks",
"(",
"self",
",",
"servicegroup",
")",
":",
"for",
"service_id",
"in",
"servicegroup",
".",
"get_services",
"(",
")",
":",
"if",
"service_id",
"in",
"self",
".",
"daemon",
".",
"services",
":",
"host_id",
"=",
... | Enable passive host checks for a servicegroup
Format of the line that triggers function call::
ENABLE_SERVICEGROUP_PASSIVE_HOST_CHECKS;<servicegroup_name>
:param servicegroup: servicegroup to enable
:type servicegroup: alignak.objects.servicegroup.Servicegroup
:return: None | [
"Enable",
"passive",
"host",
"checks",
"for",
"a",
"servicegroup",
"Format",
"of",
"the",
"line",
"that",
"triggers",
"function",
"call",
"::"
] | train | https://github.com/Alignak-monitoring/alignak/blob/f3c145207e83159b799d3714e4241399c7740a64/alignak/external_command.py#L2930-L2943 |
Alignak-monitoring/alignak | alignak/external_command.py | ExternalCommandManager.enable_servicegroup_passive_svc_checks | def enable_servicegroup_passive_svc_checks(self, servicegroup):
"""Enable passive service checks for a servicegroup
Format of the line that triggers function call::
ENABLE_SERVICEGROUP_PASSIVE_SVC_CHECKS;<servicegroup_name>
:param servicegroup: servicegroup to enable
:type serv... | python | def enable_servicegroup_passive_svc_checks(self, servicegroup):
"""Enable passive service checks for a servicegroup
Format of the line that triggers function call::
ENABLE_SERVICEGROUP_PASSIVE_SVC_CHECKS;<servicegroup_name>
:param servicegroup: servicegroup to enable
:type serv... | [
"def",
"enable_servicegroup_passive_svc_checks",
"(",
"self",
",",
"servicegroup",
")",
":",
"for",
"service_id",
"in",
"servicegroup",
".",
"get_services",
"(",
")",
":",
"self",
".",
"enable_passive_svc_checks",
"(",
"self",
".",
"daemon",
".",
"services",
"[",
... | Enable passive service checks for a servicegroup
Format of the line that triggers function call::
ENABLE_SERVICEGROUP_PASSIVE_SVC_CHECKS;<servicegroup_name>
:param servicegroup: servicegroup to enable
:type servicegroup: alignak.objects.servicegroup.Servicegroup
:return: None | [
"Enable",
"passive",
"service",
"checks",
"for",
"a",
"servicegroup",
"Format",
"of",
"the",
"line",
"that",
"triggers",
"function",
"call",
"::"
] | train | https://github.com/Alignak-monitoring/alignak/blob/f3c145207e83159b799d3714e4241399c7740a64/alignak/external_command.py#L2945-L2956 |
Alignak-monitoring/alignak | alignak/external_command.py | ExternalCommandManager.enable_servicegroup_svc_checks | def enable_servicegroup_svc_checks(self, servicegroup):
"""Enable service checks for a servicegroup
Format of the line that triggers function call::
ENABLE_SERVICEGROUP_SVC_CHECKS;<servicegroup_name>
:param servicegroup: servicegroup to enable
:type servicegroup: alignak.object... | python | def enable_servicegroup_svc_checks(self, servicegroup):
"""Enable service checks for a servicegroup
Format of the line that triggers function call::
ENABLE_SERVICEGROUP_SVC_CHECKS;<servicegroup_name>
:param servicegroup: servicegroup to enable
:type servicegroup: alignak.object... | [
"def",
"enable_servicegroup_svc_checks",
"(",
"self",
",",
"servicegroup",
")",
":",
"for",
"service_id",
"in",
"servicegroup",
".",
"get_services",
"(",
")",
":",
"self",
".",
"enable_svc_check",
"(",
"self",
".",
"daemon",
".",
"services",
"[",
"service_id",
... | Enable service checks for a servicegroup
Format of the line that triggers function call::
ENABLE_SERVICEGROUP_SVC_CHECKS;<servicegroup_name>
:param servicegroup: servicegroup to enable
:type servicegroup: alignak.objects.servicegroup.Servicegroup
:return: None | [
"Enable",
"service",
"checks",
"for",
"a",
"servicegroup",
"Format",
"of",
"the",
"line",
"that",
"triggers",
"function",
"call",
"::"
] | train | https://github.com/Alignak-monitoring/alignak/blob/f3c145207e83159b799d3714e4241399c7740a64/alignak/external_command.py#L2958-L2969 |
Alignak-monitoring/alignak | alignak/external_command.py | ExternalCommandManager.enable_servicegroup_svc_notifications | def enable_servicegroup_svc_notifications(self, servicegroup):
"""Enable service notifications for a servicegroup
Format of the line that triggers function call::
ENABLE_SERVICEGROUP_SVC_NOTIFICATIONS;<servicegroup_name>
:param servicegroup: servicegroup to enable
:type service... | python | def enable_servicegroup_svc_notifications(self, servicegroup):
"""Enable service notifications for a servicegroup
Format of the line that triggers function call::
ENABLE_SERVICEGROUP_SVC_NOTIFICATIONS;<servicegroup_name>
:param servicegroup: servicegroup to enable
:type service... | [
"def",
"enable_servicegroup_svc_notifications",
"(",
"self",
",",
"servicegroup",
")",
":",
"for",
"service_id",
"in",
"servicegroup",
".",
"get_services",
"(",
")",
":",
"self",
".",
"enable_svc_notifications",
"(",
"self",
".",
"daemon",
".",
"services",
"[",
... | Enable service notifications for a servicegroup
Format of the line that triggers function call::
ENABLE_SERVICEGROUP_SVC_NOTIFICATIONS;<servicegroup_name>
:param servicegroup: servicegroup to enable
:type servicegroup: alignak.objects.servicegroup.Servicegroup
:return: None | [
"Enable",
"service",
"notifications",
"for",
"a",
"servicegroup",
"Format",
"of",
"the",
"line",
"that",
"triggers",
"function",
"call",
"::"
] | train | https://github.com/Alignak-monitoring/alignak/blob/f3c145207e83159b799d3714e4241399c7740a64/alignak/external_command.py#L2971-L2982 |
Alignak-monitoring/alignak | alignak/external_command.py | ExternalCommandManager.enable_service_freshness_checks | def enable_service_freshness_checks(self):
"""Enable service freshness checks (globally)
Format of the line that triggers function call::
ENABLE_SERVICE_FRESHNESS_CHECKS
:return: None
"""
if not self.my_conf.check_service_freshness:
self.my_conf.modified_att... | python | def enable_service_freshness_checks(self):
"""Enable service freshness checks (globally)
Format of the line that triggers function call::
ENABLE_SERVICE_FRESHNESS_CHECKS
:return: None
"""
if not self.my_conf.check_service_freshness:
self.my_conf.modified_att... | [
"def",
"enable_service_freshness_checks",
"(",
"self",
")",
":",
"if",
"not",
"self",
".",
"my_conf",
".",
"check_service_freshness",
":",
"self",
".",
"my_conf",
".",
"modified_attributes",
"|=",
"DICT_MODATTR",
"[",
"\"MODATTR_FRESHNESS_CHECKS_ENABLED\"",
"]",
".",
... | Enable service freshness checks (globally)
Format of the line that triggers function call::
ENABLE_SERVICE_FRESHNESS_CHECKS
:return: None | [
"Enable",
"service",
"freshness",
"checks",
"(",
"globally",
")",
"Format",
"of",
"the",
"line",
"that",
"triggers",
"function",
"call",
"::"
] | train | https://github.com/Alignak-monitoring/alignak/blob/f3c145207e83159b799d3714e4241399c7740a64/alignak/external_command.py#L2984-L2997 |
Alignak-monitoring/alignak | alignak/external_command.py | ExternalCommandManager.enable_svc_check | def enable_svc_check(self, service):
"""Enable checks for a service
Format of the line that triggers function call::
ENABLE_SVC_CHECK;<host_name>;<service_description>
:param service: service to edit
:type service: alignak.objects.service.Service
:return: None
"... | python | def enable_svc_check(self, service):
"""Enable checks for a service
Format of the line that triggers function call::
ENABLE_SVC_CHECK;<host_name>;<service_description>
:param service: service to edit
:type service: alignak.objects.service.Service
:return: None
"... | [
"def",
"enable_svc_check",
"(",
"self",
",",
"service",
")",
":",
"if",
"not",
"service",
".",
"active_checks_enabled",
":",
"service",
".",
"modified_attributes",
"|=",
"DICT_MODATTR",
"[",
"\"MODATTR_ACTIVE_CHECKS_ENABLED\"",
"]",
".",
"value",
"service",
".",
"... | Enable checks for a service
Format of the line that triggers function call::
ENABLE_SVC_CHECK;<host_name>;<service_description>
:param service: service to edit
:type service: alignak.objects.service.Service
:return: None | [
"Enable",
"checks",
"for",
"a",
"service",
"Format",
"of",
"the",
"line",
"that",
"triggers",
"function",
"call",
"::"
] | train | https://github.com/Alignak-monitoring/alignak/blob/f3c145207e83159b799d3714e4241399c7740a64/alignak/external_command.py#L2999-L3013 |
Alignak-monitoring/alignak | alignak/external_command.py | ExternalCommandManager.enable_svc_event_handler | def enable_svc_event_handler(self, service):
"""Enable event handlers for a service
Format of the line that triggers function call::
ENABLE_SVC_EVENT_HANDLER;<host_name>;<service_description>
:param service: service to edit
:type service: alignak.objects.service.Service
... | python | def enable_svc_event_handler(self, service):
"""Enable event handlers for a service
Format of the line that triggers function call::
ENABLE_SVC_EVENT_HANDLER;<host_name>;<service_description>
:param service: service to edit
:type service: alignak.objects.service.Service
... | [
"def",
"enable_svc_event_handler",
"(",
"self",
",",
"service",
")",
":",
"if",
"not",
"service",
".",
"event_handler_enabled",
":",
"service",
".",
"modified_attributes",
"|=",
"DICT_MODATTR",
"[",
"\"MODATTR_EVENT_HANDLER_ENABLED\"",
"]",
".",
"value",
"service",
... | Enable event handlers for a service
Format of the line that triggers function call::
ENABLE_SVC_EVENT_HANDLER;<host_name>;<service_description>
:param service: service to edit
:type service: alignak.objects.service.Service
:return: None | [
"Enable",
"event",
"handlers",
"for",
"a",
"service",
"Format",
"of",
"the",
"line",
"that",
"triggers",
"function",
"call",
"::"
] | train | https://github.com/Alignak-monitoring/alignak/blob/f3c145207e83159b799d3714e4241399c7740a64/alignak/external_command.py#L3015-L3029 |
Alignak-monitoring/alignak | alignak/external_command.py | ExternalCommandManager.enable_svc_freshness_check | def enable_svc_freshness_check(self, service):
"""Enable freshness check for a service
Format of the line that triggers function call::
ENABLE_SERVICE_FRESHNESS_CHECK;<host_name>;<service_description>
:param service: service to edit
:type service: alignak.objects.service.Servic... | python | def enable_svc_freshness_check(self, service):
"""Enable freshness check for a service
Format of the line that triggers function call::
ENABLE_SERVICE_FRESHNESS_CHECK;<host_name>;<service_description>
:param service: service to edit
:type service: alignak.objects.service.Servic... | [
"def",
"enable_svc_freshness_check",
"(",
"self",
",",
"service",
")",
":",
"if",
"not",
"service",
".",
"check_freshness",
":",
"service",
".",
"modified_attributes",
"|=",
"DICT_MODATTR",
"[",
"\"MODATTR_FRESHNESS_CHECKS_ENABLED\"",
"]",
".",
"value",
"service",
"... | Enable freshness check for a service
Format of the line that triggers function call::
ENABLE_SERVICE_FRESHNESS_CHECK;<host_name>;<service_description>
:param service: service to edit
:type service: alignak.objects.service.Service
:return: None | [
"Enable",
"freshness",
"check",
"for",
"a",
"service",
"Format",
"of",
"the",
"line",
"that",
"triggers",
"function",
"call",
"::"
] | train | https://github.com/Alignak-monitoring/alignak/blob/f3c145207e83159b799d3714e4241399c7740a64/alignak/external_command.py#L3031-L3044 |
Alignak-monitoring/alignak | alignak/external_command.py | ExternalCommandManager.enable_svc_flap_detection | def enable_svc_flap_detection(self, service):
"""Enable flap detection for a service
Format of the line that triggers function call::
ENABLE_SVC_FLAP_DETECTION;<host_name>;<service_description>
:param service: service to edit
:type service: alignak.objects.service.Service
... | python | def enable_svc_flap_detection(self, service):
"""Enable flap detection for a service
Format of the line that triggers function call::
ENABLE_SVC_FLAP_DETECTION;<host_name>;<service_description>
:param service: service to edit
:type service: alignak.objects.service.Service
... | [
"def",
"enable_svc_flap_detection",
"(",
"self",
",",
"service",
")",
":",
"if",
"not",
"service",
".",
"flap_detection_enabled",
":",
"service",
".",
"modified_attributes",
"|=",
"DICT_MODATTR",
"[",
"\"MODATTR_FLAP_DETECTION_ENABLED\"",
"]",
".",
"value",
"service",... | Enable flap detection for a service
Format of the line that triggers function call::
ENABLE_SVC_FLAP_DETECTION;<host_name>;<service_description>
:param service: service to edit
:type service: alignak.objects.service.Service
:return: None | [
"Enable",
"flap",
"detection",
"for",
"a",
"service",
"Format",
"of",
"the",
"line",
"that",
"triggers",
"function",
"call",
"::"
] | train | https://github.com/Alignak-monitoring/alignak/blob/f3c145207e83159b799d3714e4241399c7740a64/alignak/external_command.py#L3046-L3060 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.