Hello,
I'm too lazy to enter the Zabbix webpage to check for new releases, so I made Zabbix Server to check that for me and display "warning" on the dashboard.
All these steps are made on zabbix server.
First, in system crontab I wrote command to get latest zabbix release.
Once a day is enough for me:
crontab -e
Zabbix Item, check every 24 hours (86400 seconds):
Zabbix Trigger:
That's all.
Cheers!
I'm too lazy to enter the Zabbix webpage to check for new releases, so I made Zabbix Server to check that for me and display "warning" on the dashboard.
All these steps are made on zabbix server.
First, in system crontab I wrote command to get latest zabbix release.
Once a day is enough for me:
crontab -e
Code:
00 9 * * * wget --output-document=/tmp/zabbix.html http://sourceforge.net/projects/zabbix/files/ZABBIX%20Latest%20Stable/ && cat /tmp/zabbix.html|grep tar.gz|grep Download|sed "s/[ \t][ \t]*/ /g"|cut -d " " -f 3 > /tmp/zabbix_release.txt
Code:
system.run[cat /tmp/zabbix_release.txt,wait]
Code:
{hostname:system.run[cat /tmp/zabbix_release.txt,wait].abschange(0)}>0
Cheers!
)
Comment