1715b498a2
VictorOps is an on-call management and incident notification service. This is the Nagios/Icinga integration package for VictorOps. WWW: http://www.victorops.com PR: 191383 Submitted by: rand@iteris.com
11 lines
460 B
Text
11 lines
460 B
Text
--- opt/victorops/nagios_plugin/bin/do_victorops_heartbeat.orig 2014-06-11 10:25:17.252208492 -0500
|
|
+++ opt/victorops/nagios_plugin/bin/do_victorops_heartbeat 2014-06-11 10:29:51.392206330 -0500
|
|
@@ -44,7 +44,7 @@
|
|
fi
|
|
|
|
# guess Distro
|
|
-DISTRO=$(/usr/bin/lsb_release -d 2>/dev/null | $SED 's/.*:[[:space:]]*//')
|
|
+DISTRO=$(/usr/bin/uname -or 2>/dev/null | $SED 's/.*:[[:space:]]*//')
|
|
if [ "$DISTRO" = "" ]; then
|
|
DISTRO=$($CAT /etc/*release | $HEAD -1)
|
|
fi
|