Configuring the monitoring and alarm policies
To configure alarm policies
- Login to BMC Helix Operations Management.
- From the Configuration menu, select Alarm Policies.
- Select an alarm policy; for example, BMC_Self_Mon_VMWare_Vmotion, and then click Edit.
- On the Update Alarm Policy page, in the Alarm Generation Conditions area, edit the instance criteria for your Agent host name or tag.
For example: - Repeat the steps to edit the instance criteria for your Agent host name or tag of all alarm policies.
- Review the configurations and enable the policies.
To configure the Self-Monitoring-Discovery-Appliance-Linux-Monitor policy
- Login to BMC Helix Operations Management.
- From the Configuration menu, select Monitoring Policies.
- In the Monitoring Policies tab, search for Self-Monitoring-Discovery-Appliance-Linux-Monitor.
- Click
beside the Self-Monitoring-Discovery-Appliance-Linux-Monitor policy, and click Edit.
- On the Edit Monitoring Policy page, specify the Agent Selection Criteria.
Agent Host Name is the name of your BMC Helix Monitor Agent. - On the Monitoring tab, under Monitoring Solutions, click
beside Linux, and select Edit.
- In the Edit Monitoring Configuration pane, under Remote Host Configuration, click
, and select Edit.
- In the Remote Host Configuration pane, specify the host name and password in respective fields.
Leave all other fields at their default values.
- Click OK.
- Review the configurations and enable the policy.
To configure the Self-Monitoring-Openshift-KM policy
- Login to BMC Helix Operations Management.
- From the Configuration menu, select Monitoring Policies.
- In the Monitoring Policies tab, search for Self-Monitoring-Openshift-KM.
- Click
beside the Self-Monitoring-Openshift-KM policy, and click Edit.
- On the Edit Monitoring Policy page, specify the Agent Selection Criteria.
- On the Monitoring tab, under Monitoring Solutions, click
, and select Edit.
- In the Edit Monitoring Configuration pane, click
, and then select Edit.
- In the OpenShift Cluster Details pane, specify the OpenShift environment name.
Leave all other fields at their default values.
- Click OK.
- Review the configurations and enable the policy.
To configure the Self-Monitoring-Opensearch policy
- Login to BMC Helix Operations Management.
- From the Configuration menu, select Monitoring Policies.
- In the Monitoring Policies tab, search for Self-Monitoring-Opensearch.
- Click
beside the Self-Monitoring-Opensearch policy, and select Edit.
- On the Edit Monitoring Policy page, specify the Agent Selection Criteria.
Agent Host Name is the name of your BMC Helix Monitor Agent. - On the Monitoring tab, under Monitoring Solutions, click
, and select Edit.
- In the Edit Monitoring Configuration pane, click
, and select Edit.
- In the Elasticsearch Host Details pane, in the Label field, replace itom with BMC Helix ITOM namespace.
- Leave all other fields at their default values.
- Update the Authentication Details section.
For example: bmcuser and Es_L0g#p@SS (unless changed) - Click OK.
- Review the configurations and enable the policy.
To configure the Self-Monitoring-Kafka policy
- Login to BMC Helix Operations Management.
- From the Configuration menu, select Monitoring Policies.
- In the Monitoring Policies tab, search for Self-Monitoring-Kafka.
- Click
beside the Self-Monitoring-Kafka policy and select Edit.
- On the Edit Monitoring Policy page, specify the Agent Selection Criteria.
Agent Host Name is the name of your BMC Helix Monitor Agent. - On the Monitoring tab, under Monitoring Solutions, click
, and select Edit.
- In the Edit Monitoring Configuration pane, click
, and select Edit.
- In the Environment Configuration pane, specify the environment name according to your business need.
The name can have 10 to 15 characters only.
Leave all other fields at their default values. - Click OK.
- Review the configurations and enable the policy.
To configure the Self-Monitoring-Redis policy
- Login to BMC Helix Operations Management.
- From the Configuration menu, select Monitoring Policies.
- In the Monitoring Policies tab, search for Self-Monitoring-Redis.
- Click
beside the Self-Monitoring-Redis policy and select Edit.
- On the Edit Monitoring Policy page, specify the Agent Selection Criteria.
Agent Host Name is the name of your BMC Helix Monitor Agent. - On the Monitoring tab, under Monitoring Solutions, click
, and select Edit.
- In the Edit Monitoring Configuration pane, click
, and select Edit.
- In the Redis Server Details pane, in the Host Name/IP Address field, replace itom with your BMC Helix ITOM namespace.
- Leave all other fields at their default values.
- Click OK.
- Review the configurations and enable the policy.
To configure Self-Monitoring-PostgreSQL policy
- Login to BMC Helix Operations Management.
- From the Configuration menu, select Monitoring Policies.
- In the Monitoring Policies tab, search for Self-Monitoring-PostgreSQL.
- Click
beside the Self-Monitoring-PostgreSQL policy and select Edit.
- On the Edit Monitoring Policy page, specify the Agent Selection Criteria.
Agent Host Name is the name of your BMC Helix Monitor Agent. - On the Monitoring tab, under Monitoring Solutions, click
, and select Edit.
- In the Edit Monitoring Configuration pane, click
, and select Edit.
- In the Environment Configuration pane, perform the following steps:
- Enter an environment name.
- In the PostgreSQL host field, replace itom with your BMC Helix ITOM namespace.
- Set the password to pGTest2020.
The password must match the password set in the secrets.txt. - Leave all other fields at their default values.
- Scroll down to the Custom SQL queries section, click
, and select Edit.
- In the Custom SQL queries pane, in SQL query field, replace the tenant ID with your tenant ID.
- Click OK.
- Review the configurations and enable the policy.
To configure the Self-Monitoring-PostgreSQL-Pool-level
- Login to BMC Helix Operations Management.
- From the Configuration menu, select Monitoring Policies.
- In the Monitoring Policies tab, search for Self-Monitoring-PostgreSQL-Pool-level.
- Click
beside the Self-Monitoring-PostgreSQL-Pool-level policy and select Edit.
- On the Edit Monitoring Policy page, specify the Agent Selection Criteria.
Agent Host Name is the name of your BMC Helix Monitor Agent. - On the Monitoring tab, under Monitoring Solutions, click
, and select Edit.
- In the Edit Monitoring Configuration pane, click
, and select Edit.
- In the Edit Monitoring Configuration pane, add your environment name, update the IP address of your PostgreSQL pod, and then set the password as pGTest2020.
Note: The password must match the password set in the secrets.txt.The [confluence_tip] macro is a standalone macro and it cannot be used inline. Click on this message for details.
- Scroll down to the Custom SQL queries section. Click
, and select Edit.
- In the SQL query field, update the tenant ID.
- Click Save.
- Repeat the steps to update the environment configurations (environment name, IP address of your PostgreSQL host, password, and tenant ID) for all the policies in all the pods.
Example: In the following image, there are two pods. Update the environment configurations for the policies in both pods. - Review the configurations and enable the policy.
To configure the Self-Monitoring-Discovery-Script-KM-Linux policy
- Login to BMC Helix Operations Management.
- From the Configuration menu, select Monitoring Policies.
- In the Monitoring Policies tab, search for Self-Monitoring-Discovery-Script-KM-Linux.
- Click
beside the Self-Monitoring-Discovery-Script-KM-Linux policy and select Edit.
- On the Edit Monitoring Policy page, specify the Agent Selection Criteria.
Agent Host Name is the name of your BMC Helix Monitor Agent. - On the Monitoring tab, under Monitoring Solutions, click
, and select Files.
- In the Monitor Configuration Files pane, perform the following steps:
- Make a note of the file path Customer_URLs.in.
- Delete the Customer_URLs.in file.
- Click Add.
- In the Target File Path field, enter the file path you copied, /opt/bmc/Customer_URLs.in.
- Click Attach file, browse to the location where you downloaded the script files, select a file, and click Add.
For more information, see Installing-BMC-Helix-Monitor-Agent.
- Click Add.
- Repeat the steps to add the /opt/bmc/discovery_rest_monitoring-V2.py file.
- Click Save.
- In the Edit Monitoring Configuration pane, click
, and select Edit.
- In the Devices pane, in the Scripts section, click
, and select Edit.
- In the Scripts pane, in the Script Path field, update the version of the Self-Monitoring-Discovery-Script-KM-Linux.
- Click Ok.
- Review the configurations and enable the policy.
9. To configure the Self-Monitoring-Ceph-Storage policy
- Login to BMC Helix Operations Management.
- From the Configuration menu, select Monitoring Policies.
- In the Monitoring Policies tab, search for Self-Monitoring-Ceph-Storage.
- Click
beside Self-Monitoring-Ceph-Storage policy to edit it.
- On the Monitoring tab, under Monitoring Solutions, click
, and select Edit.
- In the Edit Monitoring Configuration pane, click
beside the monitoring policy and select Edit.
In the Ceph Environment Configuration pane, specify the manager server name, Ceph server API port, and password in respective fields.
Leave all other fields at their default values.- Click OK.
- Review the configurations and enable the policy.
To configure the Self-Monitoring-Synthetic-Container-Agent-Discovery-Local-Login
- Login to BMC Helix Operations Management.
- From the Configuration menu, select Monitoring Policies.
- In the Monitoring Policies tab, search for Self-Monitoring-Synthetic-Container-Agent-Discovery-Local-Login.
- Click
beside the Self-Monitoring-Synthetic-Container-Agent-Discovery-Local-Login policy, and click Edit.
- On the Edit Monitoring Policy page, specify the Agent Selection Criteria.
Agent Host Name is the name of your BMC Helix Monitor Agent. - On the Monitoring tab, under Monitoring Solutions, click
, and select Files.
- In the Monitor Configuration Files pane, perform the following steps:
- Make a note of the file path Login-logout-discovery-local-v2.py.
- Delete the Login-logout-discovery-local-v2.py file.
- Click Add.
- In the Target File Path field, enter /opt/bmc/Patrol3/stm/bin/Login-logout-discovery-local-v2.py
- Click Attach file, browse to the location where you downloaded the script files, select a file, and click Add.
For more information, see Installing-BMC-Helix-Monitor-Agent.
- Click Save.
- On the Monitoring tab, under Monitoring Solutions, click
,and select Edit.
- In the Edit Monitoring Configuration pane, click
beside password and select Edit.
- In the Secret Variable List pane, update the passwords and click OK.
- Click OK and then click Save.
- Review the configurations and enable the policy.
To configure the Self-Monitoring-Zookeeper-Prometheus-Script-KM
- Login to BMC Helix Operations Management.
- From the Configuration menu, select Monitoring Policies.
- In the Monitoring Policies tab, search for Self-Monitoring-Zookeeper-Prometheus-Script-KM.
- Click
beside the Self-Monitoring-Zookeeper-Prometheus-Script-KM policy, and click Edit.
- On the Edit Monitoring Policy page, specify the Agent Selection Criteria.
Agent Host Name is the name of your BMC Helix Monitor Agent. - On the Monitoring tab, under Monitoring Solutions, click
, and select Files.
- In the Monitor Configuration Files pane, perform the following steps:
- Make a note of all the file path settings.ini.
- Delete the settings.ini file.
- Click Add.
- In the Target File Path field, enter /home/patrol/settings.ini.
- Click Attach file, browse to the location where you downloaded the script files, select a file, and click Add.
For more information, see Installing-BMC-Helix-Monitor-Agent.
- Repeat the process to attach the following files:
BHOMRestClient.py
ZooKeeperRestClient.py
zookeeper.py
logger.conf
- On the Monitoring tab, under Monitoring Solutions, click
and select Edit.
- In the Devices pane, do not change the device name. It must be localhost.
- In the Edit Monitoring Configuration pane, click
beside localhost and select Edit.
- In the Edit Monitoring Configuration pane, click
beside zookeeper.py and select Edit.
In the Scripts pane, in the Script Path field, specify the complete script path:
/usr/bin/python zookeeper.py -z thanos-querier.openshift-monitoring.svc.cluster.local -zp 9091 -s <tenant url> -p <tenant port> -ak <access key> -sk <secret key> -t <tenant id> -d
Example:
/usr/bin/python zookeeper.py -z thanos-querier.openshift-monitoring.svc.cluster.local -zp 9091 -s seal5-itom-demo.onbmc.com -p 443 -ak Z7OIB8RI2SZCCSLOUL7681JAULWNWT -sk BXmb5xZGoVe8mlqShD9U9Kiw7npZOfrcwI4EaMjzF62i9cv3Dh -t 151128433 -d
For more information, see Using API keys for external integrations in BMC Helix Portal documentation.
Leave all other fields at their default values.- Click OK.
- Review the configurations and enable the policy.
To configure the Self-Monitoring-Victoria-Metric policy
- Login to BMC Helix Operations Management.
- From the Configuration menu, select Monitoring Policies.
- In the Monitoring Policies tab, search for Self-Monitoring-Victoria-Metric.
- Click
beside the Self-Monitoring-Victoria-Metric policy, and click Edit.
- On the Edit Monitoring Policy page, specify the Agent Selection Criteria.
Agent Host Name is the name of your BMC Helix Monitor Agent. - On the Monitoring tab, under Monitoring Solutions, click
, and select Edit.
- In the Edit Monitoring Configuration pane, click
beside the monitoring policy and select Edit.
- In the Victoria Metric Account Details pane, specify a cluster name.
Make sure the name is short and suites your business application.
Leave all other fields at their default values.
- Click OK.
- Review the configurations and enable the policy.
To configure the Self-Monitoring-VMWare policy
- Login to BMC Helix Operations Management.
- From the Configuration menu, select Monitoring Policies.
- In the Monitoring Policies tab, search for Self-Monitoring-VMWare.
- Click
beside the Self-Monitoring-VMWare policy, and click Edit.
On the Edit Monitoring Policy page, specify the Agent Selection Criteria.
Specify the Agent that you deployed outside the Kubernetes cluster and has access to the vSphere configuration you are entering when configuring this policy.- On the Monitoring tab, under Monitoring Solutions, click
, and select Edit.
- In the Edit Monitoring Configuration pane, click
beside the monitoring policy and select Edit.
- In the vCenter/ESX server Details pane, specify the vSphere details.
If required, you can change the port.
Leave all other fields at their default values.
- Scroll down and expand the Object Filtering Details. Update the filters for all VMWare entities.
- Click OK and then click Save.
- Review the configurations and enable the policy.
Where to go from here