1
1
scripts/README.md

38 lines
1.3 KiB
Markdown
Raw Normal View History

# scripts
2020-10-21 23:05:08 +02:00
My personal collection of handy scripts. mostly bash.
2020-10-21 23:05:08 +02:00
Content:
- [setup_zsh.sh](#setup_zsh.sh)
- [healthchecks](#healthchecks)
2020-06-22 09:19:15 +02:00
2018-10-08 20:31:38 +02:00
## setup_zsh.sh
2018-05-13 19:36:41 +02:00
One-line installer for zsh, oh-my-zsh and various zsh plugins.
2020-10-21 23:05:08 +02:00
```bash
2018-05-13 19:36:41 +02:00
curl -fsSL https://socialg.it/david/scripts/raw/master/setup_zsh.sh | bash
```
2020-10-21 23:05:08 +02:00
2018-10-08 20:31:38 +02:00
It is still highly experimental and will probably fail on your system.
2018-05-13 19:36:41 +02:00
2020-10-21 23:05:08 +02:00
---
## healthchecks
A collection of scripts for monitoring various things with [healthchecks.io](https://healthchecks.io).
My personal healthchecks instance runs at [checks.socialnerds.org](https://checks.socialnerds.org) though only the `/ping` endpoint is publicly available. The rest of the interface is limited to internal networks.
All healthchecks reside in their own repository at [socialg.it/david/healthchecks](https://socialg.it/david/healthchecks).
| script | purpose |
| :------------ | :--------------------------------------------------------------- |
| system.sh | Fire if load, memory or diskusage hits the configured threshold |
---
## setup_snmpd.sh
2018-05-13 19:36:41 +02:00
2020-10-21 23:05:08 +02:00
`setup_snmpd.sh` installs and configures the snmp daemon to be used with [libreNMS](https://librenms.org).
Supported operating systems are Ubuntu, Debian, Raspbian and Archlinux.