Check was not getting critical if the db was down. Therefore the action "connect" was not working
Check was not getting critical if the db was down. Therefore the action "connect" was not working

Added a small call to query the configured databases to check if the connection is really working.

mzupan/nagios-plugin-mongodb,warrenpnz/nagios-plugin-mongodb