BB Unix Network Monitor - Message

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

Re: {bb} Disable Question



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

That's how it's done.

=R

Russ Starr wrote:
> 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.

- --
 ---- _  _ _  _ ___  _  _  _
 |Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski - Systems Programmer III
 |$&| |__| |  | |__/ | \| _| |novosirj@umdnj.edu - 973/972.0922 (2-0922)
 \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFS7Xymb+gadEcsb4RAq8wAJ44dkrycF8zuX6mf9eSz5XUasQXDgCgiAkP
k1M/wc/zMK/NCVoNRjRyltw=
=Vurc
-----END PGP SIGNATURE-----

--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
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