I want invoke my .NET assembly from snmp agent and return an XML document to the agent in order to transmit that XML file to the server (manager).
Can I use SNMP to transmit big files to the manager?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The max size of an SNMP PDU is 64k (i.e. the max size of a UDP datagram). Some implementations may have smaller limits. Some networks will not pass large datagrams cleanly (they may get fragmented and not reliably reassembled).
You don’t want to transfer a file through SNMP. Use a more suitable protocol: TFTP, FTP, HTTP, SCP all come to mind, depending on the needs of your application.