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............