Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (dp1
- S'component'
- p2
- S'noc-classifier'
- p3
- sS'source'
- p4
- S'system'
- p5
- sS'traceback'
- p6
- VUNHANDLED EXCEPTION (2014-03-25 15:34:14.632558)\u000aWorking directory: /opt/noc\u000a<type 'exceptions.KeyError'>\u000a'interface'\u000aSTART OF TRACEBACK\u000a-----------------------------------
- -------------------------------------\u000aFile: /opt/noc/fm/handlers/event/link.py (Line: 26)\u000aFunction: oper_down\u000a 19 event.managed_object, i_name, oper_status=True)\u000a
- 20 \u000a 21 \u000a 22 def oper_down(event):\u000a 23 """\u000a 24 Set oper status to down\u000a 25 """\u000a 26 ==> i_name = event.vars["interfa
- ce"]\u000a 27 InterfaceStatus.set_status(\u000a 28 event.managed_object, i_name, oper_status=False)\u000aVariables:\u000a event = <ActiveEvent: 533169b67e85c921
- f213cef3>\u000a------------------------------------------------------------------------\u000aFile: /opt/noc/fm/classifier/__init__.py (Line: 604)\u000aFunction: classify_event\u000a 597
- event.delete()\u000a 598 event = a_event\u000a 599 # Call handlers\u000a 600 if event_class.id in self.handlers:\u000a 601 event_id = event.i
- d\u000a 602 for h in self.handlers[event_class.id]:\u000a 603 try:\u000a 604 ==> h(event)\u000a 605 except:\u000a 606
- error_report()\u000a 607 if event.to_drop:\u000a 608 logging.debug("Event dropped by handler")\u000a 609
- event.id = event_id # Restore event id\u000a 610 event.delete()\u000aVariables:\u000a event = <ActiveEvent: 533169b67e85c921f213cef3>\u000a nea
- rest = None\u000a a_event = <ActiveEvent: 533169b67e85c921f213cef3>\u000a resolved_vars = {'profile': u'Huawei.VRP'}\u000a log = \u000a[<EventLog: 2014-03-25 15:34:
- 14.629893 [N -> A]: Classified as 'Network | Link | Link Down' by rule 'Huawei | VRP | Network | Link | Link Down #1 (SYSLOG)'>]\u000a vars = {}\u000a event_id = ObjectId('
- 533169b67e85c921f213cef3')\u000a h = <function oper_down at 0x6187398>\u000a self = <noc.fm.classifier.Classifier object at 0x4821190>\u000a de = No
- ne\u000a disposable = True\u000a rule = <Rule 'Huawei | VRP | Network | Link | Link Down #1 (SYSLOG)'>\u000a o_id = 29\u000a msg = \u000au'Mar
- 25 2014 11:42:19 Zarubina-AGG-1 %%01IFNET/4/IF_STATE(l)[14144]:Interface XGigabitEthernet0/1/1 has turned into DOWN state.'\u000a suppress = False\u000a pcb = \u000au'mar
- zarubina agg line vtyuserlogin oid a user login userindex username admin userip userchannel vty'\u000a message = \u000au"Classified as 'Network | Link | Link Down' by rule 'Huawei | VRP
- | Network | Link | Link Down #1 (SYSLOG)'"\u000a cb = \u000au'mar zarubina agg ifnet if state l interface xgigabitethernet has turned into down state'\u000a c_vars = \u
- 000a{u'collector': u'77.40.0.12:514',\u000a u'message': u'Mar 25 2014 11:42:19 Zarubina-AGG-1 %%01IFNET/4/IF_STATE(l)[14144]:Interface XGigabitEthernet0/1/1 has turned into DOWN state.',\u000a 'prof
- ile': 'Huawei.VRP',\u000a u'source': u'syslog'}\u000a event_class = <EventClass: Network | Link | Link Down>\u000a name = None\u000a-------------------------------------------
- -----------------------------\u000aEND OF TRACEBACK
- p7
- sS'type'
- p8
- S'Unhandled Exception'
- p9
- sS'ts'
- p10
- I1395747254
- s.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement