aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKristian Lyngstol <kly@kly@.no>2016-03-27 12:00:45 +0200
committerKristian Lyngstol <kly@kly@.no>2016-03-27 12:00:45 +0200
commit9f8e1eed8d695c2980b05d9310a34db19edba69f (patch)
treed51153346327095337cfab9b5790840efafada01
parentf63535d994abc0db7e76869c463910c796055ab6 (diff)
TG16 config.dist
-rwxr-xr-xinclude/config.pm.dist58
1 files changed, 31 insertions, 27 deletions
diff --git a/include/config.pm.dist b/include/config.pm.dist
index a1db01a..d04913c 100755
--- a/include/config.pm.dist
+++ b/include/config.pm.dist
@@ -6,7 +6,7 @@ package nms::config;
# DB
our $db_name = "nms";
-our $db_host = "gerald.tg15.gathering.org";
+our $db_host = "185.110.148.10";
our $db_username = "nms";
our $db_password = "<removed>";
@@ -32,45 +32,46 @@ our @snmp_objects = [
['ifOutErrors'],
['ifInUnknownProtos'],
['ifOutQLen'],
-['1.3.6.1.4.1.2636.3.1.13.1.7.7.1.0']
+['sysUpTime'],
+['jnxOperatingTemp'],
+['jnxOperatingCPU'],
+['jnxOperatingDescr'],
+['jnxBoxSerialNo']
];
# Max SNMP polls to fire off at the same time.
our $snmp_max = 20;
# DHCP-servers
-our $dhcp_server1 = "185.12.59.66"; # primary
-our $dhcp_server2 = "185.12.59.2"; # secondary
+our $dhcp_server1 = "185.110.149.2"; # primary
+our $dhcp_server2 = "185.110.148.2"; # secondary
# TACACS-login for NMS
our $tacacs_user = "<removed>";
our $tacacs_pass = "<removed>";
-# SNMP read-only for NMS, etc
-our $snmp_community = "<removed>";
-
# Telnet-timeout for smanagrun
our $telnet_timeout = 300;
# IP/IPv6/DNS-info
-our $tgname = "tg15";
-our $pri_hostname = "marty";
-our $pri_v4 = "185.12.59.66";
-our $pri_v6 = "2a02:ed02:1ee7::66";
-our $pri_net_v4 = "185.12.59.64/27";
-our $pri_net_v6 = "2a02:ed02:1ee7::/64";
-
-our $sec_hostname = "emmet";
-our $sec_v4 = "185.12.59.2";
-our $sec_v6 = "2a02:ed02:1337::2";
-our $sec_net_v4 = "185.12.59.0/26";
-our $sec_net_v6 = "2a02:ed02:1337::/64";
+our $tgname = "tg16";
+our $pri_hostname = "r2-d2";
+our $pri_v4 = "185.110.149.2";
+our $pri_v6 = "2a06:5841:149a::2";
+our $pri_net_v4 = "185.110.149.0/26";
+our $pri_net_v6 = "2a06:5841:149a::/64";
+
+our $sec_hostname = "c-3po";
+our $sec_v4 = "185.110.148.2";
+our $sec_v6 = "2a06:5841:1337::2";
+our $sec_net_v4 = "185.110.148.0/26";
+our $sec_net_v6 = "2a06:5841:1337::/64";
# for RIPE to get reverse zones via DNS AXFR
# https://www.ripe.net/data-tools/dns/reverse-dns/how-to-set-up-reverse-delegation
our $ext_xfer = "193.0.0.0/22; 2001:610:240::/48; 2001:67c:2e8::/48";
# allow XFR from NOC
-our $noc_net = "151.216.254.0/24; 2a02:ed02:254::/64";
+our $noc_net = "185.110.150.0/25; 2a06:5841:150a::1/64";
# To generate new dnssec-key for ddns:
# dnssec-keygen -a HMAC-MD5 -b 128 -n HOST DHCP_UPDATER
@@ -78,25 +79,28 @@ our $ddns_key = "<removed>";
our $ddns_to = "127.0.0.1"; # just use localhost
# Base networks
-our $base_ipv4net = "151.216.128.0/17";
-our $base_ipv6net = "2a02:ed02::/32";
-our $ipv6zone = "2.0.d.e.2.0.a.2.ip6.arpa";
+our $base_ipv4net = "88.92.0.0/17";
+our $base_ipv6net = "2a06:5840::/29";
+our $ipv6zone = "0.4.8.5.6.0.a.2.ip6.arpa";
# extra networks that are outside the normal ranges
# that should have recursive DNS access
-our $rec_net = "185.12.59.0/24";
+our $rec_net = "185.110.148.0/22";
# extra networks that are outside the normal ranges
# that should be added to DNS
our @extra_nets = (
- '185.12.59.0/24', # norsk nett
+ '185.110.148.0/24',
+ '185.110.149.0/24',
+ '185.110.150.0/24',
+ '185.110.151.0/24',
);
# add WLC's
-our $wlc1 = "151.216.128.130";
+our $wlc1 = "185.110.148.14";
# add VOIP-server
-our $voip1 = "<removed>";
+our $voip1 = "134.90.150.162";
# PXE-server (rest of bootstrap assumes $sec_v4/$sec_v6)
our $pxe_server_v4 = $sec_v4;