[icinga-checkins] icinga.org: icinga-core/fholzer/core: more comments in Sanitycheck Output

git at icinga.org git at icinga.org
Thu Apr 26 13:38:03 CEST 2012


Module: icinga-core
Branch: fholzer/core
Commit: 1069aaa60648f80348320d99751ac5524cde4a04
URL:    https://git.icinga.org/?p=icinga-core.git;a=commit;h=1069aaa60648f80348320d99751ac5524cde4a04

Author: Franz Holzer <office at frankstar.at>
Date:   Thu Apr 26 12:31:58 2012 +0200

more comments in Sanitycheck Output

---

 tools/icinga_verification.pl |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/tools/icinga_verification.pl b/tools/icinga_verification.pl
index a406817..8177e30 100644
--- a/tools/icinga_verification.pl
+++ b/tools/icinga_verification.pl
@@ -393,9 +393,9 @@ ido2db Errors in Syslog:
 EOF
 }
 
-#####################
+##########################
 # Output Sanitycheck
-#####################
+##########################
 # Color config
 my $colorgreen = color('green');
 my $colorred = color('red');
@@ -416,6 +416,7 @@ print <<EOF;
 
 Database Tests:
 EOF
+#Connection via ido2db.cfg
 if (!$dbh_cfg_error){
 	print $statusok,"Connection to DB via ido2db.cfg";
 }
@@ -438,14 +439,12 @@ if ($ido2dbsocket eq $idomodsocket){
 } else {
 	print $statuscrit,"ido2db/idomod Sockets are different configured";
 }
-
-### icinga.cfg checks ###
 print <<EOF;
 
 
 icinga.cfg Checks:
 EOF
-
+# checks for a defined root user
 if ($icingacfguser eq 'root'){
 	print $statuswarn, " icinga_user = $icingacfguser";
 } else {
@@ -718,9 +717,10 @@ ment and Icinga Config to assist you in finding problems when you
 are using Icinga.
 
 Sanity Check States:
-Output starts with a letter with the following meaning: 
+
 [OK  ] ok message.
 [WARN] warning message, might effect the operation of Icinga
 [CRIT] error message: Icinga will not work without resolving the problem(s)
+
 EOF
 }
\ No newline at end of file





More information about the icinga-checkins mailing list