Changeset 2260
- Timestamp:
- 06/05/19 20:20:19 (5 years ago)
- Location:
- trunk/LATMOS-Accounts
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LATMOS-Accounts/lib/LATMOS/Accounts.pm
r2243 r2260 156 156 map { $_ => ($self->val('_defattr_', $_)) } 157 157 $self->Parameters('_defattr_'); 158 159 $params{monitored} = {}; 160 foreach my $item ($self->val($section, 'monitored')) { 161 $params{monitored}{lc($item)} = 1; 162 } 158 163 159 164 my $base = LATMOS::Accounts::Bases->new( -
trunk/LATMOS-Accounts/lib/LATMOS/Accounts/Bases/Attributes.pm
r2175 r2260 37 37 $attributes->{_name} = $attributes->{name}; 38 38 $attributes->{_otype} = $otype; 39 $attributes->{monitored} ||= $base->config('monitored')->{ lc( $otype . '.' . $attributes->{name} ) }; 40 39 41 return bless($attributes, $class); 40 42 } else { … … 45 47 $attr_info->{_name} = $attributes; 46 48 $attr_info->{_otype} = $otype; 49 $attr_info->{monitored} ||= $base->config('monitored')->{ lc( $otype . '.' . $attributes ) }; 47 50 48 51 return bless($attr_info, $class); -
trunk/LATMOS-Accounts/man/man8/latmos-accounts-base-sql.pod
r2189 r2260 28 28 Don't compute dynamic attribute at commit but let syncManager do it 29 29 asynchronously. 30 31 =head2 monitored 32 33 Allow to specify monitored attributes. Monitored attributes will have their 34 value logued when changed. 35 36 Can be specified multiple times: 37 38 monitored=user.loginShell 39 monitored=nethost.ip 30 40 31 41 =head1 FEATURES
Note: See TracChangeset
for help on using the changeset viewer.