network.detectors
Class  FileSystemFullEventDetector
java.lang.Object
  |
  +--network.detectors.EventDetector
        |
        +--network.detectors.SyslogEventDetector
              |
              +--network.detectors.FileSystemFullEventDetector
- All Implemented Interfaces: 
 - java.lang.Runnable, java.io.Serializable
 
- public class FileSystemFullEventDetector
- extends SyslogEventDetector
- implements java.io.Serializable
   
This detector watches the syslog file and looks for messages indicating 
 that a partition is full.
- See Also:
 - Serialized Form
 
 
| Fields inherited from class network.detectors.SyslogEventDetector | 
compiler, currentYear, dis, eventInfoTable, eventName, file, LIMIT, logFilename, matcher, monthLookup, newLen, paramInstr, paramProcInstr, pattern, prevLen, ptr, run_mode, toolsCreated | 
 
| Fields inherited from class network.detectors.EventDetector | 
agentURN, attempts, cred, dbModule, eventIDGenerator, eventTable, host, localTriggeringEvents, printRunningThreadsFlag, remoteTriggeringEvents, reportTable | 
 
| 
Constructor Summary | 
FileSystemFullEventDetector(ConfigObject configObj)
 
          The default constructor. | 
FileSystemFullEventDetector(java.util.Vector localtriggeringEventClassNames,
                            java.util.Vector remotetriggeringEventClassNames,
                            ConfigObject configObj)
 
          A constructor that sets up the triggering dependencies that you specify. | 
 
| 
Method Summary | 
 java.util.Vector | 
generateEvent(network.events.Event triggeredEvent)
 
          This method will generate a FileSystemFullEvent if there is a corresponding line
 in the syslog file. | 
 java.lang.String | 
getGeneratingEventClassName()
 
          Returns the fully-qualified classname of the event that this detector may generate. | 
 
 
| Methods inherited from class network.detectors.EventDetector | 
getAlarmLevel, getAlertLevel, getLocalTriggeringEventClassNames, getRemoteTriggeringEventClassNames, getSynchronizer, InitializeFields, printRunningThreads, run, setAgentURN, setAlarmLevel, setAlertLevel, setDB, setEventIDGenerator, setEventTable, setLocalTriggeringEvents, setRemoteTriggeringEvents, setReportTable, stopDetector, switchOffPrintRunningThreads | 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
lastEvent
network.events.FileSystemFullEvent lastEvent
defaultLocalTriggeringEvents
java.lang.String[] defaultLocalTriggeringEvents
FileSystemFullEventDetector
public FileSystemFullEventDetector(ConfigObject configObj)
                            throws java.lang.Exception
- The default constructor. Sets up triggering dependencies.
 
FileSystemFullEventDetector
public FileSystemFullEventDetector(java.util.Vector localtriggeringEventClassNames,
                                   java.util.Vector remotetriggeringEventClassNames,
                                   ConfigObject configObj)
                            throws java.lang.Exception
- A constructor that sets up the triggering dependencies that you specify.
 
getGeneratingEventClassName
public java.lang.String getGeneratingEventClassName()
- Returns the fully-qualified classname of the event that this detector may generate.
- Overrides:
 getGeneratingEventClassName in class SyslogEventDetector
 
- Returns:
 - the fully-qualified classname of the event that this detector may generate.
 
 
 
generateEvent
public java.util.Vector generateEvent(network.events.Event triggeredEvent)
- This method will generate a FileSystemFullEvent if there is a corresponding line
 in the syslog file. It must be passed a SyslogEvent, otherwise it will fail!
- Overrides:
 generateEvent in class SyslogEventDetector
 
- Parameters:
 triggeredEvent - 
- Returns: