Munin on NEC-Express5800/GT110b FreeBSD 8.1
Munin on NEC-Express5800/GT110b FreeBSD 8.1と同様にインストール。でまぁ、いきなりこうなるw
===> 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があって、いれかえろ、ってことで、書いて有るとおりに入れ替え。
で、例によって素の状態の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#
を増やしたいので、mbmon とか、sysctlの項目とかを見てみる。
取り敢えず、以下の様なモジュールをロードしておいて、
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 は取れそうなので、
ln -s '/usr/local/share/munin/plugins/coretemp' '/usr/local/etc/munin/plugins/coretemp'
しる。
Total access 677:本日 2:昨日 0