diff options
-rw-r--r-- | INSTALLING.rst | 6 | ||||
-rw-r--r-- | README.rst | 2 | ||||
-rwxr-xr-x | include/config.pm | 2 | ||||
-rw-r--r-- | web/js/nms-map-handlers.js | 4 |
4 files changed, 9 insertions, 5 deletions
diff --git a/INSTALLING.rst b/INSTALLING.rst index 0972767..c645ff9 100644 --- a/INSTALLING.rst +++ b/INSTALLING.rst @@ -33,12 +33,16 @@ As root: As ``$YOURUSER``:: - $ git clone git@github.com:tech-server/gondul + $ git clone https://github.com/tech-server/gondul.git $ cd gondul/ansible $ ansible-playbook -i inventory-localhost site.yml Then visit http://ip-your-boxen/ +Manualy import the database for now:: + + psql -h localhost -d nms -U nms -f /opt/gondul/build/schema.sql + Setting up your network... -------------------------- @@ -95,7 +95,7 @@ Current state ------------- Gondul is used at The Gathering and Digitality X among other places. It was -spun off as a separate project form the big "Tech:Server misc tools" git +spun off as a separate project from the big "Tech:Server misc tools" git repository in 2015. It was also used extensively at The Gathering 2017. There is no "release" process for the time being since all development is diff --git a/include/config.pm b/include/config.pm index e36136d..9a881ed 100755 --- a/include/config.pm +++ b/include/config.pm @@ -5,7 +5,7 @@ package nms::config; # DB our $db_name = "nms"; -our $db_host = "db"; +our $db_host = "localhost"; our $db_username = "nms"; our $db_password = "risbrod"; our $graphite_host = "graphite"; diff --git a/web/js/nms-map-handlers.js b/web/js/nms-map-handlers.js index 03f5c9e..d5ded6f 100644 --- a/web/js/nms-map-handlers.js +++ b/web/js/nms-map-handlers.js @@ -725,7 +725,7 @@ function snmpUpInfo(sw) { ret.data[0].value = "LAG member speed and total speed is " + seen_up; if (total_up != seen_up) { ret.score = 500; - ret.why = "LAG member (ge/xt/etc) speed is " + seen_up + " but logical (ae) is " + total_up; + ret.why = "LAG member (ge/xe/et) speed is " + seen_up + " but logical (ae) is " + total_up; ret.data[0].value = ret.why; } } @@ -808,7 +808,7 @@ function mgmtInfo(sw) { description: "Distro" }]; if ((mg.mgmt_v4_addr == undefined || mg.mgmt_v4_addr == "") && (mg.mgmt_v6_addr == undefined || mg.mgmt_v6_addr == "")) { - ret.why = "No IPv4 or IPv6 mamagement IP"; + ret.why = "No IPv4 or IPv6 management IP"; ret.score = 1000; } else if (mg.mgmt_v4_addr == undefined || mg.mgmt_v4_addr == "") { ret.why = "No IPv4 management IP"; |