Hi
I followed the SNMP device monitoring document and created a /etc/netdata/node.d/snmp.conf file.
{
"enable_autodetect": false,
"update_every": 10,
"max_request_size": 100,
"servers":[
{
"hostname": "x.x.x.x",
"community": "public",
"update_every": 10,
"max_request_size": 50,
"options": {
"timeout": 10000
},
"charts": {
"snmp_router_bandwith_gateway": {
"title": "60B Router Bandwidth for Gateway",
"units": "kilobits/s",
"type": "area",
"priority": 1,
"family": "ports",
"dimensions": {
"in": {
"oid": "1.3.6.1.2.1.31.1.1.1.6.1",
"algorithm": "incremental",
"multiplier": 8,
"divisor": 1024,
"offset": 0
}
}
}
}
}
]
}
I then test with and it seems to work:
/usr/libexec/netdata/plugins.d/node.d.plugin 1 snmp
2021-01-15 13:57:08: node.d.plugin: ERROR: Cannot read user-configuration file /etc/netdata/node.d.conf: ENOENT: no such file or directory, open '/etc/netdata/node.d.conf'.
CHART "snmp_router_bandwith_gateway" "snmp_router_bandwith_gateway" "60B Router Bandwidth for Gateway" "kilobits/s" "ports" "" "area" 50001 10
DIMENSION "in" "in" "incremental" 8 1024
BEGIN snmp_router_bandwith_gateway
SET in = 0x178595fb1a
END
BEGIN snmp_router_bandwith_gateway 1688000
SET in = 0x1785960ac3
END
I also restarted the agent, but I do not see any new charts for SNMP in cloud.
Am I missing something?