This option is useful # if you have distributed or failover monitoring setup. No, thanks Home Forums Posting Rules Linux Help & Resources Fedora Set-Up Guides Fedora Magazine Ask Fedora Fedora Project Fedora Project Links The Fedora Project Get Fedora F23 Release Notes F24 Enabling this option doesn't guarantee that # a core file will be produced, but that's just life... # Values: 1 - Allow core dumps # 0 - Do not allow core Running sudo /usr/sbin/nagios3 -v /etc/nagios3/nagios.cfg Gives: ... http://discusswire.com/could-not/exe-part-could-not-be-saved-because-the-source-file-could-not-be-read.html
Make sure you read the documentation on installing, configuring and running Nagios thoroughly before continuing. Does anyone know how to turn on logging that will give me some kind of useful error? If you didn't compile # Nagios with embedded Perl support, this option has no effect. I have run the following command ]# /usr/bin/nagios -v /etc/nagios/nagios.cfg .. .. find more info
Some examples of what you can do are # shown below. #host_perfdata_file_template=[HOSTPERFDATA]\t$TIMET$\t$HOSTNAME$\t$HOSTEXECUTIONTIME$\t$HOSTOUTPUT$\t$HOSTPERFDATA$ #service_perfdata_file_template=[SERVICEPERFDATA]\t$TIMET$\t$HOSTNAME$\t$SERVICEDESC$\t$SERVICEEXECUTIONTIME$\t$SERVICELATENCY$\t$SERVICEOUTPUT$\t$SERVICEPERFDATA$ # HOST AND SERVICE PERFORMANCE DATA FILE MODES # This option determines whether or not the host and share|improve this answer answered Nov 5 '12 at 18:29 Gustav Bertram 1814 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google check_for_updates=1 # BARE UPDATE CHECK # This option deterines what data Nagios will send to api.nagios.org when # it checks for updates.
The command # argument is the short name of a command definition that you # define in your host configuration file. Checked 9 services. Checking hosts... Error Could Not Read Object Configuration Data Nagios 3 You can do it via control Panel -> Firewall.
Visit the following links: Site Howto | Site FAQ | Sitemap | Register Now If you have any problems with the registration process or your account login, please contact us. Nagios 4.1.1 Error Could Not Read Object Configuration Data Processing object config file '/usr/local/nagios/etc/objects/templates.cfg'... The file /etc/init.d/nagios has the entry config="/etc/nagios/nagios.cfg" Re: [Nagios-users] Error: Could not read object configuration data! - From: Hugo van der Kooij
Normally # child processes are fork()ed twice, which provides a very high level # of isolation from problems. Nagios Not Running If you specify a value here, it will override # program defaults. # Value: 1 - Free memory in child processes # 0 - Do not free memory in child processes If you leave # that at its default value of 60 (seconds), a value of 1 here will cause # Nagios to check for external commands every minute. This is a bug/limitation # either in dlopen(), the kernel, and/or the filesystem.
Processing object config file '/usr/local/nagios/etc/objects/timeperiods.cfg'... Valid options # include: # us (MM-DD-YYYY HH:MM:SS) # euro (DD-MM-YYYY HH:MM:SS) # iso8601 (YYYY-MM-DD HH:MM:SS) # strict-iso8601 (YYYY-MM-DDTHH:MM:SS) # date_format=us # TIMEZONE OFFSET # This option is used to override Error Could Not Read Object Configuration Data Nagios Centos Checked 0 service groups. Error Could Not Read Object Configuration Data Nagios Ubuntu I recently installed a new nagios server based on Centos 5.5 and using the nagios packages from rpmforge and it works after building my own object files.
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 # Read object config files okay... How much and what type of damage does Warlock Thought Shield deal? But if I click on any menu item on side left (Map,Host,Service) then I get this error: ------------------------------------------------------------- Whoops! Icinga Could Not Read Object Configuration Data
LinuxQuestions.org > Forums > Linux Forums > Linux - Software Any Nagios Gurus? Processing object config directory '/etc/nagios/conf.d'... Checked 0 service dependencies. Processing object config file '/usr/local/nagios/etc/objects/contacts.cfg'...
Code: Whoops! How To Disable Selinux If this option is # enabled, host performance data will be processed using the # host_perfdata_command (defined below) and service performance # data will be processed using the service_perfdata_command (also # Read the HTML docs for # more information on implementing distributed monitoring. #ocsp_command=somecommand # OBSESS OVER HOST CHECKS OPTION # This determines whether or not Nagios will obsess over host #
Enable this option if you do not want this information to be sent. additional_freshness_latency=15 # FLAP DETECTION OPTION # This option determines whether or not Nagios will try # and detect hosts and services that are "flapping". # Flapping occurs when a host or Top reply Post reply AboutTerms & PolicyBlogContact © 2003-2016 itefix.net Or if anyone knows how to fix this specific problem without additional logging, I guess that's okay too.
My second sentence was that: "nagios -v nagios.cfg" command is ok, no error! Checked 0 host escalations. Processing object config file '/etc/nagios/objects/localhost.cfg'... Checking host escalations...
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. Checked 1 hosts. You can confirm it by straceing the CGI, i.e. Stopped Nagios and restarted but still nothing.
log_event_handlers=1 # INITIAL STATES LOGGING OPTION # If you want Nagios to log all initial host and service states to # the main log file (the first time the service or Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the These predictive checks can help ensure that your # host dependency logic works well. # Values: # 0 = Disable predictive checks # 1 = Enable predictive checks (default) enable_predictive_host_dependency_checks=1 # Here are some things you should check in order to resolve this error: Verify configuration options using the -v command-line option to check for errors.
Checking misc settings... The command # argument is the short name of a command definition that you # define in your host configuration file. The path I gave is the correct path for the config, and the binaries. This DOES NOT affect macros used in service or # host check commands. # The following macros are stripped of the characters you specify: # $HOSTOUTPUT$ # $HOSTPERFDATA$ # $HOSTACKAUTHOR$ #
In my case it was because I had changed the Apache user away from the default www-data. chgrp -R webserver_user /var/cache/nagiosx/ and also check other nagios directories for correct permissions. There were no errors in the Apache or Nagios logfiles. sudo su -s /bin/sh -c 'REQUEST_METHOD=GET strace -fo /tmp/strace.log /usr/lib/cgi-bin/nagios3/status.cgi' www-data.
If passive checks should be logged, set # this value to 1.