Database monitoring script print error message if the database is not running
Details
| Detail name | Value |
|---|---|
| Changelog Number | 4654 |
| Type | Bug |
| Status | Resolved |
| Affected Versions | EXASOL 6.0.1 |
| Fix Versions | EXASOL 6.0.2 |
| Resolution Date | 2017-06-06 |
The database space monitoring script does not work correctly if a database is not running and generates a error message in the log.
It still outputs correct results for the other databases
Reproducibility
Yes this can be reproduced:
- Create a single database
- Stop this database
- Run the script:
- In the logs should be a error message
/usr/opt/EXASuite-6/EXAClusterOS-6.0.1/share/exaoperation/monitor_db_space.py
How to identify
There is a log message with the following content:
Error cluster1 Exception while calc_db_storage: <DB_NAME> -- float division by zero