DB IDO: Disable external command history by default

That's not used in Icinga Web 2 and might lock the feature
on cleanup.

refs #4788
This commit is contained in:
Michael Friedrich 2017-04-28 09:37:27 +02:00
parent 0bafd532a9
commit 21ce07046c
2 changed files with 8 additions and 9 deletions

View File

@ -763,7 +763,7 @@ Data Categories:
DbCatComment | Comments | Icinga Web 2 DbCatComment | Comments | Icinga Web 2
DbCatDowntime | Downtimes | Icinga Web 2 DbCatDowntime | Downtimes | Icinga Web 2
DbCatEventHandler | Event handler data | Icinga Web 2 DbCatEventHandler | Event handler data | Icinga Web 2
DbCatExternalCommand | External commands | Icinga Web 2 DbCatExternalCommand | External commands | --
DbCatFlapping | Flap detection data | Icinga Web 2 DbCatFlapping | Flap detection data | Icinga Web 2
DbCatCheck | Check results | -- DbCatCheck | Check results | --
DbCatLog | Log messages | -- DbCatLog | Log messages | --
@ -772,6 +772,9 @@ Data Categories:
DbCatRetention | Retention data | Icinga Web 2 DbCatRetention | Retention data | Icinga Web 2
DbCatStateHistory | Historical state data | Icinga Web 2 DbCatStateHistory | Historical state data | Icinga Web 2
The default value for `categories` includes everything required
by Icinga Web 2 in the table above.
In addition to the category flags listed above the `DbCatEverything` In addition to the category flags listed above the `DbCatEverything`
flag may be used as a shortcut for listing all flags. flag may be used as a shortcut for listing all flags.
@ -781,9 +784,6 @@ flag may be used as a shortcut for listing all flags.
> `DbCatProgramStatus | DbCatState` was deprecated in 2.5 and will > `DbCatProgramStatus | DbCatState` was deprecated in 2.5 and will
> be removed in future versions. > be removed in future versions.
External interfaces like Icinga Web 2 require everything except `DbCatCheck`
and `DbCatLog` which is the default value if `categories` is not set.
## <a id="objecttype-idopgsqlconnection"></a> IdoPgSqlConnection ## <a id="objecttype-idopgsqlconnection"></a> IdoPgSqlConnection
IDO database adapter for PostgreSQL. IDO database adapter for PostgreSQL.
@ -852,7 +852,7 @@ Data Categories:
DbCatComment | Comments | Icinga Web 2 DbCatComment | Comments | Icinga Web 2
DbCatDowntime | Downtimes | Icinga Web 2 DbCatDowntime | Downtimes | Icinga Web 2
DbCatEventHandler | Event handler data | Icinga Web 2 DbCatEventHandler | Event handler data | Icinga Web 2
DbCatExternalCommand | External commands | Icinga Web 2 DbCatExternalCommand | External commands | --
DbCatFlapping | Flap detection data | Icinga Web 2 DbCatFlapping | Flap detection data | Icinga Web 2
DbCatCheck | Check results | -- DbCatCheck | Check results | --
DbCatLog | Log messages | -- DbCatLog | Log messages | --
@ -861,6 +861,9 @@ Data Categories:
DbCatRetention | Retention data | Icinga Web 2 DbCatRetention | Retention data | Icinga Web 2
DbCatStateHistory | Historical state data | Icinga Web 2 DbCatStateHistory | Historical state data | Icinga Web 2
The default value for `categories` includes everything required
by Icinga Web 2 in the table above.
In addition to the category flags listed above the `DbCatEverything` In addition to the category flags listed above the `DbCatEverything`
flag may be used as a shortcut for listing all flags. flag may be used as a shortcut for listing all flags.
@ -870,9 +873,6 @@ flag may be used as a shortcut for listing all flags.
> `DbCatProgramStatus | DbCatState` was deprecated in 2.5 and will > `DbCatProgramStatus | DbCatState` was deprecated in 2.5 and will
> be removed in future versions. > be removed in future versions.
External interfaces like Icinga Web 2 require everything except `DbCatCheck`
and `DbCatLog` which is the default value if `categories` is not set.
## <a id="objecttype-influxdbwriter"></a> InfluxdbWriter ## <a id="objecttype-influxdbwriter"></a> InfluxdbWriter

View File

@ -44,7 +44,6 @@ abstract class DbConnection : ConfigObject
cat->Add("DbCatComment"); cat->Add("DbCatComment");
cat->Add("DbCatDowntime"); cat->Add("DbCatDowntime");
cat->Add("DbCatEventHandler"); cat->Add("DbCatEventHandler");
cat->Add("DbCatExternalCommand");
cat->Add("DbCatFlapping"); cat->Add("DbCatFlapping");
cat->Add("DbCatNotification"); cat->Add("DbCatNotification");
cat->Add("DbCatProgramStatus"); cat->Add("DbCatProgramStatus");