Calls the Drobo NAS status port and reports status back as a REST API.
By default runs service on port 5000.
Provides two endpoints:
GET /v1/drobomon/health
GET /v1/drobomon/status
/health returns a JSON status report and HTTP 200 response for healthy or warning states, HTTP 500 for error. If you see anything wrong, suggest plugging in the standard Drobo Admin UI for diagnosis.
/status returns a JSON object of a select subset of the Drobo status fields. Could be used for a Javascript dashboard...
Intended use is for monitoring a Drobo behind a firewall that blocks Drobo Admin UI.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.