- 追加された行はこの色です。
- 削除された行はこの色です。
[[Munin on NEC-Express5800/GT110b FreeBSD 8.1]]
#author("2018-12-06T11:52:26+09:00","default:kuji","kuji")
CONTENTS
#contents
*Munin on NEC-Express5800/S70 PJ FreeBSD 9.0 [#d237c86d]
[[Munin on NEC-Express5800/GT110b FreeBSD 8.1]]と同様にインストール。でまぁ、いきなりこうなるw
**portinstall sysutils/munin-master [#ye7220aa]
===> Installing for pkgconf-0.8.5
===> Generating temporary packing list
===> Checking if devel/pkgconf already installed
===> An older version of devel/pkgconf is already installed (pkg-config-0.25_1)
You may wish to ``make deinstall'' and install this port again
by ``make reinstall'' to upgrade it properly.
If you really wish to overwrite the old port of devel/pkgconf
without deleting it first, set the variable "FORCE_PKG_REGISTER"
in your environment or the "make install" command line.
*** Error code 1
Stop in /usr/ports/devel/pkgconf.
*** Error code 1
Stop in /usr/ports/x11/libXrender.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portinstall20120813-51113-zk4gkl-0 env make
** Fix the problem and try again.
---> Skipping 'graphics/cairo' because a requisite port 'x11/libXrender' failed (specify -k to force)
---> Skipping 'x11-fonts/libXft' because a requisite port 'x11-fonts/fontconfig' failed (specify -k to force)
---> Skipping 'x11-toolkits/pango' because a requisite port 'devel/gobject-introspection' failed (specify -k to force)
---> Skipping 'databases/rrdtool' because a requisite port 'graphics/cairo' failed (specify -k to force)
---> Skipping 'sysutils/munin-master' because a requisite port 'databases/rrdtool' failed (specify -k to force)
** Listing the failed packages (-:ignored / *:skipped / !:failed)
! x11-fonts/libfontenc (unknown build error)
* x11-fonts/mkfontscale
* x11-fonts/mkfontdir
! devel/libffi (unknown build error)
! x11/pixman (unknown build error)
* x11-fonts/libXfont
* x11-fonts/bdftopcf
! x11-fonts/fontconfig (unknown build error)
* x11-fonts/font-misc-ethiopic
* x11-fonts/font-misc-meltho
* x11-fonts/encodings
* x11-fonts/bitstream-vera
! devel/glib20 (unknown build error)
* devel/gamin
* x11-fonts/font-bh-ttf
* devel/gio-fam-backend
* x11-fonts/xorg-fonts-truetype
* devel/gobject-introspection
! x11/libXrender (unknown build error)
* graphics/cairo
* x11-fonts/libXft
* x11-toolkits/pango
* databases/rrdtool
* sysutils/munin-master
hotshot#
devel/pkgconf に古いconfigureがあって、いれかえろ、ってことで、書いて有るとおりに入れ替え。
----
Lastmodified &lastmod;
----
*Munin on NEC-Express5800/S70 タイプPJ FreeBSD 11.2R [#z67d49c8]
で、例によって素の状態のNEC-Express5800/S70 PJ FreeBSD 9.0は、
hotshot# munin-node-configure -suggest
Plugin | Used | Suggestions
------ | ---- | -----------
amavis | no | no
apache_accesses | no | no [apache server-status not found. check if mod_status is enabled]
apache_processes | no | no [apache server-status not found. check if mod_status is enabled]
apache_volume | no | no [apache server-status not found. check if mod_status is enabled]
apc_envunit_ | no | no [no units to monitor]
courier_mta_mailqueue | no | no [spooldir not found]
courier_mta_mailstats | no | no [could not find executable]
courier_mta_mailvolume | no | no [could not find executable]
cpu | yes | yes
cupsys_pages | no | no [could not find logdir]
dev_cpu_ | no | no [function not supported by kernel]
df | yes | yes
df_inode | yes | yes
exim_mailqueue | no | no [no exiqgrep]
exim_mailstats | no | no ['/usr/local/sbin/exim -bP log_file_path' returned an error]
fail2ban | no | no [/usr/bin/fail2ban-client not found]
hddtemp_smartctl | no | no [first drive not supported, configure the plugin]
http_loadtime | no | no [need time and wget programs]
if_ | yes | yes (em0 usbus usbus)
if_errcoll_ | yes | yes (em0 usbus usbus)
iostat | yes | yes
jmx_ | no | no [java runtime not found at /usr/bin/java]
load | yes | yes
lpstat | no | no [lpstat not found]
memory | yes | yes
munin_stats | yes | yes
mysql_ | no | no
netstat | yes | yes
nginx_request | no | no [no nginx status on http://hotshot/nginx_status]
nginx_status | no | no [no nginx status on http://localhost/nginx_status]
ntp_kernel_err | yes | yes
ntp_kernel_pll_freq | yes | yes
ntp_kernel_pll_off | yes | yes
ntp_offset | yes | yes
nvidia_ | no | no [no nvclock executable at /usr/bin/nvclock, please configure]
open_files | yes | yes
postfix_mailqueue | yes | yes
postfix_mailvolume | yes | yes
postgres_bgwriter | no | no [DBD::Pg not found, and cannot do psql yet]
postgres_cache_ | no | no [DBD::Pg not found, and cannot do psql yet]
postgres_checkpoints | no | no [DBD::Pg not found, and cannot do psql yet]
postgres_connections_ | no | no [DBD::Pg not found, and cannot do psql yet]
postgres_connections_db | no | no [DBD::Pg not found, and cannot do psql yet]
postgres_locks_ | no | no [DBD::Pg not found, and cannot do psql yet]
postgres_querylength_ | no | no [DBD::Pg not found, and cannot do psql yet]
postgres_scans_ | no | no [DBD::Pg not found, and cannot do psql yet]
postgres_size_ | no | no [DBD::Pg not found, and cannot do psql yet]
postgres_transactions_ | no | no [DBD::Pg not found, and cannot do psql yet]
postgres_tuples_ | no | no [DBD::Pg not found, and cannot do psql yet]
postgres_users | no | no [DBD::Pg not found, and cannot do psql yet]
postgres_xlog | no | no [DBD::Pg not found, and cannot do psql yet]
processes | yes | yes
ps_ | no | no
qmailqstat | no | no
sendmail_mailqueue | yes | yes
sendmail_mailstats | yes | yes
sendmail_mailtraffic | yes | yes
slapd_ | no | no [Net::LDAP not found]
slapd_bdb_cache_ | no | no [Can't execute db_stat file '/usr/bin/db4.6_stat']
slony_lag_ | no | no [DBD::Pg not found, and cannot do psql yet]
smart_ | no | no [smartmontools not found]
snort_alerts | no | no [/var/snort/snort.stats not readable]
snort_bytes_pkt | no | no [/var/snort/snort.stats not readable]
snort_drop_rate | no | no [/var/snort/snort.stats not readable]
snort_pattern_match | no | no [/var/snort/snort.stats not readable]
snort_pkts | no | no [/var/snort/snort.stats not readable]
snort_traffic | no | no [/var/snort/snort.stats not readable]
squeezebox_ | no | no [no connection on localhost port 9090]
squid_cache | no | no [could not connect: Invalid argument]
squid_objectsize | no | no [could not connect: Connection refused]
squid_requests | no | no [could not connect: Invalid argument]
squid_traffic | no | no [could not connect: Invalid argument]
swap | yes | yes
systat | yes | yes
tomcat_ | no | no
users | yes | yes
varnish_ | no | no [which varnishstat returns blank]
vmstat | yes | yes
zimbra_ | no | no [No Text::CSV_XS]
# The following plugins caused errors:
# mysql_:
# Non-zero exit during autoconf (2)
hotshot#
**Sensor 項目 [#ee496398]
を増やしたいので、mbmon とか、sysctlの項目とかを見てみる。
【参考】http://next.matrix.jp/freebsd-munin-cputemp-cpufreq.html
取り敢えず、以下の様なモジュールをロードしておいて、
hotshot# kldstat
Id Refs Address Size Name
1 17 0xffffffff80200000 11cd9b0 kernel
2 1 0xffffffff813ce000 29e0 coretemp.ko
3 1 0xffffffff813d1000 fec8 ipmi.ko
4 4 0xffffffff813e1000 2620 smbus.ko
5 1 0xffffffff81612000 2126 ichsmb.ko
6 1 0xffffffff81615000 c69 smb.ko
mbmon 入れて見るも
hotshot# mbmon
No Hardware Monitor found!!
InitMBInfo: No error: 0
と無理っぽい。が、
hotshot# sysctl -a | grep temper
dev.cpu.0.temperature: 43.0C
dev.cpu.1.temperature: 41.0C
とCPU温度は取れる様なので、munin-node-configure -suggest には含まれていない、coretemp は取れそうなので、
531 11:02 sysctl dev.cpu | grep temperature
532 11:03 ln -s /usr/local/share/munin/plugins/dev_cpu_ /usr/local/etc/munin/plugins/dev_cpu_temperature
533 11:03 munin-run dev_cpu_temperature
534 11:03 ln -s /usr/local/share/munin/plugins/dev_cpu_ /usr/local/etc/munin/plugins/dev_cpu_freq
535 11:04 munin-run dev_cpu_freq
boot/loader.conf
/boot/loader.conf
utoboot_delay="3"
accf_http_load="YES"
accf_data_load="YES"
ipmi_load="YES"
smb_load="YES"
ichsmb_load="YES"
coretemp_load="YES"
として、
ln -s '/usr/local/share/munin/plugins/coretemp' '/usr/local/etc/munin/plugins/coretemp'
しる。
root@sun1:~:18_12_06:11:02 # sysctl dev.cpu|grep temperature
dev.cpu.1.temperature: 30.0C
dev.cpu.0.temperature: 31.0C
root@sun1:~:18_12_06:11:02 # ln -s /usr/local/share/munin/plugins/dev_cpu_ /usr/local/etc/munin/plugins/dev_cpu_temperature
root@sun1:~:18_12_06:11:03 # munin-run dev_cpu_temperature
CPU1.value 30.0
CPU0.value 30.0
root@sun1:~:18_12_06:11:03 # ln -s /usr/local/share/munin/plugins/dev_cpu_ /usr/local/etc/munin/plugins/dev_cpu_freq
root@sun1:~:18_12_06:11:03 # munin-run dev_cpu_freq
CPU0.value 1330
*/usr/local/etc/munin/plugins [#r4f39ad5]
cpu@ -> /usr/local/share/munin/plugins/cpu
dev_cpu_freq@ -> /usr/local/share/munin/plugins/dev_cpu_
dev_cpu_temperature@ -> /usr/local/share/munin/plugins/dev_cpu_
df@ -> /usr/local/share/munin/plugins/df
df_inode@ -> /usr/local/share/munin/plugins/df_inode
hddtemp_smartctl@ -> /usr/local/share/munin/plugins/hddtemp_smartctl
if_em0@ -> /usr/local/share/munin/plugins/if_
if_errcoll_em0@ -> /usr/local/share/munin/plugins/if_errcoll_
if_packets_em0@ -> /usr/local/share/munin/plugins/if_packets_
iostat@ -> /usr/local/share/munin/plugins/iostat
load@ -> /usr/local/share/munin/plugins/load
memory@ -> /usr/local/share/munin/plugins/memory
munin_stats@ -> /usr/local/share/munin/plugins/munin_stats
netstat@ -> /usr/local/share/munin/plugins/netstat
ntp_kernel_err@ -> /usr/local/share/munin/plugins/ntp_kernel_err
ntp_kernel_pll_freq@ -> /usr/local/share/munin/plugins/ntp_kernel_pll_freq
ntp_kernel_pll_off@ -> /usr/local/share/munin/plugins/ntp_kernel_pll_off
ntp_offset@ -> /usr/local/share/munin/plugins/ntp_offset
ntp_states@ -> /usr/local/share/munin/plugins/ntp_states
open_files@ -> /usr/local/share/munin/plugins/open_files
postfix_mailqueue@ -> /usr/local/share/munin/plugins/postfix_mailqueue
postfix_mailvolume@ -> /usr/local/share/munin/plugins/postfix_mailvolume
sendmail_mailqueue@ -> /usr/local/share/munin/plugins/sendmail_mailqueue
sendmail_mailstats@ -> /usr/local/share/munin/plugins/sendmail_mailstats
sendmail_mailtraffic@ -> /usr/local/share/munin/plugins/sendmail_mailtraffic
smart_ada0@ -> /usr/local/share/munin/plugins/smart_
smart_ada1@ -> /usr/local/share/munin/plugins/smart_
swap@ -> /usr/local/share/munin/plugins/swap
ystat@ -> /usr/local/share/munin/plugins/systat
uptime@ -> /usr/local/share/munin/plugins/uptime
users@ -> /usr/local/share/munin/plugins/users
----
Total access &counter(total);:本日 &counter(today);:昨日 &counter(yesterday);
#counter([total|today|yesterday]);