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
>
> _______________________________________________
> zenoss-users mailing list
> [email protected]
> http://lists.zenoss.org/mailman/listinfo/zenoss-users
>
>
> _______________________________________________
> zenoss-users mailing list
> [email protected]
> http://lists.zenoss.org/mailman/listinfo/zenoss-users

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


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

Reply via email to