projects
/
contrib
/
pines.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2bb92ab
)
OpenSRF check needs exit codes for nagios to know about them
author
Chris Sharp
<csharp@georgialibraries.org>
Tue, 31 Oct 2017 19:54:38 +0000
(15:54 -0400)
committer
Chris Sharp
<csharp@georgialibraries.org>
Tue, 31 Oct 2017 19:54:38 +0000
(15:54 -0400)
nagios/check_osrf
patch
|
blob
|
history
diff --git
a/nagios/check_osrf
b/nagios/check_osrf
index
395d107
..
24f7b8b
100755
(executable)
--- a/
nagios/check_osrf
+++ b/
nagios/check_osrf
@@
-42,6
+42,7
@@
if ($localhost) {
if (@errors) {
print "CRITICAL: At least one configured OpenSRF service not running!:\n@errors\n";
+ exit 2;
} else {
print "OK: All configured OpenSRF services running.\n";
}