i am running Zabbix 3.4.5 and want to generate disk alerts based on free space (in GB). I am using SNMP for data gathering and created one item prototype with following settings
name: {#SNMPVALUE}: Free space
type: Calculated
key: vfs.fs.free[storageFree.{#SNMPINDEX}]
formula: (last(vfs.fs.units.total[hrStorageSize.{#SNMPINDEX}])*last(vfs.fs.units[hrStorageAllocationUnits.{#SNMPINDEX}]))-(last(vfs.fs.units.used[hrStorageUsed.{#SNMPINDEX}])*last(vfs.fs.units[hrStorageAllocationUnits.{#SNMPINDEX}]))
type of information: numeric
units: B
Then I created a trigger prototype with following settings for one server and it works fine
{test-ad1:vfs.fs.free[storageFree.2].avg(1m)}<2147483648
However when I try to create another trigger prototype for another server like following and hit save it gives the "Trigger prototype "<name>" must contain at least one item prototype" error message.
{test-ad2:vfs.fs.free[storageFree.2].avg(1m)}<2147483648
Any help to resolve this is highly appreciated
name: {#SNMPVALUE}: Free space
type: Calculated
key: vfs.fs.free[storageFree.{#SNMPINDEX}]
formula: (last(vfs.fs.units.total[hrStorageSize.{#SNMPINDEX}])*last(vfs.fs.units[hrStorageAllocationUnits.{#SNMPINDEX}]))-(last(vfs.fs.units.used[hrStorageUsed.{#SNMPINDEX}])*last(vfs.fs.units[hrStorageAllocationUnits.{#SNMPINDEX}]))
type of information: numeric
units: B
Then I created a trigger prototype with following settings for one server and it works fine
{test-ad1:vfs.fs.free[storageFree.2].avg(1m)}<2147483648
However when I try to create another trigger prototype for another server like following and hit save it gives the "Trigger prototype "<name>" must contain at least one item prototype" error message.
{test-ad2:vfs.fs.free[storageFree.2].avg(1m)}<2147483648
Any help to resolve this is highly appreciated
Comment