Ad Widget

Collapse

Check for new Zabbix releases HOTWO (Linux)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • skygge
    Member
    • Jun 2009
    • 46

    #1

    Check for new Zabbix releases HOTWO (Linux)

    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

    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
    Zabbix Item, check every 24 hours (86400 seconds):
    Code:
    system.run[cat /tmp/zabbix_release.txt,wait]
    Zabbix Trigger:
    Code:
    {hostname:system.run[cat /tmp/zabbix_release.txt,wait].abschange(0)}>0
    That's all.
    Cheers!
  • nelsonab
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2006
    • 1233

    #2
    But you're on the forum and they're always announced here. ;-)
    RHCE, author of zbxapi
    Ansible, the missing piece (Zabconf 2017): https://www.youtube.com/watch?v=R5T9NidjjDE
    Zabbix and SNMP on Linux (Zabconf 2015): https://www.youtube.com/watch?v=98PEHpLFVHM

    Comment

    • skygge
      Member
      • Jun 2009
      • 46

      #3
      I'm on the forum, yeah, twice a year

      Comment

      • JBo
        Senior Member
        • Jan 2011
        • 310

        #4
        Hi,

        Originally posted by skygge
        I'm on the forum, yeah, twice a year
        I have subscribed to RSS of "Zabbix Announcements" section in the forum.

        It works most of the time (1.8.5 wasn't announced there )

        Regards,
        JBo

        Comment

        Working...