pymongo and updating it

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Post Reply
kbauma01
Posts: 43
Joined: Wed May 25, 2022 6:39 am

pymongo and updating it

Post by kbauma01 »

We are getting a vulnerablity report on /usr/local/lib64/python3.6/site-packages/pymongo. The installed version is 4.1.1, the fixed version is 4.6.3. If I upgrade it, will that break anything Nagios XI related?

I'm guessing no (and yes, I will take a snapshot of it) but I just wanted to check.

RedHat 8.10, XI version 2024R1.2.1
DoubleDoubleA
Posts: 120
Joined: Thu Feb 09, 2017 5:07 pm

Re: pymongo and updating it

Post by DoubleDoubleA »

Hi @kbauma01,

That looks to be the python MongoDB library, which installs as part of the base Nagios XI install for MongoDB monitoring. If you are not monitoring MongoDB, updating that should not impact your monitoring. If you are monitoring MongoDB, it is an update of several minor versions, but in theory should not have any breaking changes.

Are you monitoring MongoDB?

Aaron
kbauma01
Posts: 43
Joined: Wed May 25, 2022 6:39 am

Re: pymongo and updating it

Post by kbauma01 »

Nope, not monitoring MongoDB at all. I'll update it, see what happens, and report back!
kbauma01
Posts: 43
Joined: Wed May 25, 2022 6:39 am

Re: pymongo and updating it

Post by kbauma01 »

I removed pymongo 4.1.1 and added 4.10.1.

pip list | grep pymongo
pip uninstall pymongo (that got rid of 4.1.1)

I had to make sure I was using python 3.9 to add 4.10.1

python3.9 -m pip install --upgrade pymongo
python3.9 -m pip list | grep pymongo

So far no issues, I consider that a win!
Post Reply