[DOCS-4159] Comment on: "mms/tutorial/configure-monitoring-munin-node.txt" Created: 09/Oct/14  Updated: 16/Mar/15  Resolved: 06/Nov/14

Status: Closed
Project: Documentation
Component/s: Cloud Manager
Affects Version/s: None
Fix Version/s: v1.3.13

Type: Bug Priority: Blocker - P1
Reporter: Muthu Chinnasamy (Inactive) Assignee: Bob Grabar
Resolution: Done Votes: 0
Labels: collector-298ba4e7
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

AWS EC2 AMI

Location: http://mms.mongodb.com/help-hosted/current/tutorial/configure-monitoring-munin-node/
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.78.2 (KHTML, like Gecko) Version/7.0.6 Safari/537.78.2
Referrer: http://mms.mongodb.com/help-hosted/current/tutorial/install-on-prem-quick-start/
Screen Resolution: 1920 x 1200
repo: REPONAME
source: tutorial/configure-monitoring-munin-node


Participants:
Days since reply: 9 years, 14 weeks ago

 Description   

chmod 660 results in below error. chmod 773 seems to work fine.

2014/10/09-19:27:36 [26327] Error output from iostat_ios:
2014/10/09-19:27:36 [26327] iostat_ios: No historic data present
2014/10/09-19:27:36 [26327] can't create /var/lib/munin/plugin-state/munin/iostat-ios.state: Permission denied at /etc/munin/plugins/iostat_ios line 208
2014/10/09-19:27:36 [26327] Service 'iostat_ios' exited with status 13/0.
2014/10/09-19:27:36 [26326] Error output from iostat_ios:
2014/10/09-19:27:36 [26326] iostat_ios: No historic data present
2014/10/09-19:27:36 [26326] can't create /var/lib/munin/plugin-state/munin/iostat-ios.state: Permission denied at /etc/munin/plugins/iostat_ios line 208
2014/10/09-19:27:36 [26326] Service 'iostat_ios' exited with status 13/0.
2014/10/09-19:27:36 [26328] Error output from iostat_ios:
2014/10/09-19:27:36 [26328] iostat_ios: No historic data present
2014/10/09-19:27:36 [26328] can't create /var/lib/munin/plugin-state/munin/iostat-ios.state: Permission denied at /etc/munin/plugins/iostat_ios line 208
2014/10/09-19:27:36 [26328] Service 'iostat_ios' exited with status 13/0.



 Comments   
Comment by Githook User [ 12/Nov/14 ]

Author:

{u'username': u'bgrabar', u'name': u'Bob Grabar', u'email': u'bob.grabar@10gen.com'}

Message: DOCS-4159 change permissions on the /var/lib/munin/plugin-state/ directory
Branch: master
https://github.com/10gen/mms-docs/commit/3b069350c68a4c8d7982c6619a83477c34411912

Comment by Bob Grabar [ 04/Nov/14 ]

Moving the questions to the pull request: https://github.com/10gen/mms-docs/pull/425

Comment by Bob Grabar [ 04/Nov/14 ]

cailin.nelson@10gen.com, john.morales@10gen.com I've changed this to 766 in the draft document in the pull request. Who makes the final decision on how we want to present this?

Comment by John Morales [ 30/Oct/14 ]

Interesting. I'm starting to suspect this problem is platform-specific and varies based on the package. It sounds like on some platforms the munin-node user and plugin user(s) are properly setup and managed for an unprivileged user, while on other platforms it's not.

E.g., I'm looking at munin running on Ubuntu 14.04 server on AWS, where its iostat_ios plugin is running correctly, and its state file is owned by `nobody` and with file permissions 664 (and was setup out of the box this way).

Aside: 773 is a rather unusual file permission - is that really the intention? I'd expect 766 if nothing else.

Edit: basically I wonder if we're solving the problem the correct way, versus an issue with the munin-node or iostat_ios plugin not configured for the correct unprivileged user with access to the state file.

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