Nagios XI Error on Mongodb alerts.

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
Srinija544
Posts: 58
Joined: Mon Oct 15, 2018 9:30 pm

Nagios XI Error on Mongodb alerts.

Post by Srinija544 »

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.
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Nagios XI Error on Mongodb alerts.

Post by benjaminsmith »

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.
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!
Locked