<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:25:26 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-11308] SNMP requests may timeout on replica set with secondary as SNMP master</title>
                <link>https://jira.mongodb.org/browse/SERVER-11308</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Given a standard PSS replica set, with a secondary configured as SNMP master, and the other two nodes configured as SNMP subagents, I get a failure partway through the snmpwalk, but no exceptions in the mongod logs.&lt;/p&gt;

&lt;p&gt;snmpwalk -m MONGO-MIB -v 2c -c mongodb 0.0.0.0:1161 1.3.6.1.4.1.34601&lt;br/&gt;
MONGO-MIB::serverName.&quot;27016&quot; = STRING: &quot;ip-10-234-11-233:27016&quot;&lt;br/&gt;
MONGO-MIB::serverName.&quot;27017&quot; = STRING: &quot;ip-10-234-11-233:27017&quot;&lt;br/&gt;
MONGO-MIB::serverName.&quot;27018&quot; = STRING: &quot;ip-10-234-11-233:27018&quot;&lt;br/&gt;
MONGO-MIB::sysUpTime.&quot;27016&quot; = Timeticks: (6293) 0:01:02.93&lt;br/&gt;
MONGO-MIB::sysUpTime.&quot;27017&quot; = Timeticks: (5327) 0:00:53.27&lt;br/&gt;
MONGO-MIB::sysUpTime.&quot;27018&quot; = Timeticks: (4346) 0:00:43.46&lt;br/&gt;
MONGO-MIB::globalOpInsert.&quot;27016&quot; = Counter32: 1&lt;br/&gt;
MONGO-MIB::globalOpInsert.&quot;27017&quot; = Counter32: 1&lt;br/&gt;
MONGO-MIB::globalOpInsert.&quot;27018&quot; = Counter32: 1&lt;br/&gt;
MONGO-MIB::globalOpQuery.&quot;27016&quot; = Counter32: 5&lt;br/&gt;
MONGO-MIB::globalOpQuery.&quot;27017&quot; = Counter32: 8&lt;br/&gt;
MONGO-MIB::globalOpQuery.&quot;27018&quot; = Counter32: 3&lt;br/&gt;
MONGO-MIB::globalOpUpdate.&quot;27016&quot; = Counter32: 0&lt;br/&gt;
MONGO-MIB::globalOpUpdate.&quot;27017&quot; = Counter32: 3&lt;br/&gt;
MONGO-MIB::globalOpUpdate.&quot;27018&quot; = Counter32: 0&lt;br/&gt;
MONGO-MIB::globalOpDelete.&quot;27016&quot; = Counter32: 0&lt;br/&gt;
MONGO-MIB::globalOpDelete.&quot;27017&quot; = Counter32: 0&lt;br/&gt;
MONGO-MIB::globalOpDelete.&quot;27018&quot; = Counter32: 0&lt;br/&gt;
MONGO-MIB::globalOpGetMore.&quot;27016&quot; = Counter32: 0&lt;br/&gt;
MONGO-MIB::globalOpGetMore.&quot;27017&quot; = Counter32: 17&lt;br/&gt;
Error in packet.&lt;br/&gt;
Reason: (genError) A general failure occured&lt;br/&gt;
Failed object: MONGO-MIB::globalOpGetMore.&quot;27017&quot;&lt;/p&gt;</description>
                <environment>* EC2, Amazon Linux, m1.large&lt;br/&gt;
* PSS replica set &lt;br/&gt;
* primary mongod server and one secondary as SNMP subagents, the other secondary as SNMP master</environment>
        <key id="95299">SERVER-11308</key>
            <summary>SNMP requests may timeout on replica set with secondary as SNMP master</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="9">Done</resolution>
                                        <assignee username="james.wahlin@mongodb.com">James Wahlin</assignee>
                                    <reporter username="cadran.cowansage">Cadran Cowansage</reporter>
                        <labels>
                            <label>26qa</label>
                    </labels>
                <created>Tue, 22 Oct 2013 20:16:09 +0000</created>
                <updated>Wed, 10 Dec 2014 23:11:15 +0000</updated>
                            <resolved>Mon, 4 Nov 2013 15:04:15 +0000</resolved>
                                    <version>2.5.3</version>
                                                    <component>Diagnostics</component>
                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="450821" author="milkie" created="Mon, 4 Nov 2013 14:48:33 +0000"  >&lt;p&gt;Thanks for discovering that.  How long does it look like it&apos;s taking?  I suppose this means one of the data items is blocking on a held mutex?&lt;br/&gt;
