Commit Graph

73 Commits

Author SHA1 Message Date
Tatref fc9c1902ab Check if an error occured after snmp calls (#30)
thanks @tatref
2017-04-29 16:00:30 +03:00
Torben Hørup ca532c2905 Fix temperature calculation, for when temperatures are below 10 degrees Celcius (#26) 2016-08-13 13:33:41 +03:00
Retakfual 8c7a75d976 Update check-cisco.pl (#23)
the check for a valide session in _create_session was not working, because $sess was always filled with an hash value even, if there was no session created. I deleted this part instead I created the function check_oid_return, which returns an error if snmp does not give back any value regarding to the checked oid
2016-04-19 00:05:53 +03:00
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
Ran Leibman b01a3064fa Merge pull request #21 from arigaud/patch-2
Update check-netapp-ng.pl
2016-03-15 21:37:31 +02: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
Ran Leibman 2d4421a4d9 Merge pull request #19 from hakong/patch-3
Update check-paloalto-A500.pl
2016-03-06 13:15:50 +02:00
hakong 03628689df Update check-paloalto-A500.pl 2016-03-04 15:33:27 +00:00
Ran Leibman 09ab438d24 Merge pull request #16 from hakong/patch-1
Spelling
2016-03-03 15:55:46 +00:00
hakong f72c431099 Update check-paloalto-A500.pl 2016-03-03 13:50:01 +00:00
Ran Leibman e6c52c4beb Merge pull request #15 from kissthomas/master
Added warning ang critical threshold output to "CPULOAD" perfdata...
2015-08-26 11:27:29 +03:00
Thomas Kiss 787680ef6e Added warning ang critical threshold output to "CPULOAD" perfdata for better graphing 2015-08-25 18:43:13 +02:00
Ran Leibman c4035a6d0d Merge pull request #14 from svamberg/master
Add operations in seconds for block acccess
2015-06-03 09:35:13 +03: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
Ran Leibman 8a52be3cfe Merge pull request #13 from gf-atebbe/syntax_fix
Fixing syntax error so the script runs
2015-03-23 19:05:18 +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
Ran Leibman 494eb5d50b Merge pull request #10 from gitmopp/patch-1
Unit of measurement are not valid
2015-01-09 15:24:09 +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 a9168baf18 Create LICENSE 2014-10-03 09:44:27 -07: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
Ran Leibman c909305453 Merge pull request #7 from svamberg/netapp_temperature
Add temperature to performance data string
2014-08-19 10:14:05 +03: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
Ran Leibman db31ad1080 Merge pull request #6 from dufourl/patch-2
Update check-netapp-ng.pl
2014-07-12 09:37:54 +03:00
dufourl 3a0d1565d7 Update check-netapp-ng.pl 2014-07-10 14:19:10 +02:00
Ran Leibman beb2529195 Merge pull request #5 from dufourl/patch-1
Update check-paloalto-A500.pl
2014-06-04 13:32:38 +03: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
Ran Leibman d5c6aed09a Merge pull request #4 from erwinschliske/patch-1
Update check-cisco.pl
2014-05-27 17:05:18 +03:00
erwinschliske ed7a1a49fa Update check-cisco.pl
typo
2014-05-27 14:31:15 +02:00
Ran Leibman 0e677842ec Merge pull request #3 from ofalk/master
Thanks @ofalk =)
2014-04-13 11:23:07 +03:00