E-smith monitor let's you monitor an e-smith server from the web manager. Currently, you can monitor CPU load, RAM load, SWAP load, HD usage and all net interfaces traffic. There are two versions of the package: spanish and english. All the graphs are generated on demand.
You need the following packages:
E-smith monitor has been tested in a 4.1.2 e-smith server. We believe it should work without any problem in a 4.0.x server (the original development was made in 4.0.16).
Also, it might work with older versions of sysstat and rrdtool but it has not been tested and you will need to modify the rpm file. It has been reported to work without any problem with rrdtool 1.0.33
The current version is 2.1 release 01.
This is the forth version we have made. Now it runs as a System V daemon, solves the dynamic detection of network interfaces and solves the password bug. It has a concurrency control that protects the system under heavy load. Most of the changes are internal and try to make the script lighter for the system. The only change noticeable is that the graphs are now linkable. In future releases we will start adding new functionalities.
The daemon uses an alarm that wakes up himself every minute. All the data gathering processes are executed in parallel as forks of the original process. Two locks are created, one to asure that no data is written untill the older process has finished (it tries to solve the two consecutive timestamps problem under heavy load) and a second one to allow for a clean stop of the daemon.
The daemon starts automatically when the package is installed and during start up. It keeps that way after a post-upgrade or post-install event.
Daemon usage: /etc/rc.d/init.d/sysmonitor {start|stop|restart|status}
In this last release we have solved a minor bug with Netscape browsers and make the data gathering script a little bit more robust (it won't accept any data older than the last value). The security issue has not been resolved yet.
We will try to make a new release every month or two, unless there is a security related problem or to solve an important bug.
Once this version is considered stable and we solve the security issue, we will slowly add new functionalities. New data, more information, some information about the server it's running on, etc. At the same time we will love to see an alert system developed in paralell to our package. We might develop it ourselves but can't guarantee it as our time is quite limited. We believe our graphical system plus an alert system plus Charlie's log viewer will make a great team to assist admins do their work.
GPL
At least we have been able to get a working rpm but it doesn't build cleanly in the development system (leaves the files around). It installs perfectly right in the target system. We are seeking for some help to get this right.
We have not been able to make the package upgrade correctly from an older install. The package installs cleanly but not updates. It seems a problem related with the %postun section of the older rpm and the %post section of the newer version. Please, give us a hand.
If this is a fresh install
If this is an update
We have decided not to remove the databases when uninstalling the packages. If you want to get rid of them, just remove them manually.
The net interfaces are detected every minute. You might find that some of them don't appear in the webpage during the first minutes of creating a new interface. If so, you would get some email error too, telling that it can't find a given database. This will go away as the script detects the interfaces and creates the needed databases.
To solve the "admin password bug" the monitor function now runs with a -U switch. There is no way of setting it SUID as other functions and at the same time use pipes with variables inside the script. This might be a potential security hole. This is why this release is considered beta. We are trying to solve this but don't know how to yet. We release it now in hope somebody can help us. We have tried Charlie's howto but there might be a bug in it as the order cpio -dump doesn't exist in our system (ESGS 4.1.2)
This is the default page, you can see CPU load and RAM load, in the last 12 hours. Also, you can see on the top the menu to choose the time span you want. If you click in CPU, for example, you would get the CPU load for all the time spans.
Here you see the same page but a little bit lower. You see SWAP load, HD usage and eth0 traffic.
Here you can see the detail of the CPU load in the last 12 hours and 2 days. As you can see, the top menu has changed. On the left you can see the link for this software under the General menu.