Regarding a 32bit application with net-snmp running on a 64bit system

Roy Kleefman <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hello all,

Let me first explain a bit about my situation:
I am working on an application (C#, developed in Visual Studio, running on linux with mono) which makes use of net-snmp. This application is 32bit, and makes use of the net-snmp .so files provided by the operating system (currently openSUSE 13.2). All the functions that it uses are declared via DllImport statements.

The application runs as a subagent and periodically sends SNMP traps regarding the application's and system health to the trapsink as configured in /etc/snmp/snmpd.conf file.

Now here's the actual issue:
When running my application on a 32bit OS, any traps generated by the application are sent fine and I have no issues. When I run the application on a 64bit OS, the application runs fine, but any attempts at sending a trap are met by an error containing the message "send_trap: no v2 trapOID varbind provided" (which seems weird as it does not throw this error when running on 32bit).

Now I've looked a bit around Google and in this mailing list if I could find anything that could resolve my issue, but I came up with nothing. The net-snmp tutorials don't mention anything about this as well, so I hope by asking here to get some more information.

Kind regards,

Roy Kleefman

------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.