projects
/
clearscm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added a few more things to clean
[clearscm.git]
/
clearadm
/
lib
/
load.sql
diff --git
a/clearadm/lib/load.sql
b/clearadm/lib/load.sql
index
4c005f4
..
a6efa48
100644
(file)
--- a/
clearadm/lib/load.sql
+++ b/
clearadm/lib/load.sql
@@
-69,6
+69,18
@@
insert into notification (
'Once a day'
);
'Once a day'
);
+insert into notification (
+ name,
+ alert,
+ cond,
+ nomorethan
+) values (
+ 'Clearcase Storage',
+ 'Email admin',
+ 'Clearcase Failure',
+ 'Once a day'
+);
+
insert into notification (
name,
alert,
insert into notification (
name,
alert,
@@
-101,7
+113,7
@@
insert into task (
command
) values (
'Loadavg',
command
) values (
'Loadavg',
- '
L
ocalhost',
+ '
l
ocalhost',
'Obtain a loadavg snapshot on all systems',
'updatela.pl'
);
'Obtain a loadavg snapshot on all systems',
'updatela.pl'
);
@@
-113,7
+125,7
@@
insert into task (
command
) values (
'Filesystem',
command
) values (
'Filesystem',
- '
L
ocalhost',
+ '
l
ocalhost',
'Obtain a filesystem snapshot on all systems/filesystems',
'updatefs.pl'
);
'Obtain a filesystem snapshot on all systems/filesystems',
'updatefs.pl'
);
@@
-125,7
+137,7
@@
insert into task (
command
) values (
'Scrub',
command
) values (
'Scrub',
- '
L
ocalhost',
+ '
l
ocalhost',
'Scrub Clearadm database',
'clearadmscrub.pl'
);
'Scrub Clearadm database',
'clearadmscrub.pl'
);
@@
-137,7
+149,7
@@
insert into task (
command
) values (
'System checkin',
command
) values (
'System checkin',
- '
L
ocalhost',
+ '
l
ocalhost',
'Checkin from all systems',
'default'
);
'Checkin from all systems',
'default'
);
@@
-149,11
+161,23
@@
insert into task (
command
) values (
'Update systems',
command
) values (
'Update systems',
- '
L
ocalhost',
+ '
l
ocalhost',
'Update all systems',
'updatesystem.pl -host all'
);
'Update all systems',
'updatesystem.pl -host all'
);
+insert into task (
+ name,
+ system,
+ description,
+ command
+) values (
+ 'Clearcase Storage',
+ 'localhost',
+ 'Update Clearcase VOB/View storage',
+ 'updateccfs.pl'
+);
+
-- Predefined schedule
insert into schedule (
name,
-- Predefined schedule
insert into schedule (
name,
@@
-190,3
+214,17
@@
insert into schedule (
'Scrub',
'1 day'
);
'Scrub',
'1 day'
);
+
+insert into schedule (
+ name,
+ task,
+ notification,
+ frequency
+) values (
+ 'Clearcase Storage',
+ 'Clearcase Storage',
+ 'Clearcase Storage',
+ '1 day'
+);
+
+