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

Brian Collins brianc at sedata.com
Fri Jul 6 17:38:18 UTC 2012


> > 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.

Also, you can use the monitoring features, IIRC, to track that information. However, I cannot say for certain as I'm not running SW currently; we use Satellite but do not use the monitoring feature. 

Brian Collins
Sr. Systems Engineer
Southeastern Data Cooperative









More information about the Spacewalk-list mailing list