Ad Widget

Collapse

How to get File System name in action email?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • asteroidyorkton
    Member
    • Aug 2016
    • 53

    #1

    How to get File System name in action email?

    Free Space: {{HOSTNAME}:vfs.fs.size[c:,free].last(0)}

    That works fine in action message when I test but can we get the file system name to be detected from the trigger and resolve?. I was trying to include free and total in email action.

    I've tried {{HOSTNAME}:vfs.fs.size[{#FSNAME},free].last(0)} but that doesn't work.

    It would be really easy if the file system name got resolved. For example:
    Free space: {{HOSTNAME}:vfs.fs.size[{#FSNAME}],free].last(0)}
    Total space: {{HOSTNAME}:vfs.fs.size[{#FSNAME}],total].last(0)}

    Adding 2 or 3 trigger expression and using item.name2 works
    http://stackoverflow.com/questions/3...sing-an-action
    Last edited by asteroidyorkton; 30-08-2016, 20:29.
Working...