Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Check TrueNAS Health/Replication
1.0.1
2015-09-29
- Nagios 1.x
- Nagios 2.x
- Nagios 3.x
- Nagios 4.x
- Nagios XI
MIT
13511
File | Description |
---|---|
check_truenas.py | check_truenas.py |
Meet The New Nagios Core Services Platform
Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.
Monitoring Made Magically Better
- Nagios Core on Overdrive
- Powerful Monitoring Dashboards
- Time-Saving Configuration Wizards
- Open Source Powered Monitoring On Steroids
- And So Much More!
Reviews (3)
Was looking for a zfs zpool health/diskspace check (SNMP), while this uses the API to check alerts.
In case there anyone else with the same req, try https://git.io/J3mvS
In case there anyone else with the same req, try https://git.io/J3mvS
byrich568117, August 10, 2020
Script is great, but doesn't work in its current form on this site. I found someone that re-wrote it for the current version of FreeNAS here:
https://www.ixsystems.com/community/threads/how-to-monitor-your-freenas-9-3-with-icinga-nagios-nrpe.43043/
With that version it's working perfectly.
https://www.ixsystems.com/community/threads/how-to-monitor-your-freenas-9-3-with-icinga-nagios-nrpe.43043/
With that version it's working perfectly.
byunderhill, April 9, 2018
I am testing this against a FreeNAS system, and find that in FreeNAS versions >= 9.10.x the repl_status success string has changed to 'Up to date'
Also, the API URL seems to be hard coded to http ... so I modified mine for https. It would be good to be able to have this handled dynamically to avoid sending the root credentials in cleartext.
diff check_truenas.py.sav check_truenas.py
45c45
self._ep = 'https://%s/api/v1.0' % hostname
76c76
if repl['repl_status'] != 'Up to date' \
Also, the API URL seems to be hard coded to http ... so I modified mine for https. It would be good to be able to have this handled dynamically to avoid sending the root credentials in cleartext.
diff check_truenas.py.sav check_truenas.py
45c45
self._ep = 'https://%s/api/v1.0' % hostname
76c76
if repl['repl_status'] != 'Up to date' \