Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

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

    Sample Perl Script for Incident and Auto Submit Filters

    The following is a sample Perl script for incident and auto submit filters:

    $numArgs = $#ARGV + 1;
    $eventType = $ARGV[0];
    $deviceHostName = $ARGV[1];
    $problemSynopsis = $ARGV[2];
    $problemDescription = $ARGV[3];
    $devicePlatform = $ARGV[4];
    $entity = $ARGV[5];
    $junosVersion = $ARGV[6];
    $eventTime = $ARGV[7];
    $deviceId = $ARGV[8];
    if ("mx-80-sn2" eq $deviceHostName){
    print "\ntrue";
    print "\nfalse";

    Note: Do not change the ARG value assigned to a JMB attribute.

    Modified: 2017-06-14