Linux Server Monitoring with NodeQuery and NodeInfo

NodeQueryNodeInfoLinux server monitoringserver status widgetZabbix alternative
Published·Modified·

NodeQuery is a monitoring tool for Linux servers that allows users to easily monitor CPU, memory, bandwidth, and other data. Users only need to install the client on their server with one click, and after a few minutes, they can view intuitive data on NodeQuery.

NodeQuery Dashboard

Install NodeQuery

After registering an account on the NodeQuery official website, create a new Server in the backend, fill in the hostname, keep other settings as default, and save.

NodeQuery Server Creation

Copy the generated command and paste it into Linux to complete the installation with one click.

Installation Command

Wait about 10 minutes, and you can see intuitive data on NodeQuery. If the server encounters a failure or cannot connect, NodeQuery will send an email alert to the administrator.

Data Display

Install NodeInfo

NodeQuery provides API support, and NodeInfo (developed by Xiaoz Blog) uses the data provided by the NodeQuery API to offer simple server monitoring information. This can be easily placed on your own website for administrators or visitors to view.

NodeInfo is developed using PHP. Simply place the source code in the root directory of your site, then modify ListServers.php to fill in your NodeQuery API.

NodeInfo Configuration

The effect of visiting NodeInfo is shown in the following screenshot.

NodeInfo Display

NodeInfo Notes

  • Data provided by NodeQuery API refreshes every 3 minutes. If the information does not change after continuously refreshing the NodeInfo page, this is normal.
  • NodeInfo automatically refreshes the page every 3 minutes.
  • NodeQuery servers are located overseas; if installed on a domestic server, the availability data may not be accurate.

Uninstall NodeQuery

Enter the following command to uninstall NodeQuery:

rm -R /etc/nodequery && (crontab -u nodequery -l | grep -v "/etc/nodequery/nq-agent.sh") | crontab -u nodequery - && userdel nodequery

Summary

Each registered user can add up to 10 servers on NodeQuery. If you exceed this limit, you need to register more accounts. NodeQuery is currently in the beta phase, last updated in 2014, and it is unclear if the official team has abandoned the project. However, from a usage perspective, NodeQuery is simple and convenient, and the data obtained is quite detailed. If you need more powerful monitoring functions, refer to CentOS 7 Compile and Install Zabbix Server.

NodeInfo Demo: https://api.xiaoz.org/status/ NodeInfo Source Code: https://github.com/helloxz/nodeinfo