Hello all,
I noticed I receive wrong data when I receive a disk space alert.
Example :
A few days ago I received an alert on a server because the /home partition. I'm using the template provided with Zabbix for Linux hosts monitoring (Template OS Linux by Zabbix agent).
The percentage is not correct, and if I compare to the values found in Monitoring > Latest Data, values don't match.
The notification uses the macro {EVENT.OPDATA} to display the value in the mail.
The template expression is (did not modify it) :
Zabbix server version : Zabbix - version 6.0.6
Zabbix server version : zabbix Agent 2 - version 6.0.3
Is someone having the same issue? Did someone manage to fix this?
Thanks,
Phil
I noticed I receive wrong data when I receive a disk space alert.
Example :
A few days ago I received an alert on a server because the /home partition. I'm using the template provided with Zabbix for Linux hosts monitoring (Template OS Linux by Zabbix agent).
- Data in the alert mail :
Start time : 2022.07.27 15:39:32
Operational data : Space used: 3.2 GB of 4.5 GB (90.99 %)
Operational data : Space used: 3.2 GB of 4.5 GB (90.99 %)
- Data in the resolution mail :
Resolved time : 2022.07.27 15:42:32
Operational data : Space used: 4.25 GB of 4.5 GB (75.16 %)
Operational data : Space used: 4.25 GB of 4.5 GB (75.16 %)
The percentage is not correct, and if I compare to the values found in Monitoring > Latest Data, values don't match.
- Values received during the alert timeframe :
2022-07-27 15:43:40
3432525824
2022-07-27 15:42:40
3432517632
2022-07-27 15:41:40
4566740992
2022-07-27 15:40:40
4566745088
2022-07-27 15:39:40
4287225856
2022-07-27 15:38:40
3432513536
2022-07-27 15:37:40
3432509440
3432525824
2022-07-27 15:42:40
3432517632
2022-07-27 15:41:40
4566740992
2022-07-27 15:40:40
4566745088
2022-07-27 15:39:40
4287225856
2022-07-27 15:38:40
3432513536
2022-07-27 15:37:40
3432509440
The notification uses the macro {EVENT.OPDATA} to display the value in the mail.
The template expression is (did not modify it) :
Code:
[B]last([/B][URL="https://zabbix.lan.lu-cix.lu/zabbix/disc_prototypes.php?form=update&itemid=29226&parent_discoveryid=29204&context=template"]/Template OS Linux by Zabbix agent/vfs.fs.size[{#FSNAME},pused][/URL][B])[/B]>{$VFS.FS.PUSED.MAX.CRIT:"{#FSNAME}"} and (([B]last([/B][URL="https://zabbix.lan.lu-cix.lu/zabbix/disc_prototypes.php?form=update&itemid=29225&parent_discoveryid=29204&context=template"]/Template OS Linux by Zabbix agent/vfs.fs.size[{#FSNAME},total][/URL][B])[/B]-[B]last([/B][URL="https://zabbix.lan.lu-cix.lu/zabbix/disc_prototypes.php?form=update&itemid=29224&parent_discoveryid=29204&context=template"]/Template OS Linux by Zabbix agent/vfs.fs.size[{#FSNAME},used][/URL][B])[/B])<5G or [B]timeleft([/B][URL="https://zabbix.lan.lu-cix.lu/zabbix/disc_prototypes.php?form=update&itemid=29226&parent_discoveryid=29204&context=template"]/Template OS Linux by Zabbix agent/vfs.fs.size[{#FSNAME},pused][/URL],1h,100[B])[/B]<1d)
Zabbix server version : zabbix Agent 2 - version 6.0.3
Is someone having the same issue? Did someone manage to fix this?
Thanks,
Phil