Miroslav Suchý wrote:
The question is what benefit will this bring you beyond simple
inventory. You could not monitor it anyway. Well you can do only remote
probes like ping, traceroute etc. but all that you can do with any other
machine record as parameter of nearly all probes are hostname (which if
left empty is set to hostname of that machine).
Not sure if somebody will be willing to write equivalent of rhnmd for
Windows.

I assumed that the only things it could do right out of the gate were inventory and remote monitoring stuff. Then I realized, if I were to play around with the WMI Python stuff, and learn a bit about how rhnmd did it's communications, I might be able to duplicate a few of the Linux based monitoring metrics. I know it seems like a daunting task, but I was pretty surprised how easy it was to just get the basic stuff going in this proof of concept client. So I was thinking it might not be that hard to get some of that stuff working.

I like it. This script will need some love - at least ability to specify
activation key on command line and not hard code. If it will be usefull
for somebody (and definitely it will), we can distribute it. Although it
will be on bottom of our priorities. So if you are willing to work on it
and maintain it, go on.

If you polish it I'm willing to accept it. What I would like to see
before accepting it:

- separate README file, with install instructions
- not hardcoded activation key
- do not use ~/rhn_sysid but rather ~/systemid so we are more consistent
- I would like to be more consistent with rhnreg_ks or rhn_register in
both naming of the script and accepted parameters.
- put in header license you choosed for this script (GPLv2 is prefered,
but it is up to you).


I'll definitely get to polishing it up now that I know it's something one of the devs thinks is useful. I really only put it together as a "I wonder if this will work" sort of idea. Then when it did, my buddy suggested I ping it off you guys. I'll run through your list and fix the stuff up though. I might even wrap a NSIS installer around it, python, and PyOpenSSL just for good measure.

--
Jason


_______________________________________________
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel

Reply via email to