1
0
mirror of https://github.com/ranl/monitor-utils.git synced 2024-11-22 15:33:43 +01:00
Commit Graph

54 Commits

Author SHA1 Message Date
Jacob Sohl
c1026dfa5e dont require ending slash (#22)
* dont require ending slash

* missed a spot

* look for 64bit libs
2016-04-16 20:56:18 +03:00
Alexandre Rigaud
fb38819daf Update check-netapp-ng.pl
updated by X. Franco & A. Rigaud
20160211 : Added FSSTATUS/SNAPSHOTAGE
2016-03-15 14:53:52 +01:00
hakong
03628689df Update check-paloalto-A500.pl 2016-03-04 15:33:27 +00:00
hakong
f72c431099 Update check-paloalto-A500.pl 2016-03-03 13:50:01 +00:00
Thomas Kiss
787680ef6e Added warning ang critical threshold output to "CPULOAD" perfdata for better graphing 2015-08-25 18:43:13 +02:00
Michal Svamberg
a03dda2486 Add percentual perf. data and limits to DISKUSED 2015-06-01 13:53:59 +02:00
Michal Svamberg
96c348f614 Set unit of measurements on DISKUSED from k to KB.
Nagiosgraph needs unit name as KB, not only 'k'.
2015-06-01 11:34:13 +02:00
Michal Švamberg
4890add44f typo mistake 2015-05-31 20:43:21 +02:00
Michal Svamberg
3c7ca48037 Better filter for listing available volumes. 2015-05-31 12:48:27 +02:00
Michal Svamberg
2e0becac93 Add listing of available volumes and aggregates 2015-05-31 12:42:37 +02:00
Michal Svamberg
e81a221289 Add performance data and optimize SNMP queries
Add performance read/write bytes to disks and FCP or ISCSI
in FCPOPS and ISCSIOPS check.

Now is nagioscache files with only necessary values
(for FCPOPS only FCP values, no NFS or CIFS or ISCSI).

On all *OPS check store value to global variable when
writing to nagioscache file. Now getting value only once,
this output is precisely and using less SNMP queries.
2015-05-31 11:58:50 +02:00
Michal Svamberg
62e9ec4bb7 Move error to first line in help output 2015-05-31 03:32:04 +02:00
Michal Svamberg
fc14520f7d Fix SHELFINFO output and complete help. 2015-05-31 03:24:45 +02:00
Michal Svamberg
d5a2688d57 DISKUSED accept aggregate name in -v option 2015-05-31 02:47:41 +02:00
Michal Svamberg
55ccc3a081 Fix non-existent items in SNMP v2c for SHELF test
Non existent items returns SNMPv1 and SNMPv2c different.
In SNMPv1 return as empty string but SNMPv2c return string
with 'noSuchInstance'.
2015-05-31 02:01:25 +02:00
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
Adam Tebbe
a0f24c5317 Fixing syntax error so the script runs 2015-03-23 12:49:48 -04:00
Ran Leibman
f4d9eb1d84 Update check-cisco.pl 2015-01-12 08:21:45 +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
dufourl
202e83cea6 Update check-paloalto-A500.pl
In order for me to be able to check a little more stuff with your script I add some new check against my cluster of paloalto PA5050 

The modification that I made are 

model 
ha 
firmware 
TCP Sessions 
UDP Sessions 
UCMP Sessions 
Sessions
2014-06-04 12:18:33 +02:00
Ran Leibman
02fdecba3e typo 2014-05-27 17:06:05 +03:00
erwinschliske
ed7a1a49fa Update check-cisco.pl
typo
2014-05-27 14:31:15 +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
61387c2856 check_modjk: corner issue of -c 1 -w 1 2014-01-07 16:52:42 +02:00
ranl
c382a8da2f check_modjk: removing import 2014-01-07 16:46:59 +02:00
ranl
36da4c27d5 check_solr ping msg fix 2014-01-05 17:41:16 +02:00
ranl
f41827b488 check_modjk: get activated workers 2014-01-01 18:35:26 +02:00
ranl
1d86cb3b2e change modjk nagios plugin 2014-01-01 18:14:13 +02:00
ranl
ae93696f89 check_deep_fs: realpath check 2014-01-01 14:01:39 +02:00
ranl
c920dfd133 check_deep_fs: get realpath (in case of symlinks) 2013-12-31 15:09:09 +02:00
ranl
2bc071f444 check_deep_fs: a bit of more help 2013-12-31 12:25:01 +02:00
ranl
8f43feb97e nagios: check_deep_fs plugin 2013-12-31 12:23:45 +02:00
ranl
6419a5b28f check_activemq: removing json import 2013-12-29 13:49:48 +02:00
ranl
2d3ad7991a check_activemq doc 2013-12-29 13:45:52 +02:00
ranl
9c4860049d activemq nagios plugin 2013-12-29 12:18:59 +02:00