Return code of 127 is out of bounds - plugin may be missing
必要なプラグインが不足しています。
CentOSにcheck_memをインストールする場合は次の方法で問題解決しました。
バージョン表示
# nagios -v Nagios 3.0.6 Copyright (c) 1999-2008 Ethan Galstad (http://www.nagios.org) Last Modified: 12-01-2008 License: GPL
コマンド・ファイルを移動して実行権限を与える。
# cp /usr/lib/nagios/plugins/contrib/check_mem.pl /usr/lib/nagios/plugins/check_mem # chmod a+x /usr/lib/nagios/plugins/check_mem
動作確認
# /usr/lib/nagios/plugins/check_mem -f -w 20 -c 10