Go to the source code of this file.
Defines | |
| #define | MAX_STRING_LENGTH 64 |
| #define | OSIRIS_ERROR_MESSAGES 20 |
| #define | OSIRIS_ERROR_MESSAGE_LENGTH 255 |
| #define | CHECKSTALTA(n) |
| #define | DoCheckNoiseLevel(i) |
Functions | |
| int | CheckStaLtaBounds (void) |
| alert method | |
| int | CheckProcessOshWww (void) |
| alert method | |
| int | CheckProcessOshCmd (void) |
| alert method | |
| int | CheckProcessTrigger (void) |
| alert method | |
| int | CheckProcessSysd (void) |
| alert method | |
| int | CheckProcessConfiguration (void) |
| alert method | |
| int | CheckProcessGpsd (void) |
| alert method | |
| int | CheckProcessDiskmgr (void) |
| alert method | |
| int | CheckProcessAcquisit (void) |
| alert method | |
| int | CheckGeneralError (void) |
| alert method | |
| int | CheckBootTime (void) |
| alert method | |
| int | CheckGps (void) |
| alert method | |
| int | CheckBatteryETR (void) |
| alert method | |
| int | CheckBatteryLevel (void) |
| alert method | |
| int | CheckInternalBatteryLevel (void) |
| alert method | |
| int | CheckDriftAmplitude (void) |
| alert method | |
| int | CheckTimeShiftAmplitude (void) |
| alert method | |
| int | CheckLastInformationTime (void) |
| alert method | |
| int | CheckStorageError (void) |
| alert method | |
| int | CheckStorageDisk (void) |
| alert method | |
| int | CheckAgeOfLastPulse (void) |
| alert method | |
| int | CheckSageLastData (void) |
| alert method | |
| int | CheckSageLastEventList (void) |
| alert method | |
| int | CheckRecordingAge (void) |
| int | CheckAcquisitDiskmgrTime (void) |
| int | CheckContinuousRecording (void) |
| int | CheckNoiseLevel (void) |
Variables | |
| struct OsirisAlert | AlertTable [] |
| alert table: should generate an email | |
| struct OsirisAlert | MykerinosRAlertTable [] |
| alert table: should generate an email | |
| struct OsirisAlert | WarningTable [] |
| warning table: should be displayed but no mail sent | |
| #define CHECKSTALTA | ( | n | ) |
Value:
{ \
if ((staMin[n]>0)&&(acquisit_Sta##n.valid)) \
{ \
if ((staMin[n]>0)&&(acquisit_Sta##n.value.d<staMin[n])) \
{ \
return(1); \
} \
if ((staMax[n]>0)&&(acquisit_Sta##n.value.d>staMax[n])) \
{ \
return(1); \
} \
} \
if ((ltaMin[n]>0)&&(acquisit_Lta##n.valid)) \
{ \
if ((ltaMin[n]>0)&&(acquisit_Lta##n.value.d<ltaMin[n])) \
{ \
return(1); \
} \
if ((ltaMax[n]>0)&&(acquisit_Lta##n.value.d>ltaMax[n])) \
{ \
return(1); \
} \
} \
}
Referenced by CheckStaLtaBounds().
| #define DoCheckNoiseLevel | ( | i | ) |
Value:
if ((acquisit_Lta##i.valid==1)&&(acquisit_Sta##i.valid==1)&&(acquisit_Fs##i.valid==1)&&(acquisit_Fs##i.value.d>5)) \ { \ if (((acquisit_Lta##i.value.d==0)||((acquisit_Lta##i.value.d>>8)>=(1<<24)-1))&& \ ((acquisit_Sta##i.value.d==0)||((acquisit_Sta##i.value.d>>8)>=(1<<24)-1))) \ { \ return(1); \ } \ }
Referenced by CheckNoiseLevel().
| #define MAX_STRING_LENGTH 64 |
Definition at line 23 of file oifalert.c.
| #define OSIRIS_ERROR_MESSAGE_LENGTH 255 |
Definition at line 25 of file oifalert.c.
| #define OSIRIS_ERROR_MESSAGES 20 |
Definition at line 24 of file oifalert.c.
| int CheckAcquisitDiskmgrTime | ( | void | ) |
Definition at line 600 of file oifalert.c.
References acquisit_CorrectedTime, diskmgr_LastAcquisitCorrectedTime, and MAX_FUZZYNESS.
| int CheckAgeOfLastPulse | ( | void | ) |
alert method
Definition at line 473 of file oifalert.c.
References acquisit_LastGpsTop, gpsd_SystemTime, MAX_GPS_TOP_OLDNESS, and sysd_OsirisModel.
| int CheckBatteryETR | ( | void | ) |
alert method
Definition at line 263 of file oifalert.c.
References POWER_REMAINING_THRESHOLD, and sysd_BattRemaining.
| int CheckBatteryLevel | ( | void | ) |
alert method
Definition at line 279 of file oifalert.c.
References POWER_LEVEL_THRESHOLD, sysd_ExtBat, and sysd_OsirisModel.
| int CheckBootTime | ( | void | ) |
alert method
Definition at line 206 of file oifalert.c.
References REBOOT_DELAY, sysd_OsirisModel, and sysd_StartTime.
| int CheckContinuousRecording | ( | void | ) |
Definition at line 619 of file oifalert.c.
References diskmgr_Record, and trigger_RecordingMode.
| int CheckDriftAmplitude | ( | void | ) |
alert method
Definition at line 354 of file oifalert.c.
References acquisit_Drift, and sysd_OsirisModel.
| int CheckGeneralError | ( | void | ) |
alert method
Definition at line 190 of file oifalert.c.
References comd_MessageFlag.
| int CheckGps | ( | void | ) |
alert method
Definition at line 244 of file oifalert.c.
References gpsd_GpsState.
| int CheckInternalBatteryLevel | ( | void | ) |
alert method
Definition at line 315 of file oifalert.c.
References INTERNAL_BATTERY_MAX_LEVEL, INTERNAL_BATTERY_MIN_LEVEL, sysd_IntBat, and sysd_OsirisModel.
| int CheckLastInformationTime | ( | void | ) |
alert method
Definition at line 418 of file oifalert.c.
References gpsd_SystemTime, MAX_LONGINFOS_AGE, and MAX_LONGINFOS_AGE_TIMEOUT.
| int CheckNoiseLevel | ( | void | ) |
this alert is activated for ARM+DSP based stations
Definition at line 633 of file oifalert.c.
References DoCheckNoiseLevel, and sysd_OsirisModel.
| int CheckProcessAcquisit | ( | void | ) |
| int CheckProcessConfiguration | ( | void | ) |
| int CheckProcessDiskmgr | ( | void | ) |
| int CheckProcessGpsd | ( | void | ) |
| int CheckProcessOshCmd | ( | void | ) |
| int CheckProcessOshWww | ( | void | ) |
alert method
alert method
Definition at line 118 of file oifalert.c.
| int CheckProcessSysd | ( | void | ) |
| int CheckProcessTrigger | ( | void | ) |
| int CheckRecordingAge | ( | void | ) |
Definition at line 573 of file oifalert.c.
References diskmgr_lastWriteTime, gpsd_SystemTime, MAX_FUZZYNESS, and trigger_RecordingMode.
| int CheckSageLastData | ( | void | ) |
alert method
Definition at line 505 of file oifalert.c.
References MAX_LONGINFOS_AGE_TIMEOUT, MAX_SAGEDATA_AGE, and sysd_OsirisModel.
| int CheckSageLastEventList | ( | void | ) |
alert method
Definition at line 539 of file oifalert.c.
References MAX_LONGINFOS_AGE_TIMEOUT, MAX_SAGEDATA_AGE, and sysd_OsirisModel.
| int CheckStaLtaBounds | ( | void | ) |
alert method
Definition at line 31 of file oifalert.c.
References CHECKSTALTA, MAX_CHANNEL, and PrintError.
| int CheckStorageDisk | ( | void | ) |
alert method
Definition at line 457 of file oifalert.c.
References diskmgr_StorageStatus, and myShi.
| int CheckStorageError | ( | void | ) |
alert method
Definition at line 441 of file oifalert.c.
References diskmgr_StorageStatus, and myShi.
| int CheckTimeShiftAmplitude | ( | void | ) |
alert method
this alert is activated for TITAN/NUM3PC based digitizer only
Definition at line 391 of file oifalert.c.
References acquisit_LastShift, and sysd_OsirisModel.
| struct OsirisAlert AlertTable[] |
alert table: should generate an email
Definition at line 667 of file oifalert.c.
Referenced by ProcessOIF().
| struct OsirisAlert MykerinosRAlertTable[] |
Initial value:
{
{ "LOWPOWER", 0, "Main power level too low", CheckBatteryLevel } ,
{ "REBOOT", 0, "Station has booted less than 1 hour ago", CheckBootTime } ,
{ "GENERAL", 0, "The general error flag is raised", CheckGeneralError } ,
{ 0, 0, 0 }
}
Definition at line 703 of file oifalert.c.
Referenced by ProcessOIF().
| struct OsirisAlert WarningTable[] |
Initial value:
{
{ "OLDPULSE", 0, "Last GPS synchronization pulse older than 24 hours", CheckAgeOfLastPulse } ,
{ 0, 0, 0 }
}
Definition at line 713 of file oifalert.c.
Referenced by ProcessOIF().
1.5.6