Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update check-netapp-ng.pl #33

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Update check-netapp-ng.pl #33

wants to merge 1 commit into from

Commits on Aug 7, 2017

  1. 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
    dufourl authored Aug 7, 2017
    Configuration menu
    Copy the full SHA
    c927197 View commit details
    Browse the repository at this point in the history