Deprecated: Calling static trait method VASOCIALBUZZ\Modules\Options::get is deprecated, it should only be called on a class using the trait in /var/www/vhosts/freesim.tokyo/httpdocs/wp-content/plugins/va-social-buzz/incs/class-module-view.php on line 131
Deprecated: Calling static trait method VASOCIALBUZZ\Modules\Variable::default_options is deprecated, it should only be called on a class using the trait in /var/www/vhosts/freesim.tokyo/httpdocs/wp-content/plugins/va-social-buzz/incs/trait-options.php on line 48
Deprecated: Calling static trait method VASOCIALBUZZ\Modules\Variable::settings is deprecated, it should only be called on a class using the trait in /var/www/vhosts/freesim.tokyo/httpdocs/wp-content/plugins/va-social-buzz/incs/trait-variables.php on line 188
Deprecated: Calling static trait method VASOCIALBUZZ\Modules\Functions::exists_push7 is deprecated, it should only be called on a class using the trait in /var/www/vhosts/freesim.tokyo/httpdocs/wp-content/plugins/va-social-buzz/incs/trait-variables.php on line 129
Deprecated: Calling static trait method VASOCIALBUZZ\Modules\Variable::sns_list is deprecated, it should only be called on a class using the trait in /var/www/vhosts/freesim.tokyo/httpdocs/wp-content/plugins/va-social-buzz/incs/class-module-shortcode.php on line 218
Deprecated: Calling static trait method VASOCIALBUZZ\Modules\Variable::default_options is deprecated, it should only be called on a class using the trait in /var/www/vhosts/freesim.tokyo/httpdocs/wp-content/plugins/va-social-buzz/incs/trait-variables.php on line 206
Deprecated: Calling static trait method VASOCIALBUZZ\Modules\Variable::settings is deprecated, it should only be called on a class using the trait in /var/www/vhosts/freesim.tokyo/httpdocs/wp-content/plugins/va-social-buzz/incs/trait-variables.php on line 188
Deprecated: Calling static trait method VASOCIALBUZZ\Modules\Functions::exists_push7 is deprecated, it should only be called on a class using the trait in /var/www/vhosts/freesim.tokyo/httpdocs/wp-content/plugins/va-social-buzz/incs/trait-variables.php on line 129
Deprecated: Calling static trait method VASOCIALBUZZ\Modules\Functions::get_current_url is deprecated, it should only be called on a class using the trait in /var/www/vhosts/freesim.tokyo/httpdocs/wp-content/plugins/va-social-buzz/incs/class-module-shortcode.php on line 219
Deprecated: Calling static trait method VASOCIALBUZZ\Modules\Variable::notification_list is deprecated, it should only be called on a class using the trait in /var/www/vhosts/freesim.tokyo/httpdocs/wp-content/plugins/va-social-buzz/incs/class-module-shortcode.php on line 251
Deprecated: Calling static trait method VASOCIALBUZZ\Modules\Variable::default_options is deprecated, it should only be called on a class using the trait in /var/www/vhosts/freesim.tokyo/httpdocs/wp-content/plugins/va-social-buzz/incs/trait-variables.php on line 232
Deprecated: Calling static trait method VASOCIALBUZZ\Modules\Variable::settings is deprecated, it should only be called on a class using the trait in /var/www/vhosts/freesim.tokyo/httpdocs/wp-content/plugins/va-social-buzz/incs/trait-variables.php on line 188
Deprecated: Calling static trait method VASOCIALBUZZ\Modules\Functions::exists_push7 is deprecated, it should only be called on a class using the trait in /var/www/vhosts/freesim.tokyo/httpdocs/wp-content/plugins/va-social-buzz/incs/trait-variables.php on line 129
Deprecated: Calling static trait method VASOCIALBUZZ\Modules\Functions::exists_push7 is deprecated, it should only be called on a class using the trait in /var/www/vhosts/freesim.tokyo/httpdocs/wp-content/plugins/va-social-buzz/incs/trait-variables.php on line 235
サーバ管理ツールでmuninというのがあります。サーバ負荷やトラフィックがどれくらいきているか、ディスクはどれくらい使われているか、などなどをグラフにして管理できる便利なツール。
便利だとスマホでも見たいところですがデフォルトでは非対応。ということでスマホ対応できないか調べました。
Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated in /var/www/vhosts/freesim.tokyo/httpdocs/wp-content/themes/simplicity2/lib/customizer.php on line 4923
Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated in /var/www/vhosts/freesim.tokyo/httpdocs/wp-content/themes/simplicity2/lib/customizer.php on line 4929
目次
サーバ管理muninをスマホで見る方法。レスポンシブもアプリも両方ありました。
muninはこれです。
Munin
画面はこんな感じです。ただこれがスマホ非対応。
Install Munin (Network #MONITORING ) in #RHEL, #CentOS and #Fedorahttps://t.co/lbuZVcoPjE
RT @linuxtoday #Linux pic.twitter.com/7Ekz3b4uQg— Linux Inside (@tecmint) 2016年8月17日
仕組みとしては色々なプラグインを使ってサーバのデータを数値化したものを5分毎に読み取ってグラフにしてくれる、というツールですが、プラグインの充実っぷりが凄いので非常に便利です。これまではスマホでもこのPC画面を開いて拡大して見てました。けど見づらい・・・。
調べてみた結果、Bootstrapベースのレスポンシブテンプレートと、Androidのアプリがあることがわかりました。
好きな方でスマホで見れますね。
レスポンシブmuninテンプレート「Munstrap」
Bootstrapを利用したMunin用のテンプレートです。
Munin Bootstrap Template: Munstrap » Red Branch
こんな画面になります。

muninは元々から監視項目をセクションに分けてくれます。例えばphpとかmysqlとか。これのタブまで付いているのでかなりアクセシビリティは良くなりました。
インストール
インストールは簡単。/etc/muninにrootで入って、templateとstatic、つまりmuninの関連ファイルを上書きしないように名前変更して、gitでファイルをコピーして入れ替えるだけ。テンプレートの入れ替えだけなので設定ファイルなどは書き換える必要はなかったです。
Androidアプリ「Munin for Android」
こちらはアプリで見れるMunin。サーバに設定済みのmuninのURLを入れればスグに見れます。
Munin for Android – Google Play の Android アプリ
セクションもちゃんと読み取って分類。

個々のグラフはこういう風に表示されます。

レスポンシブとスマホと、ということで、好きな方を使うのでいいんじゃないでしょうか。
僕はレスポンシブの方を使うことになると思います。
コメント
[…] サーバ管理muninをスマホで見る方法。レスポンシブもアプリも両方ありました。 […]