summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
Diffstat (limited to 'extra')
-rw-r--r--extra/nagios_check_failing_nodes.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/extra/nagios_check_failing_nodes.rb b/extra/nagios_check_failing_nodes.rb
index 4436b1c..848978d 100644
--- a/extra/nagios_check_failing_nodes.rb
+++ b/extra/nagios_check_failing_nodes.rb
@@ -19,9 +19,9 @@ json.each do |node|
end
if critical
- puts 'Unable to backup: ' + critical_nodes.join(' ')
+ puts '[CRIT] Unable to backup: ' + critical_nodes.join(' ')
exit 2
else
- puts 'Backup of all nodes completed successfully.'
+ puts '[OK] Backup of all nodes completed successfully.'
exit 0
end