BB Unix Network Monitor - Message

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

Re: {bb} newbie questions...



> Anyway, I have it installed, and the webpage is working all lovely lovely.
> But it's not emailing me. I don't have a modem set up yet to do paging, so
> I've set the PAGING variable to an email address - but it don't send. I've
> tried it by killing one of my dns servers and waiting till it noticed via
> the webpage, and still no email.

Careful... what version of BB are you running?  If it's 1.08b then
check etc/bbwarn* for instructions.
 
> Also, is there a way to check other custom server for up-ness? We have a
> java-server that controls physical devices online, and it falls over from
> time to time, any ideas anyone?

Sure - there are a couple of ways to do this:

* By checking that the process that is supposed to be there is
there and screaming if it isn't: Edit etc/bbdef.sh and change
PROCS and PAGEPROC to taste - stop and restart BB.

* By having bb-network.sh open a TCP network port the java 
thingy is listening on.  You'll need to make sure that 
the java thingy has a named protocol listed in /etc/services
like:
	
javathingy             2599/tcp    javathingy

Then add "javathingy" to the appropriate line in etc/bb-hosts
and that should do it, or

* By writing your own check - look at the 'dns' test in
bb-network.sh.  The upside here is you can test for specific
things and transmit the results to the BB display.  The 
downside is that you have to write your own check.

Good luck!  
-- 
Sean MacGuire, Reality Engineer               sean@MacLawran.ca
The Big Brother Ministry of Truth      http://maclawran.ca/sean
icbm --> 45'31.06N-73'35.19W                    +1 514 982 9688
              "Looking down the barrel of another day"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  Please send mail for the mailing list to: bb@taex001.tamu.edu
  To [un]subscribe to this list, send e-mail to majordomo@taex001.tamu.edu
     with [un]subscribe bb in the BODY of the message.
  Please contact the mailing-list-owner as: bb-owner@taex001.tamu.edu


Home | Main Index | Thread Index