I have a linux alert condition that will trigger email when the load avg of a core goes beyond threshold value using linux/unix component monitoring.
However , the email alert triggered does not have enough information. I would like to get the statistic data value in the email triggered...
Any help on setting the trigger conditions so that i can receive the statistic data in the email alert tirggered..
I would like to get output like the one pasted below
Sample Alert outputs:
Output: =====================================================
- Statistic.NFS_stale_count: 2
- Message.NFS_mounts: NFS Stale mount found
/share
/share1
Output: =====================================================
Statistic.Load_Average: 24.25
- Message.Load_Average: Load Average (24.25) is greater than CPU cores (24)
Output: =====================================================
- Statistic.Defunct_Process_count: 18
- Message.Defunct_Process: Defunct Processes exists are
Z 22113 [perl]
Z 22115 [perl]
Output truncated
This is the condition that i have given :
An issue on an object you are monitoring occurred at ${N=Alerting;M=AlertTriggerTime;F=DateTime}.
View full object details here: ${N=SwisEntity;M=DetailsUrl}.
View full alert details here: ${N=Alerting;M=AlertDetailsUrl}
Click here to acknowledge the alert: ${N=Alerting;M=AcknowledgeUrl}
${N=SwisEntity;M=Node.LastBoot}
This message was brought to you by the alert named: ${N=Alerting;M=AlertName}
Thanks
Vijay