Adding check_iftraffic64

This commit is contained in:
Jan Wagner 2020-10-26 17:40:08 +01:00
parent 2889ce6fb6
commit aea814e242
6 changed files with 1140 additions and 0 deletions

View file

@ -0,0 +1,3 @@
#/usr/bin/make -f
include ../common.mk

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,5 @@
Homepage: https://exchange.nagios.org/directory/Plugins/Network-Connections%2C-Stats-and-Bandwidth/check_iftraffic64/details
Uploaders: Jan Wagner <waja@cyconet.org>
Description: plugin for checking network traffic by snmp.
Recommends: libsnmp-perl, libnet-dns-perl
Version: .77

View file

@ -0,0 +1,7 @@
Copyright (C) 2004 Gerd Mueller / Netways GmbH
License: GPL+
On Debian systems, the complete text of the GNU General
Public License can be found in "/usr/share/common-licenses/GPL".

View file

@ -0,0 +1,11 @@
--- a/check_iftraffic64/check_iftraffic64
+++ b/check_iftraffic64/check_iftraffic64
@@ -138,7 +138,7 @@
# Path to tmp files
-my $TRAFFIC_FILE = "/usr/local/nagios/libexec/traffic/";
+my $TRAFFIC_FILE = "/tmp/traffic/";
# Create tmp file location if it does not exist
if ( ! -d $TRAFFIC_FILE ) {

View file

@ -12,3 +12,4 @@ check_sieve/BareWord
check_tftp/epn
check_tomcat/epn
check_qnap_health/fix_strPart
check_iftraffic64/fix_traffic_file