[SERVER-11944] Set SNMPCONFPATH to install directory when installing using MSI Created: 04/Dec/13  Updated: 29/Jan/18  Resolved: 16/May/17

Status: Closed
Project: Core Server
Component/s: Packaging
Affects Version/s: 2.5.4
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Sridhar Nanjundeswaran Assignee: Mark Benvenuto
Resolution: Done Votes: 0
Labels: 26qa, Windows, build-later
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

MongoDB Enterprise Edition for Windows


Issue Links:
Related
related to SERVER-13004 Enterprise SNMP config file setup on ... Backlog
Backwards Compatibility: Fully Compatible
Participants:

 Description   

Currently when installing on Windows the customer has to copy mongod.config.master or mongod.config.subagent to c:\snmp\etc\config or set SNMPCONFPATH environment variable to the install directory. It would be useful to set SNMPCONFPATH environment variable during installation



 Comments   
Comment by Mark Benvenuto [ 16/May/17 ]

We never want to set a global environment variable like SNMPCONFPATH as part of the installer. An simpler option is to simply set SNMPCONFPATH before init_agent is called in the mongod process. This would allow us to use the MongoDB install path over the Net-SNMP hardcoded c:\snmp.

Generated at Thu Feb 08 03:27:10 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.