=12694atid=112694
Regards
Raffles
stan buyanov wrote:
Hello,
I am using net-snmp v5.3.0.1. I wrote a C subagent, and it works fine.
Now I need to convert the subagent to C++.
What steps do I need to do?
Do I need to compile and link the master agent using g++?
What is best approach
found helpful:
http://net-snmp.sourceforge.net/docs/man/mib2c.conf.html
Hope this helps
Cheers
Raffles
Palmentieri Nunzio wrote:
Hi all,
my question is:
I wrote a MIB with several table objects.
How can I generate code for it?
I think I have to run mib2c on both the tables, and then compile
If not, then perhaps worth submitting a new change request, or maybe just
adding to this one:
http://sourceforge.net/tracker/index.php?func=detailaid=1387981group_id=12694atid=112694
which isn't quite the same thing, but related.
Regards
Raffles
H. McManus wrote:
On Wednesday 15 February 2006 18:14, you
.
Thanks
Raffles
instance.c
00070 int
00071 netsnmp_register_instance(netsnmp_handler_registration *reginfo)
00072 {
00073 netsnmp_inject_handler(reginfo, netsnmp_get_instance_handler());
00074 return netsnmp_register_serialize(reginfo);
00075 }
scalar.c
00078 int
00079
hope this helps
Raffles
Paulo Ricardo wrote:
Hi Helen.
I found in applicationĀ“s directory the IF-MIB.txt that contains the
fields relathionship with LinkDownUp notifications.
If is it possible and If you have time, can you analize the mib attach
and say to me If the
notifications
struggled to get to grips with SNMP!
Thanks for helping =)
Raffles
H. McManus wrote:
On Monday 13 February 2006 16:34, Raffles wrote:
Caveat: I'm fairly new to SNMP in general so it may be that these
particular parameters can be set in a config file somewhere.
Yes they can.
I've already
- you can expect to spend
quite some time learning about it before you are really ready to use it
- sorry, but I don't think there are any shortcuts. If you find any, do
let me know! Thanks.
Regards
Raffles
Paulo Ricardo wrote:
very Nice Raffles.
I have one more question:
See the example
Dave Shield wrote:... Could we not make it standard in the
Makefiles to use
$(CC) for compiling and $(LINKCC) for linking, so that you could do
./configure --with-linkcc=g++
With LINKCC defaulting to $(CC), presumably?
I hadn't thought of that, but yes, sounds like a great idea =)
that's done, NetSNMP should work with C++ out of the
box. All the application developer then needs to do is provide a C
wrapper interface around the C++ application, which the agent can then use.
I hope this helps. Cheers
Raffles
--- Makefile2006-01-27 11:28:49.245467235 +
.
Dave Shield wrote:
On Fri, 2006-01-27 at 14:39 +, Raffles wrote:
OK I've fixed it. All you need to be able to link the agent in to a C++
application, is a small change to the Makefiles in the agent and apps
directories. When linking the Makefile needs to give g++ as the first
(which presumably
auto-generates it)? Any other solutions also welcome.
I tried trawling through the archives, and found lots of C++ type
questions, but none which answered this one. If I missed it, just point
me =)
Thanks in advance.
Raffles
--
Visit our website at www.roke.co.uk
Roke Manor
11 matches
Mail list logo