Hello,
I am trying to construct trigger expression, where i need to obtain allocated and free DHCP ip scope, and if it goes below 20% need to raise alert.Below are item names
DHCP Free
DHCP Allocated
Expression on triggerprototype:
Any pointers are greatly helpful.
Thans
I am trying to construct trigger expression, where i need to obtain allocated and free DHCP ip scope, and if it goes below 20% need to raise alert.Below are item names
DHCP Free
Code:
system.run["C:\\zabbix\\scripts\\dhcpscopefree.bat {#DHCPSCOPE}"]
Code:
system.run["C:\\zabbix\\scripts\\dhcpscopeallocated.bat {#DHCPSCOPE}"]
Code:
(({dhcpScopeTemplate:system.run["C:\\zabbix\\scripts\\dhcpscopefree.bat {#DHCPSCOPE}"].last(0)} * 100)/
({dhcpScopeTemplate:system.run["C:\\zabbix\\scripts\\dhcpscopeallocated.bat {#DHCPSCOPE}"].last(0)}+{dhcpScopeTemplate:system.run["C:\\zabbix\\scripts\\dhcpscopefree.bat {#DHCPSCOPE}"].last(0)}))<20
Thans

Comment