VMware Cloud Community
Dave2013
Contributor
Contributor

I have a question about Hyperic alerts and actions

Hi,

Can someone tell me if there's a way to configure Hyperic to do the following:

I want an alert to fire when a specific condition is met like low disk space, high cpu, etc. and I want the alert to fire an action either a script/exe.

Then if 10 minutes later the condition is still there I want a second and perhaps different alert/action to fire. 

It doesn't necessary have to be a different alert/action as long as it's being checked periodically.

Anyone know how to accomplish this in Hyperic? 

Thanks

Dave

Tags (3)
0 Kudos
6 Replies
admin
Immortal
Immortal

Hi Dave,

Hyperic has an alert mechanism that allows you to run actions when alert fires. Script is one of those actions.

Here is a link to Hyperic documentation that handles the alert mechanism.

Alerts and Alert Definitions

Good Luck,

Tal

0 Kudos
abhilashhb
VMware Employee
VMware Employee

Hi Dave,

Welcome to the community. You can configure SNMP trap and use vCenter orchestrator to run a workflow once the alert if triggered which will in turn trigger a workflow to run on vCO.

Abhilash B
LinkedIn : https://www.linkedin.com/in/abhilashhb/

0 Kudos
Dave2013
Contributor
Contributor

Hi Tal,

Thanks for the help.

I see how the alert can be configure to run an action but how would I go about configuring it so that 10 minutes later it

checks the condition (low disk, high cpu, etc) and if it is still a problem it would run a second alert/action?

Dave

0 Kudos
admin
Immortal
Immortal

Hi Dave,

Try to use the escalation mechanism:

Configure and Manage Escalations

Tal

0 Kudos
Dave2013
Contributor
Contributor

I thought about that but I thought an escalation cannot run a script or .exe.

Am I wrong about that?

0 Kudos
admin
Immortal
Immortal

Hi Dave,

Escalation cannot run a script but you can try to use Suppress Alerts action.

Tal

0 Kudos