- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Script Banner Alcatel Timeout
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
08-21-2017 08:18 AM
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
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
08-23-2017 08:07 AM
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-