Monitoring Traccar on UNIX-based systems

Armstrong6 years ago

Hello community,

How do you monitor a Traccar instance running on UNIX ?

I'd like to collect the application metrics and integrate them into eg Grafana

Thanks for your answers,

Anton Tananaev6 years ago

I just use Uptime Robot to make sure server is online:

https://uptimerobot.com/

Armstrong6 years ago

This looks like some paying software that does remote pings or such, not what I'm looking for

I basically want some agent that runs on the same host as the Traccar instance, collects the internal application metrics from it,
and then push this into some database that I can query later on

From what I've seen, there seems to be no easy way to query those metrics apart from using
basic command-line tools, like ps, netstat, grep

jaimzj6 years ago

Not sure how much this might help in terms of integration however it may come of use to you, i use this and push events and parameters to email.

https://pinguzo.com/

please note, this product is currently in beta however it is going to be a paid service in future for sure.

Armstrong6 years ago

I need a local (and preferably FOSS) agent.

I've come across https://github.com/prometheus/jmx_exporter that would fit my need

@Anton Tananaev what do you think of this ?
Any hints on how to run Traccar on top of this would be appreciated !

Thanks

Anton Tananaev6 years ago

I don't really see much point.

Armstrong6 years ago

You don't see much point in monitoring your applications or services ??

Armstrong6 years ago

(Oops, forgot to mention @Anton Tananaev)

Anton Tananaev6 years ago

I don't see much point in adding anything on top we already have.

Armstrong6 years ago

@Anton Tananev so, you're basically saying that just HTTP-pinging the application is enough for you to confirm that "everything is OK" ?

Anton Tananaev6 years ago

Yes, it has been enough for a few years now.

Armstrong6 years ago

Pardon me but are you joking ?

I sent your software on orbit so many times, for like 50 different reasons, just can't believe that for you, your software being stable is just "responding to a ping".

Now I have to explain that to my devops. Thank you for your attitude.

Anton Tananaev6 years ago

I'm not. What exactly do you want to monitor?

Armstrong6 years ago
Anton Tananaev6 years ago

If you can't be bothered with explaining your point of view, I'm not interested in discussing this any further.