[DOCS-2002] Monitor MongoDB with SNMP page needs to be enhanced for Windows. Created: 26/Sep/13  Updated: 07/Jan/14  Resolved: 12/Dec/13

Status: Closed
Project: Documentation
Component/s: manual
Affects Version/s: v1.2
Fix Version/s: mongodb-2.6

Type: Improvement Priority: Major - P3
Reporter: Sridhar Nanjundeswaran Assignee: Zack Brown
Resolution: Done Votes: 0
Labels: 26qa
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by DOCS-2384 Include snmp man page in man page tar... Closed
Related
Participants:
Days since reply: 10 years, 20 weeks, 6 days ago

 Description   

The current page is linux specific.



 Comments   
Comment by Sridhar Nanjundeswaran [ 27/Sep/13 ]

Prerequisites
There are no external required packages on Windows. The net-snmp library is included as part of the MSI.

Install MIB Configuration Files -> Install Configuration files
The Windows installer should install the config file (mongod.conf) to the home directory of the user doing the installation. %HOMEPATH%\.snmp. If running as a user different from the one you ran the MSI installer then you need to copy the file to the appropriate directory. If the windows service is set to run as Network Service then copy the config file to c:\Windows\ServiceProfiles\NetworkService\.snmp>

The check for mongod running with snmp will not work if it was on option on a config file instead of SNMP. Also this is Linux specific. I would change this to connect using the shell and then run db.adminCommand("getCmdLineOpts") or extend it to say if config file was used to go look at the config file.

Test SNMP
LSOF is not avail on Windows
Also instead of port 1161 you should specify to check the port which is configured in the snmp config file for MongoDB
1.3.6.1.4.1.37601 -> 1.3.6.1.4.1.34601 (the IANA has now been changed)

Comment by Sam Kleinman (Inactive) [ 26/Sep/13 ]

this is 2.6 specific, correct?

Generated at Thu Feb 08 07:42:26 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.