From 90b60cdb34f59dccfd0a356bc1cc4d3aa9e7c674 Mon Sep 17 00:00:00 2001 From: Lars Kruse Date: Thu, 26 Mar 2020 02:15:32 +0100 Subject: [PATCH] Plugin trafic_ro_24h: remove duplicate "curl" token The plugin always emitted an error message (without failing) before. --- plugins/trafic_ro/trafic_ro_24h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/trafic_ro/trafic_ro_24h b/plugins/trafic_ro/trafic_ro_24h index fe49fcf2..1c5d2eb8 100755 --- a/plugins/trafic_ro/trafic_ro_24h +++ b/plugins/trafic_ro/trafic_ro_24h @@ -13,5 +13,5 @@ if [ "$1" = "config" ]; then exit 0 fi -VISITORS="$(echo 'munin' | curl curl --silent -X POST -H 'Content-type: text/xml' -d @- http://api.trafic.ro/rest/0.01/sumar-site/$RID | xmlstarlet sel -t -m "/sumar-site/vizitatori_ultimele_24_ore" -v ".")" +VISITORS="$(echo 'munin' | curl --silent -X POST -H 'Content-type: text/xml' -d @- http://api.trafic.ro/rest/0.01/sumar-site/$RID | xmlstarlet sel -t -m "/sumar-site/vizitatori_ultimele_24_ore" -v ".")" echo "24h_visitors.value" $VISITORS;