Ad Widget

Collapse

How can i monitor umount?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sysadm01
    Junior Member
    • Sep 2015
    • 19

    #1

    How can i monitor umount?

    Hello.
    I want monitor filesystem mount status.
    I want make trigger action,When umount file system.

    So I made this trigger but not work.
    =======
    {Linux Server Default Template:vfs.fs.size[{#FSNAME},total].nodata(90)}<>0
    =======

    Who can make work this trigger?
  • LenR
    Senior Member
    • Sep 2009
    • 1005

    #2
    When the umount happens, that item returns the space info for the filesystem containing the mount target.

    Here is the key I use for an item to determine mount status (as a item prototype)

    vfs.file.regmatch[/etc/mtab,{#FSNAME} ]

    Comment

    Working...