Alerts¶
Alert templates, actions and commands, and their assignment to modules.
Generated automatically from help_screen() in pandorafms/pandora_server/util/pandora_manage.pl (version 8.0NG.805 Build 260915, branch develop, commit 4f61789e07). Do not edit by hand; run make admin-cli-ref.
Options¶
--create_template_module¶
<template_name> <module_name> <agent_name> [<use_alias>]
Add alert template to module
--delete_template_module¶
<template_name> <module_name> <agent_name> [<use_alias>]
Delete alert template from module
--create_template_action¶
<action_name> <template_name> <module_name> <agent_name> [<fires_min> <fires_max> <use_alias>]
Add alert action to module-template
--delete_template_action¶
<action_name> <template_name> <module_name> <agent_name> [<use_alias>]
Delete alert action from module-template
--disable_alerts¶
Disable alerts in all groups (system wide)
--enable_alerts¶
Enable alerts in all groups (system wide)
--create_alert_template¶
<template_name> <condition_type_serialized> <time_from> <time_to> [<description> <group_name> <field1> <field2> <field3> <priority> <default_action> <days> <time_threshold> <min_alerts> <max_alerts> <alert_recovery> <field2_recovery> <field3_recovery> <condition_type_separator>]
Create alert template
--delete_alert_template¶
<template_name>
Delete alert template
--create_alert_command¶
<command_name> <comand> [<id_group> <description> <internal> <fields_descriptions> <fields_values>
Create alert command
--get_alert_commands¶
[<command_name> <comand> <id_group> <description> <internal>]
Displays all alert commands
--get_alert_actions¶
[<action_name> <separator> <return_type>]
get all alert actions
--get_alert_actions_meta¶
[<server_name> <action_name> <separator> <return_type>]
get all alert actions in nodes
--update_alert_template¶
<template_name> <field_to_change> <new_value>
Update a field of an alert template
--validate_all_alerts¶
Validate all the alerts
--validate_alert¶
<template_name> <agent_id> <module_id> [<use_alias>]
Validate alert given angent, module and alert
--create_special_day¶
<special_day> <calendar_name> <same_day> <description> <group>
Create special day
--delete_special_day¶
<special_day>
Delete special day
--update_special_day¶
<special_day> <field_to_change> <new_value>
Update a field of a special day
--create_data_module_from_local_component¶
<agent_name> <component_name> [<use_alias>]
Create a new data module from a local component
--create_local_component¶
<component_name> <data> [<description> <id_os> <os_version> <id_network_component_group> <type> <min> <max> <module_interval> <id_module_group> <history_data> <min_warning> <max_warning> <str_warning> <min_critical> <max_critical> <str_critical> <min_ff_event> <post_process> <unit> <wizard_level> <critical_instructions> <warning_instructions> <unknown_instructions> <critical_inverse> <warning_inverse> <id_category> <disabled_types_event> <tags> <min_ff_event_normal> <min_ff_event_warning> <min_ff_event_critical> <each_ff> <ff_timeout>]
Create local component