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.

Figure 1: Sending commands over SSH to a Node-RED dashboard.

[...]

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

  • Python and Node-RED

    Adding Python to your Node-RED arsenal lets you create easy Raspberry Pi robotic and IoT projects.

  • Web Scraping with Bash

    You can use one line of Bash code to scrape a web page and show the data you're tracking in Home Assistant or Node-RED.

  • IoT with Redis Servers

    Include binary data and image files in your IoT projects with Redis, an open source, in-memory data structure store.

  • Workspace – Node-RED

    Learn how to use Node-RED to automate tasks, work with web services, and do other clever things.

  • WiFi Thermo-Hygrometer

    A WiFi sensor monitors indoor humidity and temperature and a Node-RED dashboard reports the results, helping you to maintain a pleasant environment.

comments powered by Disqus
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters

Support Our Work

Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.

Learn More

News