On Apr 24, 2009, at 6:30 AM, keith wrote:
> Got Zenoss up and running monitoring a bunch of Web servers and now
> want to expand it to monitor other devices/services so to started
> with I decided to use the MySQL zenpack but it's all gone wrone. I
> don;t know if the pack installed correctly originally but I've tried
> to reinstall and un-install the pack but keep getting errors about
> zMySqlUsername.
>
> If I try un-installing it I get....
>
> Type: ValueError
> Value: The property zMySqlUsername does not exist
>
> Traceback (innermost last):
>
> * Module ZPublisher.Publish, line 114, in publish
> * Module ZPublisher.mapply, line 88, in mapply
> * Module ZPublisher.Publish, line 40, in call_object
> * Module Products.ZenModel.ZenPackManager, line 182, in
> manage_removeZenPacks
> * Module Products.ZenUtils.ZenPackCmd, line 791, in RemoveZenPack
> * Module Products.ZenModel.ZenPack, line 225, in remove
> * Module Products.ZenModel.ZenPack, line 286, in removeZProperties
> * Module OFS.PropertyManager, line 215, in _delProperty
>
> ValueError: The property zMySqlUsername does not exist
>
>
> I've tried from the command line but get similar output. could
> someone give me a hand ?
You could probably workaround this by creating the zProperty so the
ZenPack can remove it and be happy. Run "zendmd" as the zenoss user to
get into the >>> shell. Then enter the following commands.
dmd.Devices._setProperty('zMySqlUsername', 'root')
dmd.Devices._setProperty('zMySqlPassword', 'whoknows')
commit()
Then CTRL-D to exit the zendmd shell and try removing the ZenPack again.
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users