[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] raq2, letter to Cobalt



On Tue, Mar 21, 2000 at 12:33:22PM -0800, Lyle Scheer wrote:
> you modify all instances of the command "Cobalt::Repair::repair_notify" to
> only include the variable ($svr) (ie.
> "Cobalt::Repair::repair_notify($svr)"), then it *looks* like it might only

I cheated a different way, I had a few checks that just about always 
failed with a few conditions I either knew to be true or had accepted
as tolerable so I edited the files in /usr/lib/perl5/site_perl/auto/Cobalt
directories, this has the dis-advantage that OS upgrades generally over
write these files -- but has the side advantage of you being more
familiar with the cobalt scripts.

Looking at the code, Lyle's suggestion might run into a few problems.
Simplifying all cases down to repair_notify($svr) means you would lose
the instance data for say checks on a users quota and so forth, though
if you don't know how to do 'man repquota' shame on you ;-).  Seriously
though, all you need to do is to eliminate the THIRD argument which will
be the array generally.  This is the list of people to which the
monitor's e-mail will be copied too besides the admin account.

-- 
Robert G. Fisher		     NEOCOM Microspecialists Inc. 
System Administrator/Programmer      (540) 666-9533 x 116