beautypg.com

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

background image

274

Chapter 5

Configuring ITO

Flexible-management Configuration

OBJECT | MSGTYPE
| MSGCONDTYPE
| e

severity

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

| Major

msgcondtype

::= Match | Suppress

nodelist

::= |

node

::= IP | IP

| OTHER

string

::= “any alphanumeric string”

ipaddress

::= ...

Syntax for Time Templates

timetmpls

::= TIMETEMPLATE DESCRIPTION

| e

conditions

::= TIMETMPLCONDS | e

timetmplconds ::= TIMETMPLCOND
timetmplcond

::= [TIMECONDTYPE ] [TIME FROM

timecondtype

::= Match | Suppress

time

::= :

weekday

::= ON | FROM TO

exact_date

::= ON | FROM TO

day

::= Monday | Tuesday | Wednesday | Thursday

| Friday | Saturday | Sunday

date

::= /

/ |/
/*

Syntax for Management Responsibility Switching

configfile := [TIMETEMPLATES ] RESPMGRCONFIGS

Syntax for Message Target Rules

msgtargetmgrs ::= MSGTARGETMANAGER TIMETEMPLATE

OPCMGR |
MSGTARGETMANAGER TIMETEMPLATE OPCMGR
MSGCONTROLLINGMGR |
MSGTARGETMANAGER TIMETEMPLATE OPCMGR
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: