[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-developers] ActiveMonitor/Qube3.
- Subject: Re: [cobalt-developers] ActiveMonitor/Qube3.
- From: Tim Hockin <thockin@xxxxxxx>
- Date: Mon Apr 22 18:54:00 2002
- Organization: Sun Microsystems, Inc.
- List-id: Discussion Forum for developers on Sun Cobalt Networks products <cobalt-developers.list.cobalt.com>
Totally Digital Lists wrote:
> How, as an example, would I test that the default gateway was using eth1,
> not eth0 ? (Perhaps with an severe error being that there is no gateway).
Gateway is not dependant on ethernet interface. :) Bad example.
> Or test that a certain piece of hardware was detected?
> (perhaps using simple logic like grep <HARDWARE_ID> /proc/pci || echo "Not
> found" )
Better example, but still not good. Why would you test this every <n>
minutes? :)
> I imagine there is somewhere were you simply add a test-condition, and
Look at /usr/sausalito/schemas/base/am/*
To add a test, you add a namespace to the ActiveMonitor object in CCE. You
populate a few fixed fields with data (such as what file to exec, or what
port to probe). Then the regular cronjob takes care of running your tests
for you at regular intervals.
--
Tim Hockin
Systems Software Engineer
Sun Microsystems, Cobalt Server Appliances
thockin@xxxxxxx