2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

muninでunicornのプロセスの状態を確認しようとしたらPermission deniedになった

Posted at

ここのプラグインを利用してunicornの状態を確認する為にしたこと 

  • /etc/munin/plugin-conf.d/unicorn_ の設定
[unicorn_*]
env.rails_root RAILS_ROOT
user USER_NAME
group USER_NAME

ここのユーザ名を指定してなくてハマった。

  • pidのPATHの修正

https://github.com/munin-monitoring/contrib/blob/master/plugins/unicorn/unicorn_memory_status#L21
https://github.com/munin-monitoring/contrib/blob/master/plugins/unicorn/unicorn_status#L21

以上

2
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?