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

veeam-status: global name 'fetch_ext' is not defined #432

Closed NavidSassan closed 2 years ago

NavidSassan commented 3 years ago

In GitLab by @markuslf on Oct 26, 2021, 09:50

Traceback (most recent call last):
  File "/usr/lib64/nagios/plugins/veeam-status", line 331, in 'module'
    main()
  File "/usr/lib64/nagios/plugins/veeam-status", line 143, in main
    success, result, token = lib.veeam2.get_token(args)
  File "/usr/lib64/nagios/plugins/lib/veeam2.py", line 43, in get_token
    timeout=args.TIMEOUT, insecure=True)
  File "/usr/lib64/nagios/plugins/lib/url2.py", line 148, in fetch_json_ext
    success, jsonst, response_header = fetch_ext(
NameError: global name 'fetch_ext' is not defined
NavidSassan commented 2 years ago

In GitLab by @markuslf on Jan 14, 2022, 11:46

Fixed via https://git.linuxfabrik.ch/linuxfabrik/lib/-/issues/42. Windows variant of this check still has to be compiled.