build: s/sensors.sh/sensors

This commit is contained in:
Sérgio Ramos 2017-06-20 14:48:05 +01:00
parent 7b02780472
commit d4bedc0515
4 changed files with 16 additions and 16 deletions

View File

@ -30,7 +30,7 @@
}, },
{ {
name: 'sensor_memory_usage', name: 'sensor_memory_usage',
exec: '/bin/sensors.sh memory', exec: '/bin/sensors memory',
timeout: '5s', timeout: '5s',
when: { when: {
interval: '5s' interval: '5s'
@ -39,7 +39,7 @@
}, },
{ {
name: 'sensor_cpu_load', name: 'sensor_cpu_load',
exec: '/bin/sensors.sh cpu', exec: '/bin/sensors cpu',
timeout: '5s', timeout: '5s',
when: { when: {
interval: '5s' interval: '5s'
@ -48,7 +48,7 @@
}, },
{ {
name: 'sensor_disk_capacity', name: 'sensor_disk_capacity',
exec: '/bin/sensors.sh diskcapacity', exec: '/bin/sensors diskcapacity',
timeout: '5s', timeout: '5s',
when: { when: {
interval: '60s' interval: '60s'
@ -57,7 +57,7 @@
}, },
{ {
name: 'sensor_disk_usage', name: 'sensor_disk_usage',
exec: '/bin/sensors.sh diskusage', exec: '/bin/sensors diskusage',
timeout: '5s', timeout: '5s',
when: { when: {
interval: '60s' interval: '60s'

View File

@ -30,7 +30,7 @@
}, },
{ {
name: 'sensor_memory_usage', name: 'sensor_memory_usage',
exec: '/bin/sensors.sh memory', exec: '/bin/sensors memory',
timeout: '5s', timeout: '5s',
when: { when: {
interval: '5s' interval: '5s'
@ -39,7 +39,7 @@
}, },
{ {
name: 'sensor_cpu_load', name: 'sensor_cpu_load',
exec: '/bin/sensors.sh cpu', exec: '/bin/sensors cpu',
timeout: '5s', timeout: '5s',
when: { when: {
interval: '5s' interval: '5s'
@ -48,7 +48,7 @@
}, },
{ {
name: 'sensor_disk_capacity', name: 'sensor_disk_capacity',
exec: '/bin/sensors.sh diskcapacity', exec: '/bin/sensors diskcapacity',
timeout: '5s', timeout: '5s',
when: { when: {
interval: '60s' interval: '60s'
@ -57,7 +57,7 @@
}, },
{ {
name: 'sensor_disk_usage', name: 'sensor_disk_usage',
exec: '/bin/sensors.sh diskusage', exec: '/bin/sensors diskusage',
timeout: '5s', timeout: '5s',
when: { when: {
interval: '60s' interval: '60s'

View File

@ -30,7 +30,7 @@
}, },
{ {
name: 'sensor_memory_usage', name: 'sensor_memory_usage',
exec: '/bin/sensors.sh memory', exec: '/bin/sensors memory',
timeout: '5s', timeout: '5s',
when: { when: {
interval: '5s' interval: '5s'
@ -39,7 +39,7 @@
}, },
{ {
name: 'sensor_cpu_load', name: 'sensor_cpu_load',
exec: '/bin/sensors.sh cpu', exec: '/bin/sensors cpu',
timeout: '5s', timeout: '5s',
when: { when: {
interval: '5s' interval: '5s'
@ -48,7 +48,7 @@
}, },
{ {
name: 'sensor_disk_capacity', name: 'sensor_disk_capacity',
exec: '/bin/sensors.sh diskcapacity', exec: '/bin/sensors diskcapacity',
timeout: '5s', timeout: '5s',
when: { when: {
interval: '60s' interval: '60s'
@ -57,7 +57,7 @@
}, },
{ {
name: 'sensor_disk_usage', name: 'sensor_disk_usage',
exec: '/bin/sensors.sh diskusage', exec: '/bin/sensors diskusage',
timeout: '5s', timeout: '5s',
when: { when: {
interval: '60s' interval: '60s'

View File

@ -30,7 +30,7 @@
}, },
{ {
name: 'sensor_memory_usage', name: 'sensor_memory_usage',
exec: '/bin/sensors.sh memory', exec: '/bin/sensors memory',
timeout: '5s', timeout: '5s',
when: { when: {
interval: '5s' interval: '5s'
@ -39,7 +39,7 @@
}, },
{ {
name: 'sensor_cpu_load', name: 'sensor_cpu_load',
exec: '/bin/sensors.sh cpu', exec: '/bin/sensors cpu',
timeout: '5s', timeout: '5s',
when: { when: {
interval: '5s' interval: '5s'
@ -48,7 +48,7 @@
}, },
{ {
name: 'sensor_disk_capacity', name: 'sensor_disk_capacity',
exec: '/bin/sensors.sh diskcapacity', exec: '/bin/sensors diskcapacity',
timeout: '5s', timeout: '5s',
when: { when: {
interval: '60s' interval: '60s'
@ -57,7 +57,7 @@
}, },
{ {
name: 'sensor_disk_usage', name: 'sensor_disk_usage',
exec: '/bin/sensors.sh diskusage', exec: '/bin/sensors diskusage',
timeout: '5s', timeout: '5s',
when: { when: {
interval: '60s' interval: '60s'