Home Directory Plugins Hardware Storage Systems SAN and NAS Check TrueNAS Health/Replication

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

Check TrueNAS Health/Replication

Rating
3 votes
Favoured:
0
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
License
MIT
Hits
13625
Files:
FileDescription
check_truenas.pycheck_truenas.py
Nagios CSP

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!
Check the status of the TrueNAS alert system or the state of TrueNAS replication tasks.
Reviews (3)
bymk_2, April 29, 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
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.
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' \