net-snmp v5.3.0.1 filltering problem

2006-03-28 Thread stan buyanov
Hi everybody, I would greatly appreciate if you could help me with the following problem.1) net-snmp v5.3.0.1 and the RMON2 subagent (auto-generated by mib2c using mib2c.table_data.conf) are running on Linux. 2) in order to get alMatrixSDOctets objects from alMatrixSDTable I u

Re: C subagent to C++

2006-03-01 Thread stan buyanov
Raffles, Please disregard the last email from me concerning patching. I changed the Makefile manually, and now a C++ subagent works with a master agent. I greatly appreciate your help, Raffles.Best Regards,Stan Raffles <[EMAIL PROTECTED]> wrote: To link the master

Re: C subagent to C++

2006-03-01 Thread stan buyanov
Hi Raffles,When I am running: patch Makefile patch_file  I get a message: patch: malformed patch at line 4: # Misc Compiling Stuff. What is wrong?Thanks a lot for your help. Best Regards,StanRaffles <[EMAIL PROTECTED]> wrote: To link the master agent against C++ code you need

C subagent to C++

2006-02-28 Thread stan buyanov
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 to convert the C subagent to C++?Where could I find information about

snmp_set_var_typed_value with ASN_TIMETICKS problem

2006-02-10 Thread stan buyanov
Hello,Could you help me with this problem? The subagent that has been built using mib2c.table_data.conf returns a wrong value. The explanations are in bold. Definitely something I am doing wrongly.int get_protocolDirLastChange(netsnmp_mib_handler *handler,   net

undefined reference to

2006-02-09 Thread stan buyanov
Hi Dave,Thanks a lot for your help with a patch. It works now. But I have another problem when I am running gmake ( libnetsnmpmibs from net-snmp v5.3.0.1) /usr/local/lib/libnetsnmpmibs.so: undefined reference to `rpmdbClose' /usr/local/lib/libnetsnmpmibs.so: undefined reference to `rpmd

Failed to find netsnmp_tdata_create and netsnmp_register_tdata

2006-02-08 Thread stan buyanov
Hello, I am running net-snmp v5.3.0.1. I used mib2.table_data.conf to create template .c and .h files for rmon2’s table. When I am running gmake I get error messages about undeclared netsnmp_tdata_create and netsnmp_register_tdata. I failed to find these methods on my machine. Could

"something horrible happened" when running snmpdemoapp

2006-02-03 Thread stan buyanov
Hello,I am running snmpd v5.3.0.1. Upon running snmpdemoapp I got the following message: ack: Unknown host (test.net-snmp.org) something horrible happenedFor some wrong reason I removed /var/agentx directory thinking that snmpd would create this named socket again - never happed. I tryed

Failed to connect to agentx master agent v5.3.0.1

2006-02-02 Thread stan buyanov
Hello, Could you help me with the following problem? 1. snmpd v5.3.0.1 (master) is running; 2. start running my subagent 3. repeatedly got the following  messages: Failed to connect to agentx master agent (/var/agentx/master): Uknown host. I looked into /var/agentx/master

mib2c.mfd.conf

2006-02-01 Thread stan buyanov
 Hello, When I am runningmib2c -c mib2c.mfd.conf   protocolDirI get  a message: no output file specified at /usr/local/bin/mib2c line 348, line 11. With other config files it works properly. I would greatly appreciate your help.T

mib2c.mfd.conf question

2006-01-30 Thread stan buyanov
 Hello,Could I use mib2c.mfd.conf in net-snmp v5.0.9? When I am running mib2c -c mib2c.mfd.conf -f m_protocolDir  protocolDir I get  a message:  no output file specified at /usr/local/bin/mib2c line 348, line 11. What does it mean?Thanks a lot,Stan Yahoo! Autos. Looking for

net-snmp v5.3.0.1 & RFC1213-MIB question

2006-01-23 Thread stan buyanov
 Hello,I installed net-snmp v5.3.0.1 on my virtual machine with CentOS as OS.I run snmpd service which runs net-snmp v5.3.0.1. No problem. After that I run IReasonning Mib Browser, and executed a Walk command on RFC1213-MIB.I got the following output:sy