Monitorix

From monitorix.org

The Monitorix Project
Monitorix is a free, open source, lightweight system monitoring tool designed to monitor as many services and system resources as possible. It has been created to be used under production UNIX/Linux servers, but due to its simplicity and small size you may also use it on embedded devices as well.
It mainly consists of two programs; a collector called monitorix, a Perl daemon that it’s started automatically as any other system service, and a CGI called monitorix.cgi.

All of its development was initially created for monitoring Red Hat, Fedora and CentOS Linux systems, so this project was made keeping in mind these type of distributions. Today it runs on different GNU/Linux distributions and even in other UNIX systems, like FreeBSD.

Everytime monitorix is started it reads the configuration file from the path specified in the command line (using the -c option), and once checked, it creates the index.html file that will act as the Monitorix main page.

It also creates a file called $BASE_DIR/cgi-bin/monitorix.conf.path that includes the absolute path of the configuration file. This file will be read by monitorix.cgi to know the exact location of the configuration file. If by any reason monitorix.cgi is unable to locate this file, it will try two possible locations; /etc/monitorix.conf and /usr/local/etc/monitorix.conf. (more…)

Continue ReadingMonitorix

Disable bounce email on qmail

From savingneo.com

Hello All,
If you re having problems with bounce on qmail, if you re desperate about qmail getting crazy with thousands of email, then, let me tell you, that your quest ends here! The tools that will be used in this “kind of tutorial” are included right here :

qmHandle: a tool to handle and analyse your mail queue
qmhandle-1.3.2.tar.gz [15.06 KiB]

qmail-remove: a tool to clean your queue
qmail-remove-0.93.tar
qmail-remove-0.94.tar
qmail-remove-0.95.tar

Basic things you should know
[*]Where are the mail stored ?
Usually, for a mail like hello@mydomain.com you ll find the emails in /var/qmail/mailnames/mydomain.com/hello/Maildir/new or /cur. You can view their content with nano or vi or any text editor, and read them from your linux console, given they do not contains too much html gibberish.

[*]Where is the queue stored ?
The queue, is the as it sounds to be, “all the mails that have not been yet delivered” (delivered to a local user or to a remote user(not hosted on your mail server))

Delivering the queue to the local users is not a big process, but delivering it to remote destination, well, might give a hard time to qMail sometimes ! (as for any other mail system of course)
So, the queue is physically stored in folders within /var/qmail/queue/ Let’s not bother with the details of all folders in that path, for the moment, we dont care.

(more…)

Continue ReadingDisable bounce email on qmail