Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Verifying Activation of AI-Scripts

    To view the list of SLAX files installed on a device:

    • Run the show configuration groups juniper-ais|display commit-scripts command.

      The following is a sample of the output of AI-Scripts Release 4.1R10 and earlier installed on a device:

      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;
        file RPD_TASK_FORK.slax;
        . . . }
        destinations {
        juniper-junoscope {
        archive-sites {
        "ftp://anonymous@10.7.0.124/aimdemo";
          }
         }
        }
      }
      

      The following is a sample of the output when AI-Scripts Release 5.0R1.0 or later is installed on a device:

      user@host# show configuration groups juniper-ais | display commit-scripts
      system {
        scripts {
              	op {
                  file ais_change_perm.slax;
                  file ais_core_perm.slax;
                  file on-demand.slax;
                  file remove-jais.slax;
                  file ais_arc.slax;
                  file ais-attach-file.slax;
                  file stop-ais-now.slax;
                  file ais_signalSN.slax;
                  file ais_core_chm.slax;
                  file ais_all_chm.slax;
                  file att_signalSN.slax;
                  file ais-rsi-chk.slax;
                  file ais-param-set.slax;
                  file ais-sleep.slax;
                  file ais-error.slax;
                  file ais-health-report.slax;
                  file ais_xfer_jmb.slax;
                  file ais_policy_create.slax;
                  }
                 }
       			}
         event-options {
             event-script {
              max-datasize 128m;
              file intelligence-event-main.slax;
              file bios.slax;
              file phdc.slax;
              file Master-event-struct.slax;
              file Master-event-unstruct.slax;
              file Master-policy-events.slax;
              file User-event-struct.slax;
              file User-event-unstruct.slax;
              file User-policy-events.slax;
              file jais-scripts-add.slax;
          				}
          destinations {
              juniper-aim {
                  archive-sites {
                      /var/tmp/;
                  					}
              					}
          					}
      }
      

      If the AI-Scripts are activated correctly, the event-options or the event-script section must have a long list of *.slax files for versions of AI-Scripts Release 5.0R1 or earlier.

    Modified: 2017-02-01