Next Topic

Previous Topic

Book Contents

Message format options

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 operators that have selected to receive emails from Network Monitor in either the HTML or Simple HTML format. Operators 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 flags

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.

Flag

Context

Description

%time

 

KNM host local date/time

%object_localtime

Alarm/restart message

Date/time for the selected time zone of the object

%time_hour

 

24 hours formatting

%time_hour2

 

12 hours formatting

%time_minute

 

Minutes in hour

%time_second

 

Seconds in minute

%date_year

 

Year with century

%date_year2

 

Year without century

%date_month

 

Month as number 01 - 12

%date_dayofmonth

 

Day of the month 01 - 31

%date_dayofyear

 

Day of the year 1 - 366

%date_weekday

 

Week day as number, 0 - sunday, 6 = saturday

%network_link

Alarm/restart message

Creates a link to the network information page

%object_link

Alarm/restart message

Creates a link to the object information page

%monitor_link

Alarm/restart message

Creates a link to the monitor information page

%sys_distributionlist

 

List the recipients of the message

%monitor_error

Alarm/restart message

Date/Time + Latest alarm message for the monitor

%monitor_error2

Alarm/restart message

Date/Time + Latest alarm message for the monitor

%monitor_timelastok

Alarm/restart message

Time when monitor last was in alarm state (KNM host local date/time)

%monitor_timelastok_localtime

Alarm/restart message

Time when the monitor last was in Alarm state (Object time zone date/time)

%monitor_timelastfailed

Alarm/restart message

Time when monitor last was in Failed state (KNM host local date/time)

%monitor_timelastfailed_local

Alarm/restart message

Time when monitor last was in Failed state (Object time zone date/time)

%monitor_dependencystatus

Alarm/restart message

Text rendering of dependency tree status

%monitor_list

Acknowledge alarm

List of monitors that the have had an alarm acknowledged

%object_name

Alarm/restart message

Name of object

%object_freetext

Alarm/restart message

Object free text field

%object_destination

Alarm/restart message

Object hostname/IP address

%object_description

Alarm/restart message

Object description

%object_operatorgroup

Alarm/restart message

Operator group assigned to object

%operator_current

Acknowledge alarm

Operator that acknowledged the alarm

%network_name

Alarm/restart message

Name of network

%network_contactinfo

Alarm/restart message

Network contact information

%operator_onduty

 

Operators on duty

%sys_charts

Alarm/restart message

Real time graph attachment in mail.