Python or perl script to use RHNSS APIs
I am roaming around to see if anyone has written any scripts to get memory info out of Satellite server, I wanted to get some template or something I can base my work to get the correct info out.
Responses
Hi Robert, there's some examples of APIs in this discussion area already...
This list is not exhaustive:
https://access.redhat.com/discussions/450023
https://access.redhat.com/discussions/783503
https://access.redhat.com/discussions/688083
https://access.redhat.com/discussions/450023
https://access.redhat.com/discussions/723333
https://access.redhat.com/discussions/1140123
arsa from github https://access.redhat.com/discussions/874773
https://access.redhat.com/discussions/736023
use of spacecmd, command-line api to satellite server
https://access.redhat.com/discussions/470813
Check out the examples there, hopefully this gives you a starting point...
Thanks Robert, let us know how your API script went. Also, give the 'spacecmd' a try. Some info in the links above. If you happen to make an API script that you'd be willing to share, the community would probably appreciate it if you could post it here... Make sure of course to redact things like userids, passwords, domain names etc.
Kind Regards,
Remmele
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
