This repository was archived by the owner on Jan 15, 2021. It is now read-only.
This repository was archived by the owner on Jan 15, 2021. It is now read-only.
pmp-check-mongo check_cannary_test throws FAILED: 'float' object has no attribute 'total_seconds' #88
Open
Description
Hi!
I get an error using the pmp-check-mongo when I try to use the check_cannary_test
- Error Message
/usr/lib64/nagios/plugins/pmp-check-mongo.py -H localhost -P 27017 -u <user> -p <password> -A check_cannary_test -W 3 -C 5 -d test1 -c test -q "db.test.find()"
CRITICAL - Collection test1.test query FAILED: 'float' object has no attribute 'total_seconds'
User and password are fine, I can login and other check method work as well - only the cannary test fails.
The Database and collection exists:
PRIMARY> db.test
PRIMARY> db.test.find()
{ "_id" : ObjectId("5abce2eda51d76dba2666695"), "name" : "test1" }
- Server
OS: Debian 9 stretch 64 bit, python 2.7
pmp-nagios-plugins from percona repository:
Package: percona-nagios-plugins
Version: 1.1.8-1.stretch
New: yes
State: installed
...
Maintainer: Percona LLC
regards and thanks in advance,
david
Metadata
Metadata
Assignees
Labels
No labels