Hi

I have syslog lines like this:

Jul 26 10:15:08 quebec vsync-mail1: 37007104
Jul 26 10:15:16 quebec vsync-rds1: 40515791
Jul 26 10:15:20 quebec vsync-zoneminder: 87244505
Jul 26 10:15:21 quebec vsync-domain1: 1933465
Jul 26 10:15:22 quebec vsync-gate1: 1299930
Jul 26 10:15:24 quebec vsync-pbx1: 4320617

Judging by the docs (https://collectd.org/wiki/index.php/Plugin:Tail 
<https://collectd.org/wiki/index.php/Plugin:Tail>) I can report all the figures 
with something like this:

<Plugin "tail">
 <File "/var/log/syslog">
  Instance "vsync"
  <Match>
    Regex "vsync=.*: ([1-9][0-9]*)"
    DSType "GaugeAverage"
    Type "gauge"
    Instance "all"
  </Match>
 </File>
</Plugin>

Is there a way to report each line as a separate instance dynamically, other 
than to have a separate section for each instance (mail1, rds1 etc.)

Thanks
Jack
_______________________________________________
collectd mailing list
collectd@verplant.org
https://mailman.verplant.org/listinfo/collectd

Reply via email to