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_freenas.py

Rating
2 votes
Favoured:
0
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
Hits
16628
Files:
FileDescription
check_freenas-20150706.pycheck_freenas-20150706.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!
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
Reviews (2)
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.
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.