Discover and monitor service names with wildcard

Some notes on discovering and monitoring services using a wildcard from Kev's article here.

I had to monitor the Commvault application and due to some upgrade issues, the services had different display names on the Commserv servers. On the agent side, not all of them had identical services installed. The one thing they all had in common was that all service names started with "Gx".

There was another problem where the Commserv servers were setup in a primary/DR config. If there was a failover we'd have to manually change the monitoring. The approach I would normally take here is to create classes for each role type and target monitors to them. It simply wasn't worth the effort due to the inconsistencies,

So far this is working well. One weird thing I noticed is when it alerts it's putting {1} for the alert name. I think this is because it's dynamically generated depending on what the service name is.

Finished MP here.

Comments