Open
Description
This issue respects the following points:
- This is a bug, not a question or a setup/configuration issue.
- This issue is not already reported on Github (I've searched it).
- I use the latest release of the Monitoring Plugins (https://github.com/Linuxfabrik/monitoring-plugins/releases).
- I agree to follow Monitoring Plugins's Code of Conduct.
Which variant of the Monitoring Plugins do you use?
- .rpm/.deb package from repo.linuxfabrik.ch
- Compiled for Linux (.tar/.zip from download.linuxfabrik.ch)
- Compiled for Windows (from download.linuxfabrik.ch)
- Source Code from GitHub
Bug description
Running the disk-usage.exe
plugin on two virtual machines running Windows Server 2019 I get this error:
PS C:\Program Files\ICINGA2\linuxfabrik> .\disk-usage.exe
Traceback (most recent call last):
File "C:\PROGRA~1\ICINGA2\LINUXF~1\disk-usage", line 337, in 'module'
File "C:\PROGRA~1\ICINGA2\LINUXF~1\disk-usage", line 206, in main
File "C:\PROGRA~1\ICINGA2\LINUXF~1\psutil\__init__.py", line 2005, in disk_usage
File "C:\PROGRA~1\ICINGA2\LINUXF~1\psutil\_pswindows.py", line 280, in disk_usage
FileNotFoundError: [WinError 3] The system cannot find the path specified: 'C'
This error is happening on two virtual machines running RDS Terminal Services and does not happen on all other similar virtual machines running the same operating system.
Steps to reproduce - Plugin call
.\disk-usage.exe
Steps to reproduce - Data
No response
Environment
Windows Server 2019
Plugin Version
disk-usage.exe: v2023051201 by Linuxfabrik GmbH, Zurich/Switzerland
Python version
No response
List of Python modules
No response
Additional Information
No response