nagios-plugins、convertcfg

RPMForgeを使用すれば、nagios ばかりか nagios-plugins もインストールできて嬉しいのだが、/etc/nagios/command-plugins.cfg はそのまま使える訳ではないみたい。

# Note: Use the convertcfg program in the contrib directory of the Nagios # distribution to convert this file into a object file format.


こういう風にして command ファイルに変換する。

convertcfg command-plugins.cfg commands > commands2.cfg

RPMインストール時に「convertcfg」というnagios用のコマンドができているらしい。

ちょっと分かりにくかったなぁ。。。