How to monitor the temperature of a QNAP QXG-10G1T 10GbE network card via SSH

How to monitor the temperature of a QNAP QXG-10G1T 10GbE network card via SSH

QTS displays several hardware temperatures in its Hardware Information panel, including CPU, system and hard drive temperatures.

However, it does not display the temperature of the additional network card.

I found a way to retrieve two additional temperature readings from my QNAP QXG-10G1T 10GbE PCIe network card using the Linux hardware monitoring interface (hwmon).

1. Connect to your NAS via SSH

Log in using an administrator account.

2. Retrieve the two network card temperatures

Run the following command:

for t in /sys/class/hwmon/hwmon2/temp{1,2}_input; do
    label=$(cat "${t%_input}_label")
    value=$(cat "$t")
    awk -v l="$label" -v v="$value" 'BEGIN {printf "%s : %.1f °C\n", l, v/1000}'
done

3. Example output

PHY Temperature : 78.0 °C
MAC Temperature : 76.0 °C

These are two separate temperature readings:

  • PHY Temperature: temperature reported by the physical network interface circuitry.

  • MAC Temperature: temperature reported by the network controller’s MAC circuitry.

4. Improving the card’s cooling

I also replaced the original thermal paste, which was of rather poor quality, with Thermal Grizzly Kryonaut.

This resulted in an approximately 9°C reduction in operating temperature.

This is worth considering if your QXG-10G1T runs particularly hot. Make sure to check the thermal interface and heatsink contact before attempting any modification.

5. Important notes

  • These readings are not displayed in the standard QTS Hardware Information panel.

  • The temperatures are read directly from Linux hwmon sensor files.

  • The hwmon2 identifier may differ depending on your NAS model, hardware configuration and QTS version. Check /sys/class/hwmon/ and the corresponding name files if the command does not work.

  • This method does not require installing additional software.

Tested configuration:

  • NAS: QNAP TVS-871

  • QTS: 5.2.11 (build 20261014)

  • Additional network card: QNAP QXG-10G1T

  • Thermal paste replacement: Thermal Grizzly Kryonaut

  • Observed temperature reduction: approximately 9°C

This is a useful way to monitor temperatures that QTS does not expose in its graphical interface.

You can find the correct hwmon class via

cat /sys/class/hwmon/hwmon*/name

in this case it should be ethx

It works now. The issue was the escaped asterisk (\*).

The correct command is:

cat /sys/class/hwmon/hwmon*/name

Output on my TVS-871:

coretemp
eth4

Note that eth4 is the value returned by the name file, not a directory under /sys/class/hwmon/. Its corresponding directory is /sys/class/hwmon/hwmon2/ on my NAS.

This forum will silently change pasted code. It seems to escape characters if it thinks they’ll conflict with its own formatting characters. :wink:

This forum does a lot of things by itself that are (mildly) infuriating

Thanks for sharing this! May I ask what made you want to monitor the QXG-10G1T’s temperature? Have you run into any issues with it overheating or not working properly? Thanks!

The AQC107 controller is known for its relatively high power consumption and heat dissipation. The heatsink fitted to the QXG-10G1T is also less substantial than the one found on the E10G30-T1.

I was curious to find out whether temperature could become a limiting factor for network transfers in my setup, which consists of a Z390 Xtreme, a Crosshair 2006, a QSW-3205-5T, and finally my TVS-871.

I started running several iPerf3 benchmark sessions to investigate this. I also explored other possible avenues, particularly firmware updates for the network controller, first through Aquantia and then, of course, Marvell.

As a hardware enthusiast, I eventually discovered that the card actually has built-in temperature sensors. Naturally, I decided to put them to good use !

I would also have loved to replace that tiny heatsink with something larger, perhaps even a copper one. Not necessarily because it was needed, but simply for the sheer pleasure of having some really nice hardware ! The QNAP QM2-2P410G2T is an absolute beauty to look at ! :stuck_out_tongue:

Thanks for explaining what got you started and for sharing your test results! It’s great to see the card’s built-in sensors put to good use, and the details you shared are helpful for us as well.