#!/bin/bash

USERNAME=admin
PASSWORD=password

HOST=localhost
PORT=4280

RESULT=$(curl --basic -u $USERNAME:$PASSWORD -s --insecure http://$HOST:$PORT/api/Server)

if [ "$RESULT" != "" ];
then
  echo "<<<app-crashplan-server>>>"
  echo "$RESULT"
fi