Hello,
I've created a template to monitor pfsense firewall system updates. To do that I've created an item with a command which checks for an available update version. This command returns either a version number as a text string when a new version is available or an empty string when there is no update.
I tested the item with zabbix_agentd -t and it seems to work well:
On a up-to-date system:
[2.4.4-RELEASE][root@XXX]/root: zabbix_agentd -t pfsense.update
pfsense.update [t|]
When an update is available:
[2.4.4-RELEASE][root@XXX]/root: zabbix_agentd -t pfsense.update
pfsense.update [t|2.4.4_2]
The issue I have is that Zabbix does not override the item value (non-empty) with the new empty value once the system has been updated. How should I configure the item so the empty value is recorded over the non-empty value when the ugprade has been performed ? Is it possible or should I do things differently ?
Thanks,
Charles
I've created a template to monitor pfsense firewall system updates. To do that I've created an item with a command which checks for an available update version. This command returns either a version number as a text string when a new version is available or an empty string when there is no update.
I tested the item with zabbix_agentd -t and it seems to work well:
On a up-to-date system:
[2.4.4-RELEASE][root@XXX]/root: zabbix_agentd -t pfsense.update
pfsense.update [t|]
When an update is available:
[2.4.4-RELEASE][root@XXX]/root: zabbix_agentd -t pfsense.update
pfsense.update [t|2.4.4_2]
The issue I have is that Zabbix does not override the item value (non-empty) with the new empty value once the system has been updated. How should I configure the item so the empty value is recorded over the non-empty value when the ugprade has been performed ? Is it possible or should I do things differently ?
Thanks,
Charles
Comment