Config Error Restart Aborted
Contents |
do this nagios reload config before you (re)start Nagios, as Nagios will error processing object config files! shut down if your configuration contains errors. In order to verify
Error In Configuration File '/usr/local/nagios/etc/nagios.cfg' - Line 452
your configuration, run Nagios with the -v command line option like so: /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg If you've forgotten
Nagios Error Processing Main Config File
to enter some critical data or misconfigured things, Nagios will spit out a warning or error message that should point you to the location of the problem. Error messages generally print out the line in the configuration how to check nagios version file that seems to be the source of the problem. On errors, Nagios will often exit the pre-flight check and return to the command prompt after printing only the first error that it has encountered. This is done so that one error does not cascade into multiple errors as the remainder of the configuration data is verified. If you get any error messages you'll need to go and edit your configuration files to remedy the problem. Warning messages can generally be safely ignored, since they are only recommendations and not requirements. Once you've verified your configuration files and fixed any errors you can go ahead and (re)start Nagios.
check... CONFIG ERROR! Restart aborted. Check your Nagios configuration. Copy the Nagios server configuration file like linux-server.cfg linux-remotemachine.cfg Here I changed & Edit server Host name
Nagios Line 1 (null Value)
to client Host name server IP Address to the Client IP Address #Cp nagios error log linux-server.cfg linux-remotemachine.cfg While I restart the nagios service I got the Following error message #service nagios restart Error message; how to check nagios version in linux Running configuration check... CONFIG ERROR! Restart aborted. Check your Nagios configuration. SOLUTION : How To Solve The problem Then I run the Following command It will help to find out the https://assets.nagios.com/downloads/nagioscore/docs/nagioscore/4/en/verifyconfig.html error message. #/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg It through the following Error message. Processing object config file '/usr/local/nagios/etc/objects/client.cfg'... Warning: Duplicate definition found for hostgroup 'linux-servers' (config file '/usr/local/nagios/etc/objects/client.cfg', starting on line 46) Error: Could not add object property in file '/usr/local/nagios/etc/objects/client.cfg' on line 47. Error processing object config files! ***> One or more problems was encountered while processing the config files... check your configuration file(s) to http://www.studentcpu.com/2010/10/running-configuration-check-config.html ensure that they contain valid directives and data defintions. If you are upgrading from a previous version of Nagios, you should be aware that some variables/definitions may have been removed or modified in this version. Make sure to read the HTML documentation regarding the config files, as well as the 'Whats New' section to find out what has changed. As per the error message Line Number 47 I have the error message. I go to the configuration file I disable these Line BY through putting # symbol before the line Just Like I trouble shoot renaming line. Then I try it the problem has been resolved. /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg By using these line you can trouble shoot these nagios problem. It will clearly mention Line Number about where the error occur. Related post Labels: Linux Newer Post Older Post Home if you have find any error/fault on my program/article, Please write it back to me(swstudenton@gmail.com).I will try to fix it. Get Updates Via-Email: About Me Learning|Tutorial When I was Studying engineering,I launch this website.In this site I'll give you idea on Lab programs, Linux,Computer Graphics,Software Component,other useful th
HCL Search Reviews Search ISOs Go to Page... LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie [SOLVED] Nagios Help User Name http://www.linuxquestions.org/questions/linux-newbie-8/nagios-help-870577/ Remember Me? Password Linux - Newbie This Linux forum is for members that are new to Linux. Just starting out and have a question? If it is not in the man https://blog.hello-world.jp.net/nagios-2/1748/ pages or the how-to's this is the place! Notices Welcome to LinuxQuestions.org, a friendly and active Linux Community. You are currently viewing LQ as a guest. By joining our community you error processing will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today! Note that registered members see fewer ads, and ContentLink is completely disabled once you log in. Are you new to LinuxQuestions.org? Visit the following links: Site Howto how to check | Site FAQ | Sitemap | Register Now If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here. Having a problem logging in? Please visit this page to clear all LQ-related cookies. Introduction to Linux - A Hands on Guide This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter. For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own. Click Here to receive this Complete Guide absolutely free. Page 1 of 3 1 23 > Search this Thread 03-23-2
前 次 → CONFIG ERROR! Start aborted. Check your Nagios configuration. 2014年6月10日 に owner が投稿 Tweet [まとめ] 現在開催中のKindleセール情報はこちら 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 を実行しましょう。 これでどこでエラーが起きているか分かります。 参考 Nagios が起動しない サーバ/インフラエンジニア養成読本 管理/監視編 24時間365日稼働を支える知恵と知識が満載! (Software Design plus) [まとめ] 現在開催中のKindleセール情報はこちら この投稿のカテゴリーは Nagios 、タグは nagios 、投稿者は owner です。ブックマーク用 パーマリンク Primary Sidebar Widget Area 開催中のKindleセール情報 (RSS) Placeholder Love Silky作品 半額フェア 集英社書籍 『デジイチ』長編・シリーズ作品特集(10/13まで) 集英社秋マン 第3弾 集英社秋マン 第2弾 集英社秋マン 第1弾 【ALL500円】通巻500号目前・NHK出版新書フェア(10/6まで) 【20%OFF】集英社書籍 『デジイチ』ライトノベル特集(10/6まで) 【30%OFF】30代までに読みたい「30冊の教養書」フェア(10/13まで) 【30%OFF】世界が見た「NIPPON」特集 (10/6まで) 【30%OFF】「ビール&酒」オクトーバーフェスト電書 (10/6まで) 【期間限定無料&半額】女 VS 女 ドロドロすぎる少女マンガ特集(10/6まで) 【期間限定無料】新着! マイクロコンテンツ祭り(10/6まで) オトナの社会科