petrushinvs / mongodb-zabbix-templates-4.0

mongodb zabbix templates rewritten in python with mongodb 4 support
MIT License
19 stars 14 forks source link

Ssl connections #11

Open Genacvali opened 4 years ago

Genacvali commented 4 years ago

Hello

Could you please tell me does you *py scripts support SSL connections to mongoDB?

petrushinvs commented 4 years ago

Hi, never tested, just clone and modify.

вт, 7 апр. 2020 г. в 17:54, Gena Mikvabiya notifications@github.com:

Hello

Could you please tell me does you *py scripts support SSL connections to mongoDB?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/petrushinvs/mongodb-zabbix-templates-4.0/issues/11, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEAXX5RYTWUVOMDD4RVJEBTRLM5CTANCNFSM4MDFXHTA .

-- С уважением, Василий Петрушин

Genacvali commented 4 years ago

Спасибо за информацию Василий, а есть возможность помочь мне в настройке скрипта так, чтоб он применял сертификаты? Подключение к монге выглядит так:

mongodb://${USER}:${PWD}@${IP}:${MPORT}/admin?replicaSet=rs&ssl=true&tlsCertificateKeyFile=/ssl/mongodb.pem&tlsCAFile=/ssl/ca.pem

petrushinvs commented 4 years ago

Привет, извини, я тут выпал немного из онлайны. Можно просто в коннекшн стринги добавить сертификаты.

пт, 10 апр. 2020 г. в 17:16, Gena Mikvabiya notifications@github.com:

Спасибо за информацию Василий, а есть возможность помочь мне в настройке скрипта так, чтоб он применял сертификаты? Подключение к монге выглядит так:

mongodb://${USER}:${PWD}@${IP}:${MPORT}/admin?replicaSet=rs& ssl=true&tlsCertificateKeyFile=/ssl/mongodb.pem&tlsCAFile=/ssl/ca.pem

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/petrushinvs/mongodb-zabbix-templates-4.0/issues/11#issuecomment-612047729, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEAXX5RVJS45NMOCOZUVINTRL4S4BANCNFSM4MDFXHTA .

-- С уважением, Василий Петрушин