Ad Widget

Collapse

wget/curl not retrieving sysmapid(s) as png files in 3.4 Upgrade

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • cwhite
    Member
    • Aug 2015
    • 46

    #1

    wget/curl not retrieving sysmapid(s) as png files in 3.4 Upgrade

    Have been using Zabbix since 2.2, ran to 3.2 upgrade last year and recently started rolling out upgrades to our instals to 3.4.

    Huge performance boosts noticeable in our larger installs - one area that has totally been buggered is grabbing our maps as .png image files from our 3.4 installs. We do this to create a monitoring url within our internal wiki for all our remote sites. Its a simple bash script run every 5 minutes from cron, we tried curl alternatives to no avail either.

    I did noticed the url naming changed slightly so we have updated our scripting we use for this - as an example

    in 3.2 and previous:
    wget -O /var/www/wiki/images/4/4f/Map3.png "http://zabbixip/zabbix/map.php?sysmapid=4&severity_min=0"

    in 3.4:
    wget -O /var/www/wiki/images/4/4f/Map3.png "http://zabbixip/zabbix/zabbix.php?action=map.view&sysmapid=4&severity_min =0"

    Issue being no permissions have changed, and running manually will grab and download on 3.4 but seems now instead of creating an png file it is grabbing raw xml/html of the url and not saving as an image capture as before. Logging our of Zabbix and using same url in any browser takes you to the 'guest' view as before, yet no readable image is retrieved now.

    Any insight or suggestions to restore what we are trying to do is appreaciated
  • cwhite
    Member
    • Aug 2015
    • 46

    #2
    Well my apologies -

    Guess reading the change log would have helped - so wget grabs json info and maps are now Vector files. So I understand the functionality that comes with svg, as we use vector files for our needs daily, but was there a plan to export/automate as described to embedd within external webpage as before 3.4? Even the grafana integration is broken now?

    guess this post was re-dumb-dunt.......

    Comment

    Working...