[hobbit] Nortel EAI script

Hubbard, Greg L greg.hubbard at eds.com
Thu Dec 13 20:51:54 CET 2007


This is why people buy tools like Netcool.  
 
To monitor this, you will need to write a daemon that will start the
connection, and then parse eash response as it comes back, or maybe just
log it.  Nortel should have a manual available that tells you what
fields are being sent.  
 
You can probably write a logger with a few lines of Perl -- just don't
ask me to how do it.  There are probably 12 CPAN modules to help you do
this.  But if you could get a logger, then you could have Hobbit watch
the log for interesting phrases like the "Overhead Link Failure" that
appears in the bottom of your output.
 
GLH


________________________________

	From: Joshua Krause [mailto:forums at triadbiz.rr.com] 
	Sent: Thursday, December 13, 2007 1:05 PM
	To: hobbit at hswn.dk
	Subject: [hobbit] Nortel EAI script
	
	

	I have an OMEA server and my company ordered an option tagged
EAI which stands for "External Alarm Interface".  It requires a straight
telnet session to the server and then sends out ASCII txt.  I am curious
if anyone has dealt with something similar to this or has any ideas
about it.  Listed below is an example of the data received. 

	 

	
keep_aliveenroll_ne,172.31.128.50,0,11,154,4,5,SGSONC-OM5200-001,1enroll
_ne,172.31.128.50,0,12,154,4,5,SGSONC-OM5200-002,1enroll_ne,172.31.128.5
0,0,13,154,4,5,HGPTNC-OM5200-002,1enroll_ne,172.31.128.50,0,15,154,4,5,A
RCHNC-OM5200-001,1enroll_ne,172.31.128.50,0,16,154,4,5,SAPPNC-OM5200-001
,1enroll_ne,172.31.128.50,0,17,154,4,5,ASBONC-OM5200-001,1enroll_ne,172.
31.128.50,0,18,154,4,5,STCYNC-OM5200-001,1enroll_ne,172.31.128.50,0,19,1
54,4,5,HGPTNC-OM5200-001,1enroll_ne,172.31.128.50,0,20,154,4,5,SGEANC-OM
5200-001,1enroll_ne,172.31.128.50,0,21,154,4,5,SGEANC-OM5200-002,1enroll
_ne,172.31.128.50,0,22,154,4,5,MAPLNC-OM5200-001,1enroll_ne,172.31.128.5
0,0,23,154,4,5,BLMTNC-OM5200-001,1enroll_ne,172.31.128.50,0,24,154,4,5,G
LNCNC-OM5200-001,1enroll_ne,172.31.128.50,0,25,154,4,5,LESTNC-OM5200-001
,1enroll_ne,172.31.128.50,0,26,429,4,5,SGEANC-CPL-001,1enroll_ne,172.31.
128.50,0,27,429,4,5,SGSONC-CPL-001,1enroll_ne,172.31.128.50,0,28,429,4,5
,SGSONC-CPL-002,1enroll_ne,172.31.128.50,0,29,429,4,5,SAPPNC-CPL-001,1en
roll_ne,172.31.128.50,0,30,429,4,5,SAPPNC-CPL-002,1enroll_ne,172.31.128.
50,0,31,429,4,5,HGPTNC-CPL-001,1enroll_ne,172.31.128.50,0,32,429,4,5,HGP
TNC-CPL-002,1enroll_ne,172.31.128.50,0,33,429,4,5,ARCHNC-CPL-001,1enroll
_ne,172.31.128.50,0,34,429,4,5,ARCHNC-CPL-002,1enroll_ne,172.31.128.50,0
,35,429,4,5,ASBONC-CPL-001,1enroll_ne,172.31.128.50,0,36,429,4,5,ASBONC-
CPL-002,1enroll_ne,172.31.128.50,0,37,429,4,5,STCYNC-CPL-001,1enroll_ne,
172.31.128.50,0,38,429,4,5,STCYNC-CPL-002,1enroll_ne,172.31.128.50,0,39,
429,4,5,MAPLNC-CPL-001,1enroll_ne,172.31.128.50,0,40,429,4,5,MAPLNC-CPL-
002,1enroll_ne,172.31.128.50,0,41,429,4,5,LESTNC-CPL-001,1enroll_ne,172.
31.128.50,0,42,429,4,5,LESTNC-CPL-002,1enroll_ne,172.31.128.50,0,43,429,
4,5,BLMTNC-CPL-001,1enroll_ne,172.31.128.50,0,44,429,4,5,BLMTNC-CPL-002,
1enroll_ne,172.31.128.50,0,45,429,4,5,GLNCNC-CPL-001,1enroll_ne,172.31.1
28.50,0,46,429,4,5,GLNCNC-CPL-002,1enroll_ne,172.31.128.50,0,49,429,4,5,
SGEANC-CPL-002,1enroll_ne,172.31.128.50,0,50,154,4,5,SGNONC-OM5200-001,1
enroll_ne,172.31.128.50,0,51,154,4,5,SGNONC-OM5200-002,1enroll_ne,172.31
.128.50,0,52,154,4,5,WSRGNC-OM5200-001,1enroll_ne,172.31.128.50,0,53,154
,4,5,WENTNC-OM5200-001,1enroll_ne,172.31.128.50,0,54,154,4,5,NRTHNC-OM52
00-001,1enroll_ne,172.31.128.50,0,55,154,4,5,EASTNC-OM5200-001,1enroll_n
e,172.31.128.50,0,59,429,4,5,WSRGNC-CPL-001,1enroll_ne,172.31.128.50,0,6
0,429,4,5,WSRGNC-CPL-002,1enroll_ne,172.31.128.50,0,61,429,4,5,SGNONC-CP
L-001,1enroll_ne,172.31.128.50,0,10,429,4,5,SGNONC-CPL-002,1enroll_ne,17
2.31.128.50,0,83,154,4,5,SGWENC-OM5200-001,1enroll_ne,172.31.128.50,0,66
,154,4,5,SGWENC-OM5200-002,1enroll_ne,172.31.128.50,0,67,154,4,5,SGWENC-
OM5200-003,1enroll_ne,172.31.128.50,0,68,154,4,5,KERNNC-OM5200-001,1enro
ll_ne,172.31.128.50,0,69,154,4,5,THLXNC-OM5200-001,1enroll_ne,172.31.128
.50,0,70,154,4,5,RURLNC-OM5200-001,1enroll_ne,172.31.128.50,0,71,154,4,5
,YADKNC-OM5200-001,1enroll_ne,172.31.128.50,0,72,154,4,5,STOKNC-OM5200-0
01,1enroll_ne,172.31.128.50,0,73,154,4,5,WTSMNC-OM5200-001,1enroll_ne,17
2.31.128.50,0,74,154,4,5,RURLNC-OM5200-002,1enroll_ne,172.31.128.50,0,75
,154,4,5,SRRYNC-OM5200-001,1enroll_ne,172.31.128.50,0,76,154,4,5,BERNNC-
OM5200AMP-001,1enroll_ne,172.31.128.50,0,77,154,4,5,NDAVNC-OM5200-001,1e
nroll_ne,172.31.128.50,0,79,154,4,5,MOCKSPUR-OM5200-001,1enroll_ne,172.3
1.128.50,0,80,154,4,5,WTSMNC-OM5200-002,1enroll_ne,172.31.128.50,0,81,15
4,4,5,KERNNC-OM5200-002,1enroll_ne,172.31.128.50,0,84,429,4,5,SGWENC-CPL
-001,1enroll_ne,172.31.128.50,0,85,429,4,5,SGWENC-CPL-002,1enroll_ne,172
.31.128.50,0,86,429,4,5,NRTHNC-CPL-001,1enroll_ne,172.31.128.50,0,87,429
,4,5,NRTHNC-CPL-002,1enroll_ne,172.31.128.50,0,88,429,4,5,WENTNC-CPL-001
,1enroll_ne,172.31.128.50,0,89,429,4,5,WENTNC-CPL-002,1enroll_ne,172.31.
128.50,0,90,429,4,5,EASTNC-CPL-001,1enroll_ne,172.31.128.50,0,91,429,4,5
,EASTNC-CPL-002,1enroll_ne,172.31.128.50,0,93,429,4,5,KERNNC-CPL-001,1en
roll_ne,172.31.128.50,0,94,429,4,5,KERNNC-CPL-002,1enroll_ne,172.31.128.
50,0,95,429,4,5,RURLNC-CPL-001,1enroll_ne,172.31.128.50,0,96,429,4,5,RUR
LNC-CPL-002,1enroll_ne,172.31.128.50,0,99,154,4,5,SGWENC-OM5200-004,1enr
oll_ne,172.31.128.50,0,100,154,4,5,SGSONC-OM5200-003,1enroll_ne,172.31.1
28.50,0,101,428,4,5,HGPTNC-CPLAMP-001,1enroll_ne,172.31.128.50,0,102,429
,4,5,STOKNC-CPL-001,1enroll_ne,172.31.128.50,0,103,429,4,5,STOKNC-CPL-00
2,1enroll_ne,172.31.128.50,0,104,429,4,5,SRRYNC-CPL-001,1enroll_ne,172.3
1.128.50,0,105,429,4,5,WTSMNC-CPL-001,1enroll_ne,172.31.128.50,0,106,429
,4,5,WTSMNC-CPL-003,1enroll_ne,172.31.128.50,0,107,429,4,5,YADKNC-CPL-00
1,1enroll_ne,172.31.128.50,0,108,429,4,5,YADKNC-CPL-002,1enroll_ne,172.3
1.128.50,0,109,429,4,5,RURLNC-CPL-003,1enroll_ne,172.31.128.50,0,111,429
,4,5,SRRYNC-CPL-002,1enroll_ne,172.31.128.50,0,112,429,4,5,BERNNC-CPLAMP
-001,1enroll_ne,172.31.128.50,0,113,429,4,5,BERNNC-CPLAMP-002,1enroll_ne
,172.31.128.50,0,114,429,4,5,THLXNC-CPL-001,1enroll_ne,172.31.128.50,0,1
15,429,4,5,THLXNC-CPL-002,1enroll_ne,172.31.128.50,0,116,429,4,5,NDAVNC-
CPL-001,1enroll_ne,172.31.128.50,0,117,429,4,5,NDAVNC-CPL-002,1enroll_ne
,172.31.128.50,0,118,429,4,5,WTSMNC-CPL-002,1enroll_ne,172.31.128.50,0,1
21,154,4,5,BERNNC-OM5200-002,1enroll_ne,172.31.128.50,0,122,154,4,5,ELKN
SPUR-OM5200-001,1enroll_ne,172.31.128.50,0,123,154,4,5,SRRYNC-OM5200-002
,1enroll_ne,172.31.128.50,0,124,154,4,5,AIRYSPUR-OM5200-001,1enroll_ne,1
72.31.128.50,0,125,429,4,5,MOCKSPUR-CPL-001,1enroll_ne,172.31.128.50,0,1
26,429,4,5,MOCKSPUR-CPL-002,1enroll_ne,172.31.128.50,0,127,429,4,5,ELKNS
PUR-CPL-001,1enroll_ne,172.31.128.50,0,128,429,4,5,ELKNSPUR-CPL-002,1enr
oll_ne,172.31.128.50,0,130,429,4,5,AIRYSPUR-CPL-001,1enroll_ne,172.31.12
8.50,0,132,429,4,5,AIRYSPUR-CPL-002,1enroll_ne,172.31.128.50,0,120,154,4
,5,WTSMNC-OM5200-003,1enroll_ne,172.31.128.50,0,136,429,4,5,SRRYSPUR-CPL
-002,1enroll_ne,172.31.128.50,0,137,429,4,5,BERNSPUR-CPL-001,1enroll_ne,
172.31.128.50,0,138,429,4,5,BERNSPUR-CPL-002,1enroll_ne,172.31.128.50,0,
140,429,4,5,SRRYSPUR-CPL-001,1enroll_ne,172.31.128.50,0,141,154,4,5,THLX
NC-OM5200-002,1enroll_ne,172.31.128.50,0,142,154,4,5,SGWENC-OM5200-005,1
enroll_ne,172.31.128.50,0,64,154,4,5,SGNONC-OM5200-003,1enroll_ne,172.31
.128.50,0,1,11,5,5,spg_omea,1raise_alarm,172.31.128.50,0,52,1196975993,8
9000104,0,2,1,0,OHCHN Shelf:1 Slot:4 Port:1 AID:4-1-OH-OCLD Dir:ZA
Lyr:PPP,1,1,Overhead Link
Failure,OM5000-12-3,1,4,,,N/A,0,N/A,0,0raise_alarm,172.31.128.50,0,52,11
96974817,89000115,0,2,1,0,OHCHN Shelf:1 Slot:15 Port:1 AID:15-1-OH-OCLD
Dir:ZA Lyr:PPP,1,1,Overhead Link
Failure,OM5000-12-3,1,15,,,N/A,0,N/A,0,0

	 

	You need to have the telnet session stay up 24/7 in order to get
the data.  

	 

	Thanks in Advance,

	 

	Josh

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20071213/d9415495/attachment.html>


More information about the Xymon mailing list