SAN and NAS

check_freenas.py

Description:

Simple python script for monitoring FreeNAS alerts and replication status.

It´s based on one of the FreeNAS API examples found here:
https://github.com/freenas/freenas/blob/master/examples/api/startup.py

Current Version

0.1

Last Release Date

2014-12-12

Compatible With

  • Nagios 1.x
  • Nagios 2.x
  • Nagios 3.x
  • Nagios 4.x
  • Nagios XI

License

MIT


Project Files
Project Notes
Reviews (2) Add a Review
needs updating for repl
by underhill, April 30, 2018

In at least 9.10.x and greater versions of FreeNAS, the replication status reports "Up to date" instead of "Succeeded" Also, this version does not have HTTPS/SSL support. This means you would have to pass the root username/password in cleartext. I would recommend checking out the check_truenas.py plugin instead: https://exchange.nagios.org/directory/Plugins/Hardware/Storage-Systems/SAN-and-NAS/Check-TrueNAS-Health-2FReplication/details as it at least supports transport layer encryption. It would also be good to know how to run this without using the root user, but that's not really specific to this plugin.



UNKNOWN - Error when contacting freenas server
by aarregi, July 31, 2015

Hello: Thanks for the scrips, it is just I wass finding. But I don't get it work correctly. I get this error: UNKNOWN - Error when contacting freenas server: (, TypeError("'list' object is not callable",), ) I think types are repl ot alerts, if I try with other types the scripts returns Unkown type. best regards.



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
2 (2)
Favorites
0
Views
16,636