Hi Team,
We upgraded our Test nagios XI server from "5.6.5" to "5.7.3". After upgrade our one of the mongo check stoped working & started giving below error.
It was working before upgrade. Please see below screen shot.
We campaired plugin for any update after upgrade with plugin from backup, but found its same.
We are running Nagios XI version "5.6.5" on our PROD & DR environment (Two different dedicated servers). We checked on both these server for the same check & its working properly, plugin is same as Test nagios xi server.
Command for the check is below.
Name = check_mongodb_server
Command Line = $USER1$/check_mongodb.py -H $HOSTADDRESS$ -A $ARG1$ -P $ARG2$ -W $ARG3$ -C $ARG4$ -u $ARG5$ -p $ARG6$ -D --all-databases
We had similar issue earlier with our Mongo Db monitoring with Nagiso XI. Please check below links for details.
1 - https://support.nagios.com/forum/viewto ... 16&t=52699
2 - https://support.nagios.com/forum/viewto ... 16&t=51577
Attaching the "check_mongodb.py" for reference.
Please let us know what cause this & fix for the same.
Regards,
Rohan
Mongo check fail after Nagios xi upgrade
Mongo check fail after Nagios xi upgrade
You do not have the required permissions to view the files attached to this post.
-
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Mongo check fail after Nagios xi upgrade
Hi Rohan,
Considering that it is working on the production system and the plugin version is the same, let's verify on both systems are running the same version of pymongo and also check any different in between python versions. Also, please confirm that these two systems are checking the same Mongodb database.
Check Pymongo
Python Versions
Thanks,
Bejamin
Considering that it is working on the production system and the plugin version is the same, let's verify on both systems are running the same version of pymongo and also check any different in between python versions. Also, please confirm that these two systems are checking the same Mongodb database.
Check Pymongo
Code: Select all
pip list installed | grep pymongo
Code: Select all
python --version
Bejamin
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!