Open TheFatal opened 8 years ago
hey, im trying to monitor my mongo instance by zabbix-mongo plugin
i have installed /opt/zabbix/zbx_mongo.so and include it in my zabbix_agentd.conf
LoadModulePath=/opt/zabbix LoadModule=zbx_mongo.so
I restarted zabbix_agentd n sow
[zbx-mongo] Version 0.3 loaded using runtime go1.6. loaded modules: zbx_mongo.so
then i tried to get information via zabbix get
zabbix_get -s 192.168.99.111 -p 10050 -k 'mongo.run[mongodb://127.0.0.1:27018/local,serverStatus,"{\"serverStatus\":1}",/connections/totalCreated]'
and have this massage
[zbx-mongo] Opening session with DB mongodb://127.0.0.1:27018/local [zbx-mongo] Dialing server, timeout 2s
what have I done wrong ?
btw
mongo mongodb://127.0.0.1:27018/local
works fine
seeing the same exact thing here - any thoughts, @m-barthelemy ?
hey, im trying to monitor my mongo instance by zabbix-mongo plugin
i have installed /opt/zabbix/zbx_mongo.so and include it in my zabbix_agentd.conf
I restarted zabbix_agentd n sow
then i tried to get information via zabbix get
zabbix_get -s 192.168.99.111 -p 10050 -k 'mongo.run[mongodb://127.0.0.1:27018/local,serverStatus,"{\"serverStatus\":1}",/connections/totalCreated]'
and have this massage
what have I done wrong ?
btw
mongo mongodb://127.0.0.1:27018/local
works fine