What&apos;s the default timeout if you don&apos;t supply one in the config?&lt;br/&gt;
We might want to add to the SNMP documentation about setting timeouts.&lt;/p&gt;</comment>
                            <comment id="450813" author="james.wahlin@10gen.com" created="Mon, 4 Nov 2013 14:42:26 +0000"  >&lt;p&gt;This is due to a timeout in an agentX request. I changed the timeout on both the master and subagents to 5 seconds with the following flag. Using this I can consistently retrieve metrics for all members of a 3 member set:&lt;/p&gt;
&lt;p/&gt;
&lt;div id=&quot;syntaxplugin&quot; class=&quot;syntaxplugin&quot; style=&quot;border: 1px dashed #bbb; border-radius: 5px !important; overflow: auto; max-height: 30em;&quot;&gt;
&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; width=&quot;100%&quot; style=&quot;font-size: 1em; line-height: 1.4em !important; font-weight: normal; font-style: normal; color: black;&quot;&gt;
		&lt;tbody &gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;  margin-top: 10px;   margin-bottom: 10px;  width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;agentXTimeout 5&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
			&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p/&gt;</comment>
                            <comment id="444881" author="milkie" created="Tue, 22 Oct 2013 20:41:53 +0000"  >&lt;p&gt;Might be a field is unexpectedly absent when in secondary mode.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                                        </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="32872" name="1.log" size="114898" author="cadran.cowansage" created="Tue, 22 Oct 2013 20:16:09 +0000"/>
                            <attachment id="32873" name="2.log" size="159637" author="cadran.cowansage" created="Tue, 22 Oct 2013 20:16:09 +0000"/>
                            <attachment id="32874" name="3.log" size="291056" author="cadran.cowansage" created="Tue, 22 Oct 2013 20:16:09 +0000"/>
                            <attachment id="32871" name="snmp.mongod.conf" size="1477" author="cadran.cowansage" created="Tue, 22 Oct 2013 20:16:09 +0000"/>
                    </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_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 22 Oct 2013 20:41:53 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        10 years, 15 weeks, 2 days 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>false</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>ramon.fernandez@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            10 years, 15 weeks, 2 days 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_10032" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Operating System</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10026"><![CDATA[ALL]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>cadran.cowansage</customfieldvalue>
            <customfieldvalue>milkie@mongodb.com</customfieldvalue>
            <customfieldvalue>james.wahlin@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrmaaf:</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>87266</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_10750" key="com.atlassian.jira.plugin.system.customfieldtypes:textarea">
                        <customfieldname>Steps To Reproduce</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>&lt;p&gt;0.) Install standard pre-req packages for SNMP.&lt;br/&gt;
1.) Edit /etc/snmp/mongod.conf config file for subagent connection through TCP:1705 (mongod.conf attached).&lt;br/&gt;
2.) Launch a PSS replica set. A secondary was SNMP master, the master and other secondary were subagents. (All nodes are on the same host.)&lt;br/&gt;
3.) Run snmpwalk of master (I was running snmpwalk locally)&lt;br/&gt;
snmpwalk -m MONGO-MIB -v 2c -c mongodb 0.0.0.0:1161 1.3.6.1.4.1.34601&lt;/p&gt;

&lt;p&gt;Actual command-line flags used for each host:&lt;br/&gt;
Secondary : ./mongod --snmp-subagent --replSet set1 --logpath /var/log/mongodb/1.log --dbpath /data/rs1 --port 27017 --fork --oplogSize 200 --smallfiles&lt;br/&gt;
Primary : ./mongod --snmp-subagent --replSet set1 --logpath /var/log/mongodb/2.log --dbpath /data/rs2 --port 27018 --fork --oplogSize 200 --smallfiles&lt;br/&gt;
Secondary : ./mongod --snmp-master --replSet set1 --logpath /var/log/mongodb/3.log --dbpath /data/rs3 --port 27019 --fork --oplogSize 200 --smallfiles&lt;/p&gt;</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</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|hsaetr:</customfieldvalue>

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