diff --git a/Snmp2Mysql/Program.cs b/Snmp2Mysql/Program.cs index 61670fa..3aa356f 100644 --- a/Snmp2Mysql/Program.cs +++ b/Snmp2Mysql/Program.cs @@ -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); } } }