mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-25 09:34:11 +00:00
ac47e376bc
Nagiostat parses performance-data from Nagios and generates graphs PR: 69370 Submitted by: Janos Mohacsi <mohacsi@niif.hu>
17 lines
679 B
Plaintext
17 lines
679 B
Plaintext
|
|
$FreeBSD$
|
|
|
|
--- nagiostat.orig Tue Jul 20 17:30:18 2004
|
|
+++ nagiostat Tue Jul 20 18:01:53 2004
|
|
@@ -21,8 +21,8 @@
|
|
use strict;
|
|
|
|
## Basic configuration options
|
|
-my $BASE_DIR = "/usr/local/nagios/nagiostat";
|
|
-my $CONFIG_FILE = $BASE_DIR."/nagiostat.conf"; ## Config-file location
|
|
+my $BASE_DIR = "%%NAGIOSTATDIR%%";
|
|
+my $CONFIG_FILE = "%%NAGIOSTATCONFDIR%%/nagiostat.conf"; ## Config-file location
|
|
my $DEBUG_LOG_FILE = $BASE_DIR."/debug.log"; ## Specify where to create log-file and what filename (must be writable by nagios-user!)
|
|
my $DEBUGLEVEL = 3; ## 0=Nothing, 1=Errors, 2=Warnings, 3=Debug
|
|
my $DEBUGOUTPUT = 0; ## 0=file, 1=STDERR, 2=STDOUT (for cgi)
|