Brian Wilson
Cadet
- Joined
- Aug 22, 2016
- Messages
- 8
FreeNAS Version is 9.3
(Build FreeNAS-9.3-STABLE-201605170422)
I have been trying to figure out how to integrate FreeNAS Appliances into my current monitoring system which is based off Nagios. I've been successful in getting ZPool Status out as well as other general BSD snmp reportable thing like disk usage and the like.
The thing i am most interested in gathering and graphing would be these MIBS
FREENAS-MIB::zfsPoolOpRead1sec.2 = Counter64: 0
FREENAS-MIB::zfsPoolOpWrite1sec.2 = Counter64: 0
FREENAS-MIB::zfsPoolBwWrite1sec.2 = Counter64: 0
FREENAS-MIB::zfsPoolBwRead1sec.2 = Counter64: 0
I am able to poll them however they are returned as a Counter64 which I believe is causing a bit of confusion for the "check_snmp" plugin in nagios. The results return perfomance data appended with a "c"
Example:
It seems that the counter64 is considered useful for continually increasing value but these specific MIBs are changing every 1 sec.
http://www.muonics.com/Docs/MIBSmithy/UserGuide/commonerrors.php#counter64
Does anyone have any experience with how they are gathering this information and making it available as performance data to graph? I have looked at this for a bit now and think if there is nobody out there doing this then i may have to craft some sort of custom check to basically treat the Counter64 objects as Integer object(leave off the c in the performance output specificly).
Thanks
Brian
(Build FreeNAS-9.3-STABLE-201605170422)
I have been trying to figure out how to integrate FreeNAS Appliances into my current monitoring system which is based off Nagios. I've been successful in getting ZPool Status out as well as other general BSD snmp reportable thing like disk usage and the like.
The thing i am most interested in gathering and graphing would be these MIBS
FREENAS-MIB::zfsPoolOpRead1sec.2 = Counter64: 0
FREENAS-MIB::zfsPoolOpWrite1sec.2 = Counter64: 0
FREENAS-MIB::zfsPoolBwWrite1sec.2 = Counter64: 0
FREENAS-MIB::zfsPoolBwRead1sec.2 = Counter64: 0
I am able to poll them however they are returned as a Counter64 which I believe is causing a bit of confusion for the "check_snmp" plugin in nagios. The results return perfomance data appended with a "c"
Example:
Code:
[nagios@MONITORINGHOST libexec]$ ./check_snmp -H IPADDRESS -P 2c -C COMMUNITY -o 1.3.6.1.4.1.25359.1.1.19.2 -m all SNMP OK - 0 | FREENAS-MIB::zfsPoolOpRead1sec.2=0c
It seems that the counter64 is considered useful for continually increasing value but these specific MIBs are changing every 1 sec.
http://www.muonics.com/Docs/MIBSmithy/UserGuide/commonerrors.php#counter64
Does anyone have any experience with how they are gathering this information and making it available as performance data to graph? I have looked at this for a bit now and think if there is nobody out there doing this then i may have to craft some sort of custom check to basically treat the Counter64 objects as Integer object(leave off the c in the performance output specificly).
Thanks
Brian
Last edited: