elimisteve / hyperactive

API for tracking Hyperboria services and activity
11 stars 2 forks source link

Check to see if services are still running #2

Open elimisteve opened 9 years ago

elimisteve commented 9 years ago

NOTE: I'm not worrying about making this site checker federated/p2p until later.

Protocols to support:

thefinn93 commented 9 years ago
thefinn93 commented 9 years ago
thefinn93 commented 9 years ago

Maybe make it just use nagios plugins, then you won't need to worry about supporting every random-ass service

elimisteve commented 9 years ago

@thefinn93 Yeah that's true... something lightweight meant for federation may make sense, though it looks like Nagios can be federated, too. Hmm.

thefinn93 commented 9 years ago

Oh i didn't mean full nagios. Nagios checks a service by executing a command and parsing the output (not much parsing, but yeah). I'm saying, make Hyperactive compatible with these plugins.

thefinn93 commented 9 years ago

Actually it's primarily based on exit status, so if the check command exits with status 0 the thing is okay, 1 the thing is WARNING, and 2 it's ERROR. Anything else is plugin error. The first line of stdout is the status line to give more description of what's wrong

thefinn93 commented 9 years ago

See Nagios Exchange for a whole shitload of these things

elimisteve commented 9 years ago
kylerchin commented 7 years ago

How is this useful when your service is down?