Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: allun on April 07, 2004, 03:09:40 AM
-
Hey all,
just thought i'd fish to see if anyone is interested in setting up server monitoring with GKrellM - see www.gkrellm.net.
Basically GKrellM has a server component that runs on your SME box, and either a linux or windows client that you run on a workstation to monitior the server.
I currently have 2 instances of the graphical client running in the corner of my desktop monitoring my primary and backup servers, looks quite good with network traffic stats, CPU load, memory stats, HTTP and amil connections and stuff like that all being monitored on real time charts!
It's easy to set up - anyone interested?
:-) Allun
-
Sign me up!
-
Yep, I can see it will be useful for me, just for troublekeeping...
Thanx if you do it, sign me up too !
-
That looks interesting. I'll give it a trial run anyway.
Are you planning to post a HowTo if you get enough intrest?
-
Please note - this HOWTO looked a lot more impressive before i realised that you don't need to do all the steps I originally did when trying to get it working.... :-)
GKrellM's homepage is www.gkrellm.net. Most of the links below are from that site, so if the ones posted here are unreachable go to the site for the latest links.
You need to install a server and a client (windows or linux)
The instructions below worked for me, YMMV. I have covered a linux (i.e. SME) server and windows client, since that's how I use GKrellM :-)
[install]
[windows client]
1. install gtk for windows from http://aleron.dl.sourceforge.net/sourceforge/gtk-win/GTK-Runtime-Environment-2.2.4-2.exe (not needed if you already have GIMP for windows or any similar GTK ports installed...
2. THEN install gkrellm for windows from http://bill.nalens.com/e107_files/downloads/gkrellm/Setup-GKrellM.exe
[linux server]
1. install the gkrellmd rpm from http://valhalla.freshrpms.net/rpm.html?id=490
[usage]
[linux server]
1. Edit /etc/gkrellmd.conf for port number and other options - the file is self explanatory. It's a good idea to restrict the IP's that can connect, and unless you want to keep a terminal window open - uncomment the "detach" option.
2. start the server with "gkrellmd" or "gkrellmd -V" if you want to watch the connection status
[windows client]
1. For a windows shortcut that opens GKrellM for windows and connects to your server, put the following in the shortcut action box: (including quotes!)
"C:\Program Files\GKrellM\gkrellm.exe" -s 192.168.0.1 -P 19150
Change the IP and port number above to match whatever's in your /etc/gkrellmd.conf file, and of course open the appropriate port if you are monitoring a server behind a firewall (I have 5 icons on my desktop for different servers all around the country).
That's it! well...it DID seem a lot more complicated when I was messing around uninstalling and reinstalling and changing versions....oh well, hope if works for you.....
It's nice to have graphical realtime server stats on your desktop, and in my case I have the clients for windows and linux installed, so I can keep an eye on my servers no matter what OS I am in!
-
Has anyone installed it since april 2004 ?
Can't find the Windows EXE and the only RPM is of FC3.
Any hints ?
Luis
-
A quick poke about found me these:
http://ftp.freshrpms.net/pub/freshrpms/redhat/7.3/gkrellm/
and
http://www.pc-facile.com/software.php?action=download&id=137 which was the top hit in the google list when I searched for Setup-GKrellM.exe.
I already have the Gimp installed so didn't need the other bit. All I've installed is the server component on the SME - gkrellm-server-2.1.3-fr0.rh73.1.i386.rpm - and the Windows bit on the windows box. Dead easy config following the method above, now just need to work out how to make it let the whole local subnet connect - I've hard coded my main PC IP as authorised temporarily whilst I think about it some more.
HTH :-)
David.
-
Hey David,
in gkrellmd.conf you should be able to simply specify "allow-host 192.168.0.*" to allow connections from any pc on that subnet.
if you put "allow-host all" ....well that's pretty self explanatory :-)
HTH
-
Hi David,
Marvelous !! ;-)
It works nice and in the background on the SME server.
I restricted the connection to 1 PC and only one IP address.
Security first.
Best regards,
Luis
-
Works great! I love grellm eye candy!
One problem - it doesn't appear to be starting automatically on boot. I have to start it manually.
Allan
-
Very Nice piece of software :-) Thanks
-
To start it automatically, I simply put a line with "gkrellmd" in my rc.local script....you might need command line options depending on the contents of your your gkrellmd.conf.
:pint:
-
What extra packages are required - when I install this using rpm -ivh I get messages re failed dependencies!
-
Bit more info needed.... what version of SME/E-smith, and what are the packages that RPM says it needs?
For reference, I instaslled using gkrellm-server-2.1.3-fr0.rh73-1.i386
HTH
-
SME 6.01.01 Custom (Linux 2.4.20-18.7)
package is gkrellm-2.1.3-fr0.rh73.1.i386.rpm
[root@gateway GK]# rpm -ivh gkrellm-2.1.3-fr0.rh73.1.i386.rpm
error: failed dependencies:
gtk2 >= 2.0 is needed by gkrellm-2.1.3-fr0.rh73.1
libatk-1.0.so.0 is needed by gkrellm-2.1.3-fr0.rh73.1
libgdk_pixbuf-2.0.so.0 is needed by gkrellm-2.1.3-fr0.rh73.1
libgdk-x11-2.0.so.0 is needed by gkrellm-2.1.3-fr0.rh73.1
libgtk-x11-2.0.so.0 is needed by gkrellm-2.1.3-fr0.rh73.1
libICE.so.6 is needed by gkrellm-2.1.3-fr0.rh73.1
libpango-1.0.so.0 is needed by gkrellm-2.1.3-fr0.rh73.1
libpangox-1.0.so.0 is needed by gkrellm-2.1.3-fr0.rh73.1
libpangoxft-1.0.so.0 is needed by gkrellm-2.1.3-fr0.rh73.1
libSM.so.6 is needed by gkrellm-2.1.3-fr0.rh73.1
libX11.so.6 is needed by gkrellm-2.1.3-fr0.rh73.1
libXext.so.6 is needed by gkrellm-2.1.3-fr0.rh73.1
libXft.so.1 is needed by gkrellm-2.1.3-fr0.rh73.1
libXi.so.6 is needed by gkrellm-2.1.3-fr0.rh73.1
libXrender.so.1 is needed by gkrellm-2.1.3-fr0.rh73.1
-
There's your problem mate - you're trying to install the client package (which needs X windows).....
You need to get gkrellm-server-2.1.3-fr0.rh73-1.i386
HTH :-)
-
After a long search, gkrellm for microsoft windows was finally located. I downloaded and installed it. (v2.1.21 with the Bill Nalen windows system dependent code)
Upon launching, there are no measurements.
I have also downloaded and installed the gkrellm Server (again, for microsoft windows). It, too, will launch, but nothing seems to happen.
I will assume that I've completely missed the boat by believing that this tool would let me look at my windows box in the same way that gkrellm lets me see my linux box's performance and operation.
If so, then what is the gkrellm server for if not to 'feed' the gkrellm client (both for microsoft windows)?
-
Hey all,
I anyone is still interested in running gkrellmd I found an rpm for the daemon at http://centos.karan.org/el4/extras/stable/i386/RPMS/gkrellm-daemon-2.2.2-2.i386.rpm
Can't comment on the windows client as my client is on linux.
Allan
-
Thanks...
I'd like to run GKRellM...
But impossible to find the setup-gkrellm.exe !!!
If someone get it.... (my client is winXP...)
Thanks !
-
mychael,
I have a copy that is a couple of years old. You can get it at
http://www.srdpc.com/uploads/Setup-GKrellM.exe
Bob
-
=> crazybob
Thanks a lot !
I'll install it in the journey ! Hope it'll work !
Thanks again !
Michaël
Edit = Works great !
First, I installed this http://dag.wieers.com/packages/gkrellm/gkrellm-daemon-2.2.4-0.2.el4.rf.i386.rpm on my SME v7 RC3,
Next, I edited the gkrellm.conf file to allow acces from my subnet,
I installed your .exe on my XP Pro Laptop, i modified the shortcut like this : "C:\Program Files\GKrellM\gkrellm.exe" -s 192.168.5.100 -P 19150
And it works VERY well ! even through a VPN !!!
Thanks a lot !!!
Michaël
-
CrazyBob's copy of Gkrellm setup works great but I thought you needed to install GTK+ 2 runtime for Windows first. You can get it here - http://gimp-win.sourceforge.net/stable.html
I tried GTK and Gkrellm on my Windows box last night and they talked to my gkrellm daemon on SME perfectly. Only quirk is some of the gkrellm themes (eg. Invisible) look like crap. I found the Hardware theme (http://members.dslextreme.com/users/billw/gkrellm/gkrellm-hardware.tar.gz)looks good.
I used crontab -e to add an @reboot cron entry to start gkrellmd on boot
Allan
-
CrazyBob's copy of Gkrellm setup works great but I thought you needed to install GTK+ 2 runtime for Windows first. You can get it here - http://gimp-win.sourceforge.net/stable.html
sure, I forget to say it... :-P
I used crontab -e to add an @reboot cron entry to start gkrellmd on boot
euh... can you give me the syntaxe of your crontab ?
Thanks,
Michaël
-
@reboot /home/user/command