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

The main configuration parameters


Here, we will try to talk about the main configuration parameters for frontend performance used by Zabbix. When considering basic items to ensure acceptable performance from the implementation of Zabbix, we basically have to activate the compression modules (mod_compress, mod_gzip, mod_deflate, and so on) in those web servers in this chapter.

Compression in Apache

For Apache, it is important to ensure that we are with the active compression module. Therefore, we must verify that mod_deflate and/or mod_gzip are installed and configured.

In httpd.conf (the location will vary according to your operational system), perform these steps:

  • Check whether the module is active:

    [root]# grep deflate_module /etc/httpd/conf/httpd.conf
    LoadModule deflate_module modules/mod_deflate.so
  • Add it to Zabbix's virtual host:

    <IfModule mod_deflate.c>
      AddOutputFilterByType DEFLATE text/plain
      AddOutputFilterByType DEFLATE text/css
      AddOutputFilterByType DEFLATE application/x-javascript...