If you want to start monitoring your NetApp FAS with Nagios/Icinga/Shinken, please go to http://oss.teamix.org/projects/monitoringplugins/wiki/Check_naf
No more new features, but only fixes will happen here!
OUTDATED! Latest version: 0.1.[an error occurred while processing this directive] ( )
At the moment the plugin can monitor the following "subsystems" (* = with PerfData). For PNP there are some templates included (PNP/templates/)
| Subsystem | PNP/Image |
|---|---|
| global Global system status |
No PerfData |
| cpu - CPU usage | ![]() ![]() |
| environment Monitor fans, power supplies, temperature |
No PerfData |
| nvram NVRAM battery state |
No PerfData |
| sparedisk and/or faileddisk (disk) |
![]() |
| cluster cluster state (thx to Rico Glöckner for fixing this ;-) |
No PerfData |
| snapmirror state of snapmirrors, needs (more) testing! |
No PerfData |
| cacheage Age of cache in minutes |
![]() |
| vol usage of volumes/aggregates, including snapshot (reserve) |
![]() |
| fs (obsolete) | No example! Please use "vol"-subsystem instead! |
| cifs-stats CIFS stats (patch from and thanks to Jochen Bartl) |
![]() |
| cifs-users CIFS user connected (patch from and thanks to Jochen Bartl) |
![]() |
PNP templates are in "PNP/templates"
nagios:~% ./check_netappfiler_netsnmp.py -H mytoaster.office.lan -s global NETAPP(global) OK - FAS3140: The system's global status is normal. nagios:~% ./check_netappfiler_netsnmp.py -H mytoaster.office.lan -s cpu NETAPP(cpu) OK - CPU Busy: 0%, Context Switches: 22440091, CPU Architecture: amd64_FIXME|nacpu=0%;80;90;0;100 nacs=22440091c nagios:~% ./check_netappfiler_netsnmp.py -H mytoaster.office.lan -s environment NETAPP(environment) OK - Filer is happy with his environment ;-) nagios:~% ./check_netappfiler_netsnmp.py -H mytoaster.office.lan -s nvram NETAPP(nvram) OK - NVRAM battery status is "ok" nagios:~% ./check_netappfiler_netsnmp.py -H mytoaster.office.lan -s sparedisk NETAPP(sparedisk) OK - Disk stats: 14 total, 3 active, 11 spare, 0 failed|nadisk_total=14;;;0; nadisk_active=3;;;0;14 nadisk_spare=11;0;0;0;14 nadisk_failed=0;;;0;14 nagios:~% ./check_netappfiler_netsnmp.py -H mytoaster.office.lan -s faileddisk NETAPP(faileddisk) OK - Disk stats: 14 total, 3 active, 11 spare, 0 failed|nadisk_total=14;;;0; nadisk_active=3;;;0;14 nadisk_spare=11;;;0;14 nadisk_failed=0;0;0;0;14 nagios:~% ./check_netappfiler_netsnmp.py -H mytoaster.office.lan -s cifs-users NETAPP(cifs-users) OK - 2 connected users|cifs_users=2;;;0; nagios:~% ./check_netappfiler_netsnmp.py -H mytoaster.office.lan -s cifs-stats NETAPP(cifs-stats) OK - OK|total_ops=2490c;;;0; total_calls=2583c;;;0; bad_calls=0c;;;0; get_attrs=899c;;;0; reads=118c;;;0; writes=54c;;;0; locks=8c;;;0; opens=580c;;;0; dirops=602c;;;0; others=229c;;;0; nagios:~% ./check_netappfiler_netsnmp.py -H mytoaster.office.lan -s cluster NETAPP(cluster) OK - Cluster settings: enabled, state: canTakeover, interconnect state: up nagios:~% ./check_netappfiler_netsnmp.py -H mytoaster.office.lan -s snapmirror NETAPP(snapmirror) OK - SnapMirror is on nagios:~% ./check_netappfiler_netsnmp.py -H mytoaster.office.lan -s snapmirror -f 1 NETAPP(snapmirror) OK - Snapmiror state is 'snapmirrored'. Source: 'otherfas:/vol/foo/-', Destination: 'mytoaster:/vol/bar/noqtreedata', Status: 'idle' nagios:~% ./check_netappfiler_netsnmp.py -H mytoaster.office.lan -s cacheage NETAPP(cacheage) OK - Cache Age 13 minutes|nacacheage=13;;;0; nagios:~% ./check_netappfiler_netsnmp.py -H mytoaster.office.lan -s fs -f aggr0 -w 50 -c 75 NETAPP(fs) CRITICAL - aggregate "aggr0": 95% used (112993676kB out of 119052776kB), INodes: 0% used, status: mounted|nafs_aggr0=115705524224B;60955021312;91432531968;0;121910042624 nagios:~% ./check_netappfiler_netsnmp.py -H mytoaster.office.lan -s fs -f /vol/vol0 -w 50 -c 75 NETAPP(fs) OK - flexibleVolume "/vol/vol0/": 0% used (300108kB out of 90390400kB), INodes: 0% used, status: mounted|nafs_/vol/vol0/=307310592B;46279884800;69419827200;0;92559769600 nagios:~% ./check_netappfiler_netsnmp.py -H mytoaster.office.lan -s fs -f 1 -w 50 -c 75 NETAPP(fs) CRITICAL - aggregate "aggr0": 95% used (112993676kB out of 119052776kB), INodes: 0% used, status: mounted|nafs_aggr0=115705524224B;60955021312;91432531968;0;121910042624 nagios:~% ./check_netappfiler_netsnmp.py -H mytoaster.office.lan -s fs -f 2 -w 50 -c 75 NETAPP(fs) OK - aggregate "aggr0/.snapshot": 7% used (436892kB out of 6265932kB), INodes: 0% used, status: mounted|nafs_aggr0/.snapshot=447377408B;3208157184;4812235776;0;6416314368 nagios:~% ./check_netappfiler_netsnmp.py -H mytoaster.office.lan -s fs -f 3 -w 50 -c 75 NETAPP(fs) OK - flexibleVolume "/vol/vol0/": 0% used (300108kB out of 90390400kB), INodes: 0% used, status: mounted|nafs_/vol/vol0/=307310592B;46279884800;69419827200;0;92559769600 nagios:~% ./check_netappfiler_netsnmp.py -H mytoaster.office.lan -s fs -f 4 -w 50 -c 75 NETAPP(fs) OK - flexibleVolume "/vol/vol0/.snapshot": 0% used (30864kB out of 22597600kB), INodes: 0% used, status: mounted|nafs_/vol/vol0/.snapshot=31604736B;11569971200;17354956800;0;23139942400 nagios:~% ./check_netappfiler_netsnmp.py -H mytoaster.office.lan -s vol -f aggr0 -w 50% -c 75% NETAPP(vol) CRITICAL - aggregate "aggr0": 94.9% used (112993676kB out of 119052776kB), INodes: 0% used, status: mounted|navoldata_aggr=115705524224B;60955021312;91432531968;0;121910042624 navolsnap_aggr=447377408B;;;0;6416314368 nadatasize_aggr=121910042624B nasnapsize_aggr=6416314368B nagios:~% ./check_netappfiler_netsnmp.py -H mytoaster.office.lan -s vol -f /vol/vol0 -w 50% -c 75% NETAPP(vol) OK - flexibleVolume "/vol/vol0/": 0.3% used (300108kB out of 90390400kB), INodes: 0% used, status: mounted|navoldata_vol0=307310592B;46279884800;69419827200;0;92559769600 navolsnap_vol0=31604736B;;;0;23139942400 nadatasize_vol0=92559769600B nasnapsize_vol0=23139942400B nagios:~% ./check_netappfiler_netsnmp.py -H mytoaster.office.lan -s vol -f 3 -w 50% -c 75% NETAPP(vol) OK - flexibleVolume "/vol/vol0/": 0.3% used (300108kB out of 90390400kB), INodes: 0% used, status: mounted|navoldata_vol0=307310592B;46279884800;69419827200;0;92559769600 navolsnap_vol0=31604736B;;;0;23139942400 nadatasize_vol0=92559769600B nasnapsize_vol0=23139942400B
[an error occurred while processing this directive]