All outgoing messages in Network Monitor can include formatting variables in the text of the message.
Email messages can also contain special formatting codes known as BB codes that can be used to improve the look of the mail.
BB codes
BB codes are a semi-standard used by many forum systems to format messages without the need of embedding HTML. It works similar to HTML, having a start and an end tag, and supports nested tags. BB codes are translated to HTML for all users that have selected to receive emails from Network Monitor in either the HTML or Simple HTML format. Users that have selected to receive plain text messages will have the BB codes stripped out from their messages.
Start |
End |
Description |
[hr] |
|
Horizontal ruler. This tag does not have a closing tag. |
[b] |
[/b] |
Bold text |
[i] |
[/i] |
Italic text |
[u] |
[/u] |
Underline text |
[quote] |
[/quote] |
Quote text (translates to the html <blockquote> markup tag) |
[size=X] |
[/size] |
Sets the size to X pixels [size=12] Example Text [/size] |
[font=X] |
[/font] |
Sets the text in scope to use the font "X" [font=verdana] Example Text [/font] |
[color=X] |
[/color] |
Sets the text in the scope to use a color. The color can be any type of HTML color definition. [color=red] Example Text [/color] |
[url=X] |
[/url] |
Creates a link to URL X [url=http://www.kaseya.com] Example URL [/url] |
[img=X] |
[/img] |
Inlines an image located at URL X [img=http://myurl/mypic.png][/img] |
Format Variables
Format flags are used to expand information in messages before they are processed and sent to their recipient. Most of these flags are context sensitive. For example, the flag %[monitor.error]
expands the latest alarm report for the monitor triggering the action, and would not be expanded into anything if used in a Send mail scheduled event.
%[system.time] |
current time |
%[system.time_hour] |
24 hours formatting |
%[system.time_hour2] |
12 hours formatting |
%[system.time_minute] |
including minutes |
%[system.time_second] |
including seconds |
%[system.date] |
current date |
%[system.date_year] |
current date with full year |
%[system.date_year2] |
year without century |
%[system.date_month] |
month as number 01 - 12 |
%[system.date_day_of_month] |
day of the month 01 - 31 |
%[system.date_weekday] |
0 - sunday, 6 = saturday |
%[system.date_day_of_year] |
day of the year 1 - 366 |
%[group.name] |
name of group |
%[group.path] |
full path of group |
%[group.id] |
group unique id |
%[group.url] |
link to group |
%[group.kb_article_url] |
link to articles for the current group |
%[group.company] |
group/company name |
%[group.additional] |
group/company additional line 1 |
%[group.additional] |
group/company additional line 2 |
%[group.contact] |
group/company contact name |
%[group.email] |
group/company email |
%[group.phone] |
group/company phone |
%[group.cellphone] |
group/company cell phone |
%[group.fax] |
group/company fax |
%[group.address1] |
group/company address1 |
%[group.address2] |
group/company address 2 |
%[device.local_time] |
device local time |
%[device.name] |
name |
%[device.id] |
unique id of device |
%[device.free_text] |
|
%[device.address] |
|
%[device.ip] |
|
%[device.description] |
|
%[device.notification_group] |
|
%[device.mac] |
|
%[device.url] |
link to device |
%[device.kb_article_url] |
link to articles for the current device |
%[monitor.name] |
|
%[monitor.id] |
|
%[monitor.error] |
|
%[monitor.error2] |
|
%[monitor.type] |
|
%[monitor.current_status] |
|
%[monitor.time_last_ok] |
|
%[monitor.time_last_ok_local_time] |
|
%[monitor.time_last_failed] |
|
%[monitor.time_last_failed_local_time] |
|
%[monitor.dependency_status] |
|
%[monitor.url] |
|
%[user.current] |
name of the user, used in acknowledge alarm |
%[user.on_duty] |
name of "on duty" user as defined by a user work schedule |
%[user.distribution_list] |
list of users who get the e-mail |
%[system.charts] |
monitor realtime charts |
%[report.name] |
|
%[report.description] |
|
%[monitor.list] |
used in acknowledge alarm, monitors that were acknowledged |