Hi All,
currently, I am working on Nagios XI. I got an ERROR alert for the below mentioed service related to Mongodb Server.
Error message:
CRITICAL - General MongoDB Error: name must be an instance of basestring
check_Command:
check_mongodb
Command_view:
Moderator Note: Content removed per request
$ARG1$: replication_lag_percent
Plugin script-check_mongodb.py:
What i observed is we can see this error only for secondary servers. Please find the attached screenshot and help me in solving this error.
Nagios XI Error on Mongodb alerts.
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Nagios XI Error on Mongodb alerts.
Hello,
Take a look at the forum thread below as it is similar to your issue, and a updated plugin was provided (see page 2) to correct the error on secondary nodes.
Error in Mongo DB Replication_Lag_Percentage monitoring
Also, please be sure to make a backup of your serveror the plugin before making any changes.
Take a look at the forum thread below as it is similar to your issue, and a updated plugin was provided (see page 2) to correct the error on secondary nodes.
Error in Mongo DB Replication_Lag_Percentage monitoring
Also, please be sure to make a backup of your serveror the plugin before making any changes.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!