[omd-commits] OMD Git: omd: nagvis: updated to current nightly

git version control git at mathias-kettner.de
Thu Jul 7 09:12:38 CEST 2016


Module:   omd
Branch:   master
Commit:   66c9264777bd575019780db6f1e74c9853259f1e
URL:      http://omdistro.org/projects/omd/repository/revisions/66c9264777bd575019780db6f1e74c9853259f1e

Author:   Lars Michelsen <lm at mathias-kettner.de>
Date:     Thu Jul  7 09:12:28 2016 +0200
Commiter: Lars Michelsen <lm at mathias-kettner.de>
Date:     Thu Jul  7 09:12:35 2016 +0200

nagvis: updated to current nightly

---

 packages/nagvis/NAGVIS_URLS.hook          |    3 +++
 packages/nagvis/nagvis-1.9-nightly.tar.gz |  Bin 1737832 -> 1738121 bytes
 2 files changed, 3 insertions(+)

diff --git a/packages/nagvis/NAGVIS_URLS.hook b/packages/nagvis/NAGVIS_URLS.hook
index 58c6e80..c0f83ca 100755
--- a/packages/nagvis/NAGVIS_URLS.hook
+++ b/packages/nagvis/NAGVIS_URLS.hook
@@ -56,12 +56,14 @@ case "$1" in
             SERVICEURL="[htmlcgi]/view.py?view_name=service&site=&host=[host_name]&service=[service_description]"
             HOSTGROUPURL="[htmlcgi]/view.py?view_name=hostgroup&site=&hostgroup=[hostgroup_name]"
             SERVICEGROUPURL="[htmlcgi]/view.py?view_name=servicegroup&site=&servicegroup=[servicegroup_name]"
+            ACTION_URLS="host_downtime_url=\"\"\nhost_ack_url=\"\"\nservice_downtime_url=\"\"\nservice_ack_url=\"\"\n"
         else
             HTMLCGI="/$OMD_SITE/$GUI/cgi-bin"
             HOSTURL="[htmlcgi]/status.cgi?host=[host_name]"
             HOSTGROUPURL="[htmlcgi]/status.cgi?hostgroup=[hostgroup_name]"
             SERVICEURL="[htmlcgi]/extinfo.cgi?type=2&host=[host_name]&service=[service_description]"
             SERVICEGROUPURL="[htmlcgi]/status.cgi?servicegroup=[servicegroup_name]&style=detail"
+            ACTION_URLS=""
         fi
 
         # Now write the NagVis configuration. This is a dedicated file so we can easily write it out here
@@ -80,6 +82,7 @@ hostgroupurl="$HOSTGROUPURL"
 serviceurl="$SERVICEURL"
 servicegroupurl="$SERVICEGROUPURL"
 EOF
+        echo -ne "$ACTION_URLS" >> $CFG_FILE
     ;;
 
 esac
diff --git a/packages/nagvis/nagvis-1.9-nightly.tar.gz b/packages/nagvis/nagvis-1.9-nightly.tar.gz
index 8266dd8..fcd8d90 100644
Binary files a/packages/nagvis/nagvis-1.9-nightly.tar.gz and b/packages/nagvis/nagvis-1.9-nightly.tar.gz differ



More information about the omd-commits mailing list