Public bug reported:

check_mongodb tries to use python2:

#!/usr/bin/env python

But that doesn't work because it needs the pymongo library, which is
only available for python3 on Ubuntu 20.04 (python3-pymongo).

The fix is very simple, let the check use python3 instead:

#!/usr/bin/env python3

It appears to work fine after this change.

** Affects: nagios-plugins-contrib (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1894098

Title:
  check_mongodb broken: Tries to use python2, but required pymongo is
  only available for python3

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nagios-plugins-contrib/+bug/1894098/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to