Ad Widget

Collapse

Network interface errors in last day

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ahowell
    Member
    • Jan 2011
    • 66

    #1

    Network interface errors in last day

    Hi,

    I'm trying to write a trigger that will alert on network interface errors in the last day. Any suggestions?

    I've tried the following which doesn't seem to work

    This is trigger against a LLD rule in 1.9.8

    {Template_WEL_Linux:net.if.total[{#IFNAME},errors].last(0)} - {Template_WEL_Linux:net.if.total[{#IFNAME},errors].last(0,86400)} > 0
    Last edited by ahowell; 29-01-2012, 15:00.
  • ahowell
    Member
    • Jan 2011
    • 66

    #2
    Think I just needed some brackets around the arthimetic. This seems to work

    ({Template_WEL_Linux:net.if.total[{#IFNAME},errors].last(0)}-{Template_WEL_Linux:net.if.total[{#IFNAME},errors].last(0,86400)})>0

    Comment

    Working...