diff options
author | Costa Tsaousis (ktsaou) <costa@tsaousis.gr> | 2015-11-20 01:19:29 +0200 |
---|---|---|
committer | Costa Tsaousis (ktsaou) <costa@tsaousis.gr> | 2015-11-20 01:19:29 +0200 |
commit | f86722e7a092f5d1c6c7815499bd61866c75045c (patch) | |
tree | 1449a86a8220a42909192ba1508c9d31bfe2b3c1 /charts.d/mem_apps.chart.sh | |
parent | 93921bbb7cd15c3f3a4e4f52386cf3611eadd8d0 (diff) |
normalized all charts.d plugins
Diffstat (limited to 'charts.d/mem_apps.chart.sh')
-rwxr-xr-x | charts.d/mem_apps.chart.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/charts.d/mem_apps.chart.sh b/charts.d/mem_apps.chart.sh index 3afa4ad325..d3a786e935 100755 --- a/charts.d/mem_apps.chart.sh +++ b/charts.d/mem_apps.chart.sh @@ -1,6 +1,6 @@ #!/bin/sh -mem_apps_apps="netdata asterisk squid apache2 mysqld dovecot cupsd sshd named clamd smbd" +mem_apps_apps= # these are required for computing memory in bytes and cpu in seconds #mem_apps_pagesize="`getconf PAGESIZE`" @@ -15,7 +15,7 @@ mem_apps_check() { if [ -z "$mem_apps_apps" ] then - echo >&2 "mem_apps: Please set mem_apps_apps='command1 command2 ...' in $confd/mem_apps_apps.conf" + echo >&2 "$PROGRAM_NAME: mem_apps: not configured. Please set mem_apps_apps='command1 command2 ...' in $confd/mem_apps_apps.conf" return 1 fi return 0 |