On Wednesday, December 14, 2016 at 10:58:54 AM UTC-8, Willem D'Haese wrote: > Hello, > > > Is there a way to monitor the message queue on a Linux server with Telegraf? > > > > > Every 6.0s: ipcs -q > Wed Dec 14 19:58:07 2016 > > > > > ------ Message Queues -------- > key msqid owner perms used-bytes messages > 0x4e010002 1474560 nagios 600 4733952 4623 > > > > > I'd love to send the messages count (in the example 4623) to InfluxDB. > > > Willem
Searching for "ipcs" doesn't turn up anything in the telegraf codebase. You could probably write a short shell script to extract the information you want, and use the telegraf exec plugin[1] to ingest it. Or you could write a new input plugin. [1] https://github.com/influxdata/telegraf/blob/master/plugins/inputs/exec/README.md -- Remember to include the version number! --- You received this message because you are subscribed to the Google Groups "InfluxData" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/influxdb. To view this discussion on the web visit https://groups.google.com/d/msgid/influxdb/743ddd97-1e31-4477-b928-96c5ad1742d2%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
