Build precise queries to find exactly what you need
Press ESC to close
Your review has been submitted and is pending approval.
Checks temperature and humidity using a Watchport Environmental sensor.
Current Version
1.0
Last Release Date
2019-12-01
Owner
Nathan Safran
Website
https://github.com/nsafran1217/check_watchport/
Compatible With
Temperature
Humidity
This plugin checks the temperature or humidity from a watchport sensor.
The temperature and humidity checks are in separate files.
Parameters : -w - warning threshold -c - critical threshold -p - device port, default it /dev/ttyUSB0
Add the nagios user to the 'dialout' group to allow access to the serial port.
When I first made this, I had issues with the USB sensor locking up after every read. To get around this, I made a version to reset the USB device after every read. See the github page for this version: https://github.com/nsafran1217/check_watchport I added an ACL to the USB device file to allow nagios write access. I added a udev rule so this ACL is added when the device is plugged in. Example, you will have to change the identifiers: SUBSYSTEM=="usb", ATTRS{idProduct}=="0305", ATTRS{serial}=="V72983794-0", ACTION=="add", RUN+="/bin/setfacl -m u:nagios:rw- /dev/$name"
You must be logged in to submit a review.
To:
From:
We’ve completely redesigned the world’s largest repository of Nagios plugins and monitoring tools. Join thousands of users sharing monitoring solutions for servers, applications, and everything in between.
Due to our redesign, all existing accounts require a password reset to access your account again.
Ready to explore 6,100+ projects and contribute to the community?
Reset Password Create Account
Happy Monitoring!