Ad Widget

Collapse

Correct Expression for regmatch mdstat monitoring

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Alex_Leo
    Junior Member
    • Oct 2020
    • 1

    #1

    Correct Expression for regmatch mdstat monitoring

    Hey Guys,

    I have the following expression that results in Cannot evaluate function vfs.file.regmatch[/proc/mdstat,_].last(), item not supported and trigger going into unknown state.
    The expression itself: {vfs.file.regmatch[/proc/mdstat,raid].last(0)}=1 and {vfs.file.regmatch[/proc/mdstat,_].last(0)}=1
    Anyone know why it's throwing an error? Is underscore is the problem here?

Working...