Open GoogleCodeExporter opened 9 years ago
Also, the template has no way to pass the a mongoDB username and password in.
I had to change the command in the template to read:
mikoomi-mongodb-plugin.sh[-h {$MONGODB_HOSTNAME} -p {$MONGODB_PORT} -z
{$MONGODB_ZABBIX_NAME} -u {$MONGODB_USER} -x {$MONGODB_PASS}]
It would probably be a good idea to adjust the template and docs for this, as
most mongoDBs in production have authentication on (exposing a fully open mongo
DB to the network is kind of stupid :).
Original comment by rob...@paramise.com
on 1 Apr 2012 at 1:15
I posted the fixed/updated mongodb template over at
https://gist.github.com/2275369
This version works with the macro changes in the documentation, and allows the
user to pass in the following additional macros:
{$MONGODB_USER}
{$MONGODB_PASS}
If these values are not specified, no authentication will be used.
Also, the macro has sane defaults for the mongodb hostname (localhost) and port
(27017).
Original comment by rob...@paramise.com
on 1 Apr 2012 at 1:42
Original issue reported on code.google.com by
l.bigonv...@gmail.com
on 15 Mar 2012 at 10:07