Browsed by
Tag: server

Server monitoring using Munin

Server monitoring using Munin

Munin is a networked server monitoring tool written in Perl. Munin consists of two parts: the Munin server and Munin nodes. The nodes are running on the servers we want to monitor, while the server periodically (5 minutes by default) fetches the data from all of the registered nodes. The server is a able to build charts from this node data, which gives insight in the cpu usage, disk usage, network load and more.

The Munin team has a live demo of Munin, which can be viewed at http://munin.ping.uio.no/ I have installed both the Munin node and server on my Ubuntu server machine, and added nodes of other servers as well.

Munin screenshot with custom theme
Remote access ASP.NET development server

Remote access ASP.NET development server

I am developing a web application which needs mobile access as well. In order to test this, I need to access the ASP.NET development server from my iOS device. Unfortunately the ASP.NET development server is only accessible from the localhost. This website describes an easy way to forward a port to from the ip adres to the development server.

First you need to download a free tool called rinetd which is available here.

When you have extracted the file to a folder you need to create a config file with the forwaring information. An example could be:

0.0.0.0 8080 127.0.0.1 65458

Save this file as rinetd.conf to the folder of rinetd.

Which mean you want to forward any data from port 8080 to port 65458, which is the port my ASP.NET development server is running. To start rinetd open a console and launch the following command:

rinetd.exe -c rinetd.conf
Readout sensors of an EEE Box running Ubuntu server

Readout sensors of an EEE Box running Ubuntu server

Quintin, a friend of mine, showed me a way to readout the sensors of my EEE Box in Ubuntu server.

The first step is to install the lm-sensors package

$ sudo apt-get install lm-sensors

Then you need to load the w83627ehf kernel module using

$ sudo modprobe w83627ehf

In order to have your sensors detected launch the command below and follow the steps shown (basically you can just press [enter] to each question).

$ sudo sensors-detect

Now you can readout your sensors by using the command

$ sensors

Remember if you want to load the w83627ehf module every time the sysem reboots, you need to update your /etc/rc.local with the line:

modprobe w83627ehf
readout of my sensors
readout of my sensors