Syntax for time templates, Syntax for management responsibility switching, Syntax for message target rules – HP UX B6941-90001 User Manual

Page 274: Templates:service hours:syntax, Syntax for service hours and scheduled outages

Advertising
background image

274

Chapter 5

Configuring ITO

Flexible-management Configuration

<mtrcond> OBJECT <string> | <mtrcond> MSGTYPE
<string> | <mtrcond> MSGCONDTYPE
<msgcondtype> | e

severity

::= Unknown | Normal | Warning | Critical | Minor

| Major

msgcondtype

::= Match | Suppress

nodelist

::= <node> | <nodelist> <node>

node

::= IP <ipaddress> | IP <ipaddress> <string>

| OTHER <string>

string

::= “any alphanumeric string”

ipaddress

::= <digits>.<digits>.<digits>.<digits>

Syntax for Time Templates

timetmpls

::= <timetmpls> TIMETEMPLATE <string> DESCRIPTION

<string> <conditions> | e

conditions

::= TIMETMPLCONDS <timetmplconds> | e

timetmplconds ::= <timetmplconds> TIMETMPLCOND <timetmplcond>
timetmplcond

::= [TIMECONDTYPE <timecondtype>] [TIME FROM

<time> TO <time>] [WEEKDAY <weekday>]
[DATE <exact_date>] | e

timecondtype

::= Match | Suppress

time

::= <hh>:<mm>

weekday

::= ON <day> | FROM <day> TO <day>

exact_date

::= ON <date> | FROM <date> TO <date>

day

::= Monday | Tuesday | Wednesday | Thursday

| Friday | Saturday | Sunday

date

::= <mm>/<dd>/<yyyy> |<mm>/<dd>/*

Syntax for Management Responsibility Switching

configfile := [TIMETEMPLATES <timetmpls>] RESPMGRCONFIGS

<respmgrconfigs>

Syntax for Message Target Rules

msgtargetmgrs ::= <msgtargetmgrs> MSGTARGETMANAGER TIMETEMPLATE

<string> OPCMGR <node> | <msgtargetmgrs>
MSGTARGETMANAGER TIMETEMPLATE <string> OPCMGR
<node> MSGCONTROLLINGMGR | <msgtargetmgrs>
MSGTARGETMANAGER TIMETEMPLATE <string> OPCMGR
<node> NOTIFYMGR | e

You can replace the <string> variable with

$OPC_ALWAYS

to specify that

the time condition is always true. To specify that the current primary
manager is always used as the message target server, replace the <node>
variable with

$OPC_PRIMARY_MGR

Syntax for Service Hours and Scheduled Outages

In the following description of the syntax rules for templates used to
define service hours and scheduled outages, the “e” character represents
an empty string:

Advertising