Hello,
We are struggling to fetch SNMP metric from a remote host to our Telegraf host. We added the inputs.snmp and defined the host details. The connection looks to be established but not seeing any metrics being sent to Influx DB. Could you pls. help us? Below is the configuration:
[[inputs.snmp]]
agents = [ “xx.xx.xx.xx:161” ]
version = 3
name = “snmp”
community = “abcctelegraf”
sec_name = “TelegrafMonitoringTest”
auth_protocol = “SHA”
auth_password = “plaintext”
sec_level = “authPriv”
context_name = “”
priv_protocol = “DES”
priv_password = “cryptotext”
timeout = “5s”
[[inputs.snmp.field]]
oid = “RFC1213-MIB::sysUpTime.0”
oid = “IBM-MQ-APPLIANCE-STATUS-MIB::mqStatusActiveUserssession.687043”
name = “ActiveUserssession”
[[inputs.snmp.field]]
oid = “IBM-MQ-APPLIANCE-STATUS-MIB::mqStatusActiveUserslogin.687043”
name = “ActiveUserslogin”
is_tag = true
[[inputs.snmp.field]]
oid = “RFC1213-MIB::sysName.0”
name = “source”
is_tag = true
[[inputs.snmp.table]]
oid = “IF-MIB::ifTable”
name = “interface”
inherit_tags = [“source”]
[[inputs.snmp.table.field]]
oid = “IF-MIB::ifDescr”
name = “ifDescr”
is_tag = true
[[inputs.snmp_trap]]
service_address = “udp://:1025”
timeout = “5s”
This is urgent and your support is appreciated. Thanks,