<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:30:20 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[SERVER-13004] Enterprise SNMP config file setup on windows</title>
                <link>https://jira.mongodb.org/browse/SERVER-13004</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;The config files for snmp support on windows need a fair bit of setup compared to linux.  And while it&apos;s possible to get everything working on windows, the workaround make it obvious how non-idiomatically we&apos;ve built the support.  Do we want to update the existing docs, or try a little harder in the installer to make support more out of the box?&lt;/p&gt;

&lt;p&gt;Steps needed to get snmp up for windows:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;copy mongod.conf.master/subagent to c:\snmp\etc\config. (not clear to me why this is the recommended path.  We neither create it in the installer or provide any special lookup for it there)&lt;/li&gt;
	&lt;li&gt;add an environment variable SNMPCONFPATH=c:\snmp\etc\config&lt;/li&gt;
	&lt;li&gt;for the subagent, comment the use of a unix domain socket for subagent reporting and uncomment a tcp socket line.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;By default, mongod looks for mongod.conf in a handful of paths, none of which exists: c:/snmp/etc/snmp;c:/snmp/share/snmp (note the reversed slashes).  It seems like we could look for a config in our own install path &quot;c:\Program Files\MongoDB Enterprise 2.6.0&quot;, or provide a command line switch to point to a file.  We could also ship with a subagent config that works out of the box.&lt;/p&gt;

&lt;p&gt;Either way, setting an environment variable for a library that we&apos;re completely wrapping to locate a config which doesn&apos;t immediately work seems impolite when we could technically just fix our installer.&lt;/p&gt;</description>
                <environment></environment>
        <key id="116987">SERVER-13004</key>
            <summary>Enterprise SNMP config file setup on windows</summary>
                <type id="6" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14720&amp;avatarType=issuetype">Question</type>
                                            <priority id="4" iconUrl="https://jira.mongodb.org/images/icons/priorities/minor.svg">Minor - P4</priority>
                        <status id="10038" iconUrl="https://jira.mongodb.org/images/icons/subtask.gif" description="">Backlog</status>
                    <statusCategory id="2" key="new" colorName="default"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="backlog-server-security">Backlog - Security Team</assignee>
                                    <reporter username="mira.carey@mongodb.com">Mira Carey</reporter>
                        <labels>
                            <label>Windows</label>
                    </labels>
                <created>Mon, 3 Mar 2014 20:12:59 +0000</created>
                <updated>Mon, 8 Jan 2024 15:22:53 +0000</updated>
                                            <version>2.6.0-rc0</version>
                                                    <component>Security</component>
                                        <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="1572454" author="mark.benvenuto" created="Tue, 16 May 2017 17:01:48 +0000"  >&lt;p&gt;We never want to set a global environment variable like &lt;tt&gt;SNMPCONFPATH&lt;/tt&gt; as part of the installer. An simpler option is to simply set &lt;tt&gt;SNMPCONFPATH&lt;/tt&gt; before &lt;tt&gt;init_agent&lt;/tt&gt; is called in the &lt;tt&gt;mongod&lt;/tt&gt; process. This would allow us to use the MongoDB install path over the Net-SNMP hardcoded &lt;tt&gt;c:\snmp&lt;/tt&gt;.&lt;/p&gt;</comment>
                            <comment id="508372" author="milkie" created="Mon, 3 Mar 2014 21:10:26 +0000"  >&lt;p&gt;See linked tickets for sub-work.&lt;/p&gt;</comment>
                            <comment id="508304" author="milkie" created="Mon, 3 Mar 2014 20:25:29 +0000"  >&lt;p&gt;Actually, mongod does not look for mongod.conf, NetSNMP does, and since the configuration default path is set at compile-time for that third-party library, it is difficult to choose a reasonable default.  NetSNMP is designed so that you build it yourself and then install it yourself, and when you do that everything is easy.  When you have another company build it for you, this scheme doesn&apos;t work so well.  So we must override the default with that environment variable at run time.  As far as I know, on Linux you must copy the SNMP configure files to an appropriate place as well, so I don&apos;t see the first bullet as being any worse on Windows.  I believe the directory name was chosen because it was similar to the Linux directory, and because we couldn&apos;t think of anything better.&lt;/p&gt;

&lt;p&gt;Searching for the config file in Program Files install path isn&apos;t idiomatic, since you shouldn&apos;t have editable configuration text files in the Program Files tree.  Setting environment variables within the mongod runtime is risky, and particularly so on Windows.  Letting the user set the environment before running the server seemed like the easiest way to avoid problems.&lt;/p&gt;

&lt;p&gt;In the future, we expect to have a native monitoring solution on Windows that will be a lot less clunky; there are a few SERVER tickets tracking the work.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="91750">SERVER-10932</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="100997">SERVER-11944</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>3.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                <customfield id="customfield_12751" key="com.atlassian.jira.plugin.system.customfieldtypes:multiselect">
                        <customfieldname>Assigned Teams</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="25129"><![CDATA[Server Security]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 3 Mar 2014 20:25:29 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        6 years, 39 weeks, 1 day ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[]]></customfieldvalue>


                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10057" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comment by Customer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>true</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>luke.bonanomi@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            6 years, 39 weeks, 1 day ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10000" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Old_Backport</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10000"><![CDATA[No]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>backlog-server-security</customfieldvalue>
            <customfieldvalue>milkie@mongodb.com</customfieldvalue>
            <customfieldvalue>mark.benvenuto@mongodb.com</customfieldvalue>
            <customfieldvalue>mira.carey@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrm00v:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hr9i7z:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>6475</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_23361" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Requested By</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_22870" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Triagers</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrl1db:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                    </customfields>
    </item>
</channel>
</rss>