Total messages processed per node

(Juan A. S. ) #1


I am trying to create a template in Zabbix to monitor some aspects of Graylog. One of them is the total number of messages processes per node, but I can’t find in the API any endpoint with this information. Is this available anywhere?


(Jochen) #2

Depending on what you exactly want to monitor, you can use these metrics (see /system/metrics in the Graylog REST API):

  • org.graylog2.shared.buffers.InputBufferImpl.incomingMessages
  • org.graylog2.shared.buffers.ProcessBuffer.incomingMessages
  • org.graylog2.shared.buffers.processors.ProcessBufferProcessor.incomingMessages
  • org.graylog2.shared.buffers.processors.ProcessBufferProcessor.outgoingMessages
  • org.graylog2.buffers.processors.OutputBufferProcessor.incomingMessages
  • org.graylog2.buffers.OutputBuffer.incomingMessages

(Juan A. S. ) #3

Thanks @jochen, which is the metric most suitable metric to get the number of all messages received, from any input, before any filter, grok, pipeline, etc.?

(Jochen) #4

That would be the first one: org.graylog2.shared.buffers.InputBufferImpl.incomingMessages

(Juan A. S. ) #5

Just if anybody wants, I have created a Gist with info about monitoring Graylog (journal and number of processed messages) with Zabbix.

(Jochen) #6

It would be great if you could move this to a “real” GitHub repository and add it to the Graylog Marketplace. :slight_smile:


(system) closed #7

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.