X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/c678e0454117586f1dd5365a6d52cfa924358aa9..7d911f9ffbdf63b2b2a45c3a3ee7063d006a5779:/munin/nominatim_throttled_ips?ds=sidebyside diff --git a/munin/nominatim_throttled_ips b/munin/nominatim_throttled_ips index b2f28e52..a56ff31d 100755 --- a/munin/nominatim_throttled_ips +++ b/munin/nominatim_throttled_ips @@ -11,6 +11,7 @@ if [ "$1" = "config" ]; then echo 'graph_title Restricted IPs' + echo 'graph_args -l 0' echo 'graph_vlabel number of IPs' echo 'graph_category nominatim' echo 'bulk.label bulk' @@ -24,4 +25,4 @@ fi BASEDIR="$(dirname "$(readlink -f "$0")")" -cut -f 2 -d ' ' $BASEDIR/../settings/ip_blocks.map | uniq -c | sed 's:[[:space:]]*\([0-9]\+\) \(.*\):\2.value \1:' +cut -f 2 -d ' ' $BASEDIR/../../bin/settings/ip_blocks.map | sort | uniq -c | sed 's:[[:space:]]*\([0-9]\+\) \(.*\):\2.value \1:'