[freeside-commits] freeside/FS/bin freeside-check,1.1.2.5,1.1.2.6
Ivan,,,
ivan at wavetail.420.am
Wed Sep 30 17:29:17 PDT 2009
Update of /home/cvs/cvsroot/freeside/FS/bin
In directory wavetail.420.am:/tmp/cvs-serv4445/FS/bin
Modified Files:
Tag: FREESIDE_1_7_BRANCH
freeside-check
Log Message:
add login check to FS::ClientAPI::SG/SGNG checks. RT#4610
Index: freeside-check
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/bin/freeside-check,v
retrieving revision 1.1.2.5
retrieving revision 1.1.2.6
diff -u -d -r1.1.2.5 -r1.1.2.6
--- freeside-check 28 Sep 2009 22:35:36 -0000 1.1.2.5
+++ freeside-check 1 Oct 2009 00:29:15 -0000 1.1.2.6
@@ -5,7 +5,7 @@
use FS::UID qw( adminsuidsetup );
use FS::Cron::check qw(
check_queued check_selfservice check_apache check_bop_failures
- check_sg check_sgng
+ check_sg check_sg_login check_sgng
alert error_msg
);
@@ -23,7 +23,8 @@
#no-ops unless you are sg
my $sg = 'FS::ClientAPI::SG';
-check_sg or alert("$sg not responding: ". error_msg(), @emails);
+check_sg or alert("$sg not responding: ". error_msg(), @emails);
+check_sg_login or alert("$sg login errort: ". error_msg(), @emails);
check_sgng or alert("${sg}NG not responding: ". error_msg(), @emails);
check_bop_failures or alert(error_msg(), @emails);
More information about the freeside-commits
mailing list