Variables from the monitor set will pass to the script so have the monitor set run a script when the threshold is met and in that script use the send email command. So something like this.
1. Monitor set created to kick off script when threshold met.
2. Script executes command and exports to file.
3. Get file info and store to variable.
4. Send Email
5. Use variables within email body to list information you want.
Monitor Set Variables:
Data Keys Description
<ad> Alarm duration
<ao> Alarm operator
<av> Alarm threshold
<dv> SNMP device name
<ln> Monitoring log object name
<lo> Monitoring log object type (Counter, Process, Service)
<lv> Monitoring log value
<mn> Monitor set name