exasol / nagios-monitoring

Docker container with installed and configured Nagios software for EXASOL DB monitoring.
MIT License
10 stars 11 forks source link

check_logservice.py: Exception Handling on Network error #12

Closed daugustin closed 6 years ago

daugustin commented 6 years ago

Hi,

when a "network" error occurs, the check_logservice.py throws an exception

[Traceback (most recent call last):

  File /usr/lib64/nagios/plugins/check_exasol_logservice.py, line 106, in module
    logEntries = logservice.logEntriesTagged(logserviceUserId)
  File /usr/lib64/python2.6/xmlrpclib.py, line 1199, in __call__
    return self.__send(self.__name, args)
  File /usr/lib64/python2.6/xmlrpclib.py, line 1489, in __request
    verbose=self.__verbose
  File /usr/lib64/python2.6/xmlrpclib.py, line 1243, in request
    headers
xmlrpclib.ProtocolError: ProtocolError for monitoring:PW@somehostname/cluster1/logservice3: 501 Gateway error]

This has 2 problems:

florian-reck commented 6 years ago

This bug should be fixed with the newest version of this plugin. Can you please check again?

daugustin commented 6 years ago

I ran a git pull on the plugins now, we will monitor if the problem arises again.

florian-reck commented 6 years ago

reopen on demand ;)