Skip to main content

Linux Server

Zabbix

How to install and configure Zabbix 3 on Debian 8 (Jessie)

Zabbix is enterprise open source monitoring software for networks and applications. It is designed to monitor and track the status of various network services, servers, and other network hardware. The zabbix server can check standard networking services like HTTP, FTP, SMTP, IMAP etc. We need to install and configure a Zabbix agent  for gathering data about CPU, disks, internal system process, RAM, etc.

Lets check the steps for installing and configuring Zabbix on a Debian 8 server:

Step 1: Install required dependencies:

Restoring Removed Files Linux TestDisk

Restoring removed files (rm -rf) in Linux with TestDisk

There are odd times where we would have accidentally deleted some important folders without having any actual backup. It happened to us, one of our team members on the way to remove a symbolic link, accidentally deleted a webfolder using rm -rf, though we normally maintain GIT repo, for this temporary project, we did not. So we had to restore it though initially it looked gloomy. I stumbled upon "extundelete" but that could not restore any important files. Then we tried http://www.cgsecurity.org/wiki/TestDisk. See more details below

Tripwire detecting intrusions

How we managed to use Tripwire for detecting intrusions

We all should be aware that security is very important for our servers. Having informed about the changes to server file system is always important, as unauthorised access could very well breach security. Here comes our saviour Open Source Tripwire, which is a free security and data integrity tool useful for monitoring and alerting on specific file change(s) on a range of systems. 

Open Source Tripwire functions as a host-based intrusion detection system. It detects changes to file system objects and alerts the server administrator.

Fix chkconfig

Fix chkconfig command not found

It happened in one of the servers we maintain, chkconfig was installed but it couldn't be loaded. Below are the sequence of commands I used to find the cause and fix.

[[{"type":"media","view_mode":"media_large","fid":"104","attributes":{"alt":"","class":"media-image","typeof":"foaf:Image"}}]]

# It was needed to have tomcat start at boot time

$ sudo chkconfig --add tomcat  
-bash: chkconfig: command not found

# I thought it was not installed but it is in place.

Subscribe to Linux Server