Changes between Version 1 and Version 2 of SystemMonitorConfiguration


Ignore:
Timestamp:
11/24/09 15:44:56 (16 years ago)
Author:
martin
Comment:

initial draft of a startup monitor. Lots to do but demonstrates some of the possible ways to perform various operations

Legend:

Unmodified
Added
Removed
Modified
  • SystemMonitorConfiguration

    v1 v2  
    44The initial configuration is based on just a few states:
    55
    6 START::
     6 ''START''::
    77  the standard initial state, used to perform priming reads of status and to setup operating defaults
    8 UNKNOWN::
     8 ''UNKNOWN''::
    99  the standard state used when no other state fits with the current conditions
    10 startingNetwork::
     10 ''startingNetwork''::
    1111  we do not have an ethernet address
    12 running::
     12 ''running''::
    1313  all is ok, our process pid file exists and contains a process id and the ethernet has an IP number in the range we expect
    14 FXOhang::
     14 ''FXOhang''::
    1515  we have detected a hung state from our FXO modules.  In this state, we attempt to reset the devices.
    16 dead::
     16 ''dead''::
    1717  used when we are in the UNKNOWN state for too long
     18
     19There are two scripts which we use to monitor and reset the FXO status:
     20 ''check_installed_FXO_status''::
     21  display the current status
     22 ''reset_FXO''::
     23  run commands to unload and reload the FXO module
     24
    1825
    1926{{{
Trac Appliance - Powered by TurnKey Linux