01.10.2015 Views

HP Operations Manager for UNIX Administrator’s Reference

HP Operations Manager for UNIX Administrator's Reference

HP Operations Manager for UNIX Administrator's Reference

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Configuring <strong>HP</strong>OM<br />

Configuring Flexible Management Templates<br />

Message Target Rules<br />

Message-target rules define the management server to which specific<br />

messages are sent based on the time of day, date, and message attribute<br />

conditions. <strong>HP</strong>OM uses message-target rules to determine message<br />

escalation policy in an environment containing multiple management<br />

servers. <strong>HP</strong>OM provides a set of ASCII templates which you can copy<br />

and edit to define Flexible Management features.<br />

These example templates are located in the following directory:<br />

/etc/opt/OV/share/conf/OpC/mgmt_sv/tmpl_respmgrs<br />

To define message-target rules:<br />

1. Open the appropriate Responsible Management template file.<br />

2. Find the section header MSGTARGETRULES<br />

3. Define the message conditions in the subsection, MSGCONDTYPE.<br />

You can define the following conditions:<br />

Match<br />

Suppress<br />

4. Define the message attributes in the subsection, MSGTARGETRULES.<br />

You can define the following attributes:<br />

Severity, Message group, Application, Object, Node, Message type,<br />

Message text, Service name.<br />

5. Define the message-target manager, according to the time template<br />

used, in the subsection, MSGTARGETMANAGER.<br />

6. Save and close the modified template file.<br />

7. Run the <strong>HP</strong>OM template validation tool opcmomchk(1) on the<br />

finished configuration file to ensure that your changes are correct:<br />

/opt/OV/bin/OpC/opcmomchk file_name<br />

See the man page opcmomchk(1) <strong>for</strong> more in<strong>for</strong>mation.<br />

8. As user root, copy the validated file to the configuration directory:<br />

cp file_name /etc/opt/OV/share/conf/OpC/mgmt_sv/respmgrs<br />

118<br />

Chapter 2

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!