Next Topic

Previous Topic

Book Contents

Format Variables

All outgoing messages in Network Monitor can include formatting variables in the text of the message. The format variables are resolved before the messages are processed and sent to recipients. Most of these format variables are context sensitive. For example, the format variable %[monitor.error] only resolves when an alarm is triggered by a monitor action. This same format variable will not resolve 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

%[asset.local_time]

asset local time

%[asset.name]

name

%[asset.id]

unique id of asset

%[asset.free_text]

 

%[asset.address]

 

%[asset.ip]

 

%[asset.description]

 

%[asset.notification_group]

 

%[asset.mac]

 

%[asset.url]

link to asset

%[asset.kb_article_url]

link to articles for the current asset

%[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

%[report.name]

 

%[report.description]

 

%[monitor.list]

used in acknowledge alarm, monitors that were acknowledged