フォーラム一覧 - トピック一覧 GroundWork Monitor 一般
pre-flightはSuccessなのにcommitの最後でFAILED! Restart aborted | 投稿するにはまず登録を |
| フラット表示 | 前のトピック | 次のトピック |
| 投稿者 | トピック |
|---|---|
| ishikawa | 投稿日時: 2009-3-7 14:19 |
新米 ![]() ![]() 登録日: 2009-3-6 居住地: 投稿: 4 |
pre-flightはSuccessなのにcommitの最後でFAILED! Restart aborted いつもお世話になっております。
通知設定をしてから、おかしな現象が発生するようになりました。pre-flightはSuccessなのにcommitが完了せず、nagiosが起動できなくなってしまいました。 pre-fligすると、最初にSuccess:と表示され、 Total Warnings: 0 Total Errors: 0 Things look okay - No serious problems were detected during the pre-flight check となるのですが、その後コミットしても、 Results:はSuccess:ではあるのですが、 最後に Total Warnings: 0 Total Errors: 0 Things look okay - No serious problems were detected during the pre-flight check Running configuration check... FAILED! Restart aborted. Check your Nagios configuration. となってしまいます。 ブックシェルフの「MONARCH(構成)データベースのバックアップとリストア」を参照して、コミット前に取っていたmonarchのバックアップから戻してみたのですが、現象変わりません。 nagiosが起動できなくなってしまっていました。nagiosにアクセスすると、 Whoops! Error: Could not read host and service status information! と、言われてしまいます。 調べてみると、nagios.cfgは、/usr/local/groundworkの下に2個あるのですね。 ./monarch/workspace/nagios.cfg ./nagios/etc/nagios.cfg nagios -v で確認したところ、workspaceの下の方はpre-configureと同じ結果になるのですが、etcの下は確かにErrorがあります。(以下に貼り付けます) Checking contacts... Error: Service notification command 'service-notify-by-emailservice-notify-by-email' specified for contact 'jdoe' is not defined anywhere! Error: Host notification command 'host-notify-by-emailhost-notify-by-email' specified for contact 'jdoe' is not defined anywhere! Error: Service notification command 'service-notify-by-emailservice-notify-by-epager' specified for contact 'nagiosadmin' is not defined anywhere! Error: Host notification command 'host-notify-by-emailhost-notify-by-epager' specified for contact 'nagiosadmin' is not defined anywhere! Checked 2 contacts. 2個のnagios.cfgの更新日付はどちらも同じで、コミットのタイミングに作成されていました。 この差が、pre-flightはSuccessなのにcommitの最後でFAILED! Restart abortedとなる原因と考えているのですが、どう対処すればよいのか見当がつきません。どなたかアドバイスいただけませんでしょうか? |
| フラット表示 | 前のトピック | 次のトピック |
| 題名 | 投稿者 | 日時 |
|---|---|---|
| » |
ishikawa | 2009-3-7 14:19 |
| |
hiro | 2009-3-9 11:05 |
| |
hiro | 2009-4-16 12:27 |
| 投稿するにはまず登録を | |


