1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-25 09:34:11 +00:00
freebsd-ports/net-mgmt/nagiostat/files/patch-nagiostat
Ying-Chieh Liao ac47e376bc add nagiostat 1.0.0
Nagiostat parses performance-data from Nagios and generates graphs

PR:		69370
Submitted by:	Janos Mohacsi <mohacsi@niif.hu>
2004-07-22 01:48:42 +00:00

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)