[Spacewalk-list] Retrieve uptime via the API

Brandon Galbraith brandon.galbraith at gmail.com
Fri Jul 24 16:29:37 UTC 2009


Luis,

If someone responds offlist, or you find out, could you let me know? I'm
looking for a solution to this as well.

Thanks!
-brandon

On Fri, Jul 24, 2009 at 11:24 AM, Luis Garcia <luis.garciavega at gmail.com>wrote:

> Hiya Spacewalkers,
>
> Is there a way, via the api, to retrieve the uptime of a particular
> system?  I've searched the system,  system.config, system.custominfo
> and system.search documentation,  but I wasn't able to find anything.
>
> I don't need a fancy date or anything. just the numbers of days up would
> work.
>
> Reading the comments on the backend/server/handlers/xmlrpc/queue.py
> file, it seems like the system sends the uptime to the spacewalk
> server, and then the server calculates the actual date and time of the
> last reboot.
>
> Any Ideas?
>
> Thanks,
> ~Luis
>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list
>



-- 
Brandon Galbraith
Mobile: 630.400.6992
FNAL: 630.840.2141
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20090724/332b9c07/attachment.htm>


More information about the Spacewalk-list mailing list