Thanks Sven,

We are seeking to improve the internationalization and event/configuration.

-Eric

Schuran, Sven wrote:
Hi,

Found error copying from worddocument to Zenoss ist doing \x96H.
Must be -H. I tried writing it by hand and everything seems to be fine.

Sven


-----Ursprüngliche Nachricht-----
Von: Schuran, Sven Gesendet: Montag, 7. August 2006 19:39
An: General discussion of using zenoss system
Betreff: AW: AW: AW: [zenoss-users] Zenagios config [trunk 2085]

Hi,
Tried with trunk 2085.

Welcome to zenoss dmd command shell!
use zhelp() to list commands
login('sschuran')
dmd.Monitors.Performance.localhost.getNagiosCmds()
[('www.xxxxx.de', 'xx.xx.xx.xx', 22, '', '', 10.0, 10.0, [(False, 60, '', 
'/Status/Nagios', '', 3, '/opt/zenoss/zenoss/libexec/check_http \x96H 
xxx.xxxx.xx-u /zport/dmd')])]
Sven

-----Ursprüngliche Nachricht-----
Von: Schuran, Sven
Gesendet: Montag, 7. August 2006 17:59
An: General discussion of using zenoss system
Betreff: AW: AW: AW: [zenoss-users] Zenagios config

Hm,

Tried a user, is working now.

But I think we have to work around the router problem first, cause I got this 
error, But the system router_wz had been deleted, but is still somewhere .

  File "<stdin>", line 1, in ?
  File "/opt/zenoss/zenoss/Products/ZenModel/PerformanceConf.py", line 167, in 
getNagiosCmds
    dev = dev.primaryAq()
  File "/opt/zenoss/zenoss/Products/ZenRelations/PrimaryPathObjectManager.py", 
line 65, in primaryAq
    return app.unrestrictedTraverse(self.getPrimaryPath())
  File "/opt/zenoss/zenoss/lib/python/OFS/Traversable.py", line 221, in 
unrestrictedTraverse
    next=obj[name]
  File "/opt/zenoss/zenoss/lib/python/OFS/ObjectManager.py", line 713, in 
__getitem__
    raise KeyError, key
KeyError: 'router_wz'

Sven
-----Ursprüngliche Nachricht-----
Von: Erik A. Dahl [mailto:[EMAIL PROTECTED]
Gesendet: Montag, 7. August 2006 17:47
An: General discussion of using zenoss system
Betreff: Re: AW: AW: [zenoss-users] Zenagios config

Sven,

It can't be admin.  Make a user like zenoss from the zenoss UI.

-EAD

On Aug 7, 2006, at 10:48 AM, Schuran, Sven wrote:

Hi,

What do you mean with:  >>> login('VALID_ZOPE_USER')

I tried login(admin) and login('admin'), getting somethin like this.
login('admin')
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
File "/opt/zenoss/zenoss/Products/ZenModel/zendmd.py", line 64, in login
    user = user.__of__(uf)
AttributeError: 'NoneType' object has no attribute '__of__'

Sven


-----Ursprüngliche Nachricht-----
Von: Erik A. Dahl [mailto:[EMAIL PROTECTED]
Gesendet: Montag, 7. August 2006 16:26
An: General discussion of using zenoss system
Betreff: Re: AW: [zenoss-users] Zenagios config

Sven,

Can you try the following in zendmd?

login('VALID_ZOPE_USER')
dmd.Monitors.Performance.localhost.getNagiosCmds()
See if you get a better trace from this.

-EAD

On Aug 7, 2006, at 9:48 AM, Schuran, Sven wrote:

Hi,

Sure this is acsiicode based error?
Seems to be zenagios is not able to read the configuration.

Sven


-----Ursprüngliche Nachricht-----
Von: Erik A. Dahl [mailto:[EMAIL PROTECTED]
Gesendet: Sonntag, 6. August 2006 04:08
An: General discussion of using zenoss system
Betreff: Re: [zenoss-users] Zenagios config

Hum,

Seems like there is a funky (non-ascii) character in the xml-rpc communication. We clearly need to get on this its causing lots of problems!

-EAD

On Aug 5, 2006, at 11:09 AM, Schuran, Sven wrote:

Hi,

I tried to add a
"check_http -H ${devname}-u /zport/dmd"

When a nagios command is present the following error appears, when starting zennagios.

Sven




################
2006-08-05 17:06:10 ERROR zen.zenagios: not well-formed (invalid
token):
line 22, column 53
Traceback (most recent call last):
File "/opt/zenoss/zenoss/Products/ZenStatus/zenagios.py", line 438, in doFetchConfig
    self.updateConfig(driver.next())
File "/opt/zenoss/zenoss/Products/ZenUtils/Driver.py", line 51, in next
    raise ex
ExpatError: not well-formed (invalid token): line 22, column 53
2006-08-05 17:06:10 ERROR zen.zenagios: not well-formed (invalid
token):
line 22, column 53
Traceback (most recent call last):
File "/opt/zenoss/zenoss/Products/ZenStatus/zenagios.py", line 448, in start
    driver.next()
File "/opt/zenoss/zenoss/Products/ZenUtils/Driver.py", line 51, in next
    raise ex
ExpatError: not well-formed (invalid token): line 22, column 53
2006-08-05 17:06:10 ERROR zen.zenagios: Error: Traceback (most recent call last):
Failure: xml.parsers.expat.ExpatError: not well-formed (invalid
token):
line 22, column 53

2006-08-05 17:06:22 INFO zen.zenagios: delete pidfile /opt/zenoss/zenoss/var/zenagios.py.pid
2006-08-05 17:06:22 INFO zen.zenagios: Daemon zenagios shutting down
2006-08-05 17:06:28 ERROR zen.zenagios: not well-formed (invalid
token):
line 22, column 53
Traceback (most recent call last):
File "/opt/zenoss/zenoss/Products/ZenStatus/zenagios.py", line 438, in doFetchConfig
    self.updateConfig(driver.next())
File "/opt/zenoss/zenoss/Products/ZenUtils/Driver.py", line 51, in next
    raise ex
ExpatError: not well-formed (invalid token): line 22, column 53
2006-08-05 17:06:28 ERROR zen.zenagios: not well-formed (invalid
token):
line 22, column 53
Traceback (most recent call last):
File "/opt/zenoss/zenoss/Products/ZenStatus/zenagios.py", line 448, in start
    driver.next()
File "/opt/zenoss/zenoss/Products/ZenUtils/Driver.py", line 51, in next
    raise ex
ExpatError: not well-formed (invalid token): line 22, column 53
2006-08-05 17:06:28 ERROR zen.zenagios: Error: Traceback (most recent call last):
Failure: xml.parsers.expat.ExpatError: not well-formed (invalid
token):
line 22, column 53

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

Reply via email to