Difference between revisions of "Monitoring Solution"

Jump to navigation Jump to search
2 bytes removed ,  12:46, 16 June 2023
no edit summary
Line 125: Line 125:
c. Configure MongoDB
c. Configure MongoDB
Open with a text editor mongod.cfg file located in mongodb folder, default : "C:\Program Files\MongoDB\Server\6.0\bin\mongod.cfg"
Open with a text editor mongod.cfg file located in mongodb folder, default : "C:\Program Files\MongoDB\Server\6.0\bin\mongod.cfg"
We need to enable zstd compression, find wiredTiger block and edit it as followed :
We need to enable zstd compression, find wiredTiger block and edit it as followed :<code>
<code>
   wiredTiger:
   wiredTiger:
     collectionConfig:
     collectionConfig:
       blockCompressor: zstd
       blockCompressor: zstd
</code>
</code>
Configure the net part as needed, example with port 27017 and allowing any external IP address :
Configure the net part as needed, example with port 27017 and allowing any external IP address :<code>
<code>
   # network interfaces
   # network interfaces
   net:
   net:

Navigation menu