Speeding up a Zabbix installation

By jbayer - Last updated: Thursday, July 7, 2011 - Save & Share - Leave a Comment

The Zabbix dashboard uses a lot of javascript.  Javascript isn’t cached, so this is a way to force it to be cached.

This script assumes that Zabbix is installed in /usr/local/share/zabbix, if it is elsewhere you will have to modify the first few lines.

This script will rename the javascript files to PHP files, and then modify the Zabbix code to properly load them.

This works for Zabbix 1.8.3, but not yet for 1.8.5.

You will need to install the file:  js.header.php  in the zabbix directory.


  js-to-php-convert.sh (795 bytes, 485 hits)

  js.header.php (577 bytes, 641 hits)

Posted in Administration, Linux Installations, Zabbix • • Top Of Page

Write a comment