[icinga-checkins] icinga.org: icinga-core/fholzer/core: reindent block

git at icinga.org git at icinga.org
Sat Apr 21 20:23:45 CEST 2012


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

Author: Alexander Wirt <formorer at debian.org>
Date:   Sat Apr 21 10:27:08 2012 +0200

reindent block

---

 tools/icinga_verification.pl |   19 +++++++++----------
 1 files changed, 9 insertions(+), 10 deletions(-)

diff --git a/tools/icinga_verification.pl b/tools/icinga_verification.pl
index 7d9e613..ad4a715 100644
--- a/tools/icinga_verification.pl
+++ b/tools/icinga_verification.pl
@@ -266,16 +266,15 @@ Process Status:
 EOF
 
 my @services = ('httpd', 'mysqld', 'snmptt', 'icinga', 'ido2db');
- 
- foreach my $service (@services) {
- my $status = `/bin/ps cax | /bin/grep $service`;
-	if (!$status) {
-		print color("red"), " [$service]", color("reset"), " not found or started\n";
-	}
-	else{
-		print color("green"), " [$service]", color("reset"), " found and started\n";
-	}
- }
+foreach my $service (@services) {
+    my $status = `/bin/ps cax | /bin/grep $service`;
+    if (!$status) {
+        print color("red"), " [$service]", color("reset"), " not found or started\n";
+    }
+    else{
+        print color("green"), " [$service]", color("reset"), " found and started\n";
+    }
+}
 print " ############################################################\n";
 
 exit;





More information about the icinga-checkins mailing list