You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "./zabbix-mongodb.py", line 243, in
mongodb.get_db_names()
File "./zabbix-mongodb.py", line 73, in get_db_names
master = db_handler.command('isMaster')['ismaster']
File "/home/rahul/.local/lib/python2.7/site-packages/pymongo/database.py", line 730, in command
read_preference, session) as (sock_info, slave_ok):
File "/usr/lib/python2.7/contextlib.py", line 17, in enter
return self.gen.next()
File "/home/rahul/.local/lib/python2.7/site-packages/pymongo/mongo_client.py", line 1300, in _socket_for_reads
with self._get_socket(server, session) as sock_info:
File "/usr/lib/python2.7/contextlib.py", line 17, in enter
return self.gen.next()
File "/home/rahul/.local/lib/python2.7/site-packages/pymongo/mongo_client.py", line 1222, in _get_socket
self.__all_credentials, checkout=exhaust) as sock_info:
File "/usr/lib/python2.7/contextlib.py", line 17, in enter
return self.gen.next()
File "/home/rahul/.local/lib/python2.7/site-packages/pymongo/pool.py", line 1138, in get_socket
sock_info.check_auth(all_credentials)
File "/home/rahul/.local/lib/python2.7/site-packages/pymongo/pool.py", line 712, in check_auth
auth.authenticate(credentials, self)
File "/home/rahul/.local/lib/python2.7/site-packages/pymongo/auth.py", line 564, in authenticate
auth_func(credentials, sock_info)
File "/home/rahul/.local/lib/python2.7/site-packages/pymongo/auth.py", line 541, in _authenticate_default
return _authenticate_scram(credentials, sock_info, 'SCRAM-SHA-1')
File "/home/rahul/.local/lib/python2.7/site-packages/pymongo/auth.py", line 263, in _authenticate_scram
res = sock_info.command(source, cmd)
File "/home/rahul/.local/lib/python2.7/site-packages/pymongo/pool.py", line 613, in command
user_fields=user_fields)
File "/home/rahul/.local/lib/python2.7/site-packages/pymongo/network.py", line 167, in command
parse_write_concern_error=parse_write_concern_error)
File "/home/rahul/.local/lib/python2.7/site-packages/pymongo/helpers.py", line 159, in _check_command_response
raise OperationFailure(msg % errmsg, code, response)
pymongo.errors.OperationFailure: Authentication failed.
The text was updated successfully, but these errors were encountered:
Traceback (most recent call last):
File "./zabbix-mongodb.py", line 243, in
mongodb.get_db_names()
File "./zabbix-mongodb.py", line 73, in get_db_names
master = db_handler.command('isMaster')['ismaster']
File "/home/rahul/.local/lib/python2.7/site-packages/pymongo/database.py", line 730, in command
read_preference, session) as (sock_info, slave_ok):
File "/usr/lib/python2.7/contextlib.py", line 17, in enter
return self.gen.next()
File "/home/rahul/.local/lib/python2.7/site-packages/pymongo/mongo_client.py", line 1300, in _socket_for_reads
with self._get_socket(server, session) as sock_info:
File "/usr/lib/python2.7/contextlib.py", line 17, in enter
return self.gen.next()
File "/home/rahul/.local/lib/python2.7/site-packages/pymongo/mongo_client.py", line 1222, in _get_socket
self.__all_credentials, checkout=exhaust) as sock_info:
File "/usr/lib/python2.7/contextlib.py", line 17, in enter
return self.gen.next()
File "/home/rahul/.local/lib/python2.7/site-packages/pymongo/pool.py", line 1138, in get_socket
sock_info.check_auth(all_credentials)
File "/home/rahul/.local/lib/python2.7/site-packages/pymongo/pool.py", line 712, in check_auth
auth.authenticate(credentials, self)
File "/home/rahul/.local/lib/python2.7/site-packages/pymongo/auth.py", line 564, in authenticate
auth_func(credentials, sock_info)
File "/home/rahul/.local/lib/python2.7/site-packages/pymongo/auth.py", line 541, in _authenticate_default
return _authenticate_scram(credentials, sock_info, 'SCRAM-SHA-1')
File "/home/rahul/.local/lib/python2.7/site-packages/pymongo/auth.py", line 263, in _authenticate_scram
res = sock_info.command(source, cmd)
File "/home/rahul/.local/lib/python2.7/site-packages/pymongo/pool.py", line 613, in command
user_fields=user_fields)
File "/home/rahul/.local/lib/python2.7/site-packages/pymongo/network.py", line 167, in command
parse_write_concern_error=parse_write_concern_error)
File "/home/rahul/.local/lib/python2.7/site-packages/pymongo/helpers.py", line 159, in _check_command_response
raise OperationFailure(msg % errmsg, code, response)
pymongo.errors.OperationFailure: Authentication failed.
The text was updated successfully, but these errors were encountered: