Hi Pavel,

The "trunk" should not be considered a safe place. But it is helpful for people to test it on a regular basis: especially those with promised fixes!

To install on the trunk, check out the "inst" directory from subversion

   $ cd somewhere/not/in/$ZENHOME
   $ svn co http://dev.zenoss.org/svn/trunk/inst
   $ cd inst
   $ ./install.sh

To "upgrade" from a tarball release to a subversion release is trickier. Here are the basic steps

# stop zenoss
   $ zenoss stop
# backup the zeo database
   $ cd $ZENHOME ; tar -czvf /tmp/backup.tar.gz var
# build from the svn inst tree
   $ cd /to/your/svn/inst
# (scary)
   $ rm -rf $ZENHOME
   $ ./install.sh
   ... many steps later

# stop the limited zenoss started by the installer
   $ zenoss stop
# recover the Zeo database
   $ cd $ZENHOME ; tar -xzvf /tmp/backup.tar.gz
# start the zeo database
   $ zeoctl start
# update your data to the current data structures: test run
   $ zenmigrate run -v 10
# really update your data
   $ zenmigrate run -v 10 --commit
#  restart all the beasts
   $ zenoss start

I didn't actually test all those steps; be careful!

-Eric

Chlupáček Pavel wrote:
Eric can I just get updated on how the "trunk" process works? Is it somehwere described 
(i.e. when anwhat can be "safelly" dowloaded /and/or patched?

p.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Eric Newton
Sent: 13. října 2006 14:46
To: General discussion of using zenoss system
Subject: [Spam] Re: [zenoss-users] Event storage parsing problem?

Hi Pavel,

This is not fixed in 22.4, but it is fixed in the trunk. Here's the changeset if you want to patch it:

    http://dev.zenoss.org/trac/changeset/2096

-Eric

Chlupáček Pavel wrote:
Looks like another bug - seems there is some problem between unicode /latin1 
transaltion. Is it solved in post 22.4 release, or shall I patch it?
P. # DEBUG:zen.Events:insert into status set Location='/cz/prague/sitel',prodState=1000,firstTime=1160633925.276,severity=4,component='zentrap',DeviceGroups='|/oss',summary='zentrap stopped',dedupid='nms01.viphone.cz|zentrap|/App/Stop||4|zentrap stopped',manager='nms01.viphone.cz',DeviceClass='/Server/Linux',device='nms01.viphone.cz',eventClass='/App/Stop',lastTime=1160633925.276,Systems='|/viphone',message='zentrap stopped',eventKey='',evid='0a2e41f4347958c5ffff663' on duplicate key update prodState=1000,summary='zentrap stopped',count=count+1,lastTime=1160633925.276: --> 1
DEBUG:zen.Events:DELETE FROM status WHERE clearid IS NOT NULL: --> 0
[EMAIL PROTECTED] ~]# [EMAIL PROTECTED] ~]# vi res,re
DEBUG:zen.ZenTrap:now trying to get oid resolved 1.3.6.1.4.1.19631.1.1.1.4
DEBUG:zen.ZenTrap:name received is DEBUG:zen.ZenTrap:now trying to get oid resolved 1.3.6.1.4.1.19631.1.1.1
DEBUG:zen.ZenTrap:now trying to get oid resolved 1.3.6.1.4.1.19631.1.1.1.4
DEBUG:zen.ZenTrap:name received is
DEBUG:zen.ZenTrap:now trying to get oid resolved 1.3.6.1.4.1.19631.1.1.1
DEBUG:zen.ZenTrap:now trying to get oid resolved 1.3.6.1.4.1.19631.1.1.1
DEBUG:zen.ZenTrap:snmp trap 1.3.6.1.4.1.19631.1.1.2 from cs.viphone.cz
DEBUG:zen.ZenTrap:creating event object now...
init done
DEBUG:zen.Events:lookup eventClassKey:1.3.6.1.4.1.19631.1.1.2
DEBUG:zen.Events:match on:/Events/App/Reload/instances/defaultmapping
DEBUG:zen.Events:No EventClass matched
Traceback (most recent call last):
  File "/usr/local/lib/python2.4/threading.py", line 442, in __bootstrap
    self.run()
  File "/usr/local/lib/python2.4/threading.py", line 422, in run
    self.__target(*self.__args, **self.__kwargs)
--- <exception caught here> ---
  File "srv/zenoss/lib/python/twisted/python/threadpool.py", line 148, in _worke
r
  File "srv/zenoss/lib/python/twisted/python/context.py", line 59, in callWithCo
ntext
  File "srv/zenoss/lib/python/twisted/python/context.py", line 37, in callWithCo
ntext
  File "/srv/zenoss/Products/ZenEvents/EventServer.py", line 89, in run
    self.doHandleRequest(*args)
  File "/srv/zenoss/Products/ZenEvents/zentrap.py", line 198, in doHandleRequest
    self.sendEvent(ev)
  File "/srv/zenoss/Products/ZenEvents/EventServer.py", line 96, in sendEvent
    self.zem.sendEvent(evt)
  File "/srv/zenoss/Products/ZenEvents/MySqlSendEvent.py", line 87, in sendEvent
    self.doSendEvent(event, db)
  File "/srv/zenoss/Products/ZenEvents/MySqlSendEvent.py", line 111, in doSendEv
ent
    execute(curs, self.buildDetailInsert(evid, detaildata))
  File "/srv/zenoss/Products/ZenEvents/MySqlSendEvent.py", line 239, in buildDet
ailInsert
    value = self.escape(value)
  File "/srv/zenoss/Products/ZenEvents/MySqlSendEvent.py", line 299, in escape
    return _mysql.escape_string(value.encode('iso-8859-1'))
exceptions.UnicodeDecodeError: 'ascii' codec can't decode byte 0xd6 in position
1: ordinal not in range(128)

_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to