1
0
mirror of https://github.com/ranl/monitor-utils.git synced 2024-09-12 16:55:48 +02:00
Commit Graph

19 Commits

Author SHA1 Message Date
Michal Svamberg
c9e7c6839c Remove forgeted debug output. 2015-05-31 01:07:02 +02:00
Michal Svamberg
f0dc4fea31 Fix example in help message. 2015-05-31 00:54:51 +02:00
Michal Svamberg
f6d0d9deb9 DISKUSED used 64bit counter if with -V 2c, fix 32bit
On big volumes (bigger then 32bit counter = 4GB) overflow to
negative values. SNMP on version 2c can transport 64bit value,
it's not necessary using Low and High 32bit part of 64bit number.
Fix DISKUSED on SNMPv1 if using more then 4GB of space.

New _ulong64() function for counting 64bit number from its high
and low 32bit parts. This function computing correct 64bit number
on 32bit operating system.
2015-05-30 23:32:05 +02:00
Michal Svamberg
53ac3aa8a4 Add -t option as timeout for SNMP connection.
This is fix for comment
https://exchange.nagios.org/directory/Plugins/Hardware/Storage-Systems/SAN-and-NAS/NetApp/Check-Netapp-NG/details#rev-3387
2015-05-30 21:36:18 +02:00
Michal Svamberg
dc36706c2d Add checks for blocks operations and other changes
* Add ISCSIOPS and FCPOPS checks type similar to CIFSOPS
* New -V option sets SNMP version (needs 2c for reading 64bit values)
* New -I option return every time OK state (if you needs only performance data)
* redesign help message and append examples
* nagioscache files create only if check needs caching
* each check has own *.nagioscache file (when I using multiple tests I get
  inexact values of performance data)
* change version to 1.2
2015-05-30 21:10:51 +02:00
gitmopp
166996d1d9 Unit of measurement are not valid
A list of valid UOM (unit of measurement) is available here https://nagios-plugins.org/doc/guidelines.html 
Change percent to %
cifs ops/sec or nfs ops/sec are invalid. In this case use no unit.
Invalid units can cause some problems in tools like pnp4nagios which expect a valid unit.
2015-01-09 14:18:07 +01:00
Ran Leibman
705dc18bee Merge pull request #8 from svamberg/netapp_new_features
Netapp new features
2014-08-26 14:19:28 +03:00
Michal Švamberg
8c0957412b Add new tested devices as comment
Add IBM N6240 and FA2050 identification as tested device with this plugin.
2014-08-26 12:21:29 +02:00
Michal Švamberg
45b543a7a7 UPTIME - add performance data
Add uptime as performance data in seconds
2014-08-26 12:08:52 +02:00
Michal Švamberg
f028b12248 DISKSUMMARY - more information to performance data
Add values of total, active, spare and reconstructing disks to performance data.
2014-08-26 11:51:12 +02:00
Michal Švamberg
9e99d0c53e DISKUSED - add warning when volume is missing
When volume isn't found, then change state to warning.
2014-08-26 11:18:21 +02:00
Michal Švamberg
bb03d662bc add previously removed output
fix of small accident
2014-08-18 17:57:48 +02:00
Michal Švamberg
00b0626b93 Adding temperature of shelfs to performance output
I need graphs about temperature of shelfs.
2014-08-18 17:46:13 +02:00
dufourl
3a0d1565d7 Update check-netapp-ng.pl 2014-07-10 14:19:10 +02:00
Oliver Falk
3048509d19 * Revert the lib path 2014-04-11 16:17:16 +02:00
Oliver Falk
855856b4bf * Increase SNMP timeout to Nagios standard TIMEOUT from utils.pm. For diskusage you can now specific multiple --vol and all will be checked 2014-04-11 16:15:17 +02:00
Davide Madrisan
d9afc8ac86 check-netapp-ng.pl: fix typo
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2014-01-15 22:36:04 +01:00
Davide Madrisan
4e756b8790 check-netapp-ng.pl: fix the outpuf of '-T SHELF'
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2014-01-15 22:29:16 +01:00
ranl
b252427208 splitting IT project 2013-12-02 15:24:24 +02:00