[Spacewalk-list] Automatic receive custom information from the SW clients.

Brian Collins brianc at sedata.com
Fri Jul 6 17:23:41 UTC 2012


> Hi all!
> 
> Is there a way, to  get custom information (i.e. df -h) from client machines
> when you start rhn_check(or in another way) and write it, for example, in
> "Key" in the "Custom Info"?

You could write a Perl/Python/PHP script that runs from cron and uploads that data using the API.  NOTE: You will accordingly have to keep SW login credentials stored either in that script or in a config file on that client machine, if you go that route.

Optionally, you could modify rhn_check or rhn-profile-sync to call that script rather than having cron run it.

Brian Collins
Sr. Systems Engineer
Southeastern Data Cooperative






More information about the Spacewalk-list mailing list