Night time estimation.
More...
|
| def | __init__ (self, p_configuration) |
| | NightTimeEstimation Class Initializer.
|
| |
| def | configure_logging (self, logger_name) |
| | Set the log level to be close to the one set in C++ Maps C++ log4cpp log levels to python log levels.
|
| |
| def | Execute (self, arg) |
| | Perform Tracking Estimation.
|
| |
| def | Terminate (self, arg) |
| | Set the correct state when the telmon application is about to exit.
|
| |
| def | publish_night_time_flag (self, value) |
| | Publish in Oldb the value of the night time estimation.
|
| |
| def | get_monitored_app (self, app_name) |
| | From the monitored apps list of the telmon configuration 'monitored_apps' return the details of the app matching the given name.
|
| |
| bool | estimate_night_time (self) |
| | Check if all applications are in the correct state to be considered night time operation return true if night time was estimated true.
|
| |
◆ __init__()
| def MonScripts.NightTimeEstimation.NightTimeEstimation.__init__ |
( |
|
self, |
|
|
|
p_configuration |
|
) |
| |
NightTimeEstimation Class Initializer.
- Parameters
-
| Dictionary | with Application configuration |
◆ configure_logging()
| def MonScripts.NightTimeEstimation.NightTimeEstimation.configure_logging |
( |
|
self, |
|
|
|
logger_name |
|
) |
| |
Set the log level to be close to the one set in C++ Maps C++ log4cpp log levels to python log levels.
◆ estimate_night_time()
| bool MonScripts.NightTimeEstimation.NightTimeEstimation.estimate_night_time |
( |
|
self | ) |
|
Check if all applications are in the correct state to be considered night time operation return true if night time was estimated true.
◆ Execute()
| def MonScripts.NightTimeEstimation.NightTimeEstimation.Execute |
( |
|
self, |
|
|
|
arg |
|
) |
| |
Perform Tracking Estimation.
◆ get_monitored_app()
| def MonScripts.NightTimeEstimation.NightTimeEstimation.get_monitored_app |
( |
|
self, |
|
|
|
app_name |
|
) |
| |
From the monitored apps list of the telmon configuration 'monitored_apps' return the details of the app matching the given name.
◆ publish_night_time_flag()
| def MonScripts.NightTimeEstimation.NightTimeEstimation.publish_night_time_flag |
( |
|
self, |
|
|
|
value |
|
) |
| |
Publish in Oldb the value of the night time estimation.
◆ Terminate()
| def MonScripts.NightTimeEstimation.NightTimeEstimation.Terminate |
( |
|
self, |
|
|
|
arg |
|
) |
| |
Set the correct state when the telmon application is about to exit.
◆ configuration
| MonScripts.NightTimeEstimation.NightTimeEstimation.configuration |
◆ deployment_dp
| MonScripts.NightTimeEstimation.NightTimeEstimation.deployment_dp |
◆ logger
| MonScripts.NightTimeEstimation.NightTimeEstimation.logger |
◆ monitored_apps_dp
| MonScripts.NightTimeEstimation.NightTimeEstimation.monitored_apps_dp |
◆ night_time_dp
| MonScripts.NightTimeEstimation.NightTimeEstimation.night_time_dp |
◆ oldb_client
| MonScripts.NightTimeEstimation.NightTimeEstimation.oldb_client |
◆ subsystems_needed
| MonScripts.NightTimeEstimation.NightTimeEstimation.subsystems_needed |
◆ subsystems_not_needed
| MonScripts.NightTimeEstimation.NightTimeEstimation.subsystems_not_needed |
◆ subsystems_not_needed_critical
| MonScripts.NightTimeEstimation.NightTimeEstimation.subsystems_not_needed_critical |
The documentation for this class was generated from the following file: