Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 2013-09-05 22:15:40,931 script Cisco.IOS.get_cdp_neighbors(cct01-med-lskazka)
- 2013-09-05 22:15:43,065 script(Cisco.IOS.get_version,cct01-med-lskazka,**{}) failed: Cancelled
- 2013-09-05 22:15:43,067 Late answer for map task 42832225 is ignored
- 2013-09-05 22:15:50,419 UNHANDLED EXCEPTION (2013-09-05 22:15:50.382320)
- Working directory: /opt/noc
- <class 'bson.errors.InvalidStringData'>
- strings in documents must be valid UTF-8
- START OF TRACEBACK
- ------------------------------------------------------------------------
- File: /opt/noc/lib/python2.6/site-packages/pymongo/collection.py (Line: 357)
- Function: insert
- 350 if manipulate:
- 351 docs = [self.__database._fix_incoming(doc, self) for doc in docs]
- 352
- 353 safe, options = self._get_write_mode(safe, **kwargs)
- 354 self.__database.connection._send_message(
- 355 message.insert(self.__full_name, docs,
- 356 check_keys, safe, options,
- 357 ==> continue_on_error, self.__uuid_subtype), safe)
- 358
- 359 ids = [doc.get("_id", None) for doc in docs]
- 360 return return_one and ids[0] or ids
- 361
- 362 def update(self, spec, document, upsert=False, manipulate=False,
- 363 safe=None, multi=False, check_keys=True, **kwargs):
- Variables:
- safe = True
- check_keys = True
- docs =
- [{'_id': ObjectId('5228ca567e85c95b00d98e56'),
- 'log': [],
- 'managed_object': 167,
- 'raw_vars': {'collector': '77.40.0.12:514',
- '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
- ource ip=0.0.0.0 in-VlanID=3111) in switch board(SLOTID=0) .\xa3TThe operation is DEL and the result is 22.',
- 'source': 'syslog'},
- 'timestamp': datetime.datetime(2013, 9, 5, 22, 15, 50)}]
- doc =
- {'_id': ObjectId('5228ca567e85c95b00d98e56'),
- 'log': [],
- 'managed_object': 167,
- 'raw_vars': {'collector': '77.40.0.12:514',
- '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
- urce ip=0.0.0.0 in-VlanID=3111) in switch board(SLOTID=0) .\xa3TThe operation is DEL and the result is 22.',
- 'source': 'syslog'},
- 'timestamp': datetime.datetime(2013, 9, 5, 22, 15, 50)}
- self =
- Collection(Database(Connection('localhost', 27017), u'noc'), u'noc.events.new')
- kwargs = {}
- continue_on_error = False
- return_one = True
- doc_or_docs =
- {'_id': ObjectId('5228ca567e85c95b00d98e56'),
- 'log': [],
- 'managed_object': 167,
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement