suppress any output
This commit is contained in:
@ -40,12 +40,12 @@ namespace Snmp2Mysql
|
|||||||
SnmpGetterResultProvider res = snmpGetter.Exec();
|
SnmpGetterResultProvider res = snmpGetter.Exec();
|
||||||
foreach (SnmpGetterResult r in res)
|
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);
|
dc.add((int)r.Index, r.Value);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch (SnmpGetterException e) {
|
catch (SnmpGetterException) {
|
||||||
Console.WriteLine ("{0}, no result: {1}", dt.Description, e.Message);
|
// Console.WriteLine ("{0}, no result: {1}", dt.Description, e.Message);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user