Advertisement
Guest User

Untitled

a guest
Sep 5th, 2013
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.74 KB | None | 0 0
  1. 2013-09-05 22:15:40,931 script Cisco.IOS.get_cdp_neighbors(cct01-med-lskazka)
  2. 2013-09-05 22:15:43,065 script(Cisco.IOS.get_version,cct01-med-lskazka,**{}) failed: Cancelled
  3. 2013-09-05 22:15:43,067 Late answer for map task 42832225 is ignored
  4. 2013-09-05 22:15:50,419 UNHANDLED EXCEPTION (2013-09-05 22:15:50.382320)
  5. Working directory: /opt/noc
  6. <class 'bson.errors.InvalidStringData'>
  7. strings in documents must be valid UTF-8
  8. START OF TRACEBACK
  9. ------------------------------------------------------------------------
  10. File: /opt/noc/lib/python2.6/site-packages/pymongo/collection.py (Line: 357)
  11. Function: insert
  12. 350 if manipulate:
  13. 351 docs = [self.__database._fix_incoming(doc, self) for doc in docs]
  14. 352
  15. 353 safe, options = self._get_write_mode(safe, **kwargs)
  16. 354 self.__database.connection._send_message(
  17. 355 message.insert(self.__full_name, docs,
  18. 356 check_keys, safe, options,
  19. 357 ==> continue_on_error, self.__uuid_subtype), safe)
  20. 358
  21. 359 ids = [doc.get("_id", None) for doc in docs]
  22. 360 return return_one and ids[0] or ids
  23. 361
  24. 362 def update(self, spec, document, upsert=False, manipulate=False,
  25. 363 safe=None, multi=False, check_keys=True, **kwargs):
  26. Variables:
  27. safe = True
  28. check_keys = True
  29. docs =
  30. [{'_id': ObjectId('5228ca567e85c95b00d98e56'),
  31. 'log': [],
  32. 'managed_object': 167,
  33. 'raw_vars': {'collector': '77.40.0.12:514',
  34. 'message': 'Sep 5 2013 18:20:42 CENTR-AGG-1 %%01MCAST/3/ENTRY(l)[190458]:Failed to set forwarding table(group ip= 233.99.61.200,group mac=,s
  35. ource ip=0.0.0.0 in-VlanID=3111) in switch board(SLOTID=0) .\xa3TThe operation is DEL and the result is 22.',
  36. 'source': 'syslog'},
  37. 'timestamp': datetime.datetime(2013, 9, 5, 22, 15, 50)}]
  38. doc =
  39. {'_id': ObjectId('5228ca567e85c95b00d98e56'),
  40. 'log': [],
  41. 'managed_object': 167,
  42. 'raw_vars': {'collector': '77.40.0.12:514',
  43. 'message': 'Sep 5 2013 18:20:42 CENTR-AGG-1 %%01MCAST/3/ENTRY(l)[190458]:Failed to set forwarding table(group ip= 233.99.61.200,group mac=,so
  44. urce ip=0.0.0.0 in-VlanID=3111) in switch board(SLOTID=0) .\xa3TThe operation is DEL and the result is 22.',
  45. 'source': 'syslog'},
  46. 'timestamp': datetime.datetime(2013, 9, 5, 22, 15, 50)}
  47. self =
  48. Collection(Database(Connection('localhost', 27017), u'noc'), u'noc.events.new')
  49. kwargs = {}
  50. continue_on_error = False
  51. return_one = True
  52. doc_or_docs =
  53. {'_id': ObjectId('5228ca567e85c95b00d98e56'),
  54. 'log': [],
  55. 'managed_object': 167,
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement