Top 5 Linux Monitoring Tools. Web Based.

Linux system monitoring is one of the most important tasks for every sysadmin: it is crucial to know everything about system including CPU load, network traffic statistics, memory consumption, logged in users, availability of disk free space or service. And it’s inevitable that something breaks or goes down from time to time so usually it’s just better to know it happened from Linux monitoring system’s alert rather than from angry […]

Read more →

 

PostgreSQL to File

PostgreSQL (or simply Postgres) is powerful and extremely popular database management system. It comes with easy to use tool that makes it possible to export output of any query into text file. If you are familiar with Mysql you may know about SELECT … INTO OUTFILE syntax already so here is its equivalent to output PostgreSQL to file: 1. Connect to PostgreSQL DBA: $ psql -U postgres -p 5432 databasename […]

Read more →

 

Wget with Proxy

Wget is an elegant command line tool for downloading files over HTTP, HTTPs or FTP. Many of us are using it to just to get or reget files (reget means continue downloading of partially-downloaded file), save web pages with all contents (known as recursive download). Wget can also be used to download files via proxy. It takes address of the proxy from environment variable so in order to download something […]

Read more →

 

Wget Cookies: Download Protected Content

Most of Linux users are using wget from time to time, sometimes even when they don’t know about it – many GUI download managers for Linux are based on wget. Anyways wget is command line tool for downloading files over HTTP, HTTPs and FTP protocols within single session. It works like a charm with default settings for downloading simple static files, at the same time if content is protected by […]

Read more →

 

Fix socket timeouts in Nagios

As any other monitoring system Nagios can produce false alarms. Usually it happens when Nagios fails to get the reply from the host being monitored during some pre-defined timeout. In order to mark service as down Nagios does three checks and if all of them are failed then the service is marked down and administrator will got an alert about its critical status. At the same time even if one […]

Read more →