Answer the question
In order to leave comments, you need to log in
Can't return macro from zabbix to email in gigabytes?
Trigger
{ My pc:
vfs.fs.size
[C:,free].last()}<100G - below 100
then
notification severity: {TRIGGER.SEVERITY}
Trigger URL: {TRIGGER.URL}
Last value: {{HOSTNAME}:{TRIGGER.KEY}.last(0)}
MAX in 15 minutes: {{HOSTNAME}:{TRIGGER.KEY}. max(900)}
MIN for 15 minutes: {{HOSTNAME}:{TRIGGER.KEY}.min(900)}
All values are given, the size is in megabytes, but how to do it in GB?
###### The
report comes like this
Trigger: vfs.fs.size[fs,free]
Trigger status: PROBLEM
Trigger severity: Disaster
Trigger URL:
Last value: 96144666624
MAX in 15 minutes: 236146003968
MIN in 15 minutes: 96142012416
Item values:
####
Last value: 96144666624 % (FreeDiskSpace MByte)"
MAX in 15 minutes: 236146003968% (FreeDiskSpace MByte)
" )"
####
Answer the question
In order to leave comments, you need to log in
It turned out that everything is elementary, in the trigger, in units of measurement, you need to put the Latin B, the account will come not in kilobytes but in GB.
==============
Clipping of the one who helped.
=====================
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question