StatServer
From Laen
- The "send-to" thing can be used to send Nagios stats.
Contents |
Run Modes
On Demand Execution (on_demand)
Someone asks for a variable, it executes a script.
Optional caching timeout so it'll only execute the script if it's been more than N seconds.
Timed Execution (run_every)
Runs a program every N minutes. Results available via GET.
If send_to is specified, it'll send the results to an email address or POST it to a server.
Stores an RRD by default.
Read/Write Trees (read_write)
If POSTed, stores values. If GETed, returns values.
Features
- Built-in RRD support
- Push polling
- ..With queuing, if the recipient server isn't available.
Push Polling
- Send via HTTPS to a module on the remote machine.
- Send via SMTP. A remote module would then need to IMAP it.
- Post it up to Amazon SQS.
- Stick it in a HadoopFS
- Sends a little YAML message
Queueing system
Easy enough. Try to send the message. If it fails, write it to disk (UUID?) in YAML format.
Ponderables
When you GET an entry, what's the format? YAML? JSON?
Should Monitoring servers subscribe to client data? Pub/Sub?