[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#6749) Shut up "configure monitor database to enable"



> Full_Name: Hallvard B Furuseth
> Version: 2.4.23
> OS:
> URL:
> Submission from: (NULL) (129.240.6.233)
> Submitted by: hallvard
>
>
> Please don't give the "configure monitor database to enable" message
> by default.
>
> Either just remove it, or better, stop cn=config from adding a default
> olcMonitoring: TRUE attribute to olcDatabase objects.  (The flag value
> can still default to True if the attribute is absent.)  Then you can
> give the message if the _admin_ has explicitly asked for monitoring,
> instead of if slapd has asked for it.

I disagree; it is not cn=config that defaults database monitoring to TRUE;
actually, it's back-bdb/back-hdb that sets its own monitoring to TRUE as
soon as back-monitor support is compiled and the specific backend
monitoring is successfully initilized.

Maybe this warning can be demoted to LDAP_DEBUG_CONFIG instead of
LDAP_DEBUG_ANY.  I understand that one could presume that the lack of
database monitor in the configuration indicates that monitoring is not
desired; this warning, however, tries to address a typical configuration
error, when admins just forget to configure it.

p.