# emacs /usr/share/munin/plugins/mysql_
修正前。
    my %section_map = (
~~~~
        'BACKGROUND THREAD'        => \&skip,
    );
修正後。
    my %section_map = (
~~~~
        'BACKGROUND THREAD'        => \&skip,
        'INDIVIDUAL BUFFER POOL INFO'   => \&skip, 
    );

MuninのMySQLプラグインで"Unknown section: INDIVIDUAL BUFFER POOL INFO"エラーが出たときの対処法

freebsd nrpe check_mpt

pkg install nrpe3
pkg install p5-Nagios-Plugin

https://raw.githubusercontent.com/trombik/reallyenglish-nagios-plugins/master/src/check_mpt/check_mpt

wget --no-check-certificate https://raw.githubusercontent.com/trombik/reallyenglish-nagios-plugins/master/src/check_mpt/check_mpt

以下書き換え
===
#!/usr/local/bin/perl
    #my $sudo = can_run('sudo');
    my $sudo = '/usr/local/bin/sudo'; 
===

chmod +x check_mpt
mv check_mpt /usr/local/libexec/nagios/


vi /usr/local/etc/sudoers.d/check_mpt 
 ====
nagios ALL=(root) NOPASSWD: /usr/sbin/mptutil show volumes
 ====

vi /etc/rc.conf
 ====
nrpe3_enable="YES" 
 ====

vi /usr/local/etc/nrpe.cfg
 ====
(以下追加)
command[check_raid]=/usr/local/libexec/nagios/check_mpt
 ====

/usr/local/etc/rc.d/nrpe3 start

(確認)
/usr/local/libexec/nagios/check_nrpe3 -H 127.0.0.1 -c check_raid

cd ドキュメントルートとなるフォルダ
python -m SimpleHTTPServer 8080

cd ドキュメントルートとなるフォルダ
php -S localhost:8080

お手軽なWebサーバーの立て方 - Qiita

FreeBSD 11.2 php7.1.27 ソースコンパイル

./configure --enable-intl で以下エラー

/usr/bin/ld: Dwarf Error: found dwarf version '4', this reader only handles version 2 information.
ext/intl/msgformat/.libs/msgformat_helpers.o: In function `std::vector<icu::Formattable, std::allocator<icu::Formattable> >::_M_default_append(unsigned long)':
msgformat_helpers.cpp:(.text._ZNSt6vectorIN3icu11FormattableESaIS1_EE17_M_default_appendEm[_ZNSt6vectorIN3icu11FormattableESaIS1_EE17_M_default_appendEm]+0x1a9): undefined reference to `std::__throw_length_error(char const*)'
ext/intl/msgformat/.libs/msgformat_helpers.o: In function `std::vector<icu::UnicodeString, std::allocator<icu::UnicodeString> >::_M_default_append(unsigned long)':
msgformat_helpers.cpp:(.text._ZNSt6vectorIN3icu13UnicodeStringESaIS1_EE17_M_default_appendEm[_ZNSt6vectorIN3icu13UnicodeStringESaIS1_EE17_M_default_appendEm]+0x192): undefined reference to `std::__throw_length_error(char const*)'
cc: error: linker command failed with exit code 1 (use -v to see invocation)
*** Error code 1

./configure --enable-intl CC='/usr/local/bin/gcc'

で解消