You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Which variant of the Monitoring Plugins do you use?
Compiled, from repo
Source Code, from GitHub
Bug description
The Plugin isn't working the error is:
Traceback (most recent call last):
File "/usr/local/lib/LinuxFabric/check-plugins/kemp-services/./kemp-services3", line 199, in 'module'
main()
File "/usr/local/lib/LinuxFabric/check-plugins/kemp-services/./kemp-services3", line 152, in main
base64.b64encode(args.USERNAME + ':' + args.PASSWORD)
File "/usr/lib/python3.9/base64.py", line 58, in b64encode
encoded = binascii.b2a_base64(s, newline=False)
TypeError: a bytes-like object is required, not 'str'
This issue respects the following points:
Which variant of the Monitoring Plugins do you use?
Bug description
The Plugin isn't working the error is:
Traceback (most recent call last):
File "/usr/local/lib/LinuxFabric/check-plugins/kemp-services/./kemp-services3", line 199, in 'module'
main()
File "/usr/local/lib/LinuxFabric/check-plugins/kemp-services/./kemp-services3", line 152, in main
base64.b64encode(args.USERNAME + ':' + args.PASSWORD)
File "/usr/lib/python3.9/base64.py", line 58, in b64encode
encoded = binascii.b2a_base64(s, newline=False)
TypeError: a bytes-like object is required, not 'str'
if I change
base64.b64encode(args.USERNAME + ':' + args.PASSWORD)
to
base64.b64encode(bytes(args.USERNAME + ':' + args.PASSWORD, encoding='ascii'))
I get the error
HTTP error "401 Unauthorized" while fetching https://********:443/access/listvs
but my credentials are correct
Steps to reproduce - Plugin call
./kemp-services -H *** --username *** --password *** --insecure
Steps to reproduce - Data
No response
Environment
Linux *** 5.10.0-21-amd64 #1 SMP Debian 5.10.162-1 (2023-01-21) x86_64 GNU/Linux
Kemp:
Vers:7.2.57.0.21570.RELEASE (VMware)
Plugin Version
kemp-services3: v2023021701 by Linuxfabrik GmbH, Zurich/Switzerland
Python version
Python 3.9.2
List of Python modules
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: