changes in existing 7Mode checks
Message-ID: <561e4fd1.+qmoBA8o/6afJlro%ab(a)mathias-kettner.de>
User-Agent: Heirloom mailx 12.5 6/20/10
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Module: check_mk
Branch: master
Commit: b6df187a2348e264761c92c283f8f2cd8ea85d8a
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=b6df187a2348e2…
Author: Andreas Boesl <ab(a)mathias-kettner.de>
Date: Wed Oct 14 14:49:04 2015 +0200
#2434 NetApp monitoring: Cluster-Mode is now supported, changes in existing 7Mode checks
This update enables to monitor NetApp Filers running in Cluster-Mode.
The new <i>agent_netapp</i> is able to automatically detect whether the filer
is running in 7Mode or Cluster-Mode, so you only have to configure the
credentials in the datasource rule as usual.
Some of the existing 7Mode checks have been adjusted. Overall there are now less summary
checks available (e.g. fan, temperature, psu). You need to do a service discovery on each
NetApp filer.
The following table shows the list of available checks and the currently
supported NetApp mode.
<table>
<tr><th>Check</th><th>Description</th><th>7Mode</th><th>Cluster-Mode</th></tr>
<tr> <td>netapp_api_aggr</td> <td>Used space and trend of
aggregations</td> <td>X</td> <td>X</td></tr>
<tr> <td>netapp_api_cluster</td> <td>Cluster status</td>
<td>X</td> <td></td></tr>
<tr> <td>netapp_api_cpu</td> <td>CPU utilization of
nodes</td> <td></td> <td>X</td></tr>
<tr> <td>netapp_api_cpu.utilization</td> <td>CPU utilization for
7Mode filer</td> <td>X</td> <td></td></tr>
<tr> <td>netapp_api_cpu.nvram_bat</td> <td>NVRAM battery
status</td> <td></td> <td>X</td></tr>
<tr> <td>netapp_api_disk.summary</td> <td>Disk summary check.
Includes total raw capacity and info about broken/spare ratio</td>
<td>X</td> <td>X</td></tr>
<tr> <td>netapp_api_fan</td> <td>Fan status</td>
<td>X</td> <td>X</td></tr>
<tr> <td>netapp_api_fcp</td> <td>Fibrechannel interfaces traffic
and latency</td> <td></td> <td>X</td></tr>
<tr> <td>netapp_api_if</td> <td>Ethernet interfaces</td>
<td>X</td> <td>X</td></tr>
<tr> <td>netapp_api_protocol</td> <td>Read OPS / Write OPS for
each protocol (nfs, nfsv4, cifs, fcp, iscsci)</td> <td>X</td>
<td></td></tr>
<tr> <td>netapp_api_psu</td> <td>Power supplies</td>
<td>X</td> <td>X</td></tr>
<tr> <td>netapp_api_snapvault</td> <td>Snapvault
Lag-time</td> <td>X</td> <td></td></tr>
<tr> <td>netapp_api_status</td> <td>Diagnosis status</td>
<td>X</td> <td>X</td></tr>
<tr> <td>netapp_api_temp</td> <td>Temperature sensors, grouped by
shelf</td> <td>X</td> <td>X</td></tr>
<tr> <td>netapp_api_info</td> <td>Displays NetApp
version</td> <td>X</td> <td>X</td></tr>
<tr> <td>netapp_api_vf_stats.traffic</td> <td>vFiler traffic
(Read/Write OPS, Net-Data Send/Recv, Read/Write Bytes)</td> <td>X</td>
<td></td></tr>
<tr> <td>netapp_api_vf_stats</td> <td>CPU utilization of
vFilers</td> <td>X</td> <td></td></tr>
<tr> <td>netapp_api_vf_status</td> <td>vFiler status, e.g
running</td> <td>X</td> <td></td></tr>
<tr> <td>netapp_api_vs_status</td> <td>vServer status, e.g
running</td> <td></td> <td>X</td></tr>
<tr> <td>netapp_api_volumes</td> <td>Used space an trend of
volumes. Able to record detailed performance data for each protocol</td>
<td></td> <td></td></tr>
<tr> <td>netapp_api_vs_traffic</td> <td>vServer Traffic Summary
Ethernet Interfaces</td> <td></td> <td>X</td></tr>
<tr> <td>netapp_api_vs_traffic.fcp</td> <td>vServer Traffic
Summary Fibrechannel Interfaces</td> <td></td>
<td>X</td></tr>
<tr> <td>netapp_api_vs_traffic.cifs</td> <td>vServer Traffic
Summary Cifs</td> <td></td> <td>X</td></tr>
<tr> <td>netapp_api_vs_traffic.iscsi</td> <td>vServer Traffic
Summary ISCSI</td> <td></td> <td>X</td></tr>
<tr> <td>netapp_api_vs_traffic.nfsv3</td> <td>vServer Traffic
Summary nfsv3</td> <td></td> <td>X</td></tr>
<tr> <td>netapp_api_vs_traffic.nfsv4</td> <td>vServer Traffic
Summary nfsv4</td> <td></td> <td>X</td></tr>
<tr> <td>netapp_api_vs_traffic.nfsv4_1</td> <td>vServer Traffic
Summary nfsv4.1</td> <td></td> <td>X</td></tr>
</table>
---
.werks/2434 | 49 ++
ChangeLog | 2 +
agents/special/agent_netapp | 940 ++++++++++++++--------
checkman/netapp_api_cluster | 4 +-
checkman/netapp_api_cpu | 16 +
checkman/netapp_api_cpu.nvram_bat | 18 +
checkman/netapp_api_cpu.utilization | 4 +-
checkman/netapp_api_disk.summary | 3 +-
checkman/netapp_api_fan | 10 +-
checkman/netapp_api_fcp | 16 +
checkman/{netapp_api_version => netapp_api_info} | 0
checkman/netapp_api_protocol | 2 +-
checkman/netapp_api_psu | 13 +-
checkman/netapp_api_snapvault | 15 +
checkman/netapp_api_status | 2 +-
checkman/netapp_api_temp | 12 +-
checkman/netapp_api_vf_stats | 17 +
checkman/netapp_api_vf_status | 6 +-
checkman/netapp_api_vs_status | 13 +
checkman/netapp_api_vs_traffic | 14 +
checkman/netapp_api_vs_traffic.cifs | 14 +
checkman/netapp_api_vs_traffic.fcp | 14 +
checkman/netapp_api_vs_traffic.iscsi | 14 +
checkman/netapp_api_vs_traffic.nfs | 14 +
checkman/netapp_api_vs_traffic.nfsv3 | 14 +
checkman/netapp_api_vs_traffic.nfsv4_1 | 14 +
checks/agent_netapp | 4 +
checks/netapp_api.include | 38 +-
checks/netapp_api_aggr | 20 +-
checks/netapp_api_cluster | 24 +-
checks/netapp_api_cpu | 106 ++-
checks/netapp_api_disk | 44 +-
checks/netapp_api_fan | 51 +-
checks/netapp_api_fcp | 173 ++++
checks/netapp_api_if | 62 +-
checks/{netapp_api_version => netapp_api_info} | 28 +-
checks/netapp_api_protocol | 46 +-
checks/netapp_api_psu | 44 +-
checks/netapp_api_snapvault | 64 ++
checks/netapp_api_status | 7 +-
checks/netapp_api_temp | 59 +-
checks/netapp_api_vf_stats | 34 +-
checks/netapp_api_vf_status | 6 +-
checks/netapp_api_volumes | 57 +-
checks/netapp_api_vs_status | 51 ++
checks/netapp_api_vs_traffic | 184 +++++
web/plugins/wato/check_parameters.py | 90 +++
web/plugins/wato/datasource_programs.py | 47 +-
48 files changed, 1755 insertions(+), 724 deletions(-)
Diff:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=b6df187a23…