bin/check-mongodb.py in sensu-plugins-mongodb-0.0.8 vs bin/check-mongodb.py in sensu-plugins-mongodb-1.0.0
- old
+ new
@@ -88,10 +88,10 @@
return data
def numeric_type(param):
- if ((type(param) == float or type(param) == int or param == None)):
+ if ((type(param) == float or type(param) == int or type(param) == long or param == None)):
return True
return False
def check_levels(param, warning, critical, message, ok=[]):