Do you even SNMP bro?

Does Logstash store any information in SNMP anywhere?

If not, why?

In SNMP? As in it creates traps that something can poll, or?

Yea.

Would like to graph the number of logs processed, etc. This kind of stuff:

"pipeline" : {
    "events" : {
      "duration_in_millis" : 261326672,
      "in" : 49306675,
      "filtered" : 49306675,
      "out" : 49306675

That is what the APIs are for :slight_smile:

Har har :slight_smile: I cant poll that from my monitoring servers.

Most monitoring systems that I know of can do http gets. Are you sure the monitoring system you use cannot?

If you really want the data in snmp, you can extend snmp to add that functionality. A google search will show you results pretty quickly

I'm talking in terms of polling a number or numbers and storing the value and graphing. Like PRTG for example.

If you are using linux OS with net-snmp installed, you can extend SNMP
http://net-snmp.sourceforge.net/wiki/index.php/Tut:Extending_snmpd_using_shell_scripts

You can write a wrapper script to poll the API and expose the metrics through snmp

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