[chrony-users] Monitoring Chrony 4 with Telegraf |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-users Archives
]
- To: chrony-users@xxxxxxxxxxxxxxxxxxxx
- Subject: [chrony-users] Monitoring Chrony 4 with Telegraf
- From: "Kevin P. Fleming" <lists.chrony-users@xxxxxxxxxxxxx>
- Date: Thu, 17 Aug 2023 09:48:09 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=km6g.us; h=cc :content-type:content-type:date:date:from:from:in-reply-to :message-id:mime-version:reply-to:sender:subject:subject:to:to; s=fm1; t=1692280116; x=1692366516; bh=J4zG5VxgvcWZDeTITkegoawD7 olBaU+slgTiY26zlaU=; b=Ja4t/qAMZApOOX/gsOJAvARHnf78vxG2Rc8aN1WD/ 98ym9OV3XFh+6k8fJsnFZrB0LhjZtgps9luEb9Apg4czahDkT6fBnSmceL2ARFdf 8ohweV10goXNHxMA+BB7XsLfPExJHsPLkKxzCOhU+1ucj9ADzCs0enU8BSVSM9KQ vL+1bMcZfjWDIzO/NcsPGi82BjsVBr8A6ou1QkrpoCJfYPuZRNmeLpVJ3GmeM2vJ x1xGc8c4Y45uwiZABzT5s7TmDclPVMgVu2rUPsuHrXNZWTpx9f3WeNSN2r15J5NJ em7f38MTF2JgBadlHoZZgrUEFm4kY61oGvCXv20ReSA2A==
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:message-id :mime-version:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1692280116; x=1692366516; bh=J4zG5VxgvcWZDeTITkegoawD7olBaU+slgT iY26zlaU=; b=XM8447BntptzdINcAnksLJ6jL4vcgkCmyPJ5FohlhDwntMi7tBp bl2wU1MeD/cJ3ob05NirB8UGLRb7ZVFo8nZkriiMXomtQb/T0cClmrAMZEsJIH0K HBKd5rXBdDSD06/PR+UCb0RA41JhWl6gLxrjU258ptmpKydRrazOh0fgGrQZKse3 FlZm9nwDSgXI58ld2XFTZg7cKPkDPQYUsG42ayc2130HP03a1v/pVyT6PMACenk3 /xgmIw9snZSlfwoT8p+vF/si0kVtm9+vqdYdcnp4SwIDEqKcmsZSL6N9UcbUh9dt OvIOHdwJuYJriGpKcM2m9biiuIjYoijZHKw==
- Feedback-id: i1309466e:Fastmail
I recently deployed Telegraf+InfluxDB+Grafana on my network, and couldn't find any Telegraf input plugins for Chrony that I liked. There is one included with Telegraf, but it only captures 'chronyc tracking' output (and doesn't do it particularly well).
I've just published a set of three input plugin configurations which all use the generic CSV importer, and which capture 'chronyc tracking', 'chronyc sources', and 'chronyc sourcestats'. They are here:
https://github.com/kpfleming/chrony-telegrafSince they use CSV-formatted output from 'chronyc', they require Chrony 4.x.
I've attached an example dashboard showing the data collected from the 'chronyc tracking' plugin; I'm planning to publish my dashboard configurations in the next few days, they'll be in a repository next to the one listed above.
Attachment:
chrony-tracking.png
Description: PNG image