Add bcmstat
This commit is contained in:
16
README.md
16
README.md
@@ -74,6 +74,22 @@ sudo systemctl restart zabbix-agent2
|
||||
sudo systemctl status zabbix-agent2
|
||||
```
|
||||
|
||||
Copy current version of `bcmstat.sh` from [https://github.com/MilhouseVH/bcmstat] to `/usr/local/bin/bcmstat.sh`
|
||||
|
||||
Make zabbix dir:
|
||||
|
||||
```bash
|
||||
mkdir /var/lib/zabbix
|
||||
```
|
||||
|
||||
Add to root crontab:
|
||||
|
||||
```cron
|
||||
* * * * * sh -c '/usr/local/bin/bcmstat.sh J1mH0Yqprg | tail -2 | head -1 >/var/lib/zabbix/bcmstat-from-host'
|
||||
```
|
||||
|
||||
TODO: Set up Zabbix to retrieve and parse `/var/lib/zabbix/bcmstat-from-host`
|
||||
|
||||
## Fault finding
|
||||
|
||||
`vcgencmd measure_temp`
|
||||
|
||||
Reference in New Issue
Block a user