Welcome to the VanDyke Software Forums

Join the discussion today!


Go Back   VanDyke Software Forums > Scripting

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 03-19-2020, 07:39 PM
aqelmo aqelmo is offline
Registered User
 
Join Date: Mar 2020
Posts: 6
Unhappy Geting logs from multiple nodes

Hi.

Scripting is not my field so I'm having issues with making a script.

This is the situation: I'm connected to the system and authorized. I want to connect to several RBSs and get alarms from them.

Basically I need to do this on for each node:

Code:
	crt.Screen.Send "amos nodeID" & chr(13)
	crt.Screen.WaitForString "[0m> "
	crt.Screen.Send "alt" & chr(13)
	crt.Screen.WaitForString "[0m> "
	crt.Screen.Send "q" & chr(13)
I know I should be able to load nodes from a host file and then iterate this over that list but the example scripts are way too complicated and when I try to change anything it all fails miserably. I know how to log to separate files but this part is way over my head.

Some help would be appreciated.
Reply With Quote
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 11:00 AM.