Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thibautplg/temper-zabbix
Get TEMPer USB thermometer data into Zabbix
https://github.com/thibautplg/temper-zabbix
Last synced: about 9 hours ago
JSON representation
Get TEMPer USB thermometer data into Zabbix
- Host: GitHub
- URL: https://github.com/thibautplg/temper-zabbix
- Owner: ThibautPlg
- License: mit
- Created: 2023-04-19T12:16:08.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-04-19T14:11:01.000Z (over 1 year ago)
- Last Synced: 2024-04-23T16:14:02.080Z (7 months ago)
- Language: Shell
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# TEMPer Zabbix
Zabbix template and script to monitor temperatures returned by a TEMPer usb stick. This could be useful to check datacenter temperature or as a remote thermometer plugged to a raspberry pi.
## Requirement
- A TEMPer usb stick
- urwen's temper.py script : https://github.com/urwen/temper
- jq
- zabbix sender
- A working Zabbix client with a configured Zabbix agent.## Setup
### On Zabbix server
- Import the template `template_temper.xml` on the server, then add it to the host equipped with the TEMPer usb device.
### On Zabbix client
- Install the script
```
git clone https://github.com/ThibautPlg/TEMPer-Zabbix.gitmkdir -p /etc/zabbix/scripts
cp TEMPer-Zabbix/TEMPer_zabbix.sh /etc/zabbix/scripts/
chmod 750 /etc/zabbix/scripts/TEMPer_zabbix.sh
chgrp zabbix /etc/zabbix/scripts/TEMPer_zabbix.sh
```
- Customize `TEMPer_zabbix.sh` to match your environment if needed
```
vim /etc/zabbix/scripts/TEMPer_zabbix.sh
```
- Add a crontab entry (user zabbix or root required)
```
# Zabbix TEMPer USB probe
*/1 * * * * /etc/zabbix/scripts/TEMPer_zabbix.sh 1>/dev/null 2>/dev/null
```