Home > Perl Error > Perl Error When Reading Local Site .cfg

Perl Error When Reading Local Site .cfg

More information on freshness checking can be found here. In our scenario, this can be answered with "Yes", which is also the default option in this question. If you have disabled host freshness checking (with the check_host_freshness option), this option has no effect. Soft State Dependencies Option Format: soft_state_dependencies=<0/1> Example: soft_state_dependencies=0 This option determines whether or not Nagios will use soft state information when checking host and service dependencies. Source

By default, Nagios fork()s twice. For example, the correct host template will add Targets to monitor CPU, Memory, disk space, and so on at the same time as creating all the Interface targets. One possibility is that there is a syntax error in the file (it can happen sometimes. Adding Devices/Targets Since we now have a complete MRTG with RRDtool and Routers2 installation, we can add several devices to monitor, e.g., network routers and switches, firewalls, servers, and/or even other http://www.twiki.org/cgi-bin/view/Support/SID-01063

Notify me of new posts by email. Logging event handlers is most useful when debugging Nagios or first trying out your event handler scripts. 0 = Don't log event handlers 1 = Log event handlers Initial States Logging Since there are no monitored devices (called "targets") yet, this blank page should look like this: If so, you are almost done with the base installation of MRTG, RRDtool and Routers2!!! External Command Check Option Format: check_external_commands=<0/1> Example: check_external_commands=1 This option determines whether or not Nagios will check the command file for commands that should be executed.

Additionally, Nagios will recursively process all config files in subdirectories of the directory you specify here. Auto-Rescheduling Interval Format: auto_rescheduling_interval= Example: auto_rescheduling_interval=30 This option determines how often (in seconds) Nagios will attempt to automatically reschedule checks. The MRTG process has not run. A value of 0 indicates that the performance data file should not be processed at regular intervals.

But I'll try if there's any suggestions. Thank you! Service check retries occur when a service check results in a non-OK state, but you have configured Nagios to retry the service more than once before responding to the error. http://www.twiki.org/cgi-bin/view/Support/SID-00203 In the following file an alias specifies in which directory the CGI scripts must be stored:  cat /etc/apache2/sites-available/default.

Predictive checks help ensure that the dependency logic is as accurate as possible. The values for these options are a bitwise AND of values specified by the "MODATTR_" definitions in the include/common.h source code file. Routers2.cgi At first, the routers2.cgi package must be downloaded from here. You can seperate your configuration files into different directories and specify multiple cfg_dir= statements to have all config files in each directory processed.

s = Use a "smart" interleave factor calculation (default) Maximum Concurrent Service Checks Format: max_concurrent_checks= Example: max_concurrent_checks=20 This option allows you to specify the maximum number of service checks that can http://www.perlmonks.org/?node_id=135082 Reply Johannes Weber says: 2014-05-12 at 08:52 Hey Steve. Host Performance Data File Format: host_perfdata_file= Example: host_perfdata_file=/usr/local/nagios/var/host-perfdata.dat This option allows you to specify a file to which host performance data will be written after every host check. Extract it, cd into the folder and start the installation: 123 tar xfv routers2-v2.22.tar.gzcd routers2-v2.22/sudo perl install.pl During the installation, several questions are asked and can be answered as follows. (Note

How do I use this? | Other CB clients Other Users? this contact form Auto-Rescheduling Option Format: auto_reschedule_checks=<0/1> Example: auto_reschedule_checks=1 This option determines whether or not Nagios will attempt to automatically reschedule active host and service checks to "smooth" them out over time. This option is most often used when configuring backup monitoring servers, as described in the documentation on redundancy, or when setting up a distributed monitoring environment. It is meant to be used as a last ditch mechanism to kill off commands which are misbehaving and not exiting in a timely manner.

Lock File Format: lock_file= Example: lock_file=/tmp/nagios.lock This option specifies the location of the lock file that Nagios should create when it runs as a daemon (when started with the -d command However, if the use_large_installation_tweaks option is enabled, it will not. The maximum amount of time that this command can run is controlled by the ocsp_timeout option. http://newmexicosupercomputer.com/perl-error/perl-error-when-reading-localsite.html It is meant to be used as a last ditch mechanism to kill off commands which are misbehaving and not exiting in a timely manner.

If you want to change this option when state retention is active (and the use_retained_program_state is enabled), you'll have to use the appropriate external command or change it via the web I own quite some perl literature - but none covers the inner working of @INC ... Note: By setting this value to -1, Nagios will check for external commands as often as possible.

Really good!

This command is only executed if the process_performance_data option is enabled globally and if the process_perf_data directive in the host definition is enabled. It works now…. Some of these program-wide state variables that are normally saved across program restarts if state retention is enabled include the enable_notifications, enable_flap_detection, enable_event_handlers, execute_service_checks, and accept_passive_service_checks options. Forwarding to Routers2.cgi It is desirable to have a forwarding to the routers2.cgi if only the IP address or domain name of the server is entered.

If not specified, Nagios will use the system configured timezone. Titles consisting of a single word are discouraged, and in most cases are disallowed outright. More information on distributed monitoring can be found here. Check This Out BEGIN failed--compilation aborted at /etc/httpd/twiki/lib/TWiki/UI/View.pm line 39.

Regards -- LucGarcia - 19 Mar 2009 You should run /bin/configure first. share|improve this answer answered Jul 23 '14 at 9:27 Roger Lam 354416 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Bare Update Checks Format: bare_update_checks=<0/1> Example: bare_update_checks This option deterines what data Nagios will send to api.nagios.org when it checks for updates. What shortcuts can I use for linking?

Update Checks Format: check_for_updates=<0/1> Example: check_for_updates=1 This option determines whether Nagios will automatically check to see if new updates (releases) are available. The command argument is the short name of a command definition that you define in your object configuration file.