1
0
mirror of https://github.com/ranl/monitor-utils.git synced 2024-11-22 15:33:43 +01:00
monitor-utils/nagios
dufourl c9271972a6 Update check-netapp-ng.pl
Hello Ran

This is Laurent DUFOUR (laurent.dufour@havas.com) from Paris France

I propose a small little change to the handling of timeouts in this check-netapp-ng script, in order to avoid the message "Return code of 142 is out of bounds" from Nagios. In fact we have to deal with two type of timeouts as I explain below, feel free to contact me if you need more explanations

CLARIFICATION FOR TIMEOUTS
There are multiples timeouts we depend on

Perl plugins timeout (utils.pm)--- > $TIMEOUT --- > originally 15 sec --> recommandation to raise it to 180
  
Net::SNMP timeout --- > Used in Net::SNMP->session --- > originally 5 sec --> recommandation to raise it to 60
Beware that the max value 60 seconds. If set above you get the error message "Can't create snmp session"

Do not forget that in nagios you need to increase service_check_timeout to a value above $TIMEOUT_PLUGINS
Nagios service check timeout (nagios.cfg) --- > service_check_timeout=240 --- > originally 30 sec
2017-08-07 15:27:37 +02:00
..
pnp splitting IT project 2013-12-02 15:24:24 +02:00
check_activemq.py check_activemq: removing json import 2013-12-29 13:49:48 +02:00
check_deep_fs.py check_deep_fs: realpath check 2014-01-01 14:01:39 +02:00
check_flexlm_up.sh splitting IT project 2013-12-02 15:24:24 +02:00
check_flexlm.pl splitting IT project 2013-12-02 15:24:24 +02:00
check_internet.sh splitting IT project 2013-12-02 15:24:24 +02:00
check_modjk.py check_modjk: corner issue of -c 1 -w 1 2014-01-07 16:52:42 +02:00
check_sgeexec.pl Fixing syntax error so the script runs 2015-03-23 12:49:48 -04:00
check_solr.py check_solr ping msg fix 2014-01-05 17:41:16 +02:00
check_svn.sh splitting IT project 2013-12-02 15:24:24 +02:00
check_w32_mem.pl splitting IT project 2013-12-02 15:24:24 +02:00
check-cisco-po.pl splitting IT project 2013-12-02 15:24:24 +02:00
check-cisco.example splitting IT project 2013-12-02 15:24:24 +02:00
check-cisco.pl Check if an error occured after snmp calls (#30) 2017-04-29 16:00:30 +03:00
check-file-exists.pl splitting IT project 2013-12-02 15:24:24 +02:00
check-juniper-vpn.pl splitting IT project 2013-12-02 15:24:24 +02:00
check-netapp-ng.pl Update check-netapp-ng.pl 2017-08-07 15:27:37 +02:00
check-paloalto-A500.pl Update check-paloalto-A500.pl 2016-03-04 15:33:27 +00:00
check-pineapp.pl splitting IT project 2013-12-02 15:24:24 +02:00
check-roomalert.pl Fix temperature calculation, for when temperatures are below 10 degrees Celcius (#26) 2016-08-13 13:33:41 +03:00
perf_ghs-float.sh splitting IT project 2013-12-02 15:24:24 +02:00
perf-linux-cpu.pl splitting IT project 2013-12-02 15:24:24 +02:00
perf-sge.pl splitting IT project 2013-12-02 15:24:24 +02:00