]> arthur.barton.de Git - netdata.git/blobdiff - charts.d/mem_apps.chart.sh
Merge pull request #1440 from l2isbad/sensors_chart_py_enhancement
[netdata.git] / charts.d / mem_apps.chart.sh
index f537ada488f183690b88e88d5413cf2b9bad7276..3bc65fe24004c9af4e71ebcd88b764f38e5b16eb 100755 (executable)
@@ -1,4 +1,10 @@
-#!/bin/sh
+# no need for shebang - this file is loaded from charts.d.plugin
+
+# netdata
+# real-time performance and health monitoring, done right!
+# (C) 2016 Costa Tsaousis <costa@tsaousis.gr>
+# GPL v3+
+#
 
 mem_apps_apps=
 
@@ -15,7 +21,7 @@ mem_apps_check() {
 
        if [ -z "$mem_apps_apps" ]
        then
-               echo >&2 "$PROGRAM_NAME: mem_apps: not configured. Please set mem_apps_apps='command1 command2 ...' in $confd/mem_apps_apps.conf"
+               error "manual configuration required: please set mem_apps_apps='command1 command2 ...' in $confd/mem_apps_apps.conf"
                return 1
        fi
        return 0