projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
taqua accountcode billing, part 2 of 2, RT12181
[freeside.git]
/
FS
/
bin
/
freeside-check
diff --git
a/FS/bin/freeside-check
b/FS/bin/freeside-check
index
9c9da76
..
9930aae
100644
(file)
--- a/
FS/bin/freeside-check
+++ b/
FS/bin/freeside-check
@@
-5,7
+5,7
@@
use strict;
use FS::UID qw( adminsuidsetup );
use FS::Cron::check qw(
check_queued check_selfservice check_apache check_bop_failures
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_sg
ng
alert error_msg
);
alert error_msg
);
@@
-23,7
+23,8
@@
check_apache or alert('Apache not running: '. error_msg(), @emails);
#no-ops unless you are sg
my $sg = 'FS::ClientAPI::SG';
#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);
check_sgng or alert("${sg}NG not responding: ". error_msg(), @emails);
check_bop_failures or alert(error_msg(), @emails);