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

Perl Error When Reading Local Site .cfg

Another possibliity is incorrect file permissions, though the script will usually catch these. Aside from running on Ubuntu Server 16.04.1 (not 13.04 which looks like the last LTS version as of the original date of this post), I've done everything else as per the Thanks Steve…. 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. have a peek at these guys

How to correct the content of @INC? Join them; it only takes a minute: Sign up Nagios: Error in config file - First line (NULL Value) up vote 0 down vote favorite I'm running Nagios 3.5.1 and I'm This directory should not be used to store any other files, as Nagios will periodically clean this directory of old file (see the max_check_result_file_age option for more information). If you are setting up a distributed monitoring environment or plan on handling a large number of passive checks on a regular basis, you may wish to disable this option so

What shortcuts can I use for linking? There is often widespread confusion as to what this option really does. 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 Send feedback.

Put tags around your code and data! And I have some problems: 1- When I try to run I get: Perl error when reading LocalSite.cfg: Please inform the site admin. If you have a lot of contacts or regular service failures your log file will grow relatively quickly. Hope this helps Reply Mountaineer says: 2014-08-17 at 06:48 Gentlemen, This is the error that appeared on my mrtg.log ERROR: CFG Error in "logformat", file /etc/mrtg.cfg line 3: Invalid Logformat ‘rrdtool

When I go to http://localhost/cgi-bin/routers2.cgi the MRTG Network Monitor ist opening, but there no icons shown. Default is 180 seconds (3 minutes). Try installing libcgi-pm-perl and see if this fixes things; otherwise, it may be overkill, but under Ubuntu, try installing libcgi-application-basic-plugin-bundle-perl which should pull in the CGI module (and a fair bit http://www.twiki.org/cgi-bin/view/Support/SID-00203 Object Configuration File Format: cfg_file= Example: cfg_file=/usr/local/nagios/etc/hosts.cfg cfg_file=/usr/local/nagios/etc/services.cfg cfg_file=/usr/local/nagios/etc/commands.cfg This directive is used to specify an object configuration file containing object definitions that Nagios should use for monitoring.

Embedded Perl Implicit Use Option Format: use_embedded_perl_implicitly=<0/1> Example: use_embedded_perl_implicitly=1 This setting determines whether or not the embedded Perl interpreter should be used for Perl plugins/scripts that do not explicitly enable/disable it. You may specify either a groupname or a GID. A newline is automatically added after each write to the performance data file. If you set this value to 0, Nagios will not save retention data at regular intervals, but it will still save retention data before shutting down or restarting.

Or did I miss something? Using a "smart" delay calculation (the default) will cause Nagios to calculate an average check interval and spread initial checks of all services out over that interval, thereby helping to eliminate It was a good starting point to see, what routers2 can do at all. http://www.openinnovations.com/mrtgbundle.html Unfortunately, they have fairly old versions of Routers2, RRDTool and MRTG, but these can be separately upgraded afterwards using the instructions with the individual applications.

Object Cache File Format: object_cache_file= Example: object_cache_file=/usr/local/nagios/var/objects.cache This directive is used to specify a file in which a cached copy of object definitions should be stored. More about the author More information on freshness checking can be found here. 0 = Don't check service freshness 1 = Check service freshness (default) Service Freshness Check Interval Format: service_freshness_check_interval= Example: service_freshness_check_interval=60 This setting from the DE-CIX (printed with RRDtool) or from the Uni-Gießen (generated with MRTG), I had the idea of installing such a system by myself. If you leave off the "s", this is the number of "time units" to wait between external command checks.

Host Performance Data File Mode Format: host_perfdata_file_mode= Example: host_perfdata_file_mode=a This option determines how the host performance data file is opened. When you’ve completed these modifications, reload the web server configuration by issuing the following command: 1/etc/init.d/apache2 reload Install TWiki If your wiki is accessible at http://example.com, visit http://example.com/bin/configure to begin the Host Performance Data File Template Format: host_perfdata_file_template=