Server monitoring – remote monitor a server with GKrellM via ssh tunnel

Sharing is caring!


  • Hostname/systemname display.
  • Clock/calendar.
  • SMP CPU monitor that can chart individual CPUs and/or a composite CPU.
  • Temperature, fan, and voltage sensor monitors if supported by the kernel and the mainboard hardware. Linux requires lm_sensors modules, sysfs sensors for kernels >= 2.6.0 or a running mbmon daemon. Sensors can also be read from mbmon on FreeBSD. On Linux, you can also monitor disk temperatures from the ddtemp daemon and nvidia GPU temperatures if nvidia-settings is installed. Each sensor monitor has a configurable alarm and warning.
  • Process monitor with a chart for load and forks and a display of number of current processes and users.
  • Disk monitor that can chart individual disks or a composite disk.
  • Internet monitor (http, ftp, …) that displays current tcp port connections and charts historical port hits for over two days.
  • Net interface monitors with charts for all routed net interfaces. Data rx/tx LEDs and a timer button that can be linked to a ppp or isdn net interface and displays on line time.
  • Memory and swap space usage meters, and a swap page in/out chart.
  • File system meters which show capacity/free space and can mount/umount.
  • A mailbox monitor which can launch a mail reader, a mail fetch/check program, and a sound notify command. Builtin new mail message checking for mbox, maildir, MH, POP3, and IMAP mailboxes.
  • APM laptop battery meter with a configurable alarm and warning for low battery time left.
  • Uptime display.
  • Multiple monitors managed by a single process to reduce system load.
  • Charts have auto scaling or fixed scaling modes.
  • Commands can be configured to run when monitor labels are clicked.
  • gkrellm can run in client mode and collect data from a gkrellmd server running on a remote machine.
  • Both gkrellm and the gkrellmd server are plugin capable so special interest monitors can be coded.


2. For ubuntu or debian type 

Config file exists at /etc/gkrellmd.conf in case you want to change something later. Note that if you change anything in config file you must restart gkrellm deamon with service gkrellmd restart in order to apply the new configuration. 3. Create a tunnel over SSH 

Note: If you installed the gkrellmd via ssh open another terminal and type the obove command. Note2: The first number is your local port. In case you want to monitor multiple computers you have to change it to another available port.Check it with

4. Run

By this command you are saying to gkrellm to listen from localhost on 19150 (local) port which is directly receives data from your ssh tunnel.
Note: If you want to monitor multiple servers you can run the first command and change the first port to the next available port on your local machine, then you can run the second command but change the first port to the same port of the previous command.[/crayon]


Specktator.

Comment:

This site uses Akismet to reduce spam. Learn how your comment data is processed.