Policies¶
Policies, their modules, alerts, collections and the queue that applies them.
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¶
--apply_policy¶
<id_policy> [<id_agent> <name(boolean)> <id_server>]
Force apply a policy in an agent
--apply_all_policies¶
Force apply to all the policies
--add_agent_to_policy¶
<agent_name> <policy_name> [<use_alias>]
Add an agent to a policy
--remove_agent_from_policy¶
<policy_id> <agent_id>
Delete an agent to a policy
--delete_not_policy_modules¶
Delete all modules without policy from configuration file
--disable_policy_alerts¶
<policy_name>
Disable all the alerts of a policy
--create_policy¶
<policy_name> <group_name> <description>
--create_policy_data_module¶
<policy_name> <module_name> <module_type> [<description> <module_group> <min> <max> <post_process> <interval> <warning_min> <warning_max> <critical_min> <critical_max> <history_data> <data_configuration> <warning_str> <critical_str> <unknown_events> <ff_threshold> <each_ff> <ff_threshold_normal> <ff_threshold_warning> <ff_threshold_critical> <ff_timeout> <critical_instructions> <warning_instructions> <unknown_instructions> <warning_inverse> <critical_inverse> <ignore_unknown>]
Add data server module to policy
--create_policy_web_module¶
<policy_name> <module_name> <module_type> [<description> <module_group> <min> <max> <post_process> <interval> <warning_min> <warning_max> <critical_min> <critical_max> <history_data> <retries> <requests> <agent_browser_id> <auth_server> <auth_realm> <data_configuration> <proxy_url> <proxy_auth_login> <proxy_auth_password> <warning_str> <critical_str> <unknown_events> <ff_threshold> <each_ff> <ff_threshold_normal> <ff_threshold_warning> <ff_threshold_critical> <ff_timeout> <warning_inverse> <critical_inverse> <critical_instructions> <warning_instructions> <unknown_instructions> <ignore_unknown>]. The valid data types are web_data, web_proc, web_content_data or web_content_string
Add web server module to policy
--create_policy_network_module¶
<policy_name> <module_name> <module_type> [<module_port> <description> <module_group> <min> <max> <post_process> <interval> <warning_min> <warning_max> <critical_min> <critical_max> <history_data> <ff_threshold> <warning_str> <critical_str> <unknown_events> <each_ff> <ff_threshold_normal> <ff_threshold_warning> <ff_threshold_critical> <critical_instructions> <warning_instructions> <unknown_instructions> <warning_inverse> <critical_inverse> <ignore_unknown>]
Add not snmp network module to policy
--create_policy_snmp_module¶
<policy_name> <module_name> <module_type> <module_port> <version> [<community> <oid> <description> <module_group> <min> <max> <post_process> <interval> <warning_min> <warning_max> <critical_min> <critical_max> <history_data> <snmp3_priv_method> <snmp3_priv_pass> <snmp3_sec_level> <snmp3_auth_method> <snmp3_auth_user> <snmp3_priv_pass> <ff_threshold> <warning_str> <critical_str> <unknown_events> <each_ff> <ff_threshold_normal> <ff_threshold_warning> <ff_threshold_critical> <critical_instructions> <warning_instructions> <unknown_instructions> <warning_inverse> <critical_inverse> <ignore_unknown>]
Add snmp network module to policy
--create_policy_plugin_module¶
<policy_name> <module_name> <module_type> <module_port> <plugin_name> <user> <password> <parameters> [<description> <module_group> <min> <max> <post_process> <interval> <warning_min> <warning_max> <critical_min> <critical_max> <history_data> <ff_threshold> <warning_str> <critical_str> <unknown_events> <each_ff> <ff_threshold_normal> <ff_threshold_warning> <ff_threshold_critical> <critical_instructions> <warning_instructions> <unknown_instructions> <warning_inverse> <critical_inverse> <ignore_unknown>]
Add plug-in module to policy
--create_policy_data_module_from_local_component¶
<policy_name> <component_name>
--add_collection_to_policy¶
<policy_name> <collection_name>
--validate_policy_alerts¶
<policy_name>
Validate the alerts of a given policy
--get_policy_modules¶
<policy_name>
Get the modules of a policy
--get_policies¶
[<agent_name> <use_alias>]
Get all the policies (without parameters) or the policies of a given agent (agent name as parameter)
--recreate_collection¶
<collection_id>
Recreate the files of a collection