Ad Widget

Collapse

API status checks on servers

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rexeh
    Junior Member
    • Jan 2014
    • 2

    #1

    API status checks on servers

    Hello,

    We're now using this to monitor our infrastructure, mainly with basic templates right now, and a few web checks.

    One thing I would like to implement, is an API checker, which would be executed on certain hosts (those with auth for the API).

    I would like to:

    > WGET or CURL request an API
    > Read the response code
    > Pass or Fail the check
    > If Failed, cause an alert

    Systems all running CentOS, with a single server reaching out to 5+ agents. Have considered proxy configuration, but easy to switch to down the line and we're not going to grow that fast.

    Any ideas?

    Many thanks,

    Rob
  • steveboyson
    Senior Member
    • Jul 2013
    • 582

    #2
    Why don't you use that:

    Comment

    Working...