The current status of any corporate server with Monitorix installed can be accessed via a web browser.
Monitorix has been designed to be used under production UNIX/Linux servers, but due its simplicity and small size you may also use it to monitor embedded devices.
Installation:
Monitorix is under GPLv2 licensing and available for download on the project homepage as source code and in numerous packages. Rpm based system (RedHat / Fedora / Centos / Opensuse) can install Monitorix using command:
rpm -ivh monitorix-1.4.2-1.noarch.rpmConfiguration of Monitorix:
Before starting the monitorix daemon, be sure to adjust the /etc/monitorix.conf to your liking. For a complete list of options and features, see the man page for monitor.conf.
our $TITLE = "Linux Poison"; # your company name
our $HOSTNAME = "poison.hell.com"; # hostname of this server
our $OSTYPE = "Linux-SuSE"; # choose your OS type (see below)
our $SAMBAVER = "3"; # Samba version (2 or 3)
our $MULTIHOST = "N"; # Enable multihost feature
our $MULTIHOST_FOOTER = "Y"; # (multihost) display URL in image
our $MULTIHOST_IMGPERLINE = "2"; # (multihost) # of images per line
our $REPORT_LANG = "en"; # Report language
our $THEME_COLOR = "black"; # Default is "black", none is "white"
our $REFRESH_RATE = "150"; # Web stats' refresh rate in seconds
our $ENABLE_CROND_MAIL = "Y"; # Error messages are sent by crond
Common settings to tweak here include company name, hostname, and theme color.
Finally you'll be able to start Monitorix with: # service monitorix start
To view your system stats, make sure your webserver is running and browse to [http://localhost/monitorix] to see the data.
1 comments:
I am getting a error on my Centos 5.5 box:
# service monitorix restart
Can't locate RRDs.pm in @INC (@INC contains: /usr/local/lib/perl5/5.8.8/i686-linux /usr/local/lib/perl5/5.8.8 /usr/local/lib/perl5/site_perl/5.8.8/i686-linux /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl .) at /usr/sbin/monitorix.pl line 12.
BEGIN failed--compilation aborted at /usr/sbin/monitorix.pl line 12.
Stopping Monitorix: [ OK ]
Starting Monitorix: Can't locate RRDs.pm in @INC (@INC contains: /usr/local/lib/perl5/5.8.8/i686-linux /usr/local/lib/perl5/5.8.8 /usr/local/lib/perl5/site_perl/5.8.8/i686-linux /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl .) at /usr/sbin/monitorix.pl line 12.
BEGIN failed--compilation aborted at /usr/sbin/monitorix.pl line 12.
[FAILED]
(sorry double comment, wrong tab)
Post a Comment