aboutsummaryrefslogtreecommitdiffstats
path: root/include/config.pm.dist
diff options
context:
space:
mode:
authorKristian Lyngstol <kristian@bohemians.org>2016-04-13 21:17:28 +0200
committerKristian Lyngstol <kristian@bohemians.org>2016-04-13 21:17:28 +0200
commita09b4d33818f1b3fd3836a99cbb742fa84caecb4 (patch)
tree336fbdff24655ff4079d1971b347935aa3714766 /include/config.pm.dist
parente8a20f730651d07deff33dc559acfdca32cce271 (diff)
Working test! It's amazing!
Never been so happy to see a single switch in the nms. Missing: Varnish and collectors and better deplist. Also: this is mainly _test_ stuff, not meant for development OR production.
Diffstat (limited to 'include/config.pm.dist')
-rwxr-xr-xinclude/config.pm.dist43
1 files changed, 0 insertions, 43 deletions
diff --git a/include/config.pm.dist b/include/config.pm.dist
deleted file mode 100755
index 9987d05..0000000
--- a/include/config.pm.dist
+++ /dev/null
@@ -1,43 +0,0 @@
-#! /usr/bin/perl
-use strict;
-use warnings;
-package nms::config;
-
-# DB
-our $db_name = "nms";
-our $db_host = "db";
-our $db_username = "nms";
-our $db_password = "risbrod";
-
-# Max SNMP polls to fire off at the same time.
-our $snmp_max = 20;
-
-# What SNMP objects to fetch.
-our @snmp_objects = [
- ['ifIndex'],
- ['sysName'],
- ['sysDescr'],
- ['ifHighSpeed'],
- ['ifType'],
- ['ifName'],
- ['ifDescr'],
- ['ifAlias'],
- ['ifOperStatus'],
- ['ifAdminStatus'],
- ['ifLastChange'],
- ['ifHCInOctets'],
- ['ifHCOutOctets'],
- ['ifInDiscards'],
- ['ifOutDiscards'],
- ['ifInErrors'],
- ['ifOutErrors'],
- ['ifInUnknownProtos'],
- ['ifOutQLen'],
- ['sysUpTime'],
- ['jnxOperatingTemp'],
- ['jnxOperatingCPU'],
- ['jnxOperatingDescr'],
- ['jnxBoxSerialNo']
-];
-
-1;