Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: cydonia 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.
-
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 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 top
command.
-
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
-
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.
-
phpsysinfo is not showing the mount file system,
swerts-knudsen.dk phpSysInfo (http://swerts-knudsen.dk/admin_bay/phpsysinfo/index.php)
I didn't use his script to install, but i got the same result, no mounts showing,
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
-
i just downloaded phpsysinfo and all i get is empty stats....
http://bod.no-ip.org/phpsysinfo/
-
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 function distro
edit the 'N.A.' at the end of the function
i.e. } else {
$result = 'N.A.';
to } 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/
-
Howard,
Sweet!
http://loachfamily.dyndns.org/stats (may be down - I'm rebuilding into my new toy).
John.
-
how did u get it to show the mounted filsystems to show up? cos i cant get it to do that
-
BOD,
you've got to make the following code in you config.php looks like this // 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
-
it is like that it just doesnt show up......
http://phpsysinfo.bod.alturl.com
-
did you run the following commands after installing phpsysinfo
/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
-
it still doesnt show the mounts........
and im not running in RAID....
-
this works :-D http://mirror.contribs.org/smeserver/contribs/nightspirit/e-smith-phpsysinfo-public/
-
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.
-
Hi,
I followed swerts-knudsen's contrib page to the letter, careful to change the version from 2.1 to 2.3.
However, I still can't get it to work?
I get a page not found error.
Has anybody any luck with 2.3 on a SME6.0?
Regards,
Jerry
-
http://bod.no-ip.org/phpsysinfo
mine works, use the rpm listed earlier it works
-
Hello all.
I've developped a contrib, e-smith-sme6admin, which monitors many aspects of smeServer, but it is only in french at this moment. It monitors cpu, memory, e-mails, network load, network connections (ssh, ftp, pptp....) ,services status, disk usage...... It sends e-mails alerts when a problem is detected. As soon as i have time, i'll turn it to multi-lingual.
It's at http://firewall-services.com
Mail me for more info in english :D
-
Your system monitor is incedibly well done, Landry. I just added your work to the howto / New Contrib Announcements section: http://no.longer.valid/phpwiki/index.php?pagename=New%20Development%20Announcements%20November%202004, feel free to add or edit.
Your panel provides everything one could ask for: controlling services, memory usage of services/processes, email alerts, temp and fan sensor, network usage and throughput. Really good, congratulation for your good work.
-
Until the sme admin is translated to English (if that's your language ) you could allways "cacti"
http://ericscomputer.kicks-ass.net/cacti_export/
Somebody please do an English translation for sme admin that looks like an awsome! addition to SME
-
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.
If you create a file called /etc/redhat-release, phpsysinfo will automatically pick the install up as a redhat release. In the file you can put whatever you want the name of the distro to show as
eg: Contents of my /etc/redhat-release file:
SME Server 6.01-1 (http://www.bahuma.net/phpsysinfo)
-
Hi!
FYI:
I just installed e-smith-phpsysinfo-public-2.3-1.noarch.rpm and got an error in the post install script. When looking in this script I saw this line:
mail install@nightspirit.nl -s "e-smith-phpsysinfo-public-2.3-1 was installed." > /dev/null
There was no information anywhere, that this will happen.
-
Somebody please do an English translation for sme admin that looks like an awsome! addition to SME
Don't worry, i'm planning a new version of my contrib (us+fr) for the end of the year. ;-)
-
Don't worry, i'm planning a new version of my contrib (us+fr) for the end of the year. ;-)
Wonderful, I was just going to ask the same question. Any idea of when this will be done?
Great work, Thank you :)
-
While we're waiting for the English version (now I know how the non-english users must feel) is there a way to get the newer rrdtool and sysstat rpm's to work with the sysmon add-on? I don't see any log file entries that point to a problem, but the graphs never update. Anyone out have any ideas?
-
Hi.
I've already had this problem on my sme. If you want sme6admin and sysmon to work both, you have to keep sysstat4, because sysstat5 doesn't work with sysmon.
For rrdtools, try the rdtool-1.0.47 version, this works fine for me.
If you have another problem with sme6admin, the log file is at /var/log/sme6admind.log
HTH
Ps : i'm doing the english version of sme6admin based on gettext(), so if translaters want to do the work for other languages (spanish, italian......), i'm completely okay with that.
-
Hi Landry,
I really can't wait for the English translation, any idea how much longer it will take?
Geoffrey
-
I'm working on it, but as i'm still student, i have LOTS of work to do. But it's one of my priorities..
-
I'm working on it, but as i'm still student, i have LOTS of work to do. But it's one of my priorities..
Hi Landry,
I'm working on an english translation.
The following code segment seems to be working wrong: no output!
=====================================================
if (-e "/usr/sbin/clamd")
{ my $sigs=0;
foreach (/usr/bin/tail -n 4 /var/log/clamav/freshclam.log)
{
# ClamAV update process started at Thu Jul 29 18:36:00 2004
if (/^ClamAV update process started at (\w{3} \w{3}\s{1,2}\d{1,3} [0-9:]{8} \d{4})/)
{
print $q->p("Derniere mise a jour de l'antivirus ClamAV : $1.\n");
}
# main.cvd is up to date (version: 24, sigs: 21793, f-level: 2, builder: tomek)
# daily.cvd is up to date (version: 428, sigs: 1177, f-level: 2, builder: acab)
# Database updated (23150 signatures) from database
if (/sigs: (\d+)/)
{
$sigs+=$1;
}
print $q->p("The database contains $sigs virus signatures.\n");
}
}
====================================================
Can you check this for me, I will gladly correct the code and send it to you as soon as it's translated.
Regards,
Ernesto Lorenz
-
Do you have clamd installed ??
And don't worry, il working on the translation, there will be a big difference because i'm basing all the texts on gettext(), so people would be able to make translations for other languages.
-
Do you have clamd installed ??
Sorry Landry, I feel like a fool. I forgot that MC's editor resets the "set user ID on execution" bit every time I save the edited file. That kept the code segment from working.
And don't worry, il working on the translation, there will be a big difference because i'm basing all the texts on gettext(), so people would be able to make translations for other languages.
That is great news. I will hold my work and wait for you to finish.