Wednesday, 27 July 2011

Install Webmin on Ubuntu

Install webmin on ubuntu










Edit /etc/apt/sources.list file





sudo vi /etc/apt/sources.list











Add the following lines







deb http://download.webmin.com/download/repository sarge contrib


deb http://webmin.mirror.somersettechsolutions.co.uk/repository sarge contrib

Save and exit the file

Now you need to import GPG key



wget http://www.webmin.com/jcameron-key.asc




sudo apt-key add jcameron-key.asc

Update the source list

sudo apt-get update

Install webmin

sudo apt-get install webmin



Wednesday, 13 July 2011

ESVA - Spam filter


MS Word - enter code in technical document

Click on Insert - Object - OpenDocument Txt - paste details , save  and exit




Right click on the text - go to "borders and shading" - add borders and apply to "text"



Wednesday, 6 July 2011

Nagios Check_website

Define check_website command in commands.cfg

add commands to /usr/local/nagios/etc/objects/commands.cfg

# 'check_website' command definition

define command{
        command_name    check_website
        command_line    $USER1$/check_website -H $HOSTADDRESS$
        }

Download Plugin and copy to libexec

Download check_website plugin
Copy into /usr/local/nagios/libexec/change file permissions to chmod 775 check_website


Test Plugin
/usr/local/nagios/libexec/ ./check_website -H (hostname) -F (file)