Skip to content

about-me: Crashes when CPU frequency information is not available #1006

@cebe

Description

@cebe

This issue respects the following points:

Which variant of the Monitoring Plugins do you use?

  • .rpm/.deb package from repo.linuxfabrik.ch
  • Compiled for Windows from download.linuxfabrik.ch
  • Source Code from GitHub

Bug description

Plugin Ausgabe:

Plugin-Ausgabe
Traceback (most recent call last):
  File "/usr/lib64/nagios/plugins/about-me", line 926, in 'module'
    main()
  File "/usr/lib64/nagios/plugins/about-me", line 863, in main
    msg += 'Current Speed: {} MHz, '.format(int(sys_dimensions['cpu_freq'][0]))
                                                ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^
TypeError: 'NoneType' object is not subscriptable

It seems sys_dimensions['cpu_freq'] is "None" on my system.

Steps to reproduce - Plugin call

/usr/lib64/nagios/plugins/about-me

Steps to reproduce - Data

I run this on an ARM64 virtual machine in Hetzner Cloud.

Debug output of sys_dimensions is this on my machine:

{'cpu_logical': 4, 'cpu_physical': 4, 'cpu_usable': 4, 'cpu_freq': None, 'ram': 8126111744}

Environment

Linux ... 6.1.0-41-arm64 #1 SMP Debian 6.1.158-1 (2025-11-09) aarch64 GNU/Linux

Plugin Version

about-me: v2025092201 / v2.2.1 by Linuxfabrik GmbH, Zurich/Switzerland

Python version

Python 3.11.2

List of Python modules

No response

Additional Information

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions