Scripts and Deployment for Monitoring a Mongo Node with Zabbix 2.x
zabbix_mongo_status.py is copied from [email protected] Modfied as necessar and packaged by Josh Keys [email protected]
- depends simplejson
- start mongod with with --rest paramater
- zabbix_mongo_status.py serverStatus version
- zabbix_mongo_status.py serverStatus globalLock lockTime
- Depends on fabric http://docs.fabfile.org/en/1.5/index.html
- Install with pip on your workstation to delpoy
- For easy deploy into EC2 ssh-add your keys to your profile
- fab -H user@host1,user@host2,user@host3 deploy userparameter_mongo.conf and zabbix_mongo_status.py should be in the root of the directory of the fabfile.py