diff options
author | Pablo Muñoz <pablerass@gmail.com> | 2019-01-10 19:27:40 +0100 |
---|---|---|
committer | Chris Akritidis <43294513+cakrit@users.noreply.github.com> | 2019-01-10 19:27:40 +0100 |
commit | 5cbbb2be4caeea88d3359b2caf6fc812e21b04e2 (patch) | |
tree | 01e833bbcbe2b8fb341f0298c0e3b98c90248cb5 /collectors/node.d.plugin | |
parent | 180ad489ae3e0d3767868020e3f47edb30e04117 (diff) |
Correct SNMP module name in plugin error handling (#5153)
Diffstat (limited to 'collectors/node.d.plugin')
-rw-r--r-- | collectors/node.d.plugin/snmp/snmp.node.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/collectors/node.d.plugin/snmp/snmp.node.js b/collectors/node.d.plugin/snmp/snmp.node.js index 018ff7dbaf..6b33ae0d5e 100644 --- a/collectors/node.d.plugin/snmp/snmp.node.js +++ b/collectors/node.d.plugin/snmp/snmp.node.js @@ -265,7 +265,7 @@ netdata.processors.snmp = { if(__DEBUG === true) netdata.debug(service.module.name + ': ' + service.name + ': failed ' + service.module.name + ' get for OIDs ' + varbinds[i].oid); - service.error('OID ' + varbinds[i].oid + ' gave error: ' + snmp.varbindError(varbinds[i])); + service.error('OID ' + varbinds[i].oid + ' gave error: ' + net_snmp.varbindError(varbinds[i])); value = null; failed++; } |