summaryrefslogtreecommitdiffstats
path: root/etc/munin/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'etc/munin/plugins')
-rwxr-xr-xetc/munin/plugins/jenkins_builds2
-rwxr-xr-xetc/munin/plugins/jenkins_builds_results2
-rwxr-xr-xetc/munin/plugins/jenkins_jobs2
3 files changed, 3 insertions, 3 deletions
diff --git a/etc/munin/plugins/jenkins_builds b/etc/munin/plugins/jenkins_builds
index 450cf4e0..70f3c4ad 100755
--- a/etc/munin/plugins/jenkins_builds
+++ b/etc/munin/plugins/jenkins_builds
@@ -32,7 +32,7 @@ fi
STATEFILE=$MUNIN_PLUGSTATE/$(basename $0)
# delete statefile if it's older than $update_interval set in /etc/munin/plugin-conf.d/jenkins
-if test $(find $STATEFILE ! -mmin +$update_interval) ; then
+if test $(find $STATEFILE -mmin +$update_interval) ; then
rm -f $STATEFILE
fi
diff --git a/etc/munin/plugins/jenkins_builds_results b/etc/munin/plugins/jenkins_builds_results
index 76b64bf0..e7661724 100755
--- a/etc/munin/plugins/jenkins_builds_results
+++ b/etc/munin/plugins/jenkins_builds_results
@@ -32,7 +32,7 @@ fi
STATEFILE=$MUNIN_PLUGSTATE/$(basename $0)
# delete statefile if it's older than $update_interval set in /etc/munin/plugin-conf.d/jenkins
-if test $(find $STATEFILE ! -mmin +$update_interval) ; then
+if test $(find $STATEFILE -mmin +$update_interval) ; then
rm -f $STATEFILE
fi
diff --git a/etc/munin/plugins/jenkins_jobs b/etc/munin/plugins/jenkins_jobs
index 3f3d6e82..d9ddce10 100755
--- a/etc/munin/plugins/jenkins_jobs
+++ b/etc/munin/plugins/jenkins_jobs
@@ -32,7 +32,7 @@ fi
STATEFILE=$MUNIN_PLUGSTATE/$(basename $0)
# delete statefile if it's older than $update_interval set in /etc/munin/plugin-conf.d/jenkins
-if test $(find $STATEFILE ! -mmin +$update_interval) ; then
+if test $(find $STATEFILE -mmin +$update_interval) ; then
rm -f $STATEFILE
fi