nagios-plugin-mongodb icon indicating copy to clipboard operation
nagios-plugin-mongodb copied to clipboard

replication_lag does not work on mongod 3.2.6

Open bodomic opened this issue 8 years ago • 2 comments

Hello, script was working fine until I've upgraded all mongod instances to 3.2.6. Now it says the following, when checking against Secondary:

# /usr/lib/nagios/plugins/check_mongodb.py -A replication_lag -H mongo1-ssd
CRITICAL - General MongoDB Error: argument of type 'long' is not iterable

NB: if I switch primary, error goes to a new secondary, so it's not a local setup issue or smth like that. Version of script is the latest, Mongodb 3.2.6, Ubuntu 14.04 LTS

bodomic avatar May 09 '16 18:05 bodomic