hello-world
webエンジニアのメモ。とりあえずやってみる。

CONFIG ERROR! Start aborted. Check your Nagios configuration.

公開日時

nagiosの設定確認時に以下のようなエラーが出ました。

$ sudo /etc/init.d/nagios checkconfig

Starting nagios:CONFIG ERROR! Start aborted. Check your Nagios configuration.
# または
Starting nagios:CONFIG ERROR! Restart aborted. Check your Nagios configuration.
# または
Starting nagios:CONFIG ERROR! Reload aborted. Check your Nagios configuration.

が、これだけだと何がエラーなのか分からないですね。。。

そんな時は、

sudo nagios -v /etc/nagios/nagios.cfg

を実行しましょう。

これでどこでエラーが起きているか分かります。

参考