summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorAndreas Ericsson <ae@op5.se>2012-11-02 13:52:34 (GMT)
committerThomas Guyot-Sionnest <dermoth@aei.ca>2012-11-03 02:25:37 (GMT)
commitc537d71a3af67d0df4e1e015f6b9dcbb505f08d2 (patch)
tree5710a59c7477444fd29f6dee37bd9230709419da /tools
parent364ce21b1048d1125b8d3fd6744661ab581d08c7 (diff)
downloadmonitoring-plugins-c537d71a3af67d0df4e1e015f6b9dcbb505f08d2.tar.gz
plugins/check_snmp: Show snmp error when we fail to parse its output
Dying without a hint of what went wrong is just plain annoying. With this patch we at least get a hint. While at it, we fix the string offset so the output we're interested in doesn't keep the equal sign that snmpget prints. Signed-off-by: Andreas Ericsson <ae@op5.se>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions