Switching to Monitoring Automation: How to deploy monitoring configuration With the Operations Manager i new feature called Monitoring Automation it is possible to monitor a server or even a complete IT infrastructure fully automatically. The monitoring can be done be using either the Operations Agent or agent-less monitoring based on SiteScope. Even a combination is possible to get the benefits of both worlds.
In this article I will concentrate on how to manually monitor the system infrastructure of a server. System infrastructure means that all relevant system attributes like CPU, Memory, Network and Disk size will be monitored and failures will be reported. In addition metrics will be stored to be able to do drill-down analysis using Performance Graphs which is also part of OMi. But before we can deploy monitoring configuration we need to understand what a monitoring configuration means.
What is MA monitoring configuration? Monitoring configuration is a set of monitoring objects which can be used to take a server or a group of servers under monitoring. Monitoring configuration can be created manually using Policy editors or out-of the box monitoring can be used. For MA a lot of out-of box monitoring is already available which is called a Management Pack (MP). E.g. if you are using Vertica for Big Data analysis you can use Management Pack for Vertica (see also Visualize, monitor and remediate your Vertica environment with OMi Management Pack for Vertica). Or in case you are using MSSQL Database there is a MP ready to be used (see also A new SQL to the IT Operations Management cockpit story). And in case you want to monitor your virtual infrastructure? No problem use the OMi Management Pack For Infrastructure. It includes the monitoring configuration for the virtual infrastructure. All these management packs are available for download at HP Live Network (HPLN): HPLN
For now I will focus on the OMi Management Pack For Infrastructure. This Management Pack is already installed if you have completed the steps in the first blog article. If not please take a minute and install the content pack. A brief description how to install this management pack is part of OMi 9.24 Quickstart Guide
So the next question is:
Where are the Management Packs? Whenever a MP is installed it is registered in the OMi Platform. The OMi Content Manager is the place where all Management Packs are registered. We can see all Management Packs which are available here: OMi -> Operations Management -> Setup -> Content Packs:
The Content Packs shows the name of the Content Pack on the left hand side and on the right we can see a summary of the contents and artifacts which are included.
The OMi Management Pack For Infrastructure consist of several items such as. Correlation Rules, Indicators or Mapping Rules you already know from OMi. But there are also MA specific items which might be new for you:
Policy Templates: This is basically the configuration and instrumentation to monitor a server. Already known as Policies from Operations Manager (both Unix or Windows). But there is one important difference: Parameters! Every Policy Template in MA can have parameters. This allows to have much more flexibility when using values in policies. No more need to create a new policy template version in case values need to be changed. Just use a parameter which can easily be tuned or changed without the need to modify the policy.
Aspects: This is a complete new item introduced with MA. It can be compared to what you know as Policy Groups from Operations Manager (OM) but with more power. For OMi Management Pack For Infrastructure there are e.g. Aspects to monitor CPU Performance, Memory and Swap Utilization and Space Availability and Disk IOPS. The Aspects can be used to group policy templates. In addition parameters can be grouped or edited. Another important Aspect feature is conditional deployment. Every policy template can be deployed based on conditions specific to the Configuration Item (CI). E.g. depending on operation system type like Unix or Windows policy templates can be selectively deployed. It is something you simply configure once. Then MA will automatically take care that the correct policies get deployed depending on the condition valid for the specific CI.
Management Template: A Management Template (MT) can be used to group a list of aspects together. Management Template can fully benefit of application topologies and models in RTSM. Using MT a composite application can be monitored fully automatically.
How to deploy the Management Packs? In Monitoring Automation a Management Pack can be configured to be deployed fully automatically or manually.
For now let us concentrate on the manual deployment of a Management Pack. As prerequisite for the OMi Management Pack For Infrastructure we need an Operations Agent installed and connected to the OMi System. The detailed step how to do it is explained in the "Install Agent" chapter of the OMi Quickstart Guide
To deploy the management pack we use the Management Template which is part of the OMi Management Pack. Therefore we navigate to the Management Template & Aspects Task: Omi -> Operations Management -> Admin -> Monitoring -> Management Templates & Aspects:
From here we select the Essential System Management and click on Assign & Deploy button. This brings up a dialog which asks for the name of the system. We simply pick the system where we have installed the Operations Agent and select next. As next steps we are able to fine tune parameters. This step is an optional step. The parameters from the Management Pack already bring good default values -- no need to tune them.
After clicking on the Finish button we should see an assignment summary that all deployments have been successfully created.
This means the Operations Agent has received the monitoring configuration and the server’s system infrastructure is taken under monitoring. Congratulations, well done! Now your system is monitored.
If you switch to the MyBSM View and select the Event Overview Dashboard you are able to see infrastructure events for your monitored server. You will be informed whenever your server is experiencing infrastructure alerts.
In additional blogs I will cover other topics about Monitoring Automation and typical deployment scenarios – stay tuned.