Hi ppl,
i hope someone can help me ^^
i using the chekc_mongodb.py plugin since around 1 month, just doing some connection checks and other main stuff.
now i need to check the replication_lag and replication_lag_percent and now i got the problem:
# ./check_mongodb.py -H xxx.xxx.xxx.165 -P 27017 -A replication_lag
CRITICAL - Unable to find host 'xxx.xxx.xxx.165' in replica set.
same with the replication_lag_percent
when i use it on an other mongodb server with no replication:
# ./check_mongodb.py -H xxx.xxx.xxx.94 -P 27017 -A replication_lag
OK - Not running with replSet
maybe im blind but i cnat find the error >.<
all other checks are running, connect/connections/lock...
anyone got a nice idea?
thanks for the help.
[error] Mongodb.py replication_lag
Re: [error] Mongodb.py replication_lag
can be Closed.
what a shame
error was that the plugin is checking the host name, no wonder that he cant find the ip as name in the string, so solution was:
i added in the hosts file on the nagios server how the ip should be resolve.
problem is, taht the replciation_lag is teh only one with that kind of check. all other checks are working fine just with the IP.
what a shame
error was that the plugin is checking the host name, no wonder that he cant find the ip as name in the string, so solution was:
i added in the hosts file on the nagios server how the ip should be resolve.
problem is, taht the replciation_lag is teh only one with that kind of check. all other checks are working fine just with the IP.