|Home||Switchboard||Unix Administration||Red Hat||TCP/IP Networks||Neoliberalism||Toxic Managers|
May the source be with you, but remember the KISS principle ;-)
Bigger doesn't imply better. Bigger often is a sign of obesity, of lost control, of overcomplexity, of cancerous cells
|News||HP Operations Manager||Recommended Links||Reference||Structure of HPOM messages||Conditions||Operations on Policies|
|Open Message Interface Policies||Measurement Threshold Policies||Scheduled Task Policies||Logfile encapsulation policies||HPOM Instrumentation Categories||SNMP trap policies||Correlation policies|
|HPOM Patterns||Actions||Rewriting of Messages||Condition Matching Optimization||Deduplication||Automatic acknowledgement||Message Keys|
|Creating and Uploading Policies||List policies installed on the node||Assigning Policies to Managed Node||Distributing Assigned Policies||Deassigning Policies||Version Management||Comparing Policies|
|Policy Files Naming Conventions||Policy Groups||Default Policy Groups||node groups||Layout groups||Message groups||Not so Smart Plug-Ins|
|Troubleshooting||Correlation Composer||Support Forum||History||Humor||Tips||Etc|
Note: HP renamed the product called now HP operations manager way too many times. Also it is very inconsistent with using abbreviations. Here we will assume that the term "HP Operations manager" and abbreviations HPOM, OMU, and OVO mean the same thing :-)
Policies provide a non-procedural mechanism to process information from various sources on the server were agent installed. Internally policy is represented by XML document. A centrally distribuited copy of a policy is stored on each node to which it is assigned.
You distribute the policies to those managed nodes from which you want to collect and process specific events. The are several types of policies in HPOM. Management of the policies is the most challenging part of HPOM administration.
We will assume that initial set of variables that was detected my an interceptor constitute an HPOM event. After the event is processed by policy it become a message. There are two level of processing of event in HPOM -- node level and server level. Generally event interception is performed by one of the conditions that constitute relevant policy. This condition can output message (which is the same data structure but possibility with modified fields) that is forwarded to the server. Or it can discard the message completely.
The second level is the management server level. Here the messages that was the output of one condition on the policy on the node is received and placed into the HPOM database. The message is also delivered to the message browser which provides different views for each type of the users (operators, administrators, etc).
Each condition specified the set of events it accepts and processing that is performed during convertion of an avent into the message before sending message to Operator GUI and possible actions for each condition. Typical action is invoking some script.
Policies are identified by their names, versions, and types, or by their UUIDs. A policy type is a policy attribute that determines the rules to which policy bodies must adhere. In addition to the policy types predefined in HPOM, custom policy types can be created by the user. On the client policies are stored in the directory:
The policy header contains attributes such as name, type, version, and so on. The data information part usually consists of a set of rules for covering stream of messages on the managed node to which the policy is deployed into events displayed on HPOM server.
Most policies are "fed" with messages generated from two message generation components opcmsg or opcmon (several other source are log files are availble).
HPOM messages have format that consists of two parts:
a set of fixed (system) attributes. See Policy variables
a set of user defined attributes. See Patterns in HP HPOM
Generated message first in processed by the agent on the server where it was generated. Message is processes if and only if it is matched one of the policies installed on the node. It can discarded or converted into other message. the latter is delivered to operator console.
For Open Message Interface a generic policy is provided by HP (called opcmsg 1|3 ) that can be tuned to forward messages that you want to operator console without and additional processing ("as is").
Each policy includes a complete set of rules (also called conditions) to handle a single information source such as a logfile. Conditions specified which messages match them, how this message should be transformed before sending it to operator and also can specify scripts or binaries that can be invoked during the processing of the message of the same or any other node. Conditions also have capability to suppress unwanted messages.
In HPOM version 9 policies is typically created using administrator GUI interface. The policy instructs the agent on how to access the source, and what the “rule” is for managing the source (for example, what events to act on or suppress).
Several default policy policies are installed on the management server.
Many additional "off the shelf" policies are part of the set of Smart Plug-Ins (SPI) that are shipped with the system. They can only serve as examples and their production value is minimal. Also they are often way too convoluted to be useful. Installing them is clutter the system and can be recommended only on experimental server to see "what is what". Only if you are sure that HP supplied smart plug-in is useful you can install it on production server. But such conclusions is a pretty rare event: most of supplied by HP smart plug-ins are very and by-and-large weak clutter the server and produce spam. Especially bad are bridge to Sitescope, bridge to Data Protector and several others. Never install them unless you fully understand what you are doing. If a consultant recommend them during the initial HPOM installation it is prudent to send him/her to hell ;-)
Policies are essentially non-procedural rules for processing incoming messages. They have elements which select message from the stream based on values of attributes of the message. This part of policy is called the event interceptor. There are several types of the events interceptors, one for each type of message. There are half-dozen policy types in HPOM:
Open Message interface policies (process messages generated by opcmsg command or API). Used to link to an existing application or program to produce an HPOM message. This may be a command line (via opcmsg utility that is present on each and every node) or API call. All assigned policies are processed one by one, before forwarding an unmatched message to the management server.
If the message is matched by a suppress condition, but Forward Unmatched is set in another policy, the message is suppressed. Suppress Unmatched conditions only suppress a message for that policy but forward messages that are unmatched by other policies to the management server. Configuring Your Own Application-Specific Policies When you modify preconfigured HPOM policies and conditions, make sure they are saved under the different version.
Scripts that implement this type of policies can be augmented with additional files via
HPOM Instrumentation Categories
Internally a policy is a set of files containing header (in XML) and and one or more policy bodies that permit processing of messages. Each policy body includes XML representation of a set of rules (also called conditions) to handle a single source of messages such as a logfile.
Structure of the policy is dependent on the type of the policy. For two most popular types see
Policies can be assigned to nodes, node groups, and policy groups. After assignment of the policy you need to initiate a separate operation of distribution of the policy to get policy to all nodes to which it was assigned.
Each policy has a policy type, which means that its bodies conform to a specific set of rules. Policies are stored by type with each type of policies in its own subdirectory. For example:
More then a dozen operations are possible on policies. Among them
After you decide which policy type you need, the next steps include:
During execution, the monitor policy is used by the monitor program to send or suppress messages. The process to accomplish this task is summarized in the following list.
The monitor process (opcmona) executes an external program or script to determine the status of system or application run-time parameters.
The external program or script (called a monitor program) submits the value to the agent using the program called opcmon.
A list of conditions determines if a message is sent to the server or suppressed.
A message source is used for selecting which policy should process particular message. You can use several attributes for this purpose:
Use the following keywords to define how policy will process messages:
These default attributes are set globally at the policy level, but can be overridden by a message condition. For more information about policy body syntax
HPOM allows the administrator to configure multiple policies with different message and suppress conditions for each message source. When an event occurs, it is filtered in parallel by all policies assigned to that managed node. As soon as a condition applies, the message is handled according to the options specified in the policy. It is therefore important to understand how messages are filtered by HPOM to avoid filling the browser with unimportant messages or losing important messages.
By processing multiple policies at the same time HPOM is capable of handling, in parallel, several policies of the same type for one node. In this process, no priority is given to any policy, rather each policy is handled as an independent entity.
A message that matches the suppress or suppress unmatched condition in one policy will be suppressed only for the processing in that policy. However, a message could still match a message condition in another policy and create an HPOM message for the responsible operator.
For more information about how to improve performance in a multiple-policy configuration, see Condition Matching Optimization
Using the FORWARDUNMATCHED keyword in multiple policies can lead to you receiving multiple messages from a single event. Each policy with the FORWARDUNMATCHED keyword creates a message with the default values of the policy.
Application-specific policies and generic policies handle multiple messages differently:
The administrator can create, edit, and delete policies, as well as assign the policies to a policy group. Conditions are defined for each policy, and further options are specified. For detailed information about setting up a message source policy, see the HPOM Administrator’s Reference.
CAUTION If you do not define any conditions for a message source policy, and if the FORWARDUNMATCHED keyword is present in the policy body, HPOM intercepts all messages from that message source. This interception of all messages could lead to a large number of unmatched messages reaching the Message Browser.
HPOM enables you to create multiple policies for the same message source. Create your own policies and conditions for all message sources, rather than modifying the preconfigured policies. CAUTION When you upgrade HPOM to a higher version, all modified policies are lost.
The first step in implementing a policy is to review existing message sources. Where to Look for Messages Evaluate the following message sources:
Jun 9, 2009 | IT Resource Center forums
I exported HPOM templates to template.out file. transferred it over to the OMW and ran command:
D:\Migrate>importpolicies /f ovu-templates.out /c iso82 Using codeset 'iso88592'. Unsupported syntax used in file.
D:\Migrate>importpolicies /f ovu-templates.out /c iso85 Using codeset 'iso88595'. Unsupported syntax used in file.
D:\Migrate>importpolicies /f ovu-templates.out /c iso815 Using codeset 'iso885915'. Unsupported syntax used in file.
D:\Migrate>importpolicies /f ovu-templates.out Using codeset 'ascii'. File Error! - File doesn't exist or contains a policy using unsupported syntax.
Is there something I am missing?
Note: If you are the author of this question and wish to assign points to any of the answers, please login first.For more information on assigning points ,click here
Please check if you have any Special Chracters in the template name.
Alos if i am not wrong the description size if it is more than 255, try reducing and export/import.
Convert OVO for UNIX Operations templates to HPOM for Windows policies.
- Download the templates from the OVO for UNIX management server using the command opccfgdwn (see OVO for UNIX documentation) to a config download package.
- Copy the download package to the HPOM for Windows management server. If any template names contain any special characters, open the config download package and remove them. Special characters are not allowed in policy file names.
- Upload the templates to the HPOM for Windows management server, where they become policies. Use the command ImportPolicies , as described above.
- Customize the policies as required
Sorry I used the wrong command to download the templates. needed to use opccfgdwn. thanks guys
Feb 18, 2010 | IT Resource Center forums
Hi I am using OMW 8.10 and I have done a full backup. I have created so new policies and am wondering where are this polcies stored so i can just make a copy in case I need to resotre a full backup I can just paste these policy back.
If you have created custom policies - the best way to back them up would be to copy all these policies to a custom policy group.
Then you can use the tool ovpmutil to download the policy group locally to your OMW server. Then you can back these files for future use.
You can use the same ovpmutil tool to upload these policies back again to the OMW server in future as well.
You can see more details about ovpmutil tool in OMW Online Help. It will also give you syntax and usage examples for this tool.
Hope this helps. Regards Ram
Sep 4, 2010 | IT Resource Center forums
m not able to copy,create or modify any policy. When i click on the save button the following error is coming :
Error Edited policy/policy group had errors.
The following errors/warnings occurred while processing the request:
Parameter incomplete (OPC_ERR_INCOMPLETE_PARAM=-24) additional information: Policy not found: name "copy_of_Abend log", version <none>, type_id a2ef318b-b52d-11d2-a40a-080009ee02a7, id <none>, container_id <none>. Policy not found: name "copy_of_Abend log", version <none>, type_id a2ef318b-b52d-11d2-a40a-080009ee02a7, id <none>, container_id <none>. Error accessing policy body copy_of_Abend+log_9d7ecbbc-d4f1-71de-178d-7d3eb6c80000_data. Database: ORA-02448: constraint does not exist An error occured while uploading policy 9295fc86-b7f2-71df-0138-7d3eb6c80000_header.xml to database
Can anybody plz suggest why this error is coming.
Try reloading/refreshing policies...
Use below command:--
bash# opcdbidx -all
& then continue...
Issue is resolved.
After running this command :
Groupthink : Two Party System as Polyarchy : Corruption of Regulators : Bureaucracies : Understanding Micromanagers and Control Freaks : Toxic Managers : Harvard Mafia : Diplomatic Communication : Surviving a Bad Performance Review : Insufficient Retirement Funds as Immanent Problem of Neoliberal Regime : PseudoScience : Who Rules America : Neoliberalism : The Iron Law of Oligarchy : Libertarian Philosophy
War and Peace : Skeptical Finance : John Kenneth Galbraith :Talleyrand : Oscar Wilde : Otto Von Bismarck : Keynes : George Carlin : Skeptics : Propaganda : SE quotes : Language Design and Programming Quotes : Random IT-related quotes : Somerset Maugham : Marcus Aurelius : Kurt Vonnegut : Eric Hoffer : Winston Churchill : Napoleon Bonaparte : Ambrose Bierce : Bernard Shaw : Mark Twain Quotes
Vol 25, No.12 (December, 2013) Rational Fools vs. Efficient Crooks The efficient markets hypothesis : Political Skeptic Bulletin, 2013 : Unemployment Bulletin, 2010 : Vol 23, No.10 (October, 2011) An observation about corporate security departments : Slightly Skeptical Euromaydan Chronicles, June 2014 : Greenspan legacy bulletin, 2008 : Vol 25, No.10 (October, 2013) Cryptolocker Trojan (Win32/Crilock.A) : Vol 25, No.08 (August, 2013) Cloud providers as intelligence collection hubs : Financial Humor Bulletin, 2010 : Inequality Bulletin, 2009 : Financial Humor Bulletin, 2008 : Copyleft Problems Bulletin, 2004 : Financial Humor Bulletin, 2011 : Energy Bulletin, 2010 : Malware Protection Bulletin, 2010 : Vol 26, No.1 (January, 2013) Object-Oriented Cult : Political Skeptic Bulletin, 2011 : Vol 23, No.11 (November, 2011) Softpanorama classification of sysadmin horror stories : Vol 25, No.05 (May, 2013) Corporate bullshit as a communication method : Vol 25, No.06 (June, 2013) A Note on the Relationship of Brooks Law and Conway Law
Fifty glorious years (1950-2000): the triumph of the US computer engineering : Donald Knuth : TAoCP and its Influence of Computer Science : Richard Stallman : Linus Torvalds : Larry Wall : John K. Ousterhout : CTSS : Multix OS Unix History : Unix shell history : VI editor : History of pipes concept : Solaris : MS DOS : Programming Languages History : PL/1 : Simula 67 : C : History of GCC development : Scripting Languages : Perl history : OS History : Mail : DNS : SSH : CPU Instruction Sets : SPARC systems 1987-2006 : Norton Commander : Norton Utilities : Norton Ghost : Frontpage history : Malware Defense History : GNU Screen : OSS early history
The Peter Principle : Parkinson Law : 1984 : The Mythical Man-Month : How to Solve It by George Polya : The Art of Computer Programming : The Elements of Programming Style : The Unix Hater’s Handbook : The Jargon file : The True Believer : Programming Pearls : The Good Soldier Svejk : The Power Elite
Most popular humor pages:
Manifest of the Softpanorama IT Slacker Society : Ten Commandments of the IT Slackers Society : Computer Humor Collection : BSD Logo Story : The Cuckoo's Egg : IT Slang : C++ Humor : ARE YOU A BBS ADDICT? : The Perl Purity Test : Object oriented programmers of all nations : Financial Humor : Financial Humor Bulletin, 2008 : Financial Humor Bulletin, 2010 : The Most Comprehensive Collection of Editor-related Humor : Programming Language Humor : Goldman Sachs related humor : Greenspan humor : C Humor : Scripting Humor : Real Programmers Humor : Web Humor : GPL-related Humor : OFM Humor : Politically Incorrect Humor : IDS Humor : "Linux Sucks" Humor : Russian Musical Humor : Best Russian Programmer Humor : Microsoft plans to buy Catholic Church : Richard Stallman Related Humor : Admin Humor : Perl-related Humor : Linus Torvalds Related humor : PseudoScience Related Humor : Networking Humor : Shell Humor : Financial Humor Bulletin, 2011 : Financial Humor Bulletin, 2012 : Financial Humor Bulletin, 2013 : Java Humor : Software Engineering Humor : Sun Solaris Related Humor : Education Humor : IBM Humor : Assembler-related Humor : VIM Humor : Computer Viruses Humor : Bright tomorrow is rescheduled to a day after tomorrow : Classic Computer Humor
The Last but not Least Technology is dominated by two types of people: those who understand what they do not manage and those who manage what they do not understand ~Archibald Putt. Ph.D
Copyright © 1996-2018 by Dr. Nikolai Bezroukov. www.softpanorama.org was initially created as a service to the (now defunct) UN Sustainable Development Networking Programme (SDNP) in the author free time and without any remuneration. This document is an industrial compilation designed and created exclusively for educational use and is distributed under the Softpanorama Content License. Original materials copyright belong to respective owners. Quotes are made for educational purposes only in compliance with the fair use doctrine.
FAIR USE NOTICE This site contains copyrighted material the use of which has not always been specifically authorized by the copyright owner. We are making such material available to advance understanding of computer science, IT technology, economic, scientific, and social issues. We believe this constitutes a 'fair use' of any such copyrighted material as provided by section 107 of the US Copyright Law according to which such material can be distributed without profit exclusively for research and educational purposes.
This is a Spartan WHYFF (We Help You For Free) site written by people for whom English is not a native language. Grammar and spelling errors should be expected. The site contain some broken links as it develops like a living tree...
|You can use PayPal to make a contribution, supporting development of this site and speed up access. In case softpanorama.org is down you can use the at softpanorama.info|
The statements, views and opinions presented on this web page are those of the author (or referenced source) and are not endorsed by, nor do they necessarily reflect, the opinions of the author present and former employers, SDNP or any other organization the author may be associated with. We do not warrant the correctness of the information provided or its fitness for any purpose.
Last modified: September 12, 2017