BB Unix Network Monitor - Message

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

Re: {bb} Disable Question



There might be a better way, but my first thought is a script to be
run via crontab.  Assuming you have your schedule setup correctly in
crontab, you could have a one liner like this: (this is run on the BB
server)

#!/bin/sh
$BBHOME/bin/bb localhost "disable yourhost.yourdomain.service 20 Nightly Reboot"

Service is conn, disk, cpu, etc.  You might be able to leave that out
to account for the whole host.  20 is the time in minutes it will be
disabled.  Everything following that is the message to show.  Replace
$BBHOME accordingly.

I'm not sure if that is what you wanted exactly.

-Russ



On 11/3/06, Jerry L. Dodd <jld3y@cms.mail.virginia.edu> wrote:
Is there a way to disable a device for a certain
amount of time on a daily basis?  I have several
machines that are rebooted every night and it would
be nice if there was a way to keep them from showing
red on Big Brother.  I'm running version 19a on
Solaris 8.

Thanks,
Jerry

--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
To unsubscribe from this list, or to subscribe to the bb-digest list
send e-mail to mailto:majordomo@bb4.com with unsubscribe bb -and/or-
subscribe bb-digest in the BODY of the message.

--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
To unsubscribe from this list, or to subscribe to the bb-digest list
send e-mail to mailto:majordomo@bb4.com with unsubscribe bb -and/or-
subscribe bb-digest in the BODY of the message.


Home | Main Index | Thread Index