Within AIM, devices that are configured for AIS manually are automatically be added to the device group that is associated with the AIM archive location to which the JMB was sent. When the AIM detects a JMB for a device that is not managed by JUNOScope Script Management, it will note it.
To manually configure and install AI Scripts on Devices, follow these steps:
user@host# set groups juniper-ais event-options destination juniper-junoscope {...}
user@host# set groups juniper-ais system scripts commit file jais-activate-scripts.slax optional
user@host# set groups juniper-ais system scripts commit allow-transients
user@host# set apply-groups juniper-ais
user@host# set groups juniper-ais system scripts load-scripts-from-flash
[edit] user@host# commit check configuration check succeeds
[edit] user@host# commit commit complete
groups {
juniper-ais {
system {
scripts {
commit {
allow-transients;
file jais-activate-scripts.slax {
optional;
}
}
load-scripts-from-flash;
}
}
event-options {
destinations {
juniper-junoscope {
archive-sites {
"ftp://anonymous@10.7.0.124/aimdemo";
}
. . .
user@host> request system scripts add <package-name>
user@host> show groups juniper-ais | display commit-scripts
user@host> show configuration groups juniper-ais | display commit-scripts
system {
scripts {
commit {
allow-transients;
file jais-activate-scripts.slax {
optional;
}
}
}
}
event-options {
event-script {
file problem-event-pfecrash.slax;
file problem-event-dcrash.slax;
file intelligence-event-main.slax;
file SPD_EVLIB_CREATE_FAILURE.slax;
file SPD_DAEMONIZE_FAILED.slax;
. . .}
destinations {
juniper-junoscope {
archive-sites {
"ftp://anonymous@10.7.0.124/aidemo";
}
}
}
}