Here is a sample script that will check if UMS server is up. Modify for user / password and server.
Sample output:
./igel-ums-checker.sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 57 100 57 0 0 721 0 –:–:– –:–:– –:–:– 721
UMS Server is up
{“rmGuiServerVersion”:“6.04.120″,“buildNumber”:“46110″,“activeMQVersion”:“5.7.0″,“derbyVersion”:“10.14.2.0″,“serverUUID”:“fd15e414-0bc8-463e-ba08-b750aa6e6eb7″,“server”:“igelums02:8443″,“links”:[]}null%
#####################################
./igel-ums-checker.sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 –:–:– 0:00:05 –:–:– 0
curl: (28) Operation timed out after 5000 milliseconds with 0 out of 0 bytes received
UMS Server is down
why not just use the build-in command ums_available ?
Continue reading and comment on the thread ‘Sample script that will check if UMS server is up’. Not a member? Join Here!
Learn more, search the IGEL Knowledge Base
Ask a question or comment on the above message thread?
Join or log in to the IGEL Community to ask us anything and meet other IGEL customers, partners, and EUC enthusiasts.Submit a question, or Join Today!