Seems about the only time I post here now is to put up another script.  I really should figure out a nice little script listing page, but I find myself too busy playing Skyrim when I have any free time nowadays!

The following script is intended to be placed on your clients.  It allows you to search for a software policy to install, as well as for the host you wish to install it on.  If you don’t specify a host, it’ll just install locally.  It should work on HP SA 7.86 and up.

 

Here’s the usage:

install_policy.py -u USER [ -p PASSWORD ] -s POLICY [ --host HOSTNAME ]

 

And the script:

I've taken down the script for a day or so while I rewrite it! The host I develop on uses a python 2.4 binary for the agent and the script isn't compatible with the much more common 1.5.2 binary that comes with SA
This entry was posted in Featured, Opsware, Scripts, Work. Bookmark the permalink.

2 Responses to HP SA – Client Side Software Policy Installs

  1. Ramesh says:

    Could you please post the script that you mentioned above? Actually i am looking for a script which i can call it from SA client and install policy/patch against multiple servers. Currently i had to login to SA, choose individual servers one by one (name is not in sequence), select policy and start job
    Pls help me to automate above task as it would really help. Thanks very much
    Ramesh

  2. steve says:

    Hi Ramesh,

    I’ll post the modified script up in a few days.

    Thanks.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Browse by Topic