
SAN and NAS
Check TrueNAS Health/Replication
Description:
Check the status of the TrueNAS alert system or the state of TrueNAS replication tasks.
Current Version
1.0.1
Last Release Date
2015-09-29
Compatible With
- Nagios 1.x
- Nagios 2.x
- Nagios 3.x
- Nagios 4.x
- Nagios XI
Owner
License
MIT
Project Files
File | Description |
---|---|
check_truenas.py |
Project Notes
Reviews
(3)
Add a Review
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.
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'
Page Sections
Project Stats
Rating
4 (3)
Favorites
0
Views
13,533