Hi Team,
We configured the mongodb server but we are facing the issue of incorrect username/password. I am using username=testuser and password=testuser. The plugin is check_mongodb.py
MongoDB Services Incorrect Username/Password
Re: MongoDB Services Incorrect Username/Password
What is the version of the Nagios XI and the MongoDB Server wizard that you are currently using? Can you show us an example of a check that you are running from the command line, along with the output of it?
Example:
Do you see any relevant errors in the apache error log, when you run the check?
Example:
Code: Select all
[root@main-nagios-xi nagiosxi]# /usr/local/nagios/libexec/check_mongodb.py -H x.x.x.x -A collections -P 27017 -W 300 -C 500 -u test -p test -D --all-databases
OK - Number of collections: 4 |collections=4;300.0;500.0Code: Select all
tail -100 /var/log/httpd/error_logBe sure to check out our Knowledgebase for helpful articles and solutions!
Re: MongoDB Services Incorrect Username/Password
Hi lmiltchev,
Please find the asked details with screenshot in attachment.
Please find the asked details with screenshot in attachment.
You do not have the required permissions to view the files attached to this post.
Re: MongoDB Services Incorrect Username/Password
Hi lmiltchev,
Nagios xi version is 5.4.5 and MongoDB server version is 3.2
Nagios xi version is 5.4.5 and MongoDB server version is 3.2
Re: MongoDB Services Incorrect Username/Password
Can you verify that the Mongo database has authentication enabled and that the user account has sufficient permissions that are outlined on page 1 of the following document?
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
Be sure to check out our Knowledgebase for helpful articles and solutions!