Linuxfabrik / monitoring-plugins

220+ check plugins for Icinga and other Nagios-compatible monitoring applications. Each plugin is a standalone command line tool (written in Python) that provides a specific type of check.
https://linuxfabrik.ch
The Unlicense
220 stars 51 forks source link

procs.exe on windows throwing traceback error #669

Closed drapiti closed 1 year ago

drapiti commented 1 year ago

This issue respects the following points:

Which variant of the Monitoring Plugins do you use?

Bug description

The latest windows procs.exe plugin is reporting the following error on all windows machines regardless of windows version:

Traceback (most recent call last):

File "C:\PROGRA~3\icinga2\usr\lib64 agios\plugins\procs3", line 429, in 'module'

File "C:\PROGRA~3\icinga2\usr\lib64 agios\plugins\procs3", line 252, in main

TypeError: can only join an iterable

Steps to reproduce - Plugin call

'C:\ProgramData\icinga2\usr\lib64\nagios\plugins\procs.exe' '--argument' 'icinga' '--critical-mem' '1288490189' '--warning-mem' '1073741824'

Steps to reproduce - Data

No response

Environment

Windows Server 2016

Plugin Version

latest.zip from repo

Python version

No response

List of Python modules

No response

Additional Information

No response

drapiti commented 1 year ago

recompiled.