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
Project Notes
Reviews (3) Add a Review
API Check
by mk_2, April 30, 2021

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



Not working anymore
by rich568117, August 31, 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.



good, but needs some updates
by underhill, April 30, 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'



Add a Review

You must be logged in to submit a review.

Thank you for your review!

Your review has been submitted and is pending approval.

Recommend

To:


From:


Thank you for your recommendation!

Your recommendation has been sent.

Project Stats
Rating
4 (3)
Favorites
0
Views
13,512