Ad Widget

Collapse

Help - Need Multiple Expression Trigger For Disk Space

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tk-421
    Junior Member
    • Jul 2016
    • 9

    #1

    Help - Need Multiple Expression Trigger For Disk Space

    Hello All,
    I'm looking to create a multiple expression trigger for Windows servers regarding disk space. I have two trigger prototypes defined:

    Free disk space is less than 5% on volume {#FSNAME}
    and
    Free disk space is less than 10% on volume {#FSNAME}

    Both triggers work, however, when I trigger a space alert for lets say 3% free space, I receive two events - one for less than 5% free and one for less than 10% free. I would like to only have ONE event trigger if a disk goes below 5%I messed around with the expressions, and thought the following would work:

    {Win_Base_Test:vfs.fs.size[{#FSNAME},pfree].last(0)}<10 and {Win_Base_Test:vfs.fs.size[{#FSNAME},pfree].last(0)}>5

    however it doesn't...Anyone have any suggestions? Thanks!
  • tk-421
    Junior Member
    • Jul 2016
    • 9

    #2
    All set. I figured out how to make this work - I flipped the expression to be the following:

    {Win_Base_Test:vfs.fs.size[{#FSNAME},pfree].last(0)}<5 and {Win_Base_Test:vfs.fs.size[{#FSNAME},pfree].last(0)}>10

    Upon updating the trigger, the events are working as they should.


    Thanks

    Comment

    Working...