Operating System - HP-UX
1752592 Members
3020 Online
108788 Solutions
New Discussion юеВ

How to generate an email from a messag that is warning to a critical

 
SOLVED
Go to solution
Huong Trinh
Regular Advisor

How to generate an email from a messag that is warning to a critical

I have a fwdasemail policy setup to generate emails when criticals arrive for diskspace. however when it is a warning alert then a duplicate arrives that is a critical it does not email. is there a work around for that or do i have to just do a minor change? thanks for the help.
4 REPLIES 4
Larry Klasmier
Honored Contributor

Re: How to generate an email from a messag that is warning to a critical

I would sugggest that you change the message key in diskspace policy, so that when the critical threshold is crossed a new alert is generated. My looks something like this:

<$MSG_SEV>:<$MSG_NODE_NAME>:<$MSG_GRP>::filesystem:space

Notice the Serverity is part of the message key.
Huong Trinh
Regular Advisor

Re: How to generate an email from a messag that is warning to a critical

How would i go about changing it? this is what is in the message key below.

<$MSG_NODE_NAME> <$NAME> <$SESSION(FSDrive)>

do you mean add the severity into the message key and it would generate a seperate message?
Amal I K_1
Trusted Contributor
Solution

Re: How to generate an email from a messag that is warning to a critical

Modify the "Acknowledge message key" to
<$MSG_NODE_NAME> <$NAME> <$SESSION(FSDrive)> <$MSG_SEV>
this will automatically acknowledge the warning alert when it crosses the critical threshold.
create or modify the policy to forward as email to capture only the critical alerts ( for omw)

check the notification only for critical condition (for omu)
Huong Trinh
Regular Advisor

Re: How to generate an email from a messag that is warning to a critical

Amal! thanks for the help i will try it tomorrow and report back. thanks again.