summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 730decb)
raw | patch | inline | side by side (parent: 730decb)
author | Sven Velt <sven@velt.de> | |
Wed, 17 Feb 2010 15:50:34 +0000 (16:50 +0100) | ||
committer | Sven Velt <sven@velt.de> | |
Wed, 17 Feb 2010 15:50:34 +0000 (16:50 +0100) |
nagixsc_http2nagios.py | patch | blob | history |
diff --git a/nagixsc_http2nagios.py b/nagixsc_http2nagios.py
index 4c23fe50d908cf549b6df4e25cfaab5a5bf82956..b0e6fd266e3522e07136c7158d1078cbad5410df 100755 (executable)
--- a/nagixsc_http2nagios.py
+++ b/nagixsc_http2nagios.py
self.wfile.write('Wrote %s check results, %s failed' % (count_services, count_failed))
return
else:
- http_error(500, 'Could not write all %s check results' % count_services)
+ self.http_error(501, 'Could not write all %s check results' % count_services)
return
else:
- http_error(500, 'Nag(IX)SC - No data received')
+ self.http_error(502, 'Nag(IX)SC - No data received')
return