59 points · by tbrock · 12y ago · 24 comments
Also if you used snmp instead of rolling your own agent you would get security and encryption (SNMPv3) and the ability to use one of any number of existing monitoring tools.
For application monitoring, and to be able to answer questions like "Why is my app slow?" I only want one thing.
I want a GANTT chart showing time spent by the application handling an individual request/job, highlighting the critical path and showing concurrency when it occurs (across systems).
i.e. give me the Network pane in Firebug or Chrome Dev Tools, but where each row on the chart is a visit to a service and/or machine (tell me which machine and which service).
Perhaps for a fast respawning process I can see potential problems monitoring it, but that is usually indicative of a problem in itself and something you generally watch for.
It's much easier to spoof a UDP packet from an arbitrary source-IP address than it is with TCP.
It gives a fairly easy opportunity for attackers to fake all your service metrics, make it look like everything is Up/Down etc...
You might want to decide between TCP and UDP for layer-4, though, but as gingerlime pointed out it is stupidly easy to successfully spoof UDP comms, there's not even need to have a MITM situation. Same goes for ICMP.
ROTFL! Whoopsie. ;-)
> You might want to decide between TCP and UDP for layer-4, though, but as gingerlime pointed out it is stupidly easy to successfully spoof UDP comms, there's not even need to have a MITM situation. Same goes for ICMP.
Yes, but TCP's protections are quite weak. If you are really concerned about spoofing, you are much better off handling that with cryptographic solutions.
I just highlighted one potential attack vector that I didn't see being addressed explicitly, and which might have implications.
If the tool explicitly provided message authentication for the UDP datagrams, I would probably not have made the same comment. I think the security fundamentals were missing, let alone more advanced layers of protection.
Also all communication is over UDP at the moment, which could be bad for poor quality links, but probably OK for most servers.
The main difference from just a log shipper is including a frontend web service to look at data, and a library to link in the app to deliver stats instead of using a more standard protocol like syslog / collectd / ganglia, etc. and having the server parse / ship it.
So it's more of an integrated solution than combining different logging pieces.