System Error : <DESCRIPTION> (<HOSTNAME>) is <DOWN/UP><br>Site: <SITE><br>Location: <LOCATION><br>Reason: <MESSAGE><br><br>Average system response : <AVG_TIME> ms<br>System availability: <AVAILABILITY><br>Total Checks Since Clear: <TOT_POLL><br>Total Failed Checks: <FAIL_POLL><br>Last Date Checked DOWN : <LAST_FAIL><br>Devices Previously UP for: <DOWNTIME><br>NOTE: <NOTES>
This is the message that will be displayed as the message body of all UP / Down Device Messages (1024 Char MAX).HTML is allowed, but will be removed for text only Emails.There are several common replacement tags that may be used in include:<br><HOSTNAME> <HOST_ID> <DESCRIPTION> <SITE> <LOCATION> <UPTIME> <UPTIMETEXT> <DOWNTIME> <TIME> <DATE> <DATE_RFC822> <BREACHED_ITEMS> <MESSAGE> <SUBJECT> <DOWN/UP> <SNMP_HOSTNAME> <SNMP_LOCATION> <SNMP_CONTACT> <SNMP_SYSTEM> <LAST_FAIL> <AVAILABILITY> <TOT_POLL> <FAIL_POLL> <CUR_TIME> <AVG_TIME> <NOTES>
System Error : <DESCRIPTION> (<HOSTNAME>) is <DOWN/UP><br><br>Site: <SITE><br>Location: <LOCATION><br>Reason: <MESSAGE><br>Average system response: <AVG_TIME> ms<br>System availability: <AVAILABILITY><br>Total Checks Since Clear: <TOT_POLL><br>Total Failed Checks: <FAIL_POLL><br>Last Date Checked DOWN : <LAST_FAIL><br>Device Previously UP for: <DOWNTIME><br>NOTES: <NOTES><br>Device NOTES: <DNOTES>
This is the message that will be displayed as the message body of all UP / Down Device Messages (1024 Char MAX).HTML is allowed, but will be removed for text only Emails.There are several common replacement tags that may be used in include:<br><HOSTNAME> <HOST_ID> <DESCRIPTION> <SITE> <LOCATION> <UPTIME> <UPTIMETEXT> <DOWNTIME> <TIME> <DATE> <DATE_RFC822> <BREACHED_ITEMS><MESSAGE> <SUBJECT> <DOWN/UP> <SNMP_HOSTNAME> <SNMP_LOCATION> <SNMP_CONTACT> <SNMP_SYSTEM> <LAST_FAIL> <AVAILABILITY> <TOT_POLL> <FAIL_POLL> <CUR_TIME> <AVG_TIME> <NOTES>
When a Device changes state from a Cacti perspective (UP to DOWN or DOWN to RECOVERING/UP), run the following command.This command must NOT include command line arguments.However, the following variables can be pulled from the environment of the script:<br><THOLD_HOSTNAME> <THOLD_SITE> <THOLD_LOCATION> <THOLD_HOST_ID> <THOLD_DESCRIPTION> <THOLD_UPTIME> <THOLD_UPTIMETEXT> <THOLD_DOWNTIME> <THOLD_TIME> <THOLD_DATE> <THOLD_DATE_RFC822> <THOLD_BREACHED_ITEMS> <THOLD_MESSAGE> <THOLD_SUBJECT> <THOLD_DOWNUP> <THOLD_SNMP_HOSTNAME> <THOLD_SNMP_LOCATION> <THOLD_SNMP_CONTACT> <THOLD_SNMP_SYSTEM> <THOLD_LAST_FAIL> <THOLD_AVAILABILITY> <THOLD_TOT_POLL> <THOLD_FAIL_POLL> <THOLD_CUR_TIME> <THOLD_AVG_TIME> <THOLD_NOTES>
This is the message that will be displayed at the top of all Threshold Alerts (1024 Char MAX).HTML is allowed, but will be removed for text only Emails.There are several common replacement tags that may be used in include:<br><DESCRIPTION> <HOSTNAME> <HOST_ID> <SITE> <LOCATION> <TIME> <DATE> <DATE_RFC822> <BREACHED_ITEMS><URL> <GRAPHID> <THOLD_ID> <CURRENTVALUE> <THRESHOLDNAME><DSNAME> <SUBJECT> <GRAPH> <NOTES> <DNOTES>
This is the message that will be displayed at the top of all Threshold warnings (1024 Char MAX).HTML is allowed, but will be removed for text only Emails.There are several common replacement tags that may be used in include:<br><DESCRIPTION> <HOSTNAME> <HOST_ID> <SITE> <LOCATION> <TIME> <DATE> <DATE_RFC822> <BREACHED_ITEMS><URL> <GRAPHID> <THOLD_ID> <CURRENTVALUE> <THRESHOLDNAME><DSNAME> <SUBJECT> <GRAPH> <NOTES> <DNOTES>
This is the message that will be displayed at the top of all Threshold restoral notifications (1024 Chars MAX).HTML is allowed, but will be removed for text only Emails.There are several common replacement tags that may be used in include:<br><DESCRIPTION> <HOSTNAME> <HOST_ID> <SITE> <LOCATION> <TIME> <DATE> <DATE_RFC822> <BREACHED_ITEMS><URL> <GRAPHID> <THOLD_ID> <CURRENTVALUE> <THRESHOLDNAME><DSNAME> <SUBJECT> <GRAPH> <NOTES> <DNOTES>
There are three Acknowledgment levels that control how you must respond to a Threshold breach condition.They are:<br><br><ul><li><i>None Required</i> - When you select this option, no Acknowledgment is required for a Threshold breach.</li><li><i>Suspendible Notification</i> - With this option, once you Acknowledge or Suspend Notifications on the Threshold, you will no longer receive notifications while it is breached.You may subsequently, Resume Notifications while its breached.</li><li><i>Persistent Acknowledgment</i> - With this option, even after the Threshold has returned to normal, you must Acknowledge the Threshold and provide an optional Operator Message.</li></ul>
The type of Baseline.[TIP] is the Time in Past, [AOT] is the Average over Time.Percentage Deviation is a percentage value from the historical value.Absolute Value is a deviation either above or below the Baseline over that historical value.For the [TIP] Baseline Types, the MIN, MAX, AVG, and LAST will come from no more than a one day time period at that point in time.
An RPN Expression is an RRDtool Compatible RPN Expression.Syntax includes all functions below in addition to both Device and Data Query replacement expressions such as <span class="deviceUp">|query_ifSpeed|</span>.To use a Data Source in the RPN Expression, you must use the syntax: <span class="deviceUp">|ds:dsname|</span>.For example, <span class="deviceUp">|ds:traffic_in|</span> will get the current value of the traffic_in Data Source for the RRDfile(s) associated with the Graph. Any Data Source for a Graph can be included.<br><br>Math Operators: <span class="deviceUp">+, -, /, *, %, ^</span><br>Functions: <span class="deviceUp">SIN, COS, TAN, ATAN, SQRT, FLOOR, CEIL, DEG2RAD, RAD2DEG, ABS, EXP, LOG, ATAN, ADNAN</span><br>Flow Operators: <span class="deviceUp">UN, ISINF, IF, LT, LE, GT, GE, EQ, NE</span><br>Comparison Functions: <span class="deviceUp">MAX, MIN, INF, NEGINF, NAN, UNKN, COUNT, PREV</span>%s%s
This is the message that will be displayed at the top of all Threshold Alerts (1024 Char MAX).HTML is allowed, but will be removed for text only emails.There are several common replacement tags that may be used in include:<br>eg. <DESCRIPTION> <HOSTNAME> <TIME> <DATE> <URL> <GRAPHID> <CURRENTVALUE> <THRESHOLDNAME> <DSNAME> <SUBJECT> <GRAPH> <HI> <LOW> <DURATION> <TRIGGER> <DETAILS_URL> <DATE_RFC822> <BREACHED_ITEMS>
This is the Warning Email subject that will be displayed in the Email after change to Warning (128 Char MAX).Leave blank for the default.There are several common replacement tags that may be used in include:<br><PHASE> <THRESHOLDVALUE> <CURRENTVALUE> <THRESHOLDNAME> <DSNAME> <BREACHUP> <REALERT> <HOSTNAME>
This is the message that will be displayed at the top of all Threshold Warnings (1024 Char MAX).HTML is allowed, but will be removed for text only emails.There are several common replacement tags that may be used in include:<br>eg. <DESCRIPTION> <HOSTNAME> <TIME> <DATE> <URL> <GRAPHID> <CURRENTVALUE> <THRESHOLDNAME> <DSNAME> <SUBJECT> <GRAPH> <HI> <LOW> <DURATION> <TRIGGER> <DETAILS_URL> <DATE_RFC822> <BREACHED_ITEMS>
This is the Email subject that will be displayed in the Email after a Restoral to Normal (128 Char MAX).Leave blank for the default.There are several common replacement tags that may be used in include:<br><PHASE> <THRESHOLDVALUE> <CURRENTVALUE> <THRESHOLDNAME> <DSNAME> <BREACHUP> <REALERT> <HOSTNAME>
This is the message that will be displayed at the top of all Threshold restoral notifications (1024 Chars MAX).HTML is allowed, but will be removed for text only Emails.There are several common replacement tags that may be used in include:<br><DESCRIPTION> <HOSTNAME> <HOST_ID> <TIME> <DATE> <DATE_RFC822> <BREACHED_ITEMS><URL> <GRAPHID> <CURRENTVALUE> <THRESHOLDNAME><DSNAME> <SUBJECT> <GRAPH> <NOTES> <DNOTES>
You can customize the event description being sent out to the SNMP notification receivers by using variable bindings. Standard Device (|host_*|), Data Query (|query_*|) substitution variables can be used as well as following varbinds:<br><THRESHOLDNAME> <HOSTNAME> <HOSTIP> <TEMPLATE_ID> <TEMPLATE_NAME> <THR_TYPE> <DS_NAME> <HI> <LOW> <EVENT_CATEGORY> <FAIL_COUNT> <FAIL_DURATION>
If set, and if a High Threshold is breached, this command will be run.Please enter a valid command.In addition, there are several replacement tags available that can be used to pass information from the Threshold to the script.You can do this as arguments on the command line, or preferably, in the environment of the script.All replacement values will appear in the environment of the script prefixed with THOLD_.So, for example CURRENTVALUE will become THOLD_CURRENTVALUE, and so on.The variables include: <DESCRIPTION> <HOSTNAME> <TIME> <DATE> <URL> <GRAPHID> <CURRENTVALUE> <THRESHOLDNAME> <DSNAME> <SUBJECT> <GRAPH> <HI> <LOW> <DURATION> <TRIGGER> <DETAILS_URL> <DATE_RFC822> <BREACHED_ITEMS>.Finally, Host, Data Query and Data Input replacement can be made.For example, if you have a data input custom data called pending, to perform the replacement use |pending|.For Data Query, and Host replacement use Cacti conventions |query_xxxx|, and |host_xxxx| respectively.