Ad Widget

Collapse

Key's within Actions

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • cm2000
    Junior Member
    • Mar 2009
    • 29

    #1

    Key's within Actions

    Hi,
    Is it possible to display a key value within an action, that is not in the trigger that was raised?

    e.g.
    One of my triggers raises an email alert if the disk space is less than 10%.

    Action:
    Code:
    Hostname: {HOSTNAME}
    Value: {ITEM.LASTVALUE}
    Trigger:
    Code:
    ({CM031:vfs.fs.size[c:,pfree].last(0)}<10)& ({CM031:vfs.fs.size[c:,pfree].time(0)}>050000)& ({CM031:vfs.fs.size[c:,pfree].time(0)}<230000)

    On my message within the action I'd like to also display to total disk space in GB, and free Disk space in GB.

    I've tried as per page 92 of manual as below:
    {mycomputer:vfs.fs.size(c:,total)}. This returns *UNKNOWN* in the email.
    I've also tried {mycomputer:vfs.fs.size[c:,total]} which returns this in text.

    Any ideas, or is this not possible?

    Tom
Working...