Splunk Interview Question

Write a script to check availability of 100 services