> - Downloads
> - Configuring External Subscriber Monitor
> - Related Topics
> - Configuring External Subscriber Monitor (C-Web Interface)
> - Starting External Subscriber Monitor
> - Viewing Statistics for External Subscriber Monitor (C-Web Interface)
> - Overview of External Subscriber Monitor

> # Configuring External Subscriber Monitor

> Configure initial properties, including directory connection and directory eventing properties.

> Tasks to configure External Subscriber Monitor are:

> 1. Configuring Basic Local Properties for External Subscriber Monitor
> 2. Configuring Initial Properties for External Subscriber Monitor
> 3. Configuring Directory Connection Properties for External Subscriber Monitor
> 4. Configuring Eventing Properties for External Subscriber Monitor
> 5. Configuring Logging Destinations for External Subscriber Monitor

> ## Configuring Basic Local Properties for External Subscriber Monitor

> After you complete the configuration changes, restart External Subscriber Monitor for the configuration changes to take effect.Use the following configuration statements to configure basic local properties:

> `
> slot number external-subscriber-monitor {
>   java-garbage-collection-options java-garbage-collection-option;
>   java-heap-size java-heap-size;
> }
> `

> To configure basic local properties:

> 1. From configuration mode, access the configuration statement that configures the local properties.
>    `
>    user@host# edit slot 0 external-subscriber-monitor
>    `
> 2. Configure the garbage collection functionality of the Java Virtual Machine.
>    `
>    [edit slot 0 external-subscriber-monitor]
>    user@host# set java-garbage-collection-options java-garbage-collection-options
>    `
> 3. (Optional) If you encounter problems caused by lack of memory, change the maximum memory size available to the JRE.
>    `
>    [edit slot 0 external-subscriber-monitor]
>    user@host# set java-heap-size java-heap-size
>    `
> 4. (Optional) Verify your configuration.
>    `
>    [edit slot 0 external-subscriber-monitor]
>    user@host# show
>    `

> ## Configuring Initial Properties for External Subscriber Monitor

> Use the following configuration statements to configure initial properties for External Subscriber Monitor:

> `
> slot number external-subscriber-monitor initial {
>   dynamic-dn dynamic-dn;
> }
> `

> To configure initial local properties:

> 1. From configuration mode, access the configuration statement that configures the initial properties.
>    `
>    user@host# edit slot 0 external-subscriber-monitor initial
>    `
> 2. Specify the properties for External Subscriber Monitor.
>    `
>    [edit slot 0 external-subscriber-monitor initial]
>    user@host# set ?
>    `

>    For more information about configuring local properties for the SRC components, see Changing the Location of Data in the Directory.

> ## Configuring Directory Connection Properties for External Subscriber Monitor

> Use the following configuration statements to configure directory connection properties for External Subscriber Monitor:

> `
> slot number external-subscriber-monitor initial directory-connection {
>   url url;
>   backup-urls backup-urls...;
>   principal principal;
>   credentials credentials;
>   timeout timeout;
>   check-interval check-interval;
>   blacklist;
>   protocol (ldaps);
>   snmp-agent;
> }
> `

> To configure directory connection properties:

> 1. From configuration mode, access the configuration statement that configures the directory connection properties.
>    `
>    user@host# edit slot 0 external-subscriber-monitor initial directory-connection
>    `
> 2. Specify the properties for External Subscriber Monitor.
>    `
>    [edit slot 0 external-subscriber-monitor initial directory-connection]
>    user@host# set ?
>    `
> 3. (Optional) Verify your configuration.
>    `
>    [edit slot 0 external-subscriber-monitor initial directory-connection]
>    user@host# show
>    `

> ## Configuring Eventing Properties for External Subscriber Monitor

> Use the following configuration statements to configure directory eventing properties for External Subscriber Monitor:

> `
> slot number external-subscriber-monitor initial directory-eventing {
>   eventing;
>   signature-dn signature-dn;
>   polling-intervall polling-interval;
>   event-base-dn event-base-dn;
>   dispatcher-pool-size dispatcherr-pool-size;
> }
> `

> To configure directory eventing properties:

> 1. From configuration mode, access the configuration statement that configures the directory eventing properties.
>    `
>    user@host# edit slot 0 external-subscriber-monitor initial directory-eventing
>    `
> 2. Specify the initial directory eventing properties for External Subscriber Monitor.
>    `
>    [edit slot 0 external-subscriber-monitor initial directory-eventing]
>    user@host# set ?
>    `

>    For more information about configuring local properties for the SRC components, see Configuring Initial Directory Eventing Properties for SRC Components.

> 3. (Optional) Verify your configuration.
>    `
>    [edit slot 0 external-subscriber-monitor initial directory-connection]
>    user@host# show
>    `

> ## Configuring Logging Destinations for External Subscriber Monitor

> Use the following configuration statements to configure directory logging destinations for External Subscriber Monitor:

> `
> slot number external-subscriber-monitor logger logger-name...
> slot number external-subscriber-monitor logger logger-name file {
>   filter filter;
>   filename filename;
>   rollover-filename rollover-filename;
>   maximum-file-size maximum-file-size;
> }
> slot number external-subscriber-monitor logger logger-name syslog {
>   filter filter;
>   host host;
>   facility facility;
>   format format;
> }
> `

> Configuring Logging Destinations to Store Messages in a File

> To configure logging destinations to store log messages in a file:

> 1. From configuration mode, access the configuration statement that configures the name and type of logging properties. In this sample procedure, the logging destination called file-1 is configured.
>    `
>    user@host# edit slot 0 external-subscriber-monitor logger file-1 file
>    `
> 2. Specify the properties for the logging destination.
>    `
>    [edit slot 0 external-subscriber-monitor logger file-1 file]
>    user@host# set ?
>    `

>    For more information about configuring properties for the logging destination, see Configuring a Component to Store Log Messages in a File (SRC CLI).

> 3. (Optional) Verify your configuration.
>    `
>    [edit slot 0 external-subscriber-monitor logger file-1 file]
>    user@host# show
>    `

> Configuring Logging Destinations to Send Messages to System Logging Facility

> To configure logging destinations to send log messages to the system logging facility:

> 1. From configuration mode, access the configuration statement that configures the name and type of logging properties. In this sample procedure, the logging destination is called syslog-1.
>    `
>    user@host# edit slot 0 external-subscriber-monitor logger syslog-1 syslog
>    `
> 2. Specify the properties for the logging destination.
>    `
>    [edit slot 0 external-subscriber-monitor logger syslog-1 syslog]
>    user@host# set ?
>    `

>    For more information about configuring properties for the logging destination, see Configuring System Logging (SRC CLI).

> 3. (Optional) Verify your configuration.
>    `
>    [edit slot 0 external-subscriber-monitor logger file-1 file]
>    user@host# show
>    `

> #### Published: 2009-09-15

> Copyright © 2009, Juniper Networks, Inc. All rights reserved. Trademark Notice.