Skip to content

Commit 98544a9

Browse files
author
Andrej Walilko
committed
remove executable requirement
1 parent 0f332e0 commit 98544a9

14 files changed

Lines changed: 10 additions & 10 deletions

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Connect Grafana to InfluxDB as a data source using the same username and passwor
2222

2323
On to the router. Enable JFFS support on Tomato under Administration -> JFFS.
2424

25-
Upload all shell scripts to /jffs/tomato-grafana/. Modify the IP, port, password, and username of your influxdb server in variables.sh. Also add any additional mount points you may want to monitor in this file as well, space-delimited.
25+
Upload all shell scripts to /jffs/tomato-grafana/. Modify the IP, port, password, and username of your influxdb server in variables.sh. Also add any additional mount points you may want to monitor in this file as well, space-delimited. Scripts do not have to be executable.
2626

2727
Add the following three commands under Administration -> Scheduler as custom cron jobs:
2828
```

checkBandwidthInterface.sh

100644100755
File mode changed.

checkCPU.sh

100644100755
File mode changed.

checkCPUTemp.sh

100644100755
File mode changed.

checkClients.sh

100644100755
File mode changed.

checkConnections.sh

100644100755
File mode changed.

checkDisk.sh

100644100755
File mode changed.

checkLoad.sh

100644100755
File mode changed.

checkMem.sh

100644100755
File mode changed.

collector.sh

100644100755
Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
#!/bin/sh
2-
/jffs/tomato-grafana/checkDisk.sh &
3-
/jffs/tomato-grafana/checkBandwidthInterface.sh &
4-
/jffs/tomato-grafana/checkConnections.sh &
5-
/jffs/tomato-grafana/pingGoogle.sh &
6-
/jffs/tomato-grafana/checkLoad.sh &
7-
/jffs/tomato-grafana/checkCPUTemp.sh &
8-
/jffs/tomato-grafana/checkMem.sh &
9-
/jffs/tomato-grafana/checkCPU.sh &
10-
/jffs/tomato-grafana/checkClients.sh &
2+
sh /jffs/tomato-grafana/checkDisk.sh &
3+
sh /jffs/tomato-grafana/checkBandwidthInterface.sh &
4+
sh /jffs/tomato-grafana/checkConnections.sh &
5+
sh /jffs/tomato-grafana/pingGoogle.sh &
6+
sh /jffs/tomato-grafana/checkLoad.sh &
7+
sh /jffs/tomato-grafana/checkCPUTemp.sh &
8+
sh /jffs/tomato-grafana/checkMem.sh &
9+
sh /jffs/tomato-grafana/checkCPU.sh &
10+
sh /jffs/tomato-grafana/checkClients.sh &

0 commit comments

Comments
 (0)