Install Zabbix 3.4 server on CentOS 7

Let’s install the dependencies first:
yum install mariadb-server mariadb-embedded mariadb-devel httpd php php-gd php-bcmath php-ctype php-xml php-xmlreader php-xmlwriter php-session php-mbstring php-ldap php-gettext php-mysqli pcre pcre-devel libevent libevent-devel libssh2 libcurl libcurl-devel net-snmp-devel net-snmp-agent net-snmp-libs libxml2 libxml2-devel

Edit /etc/php.ini file and change this variables to:
max_execution_time = 600
max_input_time = 600
memory_limit = 256M
post_max_size = 32M
upload_max_filesize = 16M
date.timezone = Europe/Rome

Continue reading “Install Zabbix 3.4 server on CentOS 7”

Install Symon / Symux + Syweb on FreeBSD 10.3

NB: this is an old article of mine, revised.

Symon is a useful tool that collect data like cpu/bandwidth/whatever usage and display it with nice graphs, like this for example:

symon_example
First of all, install symon! Since it haven’t configuration options you can use pkg install symon or go to /usr/ports/sysutils/symon and run make install clean.
After a succesful installation, you have to copy your default symon.conf and symux.conf to etc/ directory.
If you have installed symon with the default prefix (/usr/local) you have simply to do
cp /usr/local/share/examples/symon/sym* /usr/local/etc/
Now edit the configuration files, symon.conf and symux.conf.

Continue reading “Install Symon / Symux + Syweb on FreeBSD 10.3”

New Relic is cool

New Relic is a web tool that monitor the performances of your web server, including web pages load time, database performances, availability and so on.

Here is the main panel (free account):

It’s cool, really. It gives you a complete way to check instantly the state of your applications, whether they are made with PHP, Java, Python, .NET or Ruby.
Plus, they’re nice guys! And they give a you a t-shirt, for free!

Mailgraph on FreeBSD

Have you just installed mailgraph and are you asking yourself “and now???”
Let’s see how to get it running on FreeBSD.
After installation copy your /usr/local/www/cgi-bin/mailgraph.cgi to your cgi-bin directory, default is /usr/local/www/apache24/cgi-bin/ and change the owner to www:www :

cp /usr/local/www/cgi-bin/mailgraph.cgi /usr/local/www/apache24/cgi-bin/
chown www:www /usr/local/www/apache24/cgi-bin/mailgraph.cgi

Be sure to have this line: Continue reading “Mailgraph on FreeBSD”

Install Symon / Symux + Syweb on FreeBSD 7.2

Symon is a useful tool that collect data like cpu/bandwidth/whatever usage and display it with nice graphs, like this for example:

symon_example
First of all, install symon! Since it haven’t configuration options you can use pkg_add -r symon or go to /usr/ports/sysutils/symon and run make install clean.
After a succesful installation, you have to copy your default symon.conf and symux.conf to etc/ directory.
If you have installed symon with the default prefix (/usr/local) you have simply to do
cp /usr/local/share/examples/symon/sym* /usr/local/etc/
Now edit the configuration files, symon.conf and symux.conf.

Continue reading “Install Symon / Symux + Syweb on FreeBSD 7.2”