Reply

Script Banner Alcatel Timeout

Techie
Posts: 7
2303     0

Hello,

 

I have a CCS script where I check the content banner of Alcatel device, because the banner is not on the config file.

But the job failed with a Timeout waiting for device, when I launch the action-command: view "switch/banner.txt"

I try the "Script-Timeout: 240" but is not working either.

 

Does anybody know, how I could fix this?

 

 

Script-Filter:
    true
    
Script-Variables:
    $createIssue boolean

########################################################################

Action:
    Show Banner
    
Action-Commands: {$vendor eq "Alcatel"}
    view switch/banner.txt
    SET : $createIssue = true

    Output-Triggers:
    Get Banner
    Check Banner

########################################################################

Trigger:
    Get Banner
Trigger-Variables:
    $banner /Authorised\s*users\s*Only/
Trigger-Template:
    [[$banner]]
Trigger-Commands: {$banner ne ""}
    SET : $createIssue = false

########################################################################
Issue:
    Check Banner
Issue-ID:
    Invalid_Banner
Issue-Severity:
    Info
Issue-Filter:
    $createIssue like /true/
Issue-Details:
    IP $IPAddress
    Name $name
    Model $model
    Type $type
    Version $version

 

 

Thanks,

Dam

Re: Script Banner Alcatel Timeout

Authority
Posts: 32
2304     0

 

Does the "view <file>" command generate any type of prompt that needs to be bypassed? 

 

If a single command causes a CCS script to timeout like this, it commonly means that NetMRI is not seeing the expected device prompt after the command executes. 

 

Can you provide a snippet of a session log showing this command being run manually, and all of the resulting output?

 

-Marc-

Showing results for 
Search instead for 
Did you mean: 

Recommended for You