You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like neither the warning nor critical states of the replset_state check are working correctly:
def check_replset_state(con, perf_data, warning="", critical=""):
try:
warning = [int(x) for x in warning.split(",")]
except:
warning = [0, 3, 5]
try:
critical = [int(x) for x in critical.split(",")]
except:
critical = [8, 4, -1]
ok = range(-1, 8) # should include the range of all posiible values
...
Example results (should be WARNING):
OK - State: 3 (Recovering)
I hacked this in to get it going:
def check_replset_state(con, perf_data, warning="", critical=""):
warning = []
# most of these states are critical imho
critical = [0,5,3,8,4,-1]
ok = range(-1,8) #should include the range of all posiible values
...
Thoughts?
The text was updated successfully, but these errors were encountered:
It looks like neither the warning nor critical states of the replset_state check are working correctly:
Example results (should be WARNING):
I hacked this in to get it going:
Thoughts?
The text was updated successfully, but these errors were encountered: