Book Image

Zabbix Performance Tuning

By : Luciano Alves, Luciano de C Alves
Book Image

Zabbix Performance Tuning

By: Luciano Alves, Luciano de C Alves

Overview of this book

Table of Contents (20 chapters)
Zabbix Performance Tuning
Credits
Foreword
About the Author
Acknowledgements
About the Reviewers
www.PacktPub.com
Preface
Index

Testing compression


After the changes, restart the web server (Apache, Nginx, or lighttpd) and check the logs for errors.

In a basic test with compression modules, we're able to identify that we have a considerable gain in file size. The following table shows the level of compression and page load times (tr_staus.php is the page that shows the status of the triggers) on a virtual server with 500 active triggers:

Compression modules

Apache without mod_deflate

Nginx without gzip

lighttpd without mod_compress

Apache with mod_deflate

Nginx with gzip

lighttpd with mod_compress

Size

1.2 MB

1.2 MB

1.2 MB

51.5 KB

51.5 KB

51.5 KB

Time

~5 sec

~6 sec

~6 sec

~5 sec

~3 sec

~4 sec

Of course, the tests may have different results with different hardware. The focus is on exemplifying how compression impacts the visualization of Zabbix screens.

If you don't have access to the web server settings (to enable the modules), you can add a small piece of PHP code in each .php file in Zabbix, and...