Page 1 of 1

Does nagios require a mongoDB to be installed?

Posted: Sat Nov 10, 2018 2:06 pm
by vy3734
hi,
I'm trying to setup a new nagios installation on one of my servers. I see that the installation script is trying to download a pacakge for mongoDB and install. Is MongoDB required for nagiosxi to function properly. I see the following error
CHECKING FOR INSTALL SCRIPT '/usr/local/nagiosxi/html/includes/configwizards/mongodb_database/install.sh'...
RUNNING INSTALL SCRIPT...
Collecting pymongo
Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f59c7fa8690>: Failed to establish a new connection: [Errno 101] Network is unreachable',)': /simple/pymongo/
Retrying (Retry(total=3, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f59c7fa88d0>: Failed to establish a new connection: [Errno 101] Network is unreachable',)': /simple/pymongo/
Retrying (Retry(total=2, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f59c7fa8e10>: Failed to establish a new connection: [Errno 101] Network is unreachable',)': /simple/pymongo/
Retrying (Retry(total=1, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f59c7fa8b50>: Failed to establish a new connection: [Errno 101] Network is unreachable',)': /simple/pymongo/

However after trying for two times it gives up and moves on with the rest of the installation process. Does this effect the performance and nagiosxi server functionality in anyway? Please help!

Thanks!

Re: Does nagios require a mongoDB to be installed?

Posted: Mon Nov 12, 2018 10:59 am
by scottwilkerson
This is only required to use the MongoDB wizard to monitor MongoDB servers.

Nagios XI doesn't use it for normal operations.