<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi Will,<br>
<br>
It's quite a bit a time since you replay back to my request. I
would really appreciated if you can help me on this error..<br>
I'm trying to use your perl script which is pretty much is
everything I need it in the nice format you wrote.<br>
<br>
I have installed all the perl dependencies it required, but I'm a
bit confused about "use RHNSession;" on your script.<br>
Do I have to create a file or where do I find it and where it
needs to be placed? I don't quite I understand. If you could help
me on the right direcction<br>
<br>
Can't locate RHNSession.pm in @INC (@INC contains:
/usr/local/lib64/perl5 /usr/local/share/perl5
/usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl
/usr/lib64/perl5 /usr/share/perl5 .) at ./sysreport-rhn.pl line
15.<br>
BEGIN failed--compilation aborted at ./sysreport-rhn.pl line 15.
"This line is <b>use RHNSession;</b>"<br>
<br>
Wouldn't mind share your python inventory script if you could.!<br>
<br>
Thank you very much for you time..<br>
-David<br>
<br>
<br>
On 1/27/2014 7:47 AM, wm-lists wrote:<br>
</div>
<blockquote
cite="mid:CAOAEVK+fdeus7U1+D-wKDNDgk7sfUpOVqsw1=tzk22ObUWqbsQ@mail.gmail.com"
type="cite">
<div dir="ltr">You can make use of the API to write all kinds of
reports. For simple information I'd
suggest /usr/bin/spacewalk-report which has a lot of information
it .
<div>I've published some of my older perl scripts that you are
welcome to check out. They may not be programmatically
correct and I've converted a lot of stuff to python since
writing these, but maybe they'll give you some ideas.</div>
<div><br>
</div>
<div><a moz-do-not-send="true"
href="http://www.nixpeeps.com/wordpress/?p=305">http://www.nixpeeps.com/wordpress/?p=305</a><br>
</div>
<div><br>
</div>
<div>Will</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Sun, Jan 26, 2014 at 6:10 PM, <span
dir="ltr"><<a moz-do-not-send="true"
href="mailto:support@pureview.com" target="_blank">support@pureview.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
I'm wonder if any one in this list already is trying to use
Python API to<br>
interact with spacewalk or RedHat5.4 Satellite server.<br>
What I'm looking for is a script to gather or query the
satellite server<br>
to get all the information on all the server information,
such hardware,<br>
mounting point, interface or ip and etc.<br>
<br>
If anyone know of any project or easy script I would really
appreciated<br>
anyone to guide me to the right direction.<br>
<br>
Thank you,<br>
-David<br>
<br>
_______________________________________________<br>
Spacewalk-list mailing list<br>
<a moz-do-not-send="true"
href="mailto:Spacewalk-list@redhat.com">Spacewalk-list@redhat.com</a><br>
<a moz-do-not-send="true"
href="https://www.redhat.com/mailman/listinfo/spacewalk-list"
target="_blank">https://www.redhat.com/mailman/listinfo/spacewalk-list</a><br>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Spacewalk-list mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Spacewalk-list@redhat.com">Spacewalk-list@redhat.com</a>
<a class="moz-txt-link-freetext" href="https://www.redhat.com/mailman/listinfo/spacewalk-list">https://www.redhat.com/mailman/listinfo/spacewalk-list</a></pre>
</blockquote>
<br>
</body>
</html>