
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
Owner
License
MIT
Project Files
File | Description |
---|---|
check_freenas-20150706.py |
Project Notes
Reviews
(2)
Add a Review
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.
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.
Page Sections
Project Stats
Rating
2 (2)
Favorites
0
Views
16,614