Hello everybody,
I'm using template "Module Interface SNMPv2" with item prototypes, trigger prototypes. I have this trigger for high bandwidth usage:
({Template Module Interfaces SNMPv2:net.if.in[ifHCInOctets.{#SNMPINDEX}].avg(15m)}>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*{Template Module Interfaces SNMPv2:net.if.speed[ifHighSpeed.{#SNMPINDEX}].last()} or
{Template Module Interfaces SNMPv2:net.if.out[ifHCOutOctets.{#SNMPINDEX}].avg(15m)}>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*{Template Module Interfaces SNMPv2:net.if.speed[ifHighSpeed.{#SNMPINDEX}].last()}) and
{Template Module Interfaces SNMPv2:net.if.speed[ifHighSpeed.{#SNMPINDEX}].last()}>0
The following items :
SNMPv2:net.if.speed[ifHighSpeed.{#SNMPINDEX} is the interface bandwidth capacity. Most of the time 100Mbps or 1Gbps.
But I want to monitor different WAN Link with different Value. For example
200Mbps | 500Mbps
And I want to have alert when I'm using 90% of my wan link.
This is for different location, different device and interfaces.
So I would like to know if someone know how can I do that with template and macro for example.
I tried different things but I didn't find solution.
Thanks in advance
I'm using template "Module Interface SNMPv2" with item prototypes, trigger prototypes. I have this trigger for high bandwidth usage:
({Template Module Interfaces SNMPv2:net.if.in[ifHCInOctets.{#SNMPINDEX}].avg(15m)}>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*{Template Module Interfaces SNMPv2:net.if.speed[ifHighSpeed.{#SNMPINDEX}].last()} or
{Template Module Interfaces SNMPv2:net.if.out[ifHCOutOctets.{#SNMPINDEX}].avg(15m)}>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*{Template Module Interfaces SNMPv2:net.if.speed[ifHighSpeed.{#SNMPINDEX}].last()}) and
{Template Module Interfaces SNMPv2:net.if.speed[ifHighSpeed.{#SNMPINDEX}].last()}>0
The following items :
SNMPv2:net.if.speed[ifHighSpeed.{#SNMPINDEX} is the interface bandwidth capacity. Most of the time 100Mbps or 1Gbps.
But I want to monitor different WAN Link with different Value. For example
200Mbps | 500Mbps
And I want to have alert when I'm using 90% of my wan link.
This is for different location, different device and interfaces.
So I would like to know if someone know how can I do that with template and macro for example.
I tried different things but I didn't find solution.
Thanks in advance
Comment