Hi,
In the old SNMP Plugin I had this:
...
[[inputs.snmp.host]]
address = "server.domain.local:161"
community = "community" # default public
version = 2 # default 2
collect = ["CargaCPU"]
[[inputs.snmp.bulk]]
name = "CargaCPU"
oid = "hrProcessorLoad"
And then, in InfluxDB I was able to see all CPU that this server have, and I
was able to identify them thru a tag called "instance".
In the new plugin I'm trying to do the same like this:
[[inputs.snmp]]
agents = [ "server.domain.local" ]
version = 2
community = "community"
[[inputs.snmp.field]]
name = "hostname"
oid = "RFC1213-MIB::sysName.0"
is_tag = true
[[inputs.snmp.table]]
name = "UsoCPU"
inherit_tags = [ "hostname" ]
[[inputs.snmp.table.field]]
name = "CargaCPU"
oid = "hrProcessorLoad"
And there I only get one value (instead of # of CPU I have)... I don't know if
it is the first value, or an average or what... There is no instance tag.
How I have to do it?
--
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/2aa18637-f0c4-488b-944b-65b8f467aac9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.