]> git.pld-linux.org Git - packages/cacti-template-nagiostats.git/commitdiff
- debug off by default
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 13 Dec 2010 18:40:30 +0000 (18:40 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    check_nagios.sh -> 1.2

check_nagios.sh

index 90712adef6584e20edd13cd3dd9fef723af17a2e..34d13ac9fe107b89108a49fb8994c35bab957061 100644 (file)
@@ -1,9 +1,8 @@
 #!/bin/sh
 # vim:ft=sh
 # enable for debugging:
-set -x
-exec 2>>/tmp/nagios-cacti.log
-#exec 1>&2
+#set -x
+#exec 2>>/tmp/nagios-cacti.log
 
 url="$1"
 type="$2"
@@ -17,4 +16,3 @@ url="${url%/}"
 # this way we can even have passwords in them.
 # retry only once with timeout of 30s
 wget -t 1 -T 30 --no-check-certificate -q -O- ${user:+--user="$user" --password="$password"} "$url/mrtgstats.cgi?type=$type"
-echo $? >&2
This page took 0.147224 seconds and 4 git commands to generate.