]> 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 ab95b361c88d178e0035006aa8fbf486261d72e1..3bc65fe24004c9af4e71ebcd88b764f38e5b16eb 100755 (executable)
@@ -1,5 +1,11 @@
 # 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=
 
 # these are required for computing memory in bytes and cpu in seconds
@@ -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