Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check_freenas.py
0.1
2014-12-12
- Nagios 1.x
- Nagios 2.x
- Nagios 3.x
- Nagios 4.x
- Nagios XI
MIT
16628
File | Description |
---|---|
check_freenas-20150706.py | check_freenas-20150706.py |
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!
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)
byunderhill, April 9, 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.
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.
byaarregi, July 27, 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.
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.