Home > How To > How To Check Nagios Config Error

How To Check Nagios Config Error

Contents

Only problem is, the reason I was trying to get nagios working in the first place was so that I could install centreon 2. For example, you can disable active host checks, but leave active # service checks enabled. Checked 1 contacts. Nagios also points you to the exact line in the config file.

Please don't fill out this field. smallhours 2008-12-03 14:17:41 UTC #3 sh -x /etc/init.d/nagios start+ '' -f /etc/rc.d/init.d/functions ']'+ . /etc/rc.d/init.d/functions++ TEXTDOMAIN=initscripts++ umask 022++ PATH=/sbin:/usr/sbin:/bin:/usr/bin++ export PATH++ '' -z '' ']'++ COLUMNS=80++ '' -z '' ']'+++ /sbin/consoletype++ I followed every step of the Fedora Quickstart down to the letter several times at:nagios.sourceforge.net/docs/3_0/ ... Nagios has a verify command you can run which will do just that.

How To Check Nagios Config Error

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. If this option is # disabled, checks are not actively made, but Nagios can still # receive and process passive check results that come in. external_command_buffer_slots=4096 # LOCK FILE # This is the lockfile that Nagios will use to store its PID number # in when it is running in daemon mode. WARNING !!!

Re: [Nagios-users] CONFIG ERROR! Start aborted. Checked 0 service groups. Nagios Line 1 (null Value) timbeyond 2009-12-14 06:44:57 UTC #12 luca: can you run a "cat nagios.cfg"?

Checked the paths and they looked ok except for the below line. Nagios Reload Config Check your Nagios configuration. Reload aborted. Jonas.

If you get any error messages you'll need to go and edit your configuration files to remedy the problem. How To Check Nagios Version In Linux If not, set this value # to 0. If you want to use named pipes, you should use the special # pipe ("p") mode which avoid blocking at startup, otherwise you will # likely want the defult append ("a") If # the file grows larger than this size, it will be renamed with a .old # extension.

Nagios Reload Config

Read main config file okay... http://nagios.manubulon.com/traduction/docs14en/verifyconfig.html Cookies disabled This website is using a security service to protect itself from online attacks. How To Check Nagios Config Error object_cache_file=var/objects.cache # PRE-CACHED OBJECT FILE # This options determines the location of the precached object file. # If you run Nagios with the -p command line option, it will preprocess # Error Processing Object Config Files! But now I cannot get centreon to install as it is looking for NDOUtils which I have now downloaded and compiled.

Check your Nagios configuration. log_passive_checks=1 # GLOBAL HOST AND SERVICE EVENT HANDLERS # These options allow you to specify a host and service event handler # command that is to be run for every host Thanks. Checking services... How To Check Nagios Version

Registration is quick, simple and absolutely free. Read main config file okay... Browse other questions tagged nagios or ask your own question. Processing object config file '/var/data/nagiosadmin/data/nagios/hostgroups.cfg'...

log_service_retries=1 # HOST RETRY LOGGING OPTION # If you don't want host check retries to be logged, set this value to # 0. Nagios Error Log Processing object config directory '/var/data/nagiosadmin/data/nagios'... log_host_retries=1 # EVENT HANDLER LOGGING OPTION # If you don't want host and service event handlers to be logged, set # this value to 0.

Verify that all commands used in contact service and host notifications are valid.

By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Checking contacts... check_result_reaper_frequency=10 # MAX CHECK RESULT REAPER TIME # This is the max amount of time (in seconds) that a single # check result reaper event will be allowed to run before Could Not Expand Hostgroups And/or Hosts Specified In Service How to leave a job for ethical/moral issues without explaining details to a potential employer Before server side scripting how were HTML forms interpreted Should I use the formal form (~ます)

Processing object config file '/var/data/nagiosadmin/data/nagios/contacts.cfg'... This option has no effect if Nagios # has not been compiled with support for embedded Perl. # Values: 0 = disable interpreter, 1 = enable interpreter enable_embedded_perl=1 # EMBEDDED PERL Processing object config file '/usr/local/nagios/etc/servicegroups.cfg'... Enabling this option # is useful for ensuring passive checks are received in a timely # manner. # Values: 1 = enabled freshness checking, 0 = disable freshness checking check_host_freshness=0 #

The service requires full JavaScript support in order to view the website. Processing object config file '/usr/local/nagios/etc/hostgroups.cfg'... precached_object_file=var/objects.precache # RESOURCE FILE # This is an optional resource file that contains $USERx$ macro # definitions. Since its only # a one-time penalty, I think its well worth the additional # startup delay.

Checked 0 service dependencies. Nagios automatically runs a "pre-flight check" before before it starts monitoring, but you also have the option of running this check manually before attempting to start Nagios. Processing object config file '/usr/local/nagios/etc/contacts.cfg'...