bbmon.cgi (now 0.2)
A BigBrother like interface for the Mon Monitoring system.
- Synopsis:
- Simplified Web status interface for the Mon resource monitoring system. bbmon.cgi was written to offer a BigBrother-like interface to Mon. It only returns a visual state of the monitored systems. As of today it doesn't offer any interaction, use mon.cgi instead.
DESCRIPTION
Simplified Web status interface for the Mon resource monitoring system.
bbmon.cgi was written to offer a BigBrother-like interface to Mon.
It only returns a visual state of the monitored systems. As of today it
doesn't offer any interaction, use mon.cgi instead:
http://ftp.kernel.org/pub/software/admin/mon/contrib/cgi-bin/mon.cgi/
Requires mon and Mon::Client for proper operation. mon.cgi is a plus
if you wan't to be able to use the links in bbmon.cgi to the more detailed
information given by mon.cgi.
AUTHORS
( this is not at all a BB challenger, the only aim was to give a "BB look"
to the totally independent Mon system).
INSTRUCTIONS
bbmon.cgi should be surprisingly easy to install, as long as your Mon setup
is working. Actually, if you already have mon.cgi working, you should be
able to install bbmon.cgi in 9 seconds, depending on your keyboard type
(vi is harder to use with a French keyboard ;-)
Just copy the bbmon.cgi Perl script in your web-servers cgi-bin directory
or any directory allowed to run cgi scripts. (Check out Apache at
http://www.apache.org if unfamiliar with CGIs).
Also copy the bbimgs directory to wherever you want the gif images to
be in.
Now then, go and edit the first line of this script to set the path to
the Perl executable (you do have Perl ?).
Next, and finally, go and take a look at the "CONFIGURABLE" section
below (not below in the page, below in bbmon.cgi).
- The "use lib" line should only be needed if the Mon::Client Perl modules
is not in the main Perl installation tree.
- $imgs: URL path to the gif files location
- $monuser: Mon user that has at least read-only ability
- $monpass: his password (default should work?) (see Mon documentation).
- $monhost: host running the Mon daemon
- $title: Title of the generated web page
- $reload: How much time should your browser wait before reloading the page ?
- $mysite: URL of your site (linked on the logo)
- $mylogo: URL of your company logo / cat picture / favourite beer or whatever
- $sysadmin: Your local Gods name
- $sysadmin: His E-Mail
- $moncgiurl: The URL to mon.cgi if relevant. This way you'll have
links from the bbmon page directly to the mon.cgi specific status
reports.
Most of the configuration stuff affects the cosmetic aspect of the
page. It should run "out of the box".
BUGS
lack of features...
dirty & unreadable code.
FUTURE
Let me know about wanted_lists/bugs/anoyances...
10/2004 Nicolas Sayer