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 [EMAIL PROTECTED] _______________________________________________ cobalt-developers mailing list [EMAIL PROTECTED] http://list.cobalt.com/mailman/listinfo/cobalt-developers
