トップ «前の日記(2015-01-06) 最新 次の日記(2015-01-08)» 編集

ヨタの日々

2001|08|09|10|11|12|
2002|01|02|03|04|05|06|07|08|09|10|11|12|
2003|01|02|03|04|05|06|07|08|09|10|11|12|
2004|01|02|03|04|05|06|07|08|09|10|11|12|
2005|01|02|03|04|05|06|07|08|09|10|11|12|
2006|01|02|03|04|05|06|07|08|09|10|11|12|
2007|01|02|03|04|05|06|07|08|09|10|11|12|
2008|01|02|03|04|05|06|07|08|09|10|11|12|
2009|01|02|03|04|05|06|07|08|09|10|11|12|
2010|01|02|03|04|05|06|07|08|09|10|11|12|
2011|01|02|03|04|05|06|07|08|09|10|11|12|
2012|01|02|03|04|05|06|07|08|09|10|11|12|
2013|01|02|03|04|05|06|07|08|09|10|11|12|
2014|01|02|03|04|05|06|07|08|09|10|11|12|
2015|01|02|03|04|05|06|07|08|09|10|11|12|
2016|01|02|03|04|05|06|07|08|09|10|11|12|
2017|01|02|03|04|05|06|07|08|09|10|11|12|
2018|01|02|03|04|05|06|07|08|09|10|11|12|
2019|01|02|03|04|05|06|07|08|09|10|11|12|
2020|01|02|03|04|05|06|07|08|09|10|11|12|
2021|01|02|03|04|05|06|07|08|09|10|11|12|
2022|01|02|03|04|05|06|07|08|09|10|11|12|
2023|01|02|03|04|05|06|07|08|12|
2024|01|02|03|

2015-01-07 :-(

_ 午前

0530 起床

0700 食堂

0830 労働

_ 午後

1300 労働

_

1700 退勤

1800 ぐったり

2000 飯。七草粥

_ [NetBSD][監視][モニタリング][monit]M/Monit

入れてみたものの。

% cd /usr/pkgsrc/sysutils/monit
% make install clean clean-depends
 :

monit-5.8: copying /usr/pkg/share/examples/monit/monitrc.sample to /usr/pkg/etc/monit/monitrc
===========================================================================
The following files should be created for monit-5.8:

        /etc/rc.d/monit (m=0755)
            [/usr/pkg/share/examples/rc.d/monit]

===========================================================================

rc ファイルコピー

% cp  /usr/pkg/share/examples/rc.d/monit /etc/rc.d/

ちなみに rc.d/monit で include してるディレクトリなんだがここは何もない。

% ls /usr/pkg/etc/monit/monit.d/

ひとまず /usr/pkg/etc/monit/monitrc のここだけ注意。use address localhost にすると localhost で bind するっぽい?

set httpd port 2812 and
#    use address localhost  # only accept connection from localhost
    allow localhost        # allow localhost to connect to the server and
    allow admin:monit      # require user 'admin' with password 'monit'
    allow @monit           # allow users of group 'monit' to connect (rw)
    allow @users readonly  # allow users of group 'users' to connect readonly
    allow 192.168.0.0/255.255.255.0

起動。あとは、うーん。

% sudo  /etc/rc.d/monit start
Starting monit.
monit: Cannot translate 'mogu.area51.gr.jp' to FQDN name -- No address associated with hostname
monit: generated unique Monit id 3252f82edac8156318e43265d63471e4 and stored to '/root/.monit.id'
Starting monit daemon with http interface at [localhost:2812]

_ 買い物

ARM Cortex-M3 マイコンが付属してる本を探していて安定の Interface に到達。CQ 出版で購入。amazon は中古であり基板が無い。

Interface 2012年6月号