You can create several types of AIM device groups:
After you have verified and saved the Organization credentials by clicking Save Credentials, the page expands and the Device Group and Registered Alerts tables appear (for more information about associating registering alerts to an organization, seeAssociating Registered Alerts to an Organization). The Device Group and Archive Locations tables are empty until you create device groups.
To create a device group, do one of the following:



The Organization to which the device group belongs appears in the Organization field. You cannot modify the Organization name.
A directives group is a group of devices from which the Juniper Data Collector can gather intelligence information. A device group is a group of devices from which AI-Scripts collects incident and intelligence information.
A device may belong to several directives groups. A device may belong to both a device group and a directives device group. If a device belongs to both types of groups, both AI-Script-driven and Juniper Data Collector-driven data collection occurs for that device.
The directives group specifies the archive locations into which the Juniper Data Collector deposits JMBs for devices in that group. The archive locations are folders on the local file system. If the Juniper Data Collector encounters a failure when uploading the JMB to a particular archive location, it uses the next location, retrying until there is either success or all archive locations fail. The JDC places a JMB into a single archive location.
The directives group has a Juniper Data Collector directives file (directives.rc) that specifies the data collection processing that is performed for the devices in the group.
An organization can contain several directives device groups. Organizations do not share directives device groups. Each organization must use its own archive locations to avoid intermingling of data between organizations.
When the Juniper Data Collector starts, it reads from the database the information for all of the directives groups. It determines from this information which devices to poll, which Juniper Data Collector directives files to use, and which archive locations to write the JMB file. When the user saves changes for a directives device group, the AIM sends a refresh message to the Juniper Data Collector to read the information for that particular directives device group.
You can create a directives group of supported Juniper Data Collector devices using the AIM Settings > General Settings and AIM Settings > Organizations user interfaces. You can add a supported device to one or more directives groups. For more detailed information about creating directives groups, see Creating a Directives Group and Adding Devices.
Do the following before you create a directives group:
For a JUNOS device, enable NETCONF.
To create a directives group and add a supported device, follow these steps.
Specify the JDC maximum number of concurrent tasks working in parallel to collect information from devices.
When you create an organization, the Devices Group and Alert Registration tables appear.



Table 30 describes the Directives Group Page settings.
Table 30: Directives Group Page Description
Table 31 describes the Create Device and Add to Directives Group page buttons.
Table 31: Create Device and Add to Directives Group Page Button Descriptions
Table 32 describes the fields on the Create Device and Add to Directives Group page.
Table 32: Create Device and Add to Directives Group Page Field Descriptions
To ensure that NETCONF over SSH is enabled on a JUNOS device, follow these steps:
user@host> show configurationOutput similar to the following appears:
system {
host-name Neon;
root-authentication {
encrypted-password "$1$rQQ4q1eZ$
}
login {
message "Please DO NOT change couser lab {
uid 2000;
class superuser;
authentication {
encrypted-password "$1$m
}
}
user lablab {
uid 2001;
class superuser;
authentication {
encrypted-password "$1$w
}
}
}
services {
ftp;
ssh {
root-login allow;
protocol-version v2;
}
telnet;
netconf {
ssh;
}
web-management {
http;
}
}
syslog {
user * {
any emergency;
}
file messages {
any any;
authorization info;
}
file interactive-commands {
interactive-commands any;
}
}
}
services {
ftp;
ssh {
root-login allow;
protocol-version v2;
}
telnet;
netconf {
ssh;
}
To enable NETCONF service over SSH, follow these steps:
For more information about NETCONF, see the JUNOS NETCONF API Guide.
To create a proxy device group and add devices, follow these steps:

The associated devices are ones that have been managed and imported from the JUNOScope software or those that have been set up manually to send JMBs to the archive location.
Table 33 defines the Device Groups table command buttons.
Table 33: Device Group Page Button Descriptions
Table 34 defines the Organization page Device Group fields.
Table 34: Device Group Page Field Descriptions
Name |
Description |
Privileges |
Length/Range |
Default |
|---|---|---|---|---|
Name |
Name of the device group |
AIM Admin Settings |
32 characters |
Blank |
Organization |
Name of the organization to which this device group belongs. The organization name provides a link to the Organization detail screen. See Organization Credentials Page Description. |
You cannot modify the Organization name. |
N/A |
Blank |
Advanced Insight Script Bundle |
Provides a drop-down list of all the AI-Script bundles managed by AIM. |
AIM Admin Settings |
N/A |
Blank |
No-copy |
Indicates the command to not save a copy of the AI-Script bundle file during installation on the device. |
AIM Admin Settings |
Checked or unchecked |
Blank |
Unlink |
Indicates the command to remove the AI-Script bundle after successful installation on the device. |
AIM Admin Settings |
Checked or unchecked |
Blank |
Table 35 describes the Proxy Device Group page buttons.
Table 35: Proxy Device Group Page Button Descriptions
Button Name |
Description |
Privileges |
Enable/Disable |
Results |
|---|---|---|---|---|
Save Credentials |
Tests connection to JSS, and if successful, then saves organization name and authentication credentials in the database. It also retrieves the end customer ID. |
AIM Admin Settings |
If privileged |
Saves the new organization credentials in the AIM database |
Create Policy |
Lets you create a reaction policy associated with an organization. For example, you can create a reaction policy that triggers when a new intelligence message is received. For more information about creating a reaction policy, see Creating Reaction Policies. |
Reaction Policy |
Available after you click Save Changes |
Opens the Reaction Policies page. |
Table 36 describes the fields on the Proxy Device Group page.
Table 36: Proxy Device Group Page Field Descriptions
Field Name |
Description |
Privileges |
Length/Range |
Results |
|---|---|---|---|---|
Customer Alias |
A unique alphanumeric name for the customer (a through z, capital A through Z, and 0 through 9). |
AIM Admin Settings |
Up to 80 characters |
|
Organization |
Name of the organization to which this proxy device group belongs. The organization name provides a link to the Organization detail screen. See Organization Credentials Page Description. |
You cannot modify the Organization name. |
N/A |
N/A |
Customer ID |
A non-editable, 32–character ID generated by JSS and returned upon successful customer activation. |
You cannot modify the customer ID. |
32 characters |
N/A |
Customer User Name |
A name for the customer. |
AIM Admin Settings |
60 characters |
|
Customer Password |
The password for the customer. |
AIM Admin Settings |
32 characters |
|
Confirm Password |
The password for the customer. |
AIM Admin Settings |
32 characters |