cancel
Showing results for 
Search instead for 
Did you mean: 

HPSMH Batch healtcheck

 
ElleT
Occasional Contributor

HPSMH Batch healtcheck

Hi all, 

We are pushing the latest version of HPSMH to all of our servers - about 300. We are going to do it in batches of 30-40 servers at a time.

The instalation is being pushed to the servers by SCCM, so we need to make sure that the installation was successful.

Besides the SCCM compliant queries, which will tell us what's the version installed, we need to also make sure that the homepage is working properly and can load and display all the information.

is there a way to check this in a batch of 20-30 servers with a script?

What comes to my mind to check is:

Service HPSMH is running
Service SNMP is running

I need a way to check whether the website actually loads and displays the HP Version Control Repository Manager information for 30 servers at a time.

Any information would be useful.

thanks

1 REPLY
Steven Schweda
Honored Contributor

Re: HPSMH Batch healtcheck

> Any information would be useful.

   Optimist.

> Service SNMP is running

   I know approximately nothing about it, but I thought that "SNMP" was
a protocol, not a service.  If you expect a SNMP _daemon_ to be running,
then I'd send it a request of some kind, and see if I got a response.

> Service HPSMH is running

   You can use a program like Wget to talk to any Web server, including
the one used for HP SMH.  A command like one of the following might do
something useful:

      wget http://hostname:2301
      wget https://hostname:2381


> I need a way to check whether the website actually loads and displays
> the HP Version Control Repository Manager information [...]

   If by "the website" you mean the SMH server, then that may be
difficult or impossible with Wget.  I believe that HP SMH uses
JavaScript, and I believe that Wget can't deal with that.  So, it may be
easy to determine if an SMH server is running/runable on a target
system, but getting any actual information back from it may require a
full-function Web browser rather than a simpler program like Wget.