suppress any output
This commit is contained in:
parent
9285eaaaee
commit
00b79d1eed
@ -40,12 +40,12 @@ namespace Snmp2Mysql
|
||||
SnmpGetterResultProvider res = snmpGetter.Exec();
|
||||
foreach (SnmpGetterResult r in res)
|
||||
{
|
||||
Console.WriteLine("{0} {1} {2} {3}: {4}", dt.Description, r.Index, r.Oid, r.Type, r.Value);
|
||||
// Console.WriteLine("{0} {1} {2} {3}: {4}", dt.Description, r.Index, r.Oid, r.Type, r.Value);
|
||||
dc.add((int)r.Index, r.Value);
|
||||
}
|
||||
}
|
||||
catch (SnmpGetterException e) {
|
||||
Console.WriteLine ("{0}, no result: {1}", dt.Description, e.Message);
|
||||
catch (SnmpGetterException) {
|
||||
// Console.WriteLine ("{0}, no result: {1}", dt.Description, e.Message);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user