From 9451d48603817e767a77e6c40a9ab17cb213386a Mon Sep 17 00:00:00 2001 From: slerena Date: Mon, 28 Sep 2009 16:06:06 +0000 Subject: [PATCH] 2009-09-28 Sancho Lerena * include/help/en/help_alert_macros.php: Updated macros help git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1987 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 2 ++ .../include/help/en/help_alert_macros.php | 26 +++++++++++-------- 2 files changed, 17 insertions(+), 11 deletions(-) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 17ea3eca74..18ec84c5ac 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,5 +1,7 @@ 2009-09-28 Sancho Lerena + * include/help/en/help_alert_macros.php: Updated macros help + * pandoradb.sql: Added id_group to talert_action, talert_templates and tplanned_downtime to be able to segregate all pandora functions for different groups/users. Need to implement in interface code. diff --git a/pandora_console/include/help/en/help_alert_macros.php b/pandora_console/include/help/en/help_alert_macros.php index 124043932e..bbfb31b3ea 100644 --- a/pandora_console/include/help/en/help_alert_macros.php +++ b/pandora_console/include/help/en/help_alert_macros.php @@ -8,18 +8,22 @@

The following macros are available:

    -
  • _field1_: User defined field 1.
  • -
  • _field2_: User defined field 2.
  • -
  • _field3_: User defined field 3.
  • -
  • _agent_: Name of the agent that fired the alert.
  • -
  • _address_: Address of the agent that fired the alert.
  • -
  • _timestamp_: Time when the alert was fired.
  • -
  • _data_: Module data that caused the alert to fire.
  • -
  • _alert_description_: Alert description.
  • -
  • _alert_threshold_: Alert threshold.
  • -
  • _alert_times_fired_: Number of times the alert has been fired.
  • +
  • _field1_ : User defined field 1.
  • +
  • _field2_ : User defined field 2.
  • +
  • _field3_ : User defined field 3.
  • +
  • _agent_ : Name of the agent that fired the alert.
  • +
  • _address_ : Address of the agent that fired the alert.
  • +
  • _timestamp_ : Time when the alert was fired (yy-mm-dd hh:mm:ss).
  • +
  • _data_ : Module data that caused the alert to fire.
  • +
  • _alert_description_ : Alert description.
  • +
  • _alert_threshold_ : Alert threshold.
  • +
  • _alert_times_fired_ : Number of times the alert has been fired.
  • +
  • _module_ : Module name
  • +
  • _alert_ : Alert name
  • +
  • _alert_priority_ : Numerical alert priorityu
  • +
  • _id_agent_ : Id of agent, useful to build direct URL to redirect to a Pandora FMS console webpage.

-Example: Agent _agent_ error: _alert_description_. +Example: Agent _agent_ has fired alert _alert_ with data _data_