-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Working Criteria for MongoDB 4.0 with ReplicaSet #17
Comments
Hi @eligiable thanks for sharing your environment. I have a similar set up with the differences being I am using Ubuntu 18.04 and Python 2.7.15rc1 When I run python But when I run I keep getting the following error.
Looks like the issue is when the python script is being called form shell script. Any pointers to fix the issue would be great. Thanks in advance. |
Hi @nkgokul just install zabbix_sender, which is not by default installed with zabbix-agent or zabbix-server. sudo apt install zabbix_sender and then try, |
Boa tarde, No meu mongo que é um replica set ele apresenta esse erro [gandalf@node10-mongodb bin]$ sudo vim zabbix-mongodb.py
|
This is a Great Script, I've done some modifications according to the following environment:
Below are my configuration:
sudo apt-get install build-essential python-dev python3-pip
sudo pip3 install pymongo
sudo apt-get install zabbix-sender
python /usr/local/bin/zabbix-mongodb.py -- to --> python3 /usr/local/bin/zabbix-mongodb.py
self.mongo_host = "hostname"
self.mongo_user = "username"
self.mongo_password = "password"
Appriciate your effort ...
The text was updated successfully, but these errors were encountered: