Funny thing about that... I'm in the Zenoss dashboard and I don't see an
"about".

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Duncan McGreggor
Sent: Monday, October 16, 2006 9:29 AM
To: General discussion of using zenoss system
Subject: Re: [zenoss-users] Zenoss version


On Oct 16, 2006, at 7:03 AM, Jason Loven wrote:

> Forgive me for asking what seems like it should be very obvious.  
> Where do I find the version of Zenoss running on a specific system?
If you are running from trunk, there are several ways to get this  
information:

1) In the UI, navigate to the "About" page, and then click on the  
"Versions" tab
2) In zendmd:

 > > > dmd.About.getAllVersions()

That one will return all version info as a list of dicts. If you just  
want Zenoss' version, you could do this in zendmd:

 > > > [ x for x in dmd.About.getAllVersions() if x['header'] ==  
'Zenoss' ][0]['data']

But if you're in the dmd already, and you want specific version info,  
it might just be better to do the last option...

3) Access the information using the Zenoss version object. In zendmd:

 > > > from Products.ZenModel.version import Current
 > > > Current.zenoss.short()
'0.23.0'
 > > > Current.zenoss.long()
'Zenoss 0.23.0'
 > > > Current.zenoss.full()
'Zenoss 0.23.0 r2416'

Note that there are version objects in Current for most of Zenoss'  
components.
_______________________________________________
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