| Hello, i would like to have an output from one of snmp commands saved in a file. So if i want to get the value of one element i say: snmpget -v 1 -c public localhost .iso.org.dod.internet.mgmt.mib-2.interfaces.ifNumber.0 and i get: IF-MIB::ifNumber.0 = INTEGER: 3 so the output above i would like to have saved (e.g. in xml-file). Is it possible? i've already tried to use log option: snmpget -L f c:\output.xml -v 1 -c public localhost .iso.org.dod.internet.mgmt.mib-2.interfaces.ifNumber.0 the output.xml is created, by the content is empty. Can you help me? Thanks in advance With best regards, W.Beylin |
Gesendet von Yahoo! Mail.
Der Lieblings-Mailbox der Welt.
------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
