<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:32:15 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-13598] MongoDB plugins with Munin fail</title>
                <link>https://jira.mongodb.org/browse/SERVER-13598</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Hello,&lt;/p&gt;

&lt;p&gt;We&apos;ve deployed Munin Server and nodes to improve MongoDB monitoring. installed mongo plugins from here: &lt;a href=&quot;http://docs.mongodb.org/ecosystem/tools/munin/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://docs.mongodb.org/ecosystem/tools/munin/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Unfortunately mongo monitoring plugins fail with errors. I&apos;ve made sure that python scripts (plugins) point to correct mongo port and host, but they always produce similar errors. Here is the error when running mongo_lock manually using python 2.6.6 and 3.4.0:&lt;/p&gt;

&lt;p&gt;Python 2.6.6&lt;br/&gt;
Traceback (most recent call last):&lt;br/&gt;
  File &quot;mongo_lock&quot;, line 45, in &amp;lt;module&amp;gt;&lt;br/&gt;
    doData()&lt;br/&gt;
  File &quot;mongo_lock&quot;, line 20, in doData&lt;br/&gt;
    status = getServerStatus()&lt;br/&gt;
  File &quot;mongo_lock&quot;, line 15, in getServerStatus&lt;br/&gt;
    return json.loads( raw )&lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;quot;serverStatus&amp;quot;&amp;#93;&lt;/span&gt;&lt;br/&gt;
  File &quot;/usr/lib64/python2.6/json/_&lt;em&gt;init&lt;/em&gt;_.py&quot;, line 307, in loads&lt;br/&gt;
    return _default_decoder.decode(s)&lt;br/&gt;
  File &quot;/usr/lib64/python2.6/json/decoder.py&quot;, line 319, in decode&lt;br/&gt;
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())&lt;br/&gt;
  File &quot;/usr/lib64/python2.6/json/decoder.py&quot;, line 338, in raw_decode&lt;br/&gt;
    raise ValueError(&quot;No JSON object could be decoded&quot;)&lt;br/&gt;
ValueError: No JSON object could be decoded&lt;/p&gt;

&lt;p&gt;Python 3.4.0&lt;br/&gt;
  File &quot;mongo_lock&quot;, line 25&lt;br/&gt;
    print name + &quot;.value &quot; + str( 100 * ratio )&lt;br/&gt;
             ^&lt;br/&gt;
SyntaxError: invalid syntax&lt;/p&gt;


&lt;p&gt;Are these plugins only compatible with specific version of python and/or MongoDB? &lt;br/&gt;
Any advise would be appreciated.&lt;/p&gt;</description>
                <environment></environment>
        <key id="131267">SERVER-13598</key>
            <summary>MongoDB plugins with Munin fail</summary>
                <type id="6" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14720&amp;avatarType=issuetype">Question</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="bernie@mongodb.com">Bernie Hackett</assignee>
                                    <reporter username="imedvetskiy@madisonlogic.com">Ilya Medvetskiy</reporter>
                        <labels>
                    </labels>
                <created>Tue, 15 Apr 2014 15:57:34 +0000</created>
                <updated>Sun, 30 Nov 2014 14:35:21 +0000</updated>
                            <resolved>Sun, 30 Nov 2014 14:35:21 +0000</resolved>
                                    <version>2.4.9</version>
                                                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="550557" author="behackett" created="Tue, 15 Apr 2014 18:51:04 +0000"  >&lt;p&gt;Good to hear. I&apos;ve opened &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-3174&quot; title=&quot;Docs for mongo-munin are incomplete&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-3174&quot;&gt;&lt;del&gt;DOCS-3174&lt;/del&gt;&lt;/a&gt; to get the documentation fixed. Let us know if you run into any more problems.&lt;/p&gt;</comment>
                            <comment id="550544" author="imedvetskiy@madisonlogic.com" created="Tue, 15 Apr 2014 18:41:29 +0000"  >&lt;p&gt;That was it, rest interface had to be enabled and scripts point to it.&lt;br/&gt;
Would definitely help if wiki mentioned it.&lt;br/&gt;
Thank you Bernie.&lt;/p&gt;</comment>
                            <comment id="550451" author="behackett" created="Tue, 15 Apr 2014 17:37:23 +0000"  >&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;The mongo-munin plugin will only work with python 2.x. Python 2.6.6 should work fine, but Python 3.4 is incompatible.&lt;/p&gt;

&lt;blockquote&gt;&lt;p&gt;I&apos;ve made sure that python scripts (plugins) point to correct mongo port and host&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;What port did you use? This plugin pulls server status using the mongo rest interface, not the mongodb wire protocol. You will have to start your mongo instances with the --rest option. By default the rest interface runs on port number 1000 greater than the --port option for mongo, 28017 by default.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="131317">DOCS-3174</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </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_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 15 Apr 2014 17:37:23 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        9 years, 44 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>false</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>ian@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            9 years, 44 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>bernie@mongodb.com</customfieldvalue>
            <customfieldvalue>imedvetskiy@madisonlogic.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrlwsn:</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>112678</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_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|hsgz5r:</customfieldvalue>

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