Koozali.org: home of the SME Server

Graphical Server Monitor

cydonia

Graphical Server Monitor
« on: November 12, 2004, 04:45:06 AM »
Is it possible to display stats regarding your server, ie:

-system usage (hdd, ram etc)
-users currently logged on
-directories/files currently being accessed
-services currently running
-etc. etc.

and other usefull stuff on a remote computer, in a graphical way?

I'm thinking superkaramba/gdesklets sort of thing.

mbachmann

Graphical Server Monitor
« Reply #1 on: November 12, 2004, 10:39:21 AM »
There are some contribs for that: mrtg, sysmon, phpsysinfo, geeklog, isoqlog, sarg, disk usage ibays/users, awstats and whatnot. If you want to see logged on users type "users" at prompt, no gui for that neither for running services afaik.

If you want to built a "gui" for services you could, for instance, issue
Code: [Select]
ps -AHf > processes.txt every 5 minutes via cronjob or MasterSleepy crontab-manager server panel, move processes.txt to wherever you like and/or build some html around it for viewing pleasure and open it with a browser. Similar goes for the
Code: [Select]
top command.

Hornox

Graphical Server Monitor
« Reply #2 on: November 12, 2004, 10:45:20 AM »
I´m using phpsysinfo. Works fine for me. Easy installation and gives a lot of information...

Phpsysinfo on my server: http://www.jungerius.org/phpsysinfo/
Install guide: http://sme.swerts-knudsen.dk/index.html?frame=http%3A//sme.swerts-knudsen.dk/howtos/howto_11.htm
Get the latest version from: http://sourceforge.net/projects/phpsysinfo/

Cya,
Hornox

the_mad_prof

PHP-sysinfo
« Reply #3 on: November 12, 2004, 01:58:59 PM »
Slightly o/t but how do I get the OS field to show correctly?  If I can manually configure I would state Contribs-SME, otherwise Redhat will be fine.

Just a small thing.

Offline HomePlayer

  • ***
  • 55
  • +0/-0
phpsysinfo
« Reply #4 on: November 13, 2004, 10:07:37 AM »
phpsysinfo is not showing the mount file system,
swerts-knudsen.dk phpSysInfo

I didn't use his script to install, but i got the same result, no mounts showing,

 
Quote
Slightly o/t but how do I get the OS field to show correctly? If I can manually configure I would state Contribs-SME, otherwise Redhat will be fine.

good question, i did manually change this and i replaced the XP logo for the logo of Contribs.org

BOD

Graphical Server Monitor
« Reply #5 on: November 15, 2004, 12:16:57 AM »
i just downloaded phpsysinfo and all i get is empty stats....

http://bod.no-ip.org/phpsysinfo/

Mumm-Ra

phpsysinfo
« Reply #6 on: November 15, 2004, 09:27:24 PM »
I lost nearly all stats when I upgraded to a Raid configuration. On my test machine it works perfectly well.
Not too sure what the problem is. Anybody know why?

the_mad_prof, you need to modify the class.Linux.inc.php file in the includes\os folder.
Scroll right down to the bottom and in the
Code: [Select]
function distro edit the 'N.A.' at the end of the function
i.e.
Code: [Select]
  } else {
      $result = 'N.A.';
to
Code: [Select]
  } else {
      $result = 'Lycoris SME';
 then change the xp.gif to a Lycoris SME gif.
I used the following before I upgraded and I'll happily share it out if the Lycoris guys don't mind.
Grab it at http://www.hspencer.co.uk/sme-image/

the_mad_prof

Graphical Server Monitor
« Reply #7 on: November 15, 2004, 11:08:00 PM »
Howard,

Sweet!

http://loachfamily.dyndns.org/stats (may be down - I'm rebuilding into my new toy).

John.

BOD

Graphical Server Monitor
« Reply #8 on: November 19, 2004, 12:22:17 AM »
how did u get it to show the mounted filsystems to show up? cos i cant get it to do that

Mumm-Ra

Graphical Server Monitor
« Reply #9 on: November 19, 2004, 12:42:05 AM »
BOD,
you've got to make the following code in you config.php looks like this
Code: [Select]
// show mount point
// true = display  false = do not display
$show_mount_point = true;

You should find this is this last part of the config.php file in your phpsysinfo directory

BOD

Graphical Server Monitor
« Reply #10 on: November 19, 2004, 12:43:57 AM »
it is like that it just doesnt show up......

http://phpsysinfo.bod.alturl.com

Mumm-Ra

Graphical Server Monitor
« Reply #11 on: November 19, 2004, 12:53:47 AM »
did you run the following commands after installing phpsysinfo
Code: [Select]
/sbin/e-smith/db accounts setprop <I-Bay Name> PHPBaseDir /home/e-smith/files/ibays/<I-Bay Name>/:/proc
/sbin/e-smith/signal-event ibay-modify <I-Bay Name>

If that doesn't work, are you running in RAID1 configuration, as it doesn't work for me using that so I've got phpsystem http://www.hspencer.co.uk/phpsystem/ instead
You'll find it here http://www.warpedsystems.sk.ca/staticpages/index.php/phpSystem
Same commands on the iaby that you install it into

BOD

Graphical Server Monitor
« Reply #12 on: November 19, 2004, 01:04:26 AM »
it still doesnt show the mounts........

and im not running in RAID....

BOD


cydonia

Graphical Server Monitor
« Reply #14 on: November 22, 2004, 03:10:25 AM »
Well, i found something close to what i'm looking for, at least part of it.

http://www.kde-look.org/content/show.php?content=5698


It only monitors the system its running on, but i'm sure this could easily be changed with the power of python.