Author Archives: akamaras

Nagios – check_rbl – No output returned from plugin

nagiiiooosRecently I faced problems setting up check_rbl v1.3.0 plugin at my nagios 3.4.1. From the gui the state of the check would turn to UNKNOWN and the Status Information would return “No output returned from plugin”

Read more »

1 bad minute errors in crontab file can’t install

I had multiple cases where cpanel accounts were getting the error message in the title, when users were trying to save a cronjob. All of these accounts were previously transferred from plesk servers.

To fix this just enter the users crontab from cli by issuing Read more »

Captcha for virtuemart product inquiry to avoid spam

This how to has been successfully implemented on Joomla 1.5.26 and Virtuemart 1.1.9. It will show you how to place an easy to use captcha for virtuemart product inquiry. If you want to add extra security, you can use reCaptcha following the instructions from virtuemart forums, by clicking on the following link. Read more »

Linux script to check if your hard disk is nearly full

Here is a simple script that will check if your specified partition is almost full and will notify you if it is. In order to have an email send, you must have mailx installed, for installation check my post here.

Read more »

ro.me

ok, this must be the most impresive web-site I’ve ever seen.

Technologies being used among others are webGL, html5 & java scripts

Read more »

Howto backup cpanel via rsync

Cpanel has a nice backup system especially in case you’ll have to restore the server. What I don’t like about it is the absence of ssh as a protocol to transfer the data to a remote server. There are two ways to backup to a remote server :

Read more »

script to place webalizer stats outside cpanel

Here is a script I made for my cpanel servers, to place webalizer stats outside cpanel. Users will be able to goto http://www.mydomain.com/stats and see their webstats.

NOTE: This script is for the server administrator, if you have a cpanel account you can do the procces manually (a google search will return lots of howtos).

Read more »

Linux server info script

Here is a script that will quickly provide you information about your linux server such as cpu model, frequency, number of cores, amount of ram & swap, system uptime and test server download & I/O speed

cpu, ram and system uptime info are taken from “/proc/cpuinfo” , “free” and “uptime” respectively

download speed is measured by downloading a test file from cachefly, while I/O speed is measured by creating a 1GB file from null characters (/dev/zero)

Read more »

linux script to check if a service is running and start it, if it’s stopped

Here is a simple script that will check if your specified service is running and will start it if it’s stopped.

You will have to replace “replace_me_with_a_valid_service” with the name of the service you want to check

Read more »