This issue respects the following points:
Which variant of the Monitoring Plugins do you use?
Bug description
Sometimes, users throws a traceback if nobody is logged in.
Traceback (most recent call last):
File "C:\PROGRA~3\icinga2\usr\lib64
agios\plugins\users\users.py", line 172, in 'module'
File "C:\PROGRA~3\icinga2\usr\lib64
agios\plugins\users\users.py", line 129, in main
File "C:\PROGRA~3\icinga2\usr\lib64
agios\plugins\users\lib\base3.py", line 954, in shell_exec
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x81 in position 25: invalid start byte
Steps to reproduce - Plugin call
'C:\ProgramData\icinga2\usr\lib64\nagios\plugins\users\users.exe' '--critical' 'None, None, None' '--warning' '1, 20, 1'
Steps to reproduce - Data
No response
Environment
092 win11
Plugin Version
users: v2022021603 by Linuxfabrik GmbH, Zurich/Switzerland
Python version
No response
List of Python modules
No response
Additional Information
No response
This issue respects the following points:
Which variant of the Monitoring Plugins do you use?
Bug description
Sometimes,
usersthrows a traceback if nobody is logged in.Steps to reproduce - Plugin call
'C:\ProgramData\icinga2\usr\lib64\nagios\plugins\users\users.exe' '--critical' 'None, None, None' '--warning' '1, 20, 1'
Steps to reproduce - Data
No response
Environment
092 win11
Plugin Version
users: v2022021603 by Linuxfabrik GmbH, Zurich/Switzerland
Python version
No response
List of Python modules
No response
Additional Information
No response