Koozali.org: home of the SME Server

GKrellM - graphical server monitoring from a workstation

Offline allun

  • **
  • 46
  • +0/-0
    • http://www.protechnz.com
GKrellM - graphical server monitoring from a workstation
« 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
...

Offline stancol

  • ***
  • 90
  • +0/-0
    • http://www.srcproductions.com
Sign Me Up
« Reply #1 on: April 07, 2004, 03:41:02 AM »
Sign me up!
What are the three dots for at the end of my signature file and why can't I get rid of them?These three dots right here >...

knewbie

quick how to + rpms ?
« Reply #2 on: April 07, 2004, 03:00:12 PM »
Yep, I can see it will be useful for me, just for troublekeeping...

Thanx if you do it, sign me up too !

bobk

GKrellM - graphical server monitoring from a workstation
« Reply #3 on: April 07, 2004, 05:17:57 PM »
That looks interesting. I'll give it a trial run anyway.

Are you planning to post a HowTo if you get enough intrest?

Offline allun

  • **
  • 46
  • +0/-0
    • http://www.protechnz.com
(simple) HOWTO for GKrellm realtime server monitoring
« Reply #4 on: April 10, 2004, 08:02:04 AM »
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!
...

gatox

GKrellM
« Reply #5 on: December 30, 2004, 05:29:10 AM »
Has anyone installed it since april 2004 ?

Can't find the Windows EXE and the only RPM is of FC3.

Any hints ?

Luis

dhardy

GKrellM - graphical server monitoring from a workstation
« Reply #6 on: December 30, 2004, 09:23:18 AM »
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.

Offline allun

  • **
  • 46
  • +0/-0
    • http://www.protechnz.com
GKrellM - graphical server monitoring from a workstation
« Reply #7 on: December 30, 2004, 09:50:29 AM »
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
...

gatox

Works like a charm
« Reply #8 on: December 30, 2004, 10:23:36 AM »
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

axcairns

GKrellM - graphical server monitoring from a workstation
« Reply #9 on: January 01, 2005, 01:47:57 PM »
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

chrisparker

GKrellM - graphical server monitoring from a workstation
« Reply #10 on: January 01, 2005, 02:48:16 PM »
Very Nice piece of software :-) Thanks

Offline allun

  • **
  • 46
  • +0/-0
    • http://www.protechnz.com
GKrellM - graphical server monitoring from a workstation
« Reply #11 on: January 05, 2005, 04:36:43 AM »
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:
...

Offline nigeltodd

  • ***
  • 82
  • +0/-0
    • http://nigelt.dyndns.org
GKrellM - graphical server monitoring from a workstation
« Reply #12 on: January 16, 2005, 01:21:07 AM »
What extra packages are required - when I install this using rpm -ivh I get messages re failed dependencies!
smoke-free since June 24th, 2004............

Offline allun

  • **
  • 46
  • +0/-0
    • http://www.protechnz.com
GKrellM - graphical server monitoring from a workstation
« Reply #13 on: January 16, 2005, 03:45:56 AM »
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
...

Offline nigeltodd

  • ***
  • 82
  • +0/-0
    • http://nigelt.dyndns.org
GKrellM - graphical server monitoring from a workstation
« Reply #14 on: January 16, 2005, 04:34:02 AM »
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
smoke-free since June 24th, 2004............

Offline allun

  • **
  • 46
  • +0/-0
    • http://www.protechnz.com
GKrellM - graphical server monitoring from a workstation
« Reply #15 on: January 16, 2005, 11:09:04 AM »
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 :-)
...

UsedBits

Getting measurements on gkrellm for Windows
« Reply #16 on: February 22, 2006, 12:54:58 AM »
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)?

axcairns

GKrellM - graphical server monitoring from a workstation
« Reply #17 on: June 18, 2006, 05:32:08 PM »
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

mychael

GKrellM - graphical server monitoring from a workstation
« Reply #18 on: June 19, 2006, 03:00:01 AM »
Thanks...

I'd like to run GKRellM...

But impossible to find the setup-gkrellm.exe !!!

If someone get it.... (my client is winXP...)

Thanks !

Offline crazybob

  • ****
  • 894
  • +0/-0
    • Stalzer R&D
GKrellM - graphical server monitoring from a workstation
« Reply #19 on: June 19, 2006, 04:24:30 AM »
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
If you think you know whats going on, you obviously have no idea whats going on!

mychael

GKrellM - graphical server monitoring from a workstation
« Reply #20 on: June 19, 2006, 02:39:47 PM »
=> 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

axcairns

GKrellM - graphical server monitoring from a workstation
« Reply #21 on: June 20, 2006, 05:34:36 AM »
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

mychael

GKrellM - graphical server monitoring from a workstation
« Reply #22 on: June 20, 2006, 08:14:46 PM »
Quote
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

Quote

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

axcairns

GKrellM - graphical server monitoring from a workstation
« Reply #23 on: June 21, 2006, 02:22:50 PM »
Code: [Select]
@reboot /home/user/command