Monitor your old Linux devices

Watching Grampa

© Lead Image © lightwise, 123RF.com

© Lead Image © lightwise, 123RF.com

Article from Issue 236/2020
Author(s):

Create monitoring dashboards with SSH, command-line tools, and Node-RED.

Some excellent technologies and packages are available for monitoring computer hardware. For medium to large systems, the Simple Network Monitoring Protocol (SNMP) approach is usually the preferred solution. However if you have a smaller system with older or low-end servers, some excellent lightweight command-line monitoring utilities can be used instead.

These command-line utilities can be run remotely over Secure Shell (SSH) and the output parsed to return only the key data values, which can then be displayed graphically in a Node-RED web dashboard (Figure 1). In this article, I demonstrate examples that use the iostat utility [1] to monitor CPU utilization and the lm-sensors package [2] and hddtemp utility [3] to monitor temperatures on dashboards.

CPU Utilitization

The iostat utility is part of the sysstat package and is probably already loaded on your older systems. If not, it can be installed by:

[...]

Use Express-Checkout link below to read the full article (PDF).

Buy this article as PDF

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy Linux Magazine

SINGLE ISSUES
 
SUBSCRIPTIONS
 
TABLET & SMARTPHONE APPS
Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

comments powered by Disqus

Direct Download

Read full article as PDF:

Price $2.95

News