Author: sq4ind

Deleting tons of files in Linux using rsync

If You have a problem with deleting tons of files in linux (when for example You’ve came across this problem: /bin/rm: Argument list too long.) You can try find, perl scripts and so on (you can find some more info here),

Posted in Uncategorized Tagged with: , , , ,

Zabbix – check if host is on dnsbl

Sometimes You need to monitor status of Your host in case it is blacklisted (especially mail servers). I wrote simple script and template for Zabbix to do this. Here it is: zabbix_dnsbl This is early version, so feel free to

Posted in Uncategorized Tagged with: , , ,

Restoring corrupted InnoDB MySQL databases

Recently my Zabbix MySQL database was corrupted. Unfortunately I’ve needed historical data (database backup was too old), so there was only one way: restore everything I can from corrupted database. On the other hand I had every table in the

Posted in Uncategorized Tagged with: , , ,

Quick Tip: Centos 6.5 and zabbix agent 2.2.1

If You are facing with one of the following problems after upgrading CentOS and Zabbix agent to the latest stable realese (CentOS 6.5 and zabbix agent 2.2.1): You cannot get autodiscovered items data (for examle: network interfaces bandwidth) zabbix cannot

Posted in Uncategorized Tagged with:

Using OMSA and snmp on CentOS to monitor Dell servers in zabbix.

Recently I’ve needed to configure more advanced monitoring of Dell servers with hardware Raid, becasue of disk failure in one of my servers. I’ve came across a lots of information how to configure OMSA in Centos, but every description and howto

Posted in Uncategorized Tagged with: , , ,

Running raspbian in QEMU on Fedora 19

As I mentioned earlier (Zabbix templates for Raspberry PI), I want to develop Zabbix template for Raspebrry PI, but unfortunatelly my Raspberry PI could no be used to do such things now, so I decided to run raspbian on QEMU.

Posted in Uncategorized Tagged with: , ,

Zabbix templates for Raspberry PI

Hello, recently I was searching some Zabbix templates for Raspberry PI, but I didn’s succeed. I’ve decided I will do some Zabbix templates for Raspberry PI. Now I am preparing LAB for it. So stay tuned – I will post

Posted in Uncategorized Tagged with: , ,

Compiling zabbix-agent on Raspberry Pi (xbian or debian)

First of all You need to install some software for compilation: apt-get install build-essentialapt-get install build-essential Now, just get sources of zabbix (in this case the latest version is 2.0.6): wget "http://garr.dl.sourceforge.net/project/zabbix/ZABBIX%20Latest%20Stable/2.0.6/zabbix-2.0.6.tar.gz"wget "http://garr.dl.sourceforge.net/project/zabbix/ZABBIX%20Latest%20Stable/2.0.6/zabbix-2.0.6.tar.gz" Unpack it, go to unpacked sources: tar

Posted in Uncategorized Tagged with: , , , ,

Monitoring ip_conntrack on zabbix

I needed some statistics and triggers on zabbix of ip_conntrack. Here is how to monitor it, of course You can expand it as You wish. First of all You need to add some configuration to Your zabbix agents. Put those

Posted in Uncategorized Tagged with: , , ,

Fedora 19, openvpn and default route

According to one of my latest post (Fedora 19 and override routes with openvpn) I realized that Network Manager applet is not showing the status of VPN connection – icon will not change to this one: . I decide that I

Posted in Uncategorized Tagged with: , ,