net-snmp compilation problem still unresolved

2010-05-07 Thread Group
Hi,

My Configuration:

net-snmp version: net-snmp-5.4.2.1
environment: cygwin
operating system: windows XP

ran configure command:
$ ./configure --without-perl-modules --disable-embedded-perl
--without-openssl -with-out-mib-module
s="snmpv3mibs ucd_snmp mibII notification utilities disman/event agentx
agent_mibs disman/schedule"

ran make command
$ make
I'm getting following warnings...and ending up with undefined references...

Warnings:

/bin/sh ../libtool  --mode=link gcc -g -O2 -Ucygwin -Dcygwin=cygwin  -rpath
/usr/local/lib -version-
info 16:2:1 -o libnetsnmpagent.la snmp_agent.lo snmp_vars.lo
agent_read_config.lo agent_registry.lo
agent_index.lo agent_trap.lo kernel.lo agent_handler.lo   ../snmplib/
libnetsnmp.la

*** Warning: This system can not link to static lib archive ../snmplib/
libnetsnmp.la.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have.
libtool: link: warning: undefined symbols not allowed in i686-pc-cygwin
shared libraries
ar cru .libs/libnetsnmpagent.a  snmp_agent.o snmp_vars.o agent_read_config.o
agent_registry.o agent_
index.o agent_trap.o kernel.o agent_handler.o
...
*** Warning: This system can not link to static lib archive helpers/
libnetsnmphelpers.la.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have.

*** Warning: This system can not link to static lib archive
libnetsnmpagent.la.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have.

*** Warning: This system can not link to static lib archive ../snmplib/
libnetsnmp.la.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have.
libtool: link: warning: undefined symbols not allowed in i686-pc-cygwin
shared libraries
ar cru .libs/libnetsnmpmibs.a
mibgroup/notification-log-mib/notification_log.o mibgroup/notificatio
n/snmpNotifyTable.o mibgroup/target/snmpTargetAddrEntry.o
mibgroup/target/snmpTargetParamsEntry.o mi
bgroup/target/target.o mibgroup/target/target_counters.o
mibgroup/header_complex.o mibgroup/util_fun
cs.o mib_modules.o auto_nlist.o
ranlib .libs/libnetsnmpmibs.a
creating libnetsnmpmibs.la
(cd .libs && rm -f libnetsnmpmibs.la && ln -s ../libnetsnmpmibs.la
libnetsnmpmibs.la)
: libnetsnmpmibs.la
/bin/sh ../libtool  --mode=compile gcc -I../include -I. -I../agent
-I../agent/mibgroup -I../snmplib
  -g -O2 -Ucygwin -Dcygwin=cygwin  -c -o snmpd.lo snmpd.c
 gcc -I../include -I. -I../agent -I../agent/mibgroup -I../snmplib -g -O2
-Ucygwin -Dcygwin=cygwin -c
 snmpd.c  -DDLL_EXPORT -DPIC -o .libs/snmpd.o
snmpd.c: In function `main':
snmpd.c:963: warning: assignment discards qualifiers from pointer target
type
 gcc -I../include -I. -I../agent -I../agent/mibgroup -I../snmplib -g -O2
-Ucygwin -Dcygwin=cygwin -c
 snmpd.c -o snmpd.o >/dev/null 2>&1
/bin/sh ../libtool  --mode=link gcc -g -O2 -Ucygwin -Dcygwin=cygwin  -o
snmpd.exe snmpd.lo  -L../snm
plib/.libs -L../snmplib -L./.libs -L./helpers/.libs -L./helpers
libnetsnmpagent.la helpers/libnetsn
mphelpers.la libnetsnmpmibs.la ../snmplib/libnetsnmp.la  -liphlpapi
gcc -g -O2 -Ucygwin -Dcygwin=cygwin -o snmpd.exe .libs/snmpd.o
-L/home/test/net-snmp-5.4.2.1/agen
t/.libs -L/home/test/net-snmp-5.4.2.1/agent/helpers/.libs
-L/home/test/net-snmp-5.4.2.1/snmplib/
.libs -L/home/test/net-snmp-5.4.2.1/snmplib
-L/home/test/net-snmp-5.4.2.1/agent/helpers ./.libs/
libnetsnmpagent.a helpers/.libs/libnetsnmphelpers.a ./.libs/libnetsnmpmibs.a
/home/test/net-snmp-5
.4.2.1/agent/helpers/.libs/libnetsnmphelpers.a
/home/test/net-snmp-5.4.2.1/agent/.libs/libnetsnmpa
gent.a /home/test/net-snmp-5.4.2.1/snmplib/.libs/libnetsnmp.a
../snmplib/.libs/libnetsnmp.a -liphl
papi
.libs/snmpd.o(.text+0x1ee4): In function `receive':
/home/test/net-snmp-5.4.2.1/agent/snmpd.c:1112: undefined reference to
`_sigrelse'
./.libs/libnetsnmpagent.a(agent_read_config.o)(.text+0x550): In function
`update_config':
/home/test/net-snmp-5.4.2.1/agent/agent_read_config.c:285: undefined
reference to `_vacm_standard_
views'
./.libs/libnetsnmpmibs.a(util_funcs.o)(.text+0x3d1): In function
`get_exec_output':
/home/test/net-snmp-5.4.2.1/agent/mibgroup/util_funcs.c:277: undefined
reference to `_run_exec_com
mand'
./.libs/libnetsnmpmibs.a(snmpNotifyTable.o)(.text+0x4a): In function
`_checkFilter':
/home/test/net-snmp-5.4.2.1/agent/mibgroup/notification/snmpNotifyTable.c:122:
undefined reference
 to `_get_FilterProfileName'
./.libs/libnetsnmpmibs.a(snmpNotifyTable.o)(.text+0x5c):/home/test/net-snmp-5.4.2.1/agent/mibgroup
/notificati

Re: net-snmp compilation problem still unresolved

2010-05-08 Thread Bart Van Assche
On Fri, May 7, 2010 at 11:59 PM, Group  wrote:

> My Configuration:
>
> net-snmp version: net-snmp-5.4.2.1
> environment: cygwin
> operating system: windows XP
>
> ran configure command:
> $ ./configure --without-perl-modules --disable-embedded-perl
> --without-openssl -with-out-mib-module
> s="snmpv3mibs ucd_snmp mibII notification utilities disman/event agentx
> agent_mibs disman/schedule"
>
> ran make command
> $ make
> I'm getting following warnings...and ending up with undefined references...
>
> Warnings:
>
> /bin/sh ../libtool  --mode=link gcc -g -O2 -Ucygwin -Dcygwin=cygwin  -rpath
> /usr/local/lib -version-
> info 16:2:1 -o libnetsnmpagent.la snmp_agent.lo snmp_vars.lo
> agent_read_config.lo agent_registry.lo
> agent_index.lo agent_trap.lo kernel.lo agent_handler.lo   ../snmplib/
> libnetsnmp.la
>
> *** Warning: This system can not link to static lib archive ../snmplib/
> libnetsnmp.la.
> *** I have the capability to make that library automatically link in when
> *** you link to this library.  But I can only do this if you have a
> *** shared version of the library, which you do not appear to have.
> libtool: link: warning: undefined symbols not allowed in i686-pc-cygwin
> shared libraries
> ar cru .libs/libnetsnmpagent.a  snmp_agent.o snmp_vars.o
> agent_read_config.o agent_registry.o agent_
> index.o agent_trap.o kernel.o agent_handler.o
> ...
> *** Warning: This system can not link to static lib archive helpers/
> libnetsnmphelpers.la.
> *** I have the capability to make that library automatically link in when
> *** you link to this library.  But I can only do this if you have a
> *** shared version of the library, which you do not appear to have.
>
> *** Warning: This system can not link to static lib archive
> libnetsnmpagent.la.
> *** I have the capability to make that library automatically link in when
> *** you link to this library.  But I can only do this if you have a
> *** shared version of the library, which you do not appear to have.
>
> *** Warning: This system can not link to static lib archive ../snmplib/
> libnetsnmp.la.
> *** I have the capability to make that library automatically link in when
> *** you link to this library.  But I can only do this if you have a
> *** shared version of the library, which you do not appear to have.
> libtool: link: warning: undefined symbols not allowed in i686-pc-cygwin
> shared libraries
> ar cru .libs/libnetsnmpmibs.a
> mibgroup/notification-log-mib/notification_log.o mibgroup/notificatio
> n/snmpNotifyTable.o mibgroup/target/snmpTargetAddrEntry.o
> mibgroup/target/snmpTargetParamsEntry.o mi
> bgroup/target/target.o mibgroup/target/target_counters.o
> mibgroup/header_complex.o mibgroup/util_fun
> cs.o mib_modules.o auto_nlist.o
> ranlib .libs/libnetsnmpmibs.a
> creating libnetsnmpmibs.la
> (cd .libs && rm -f libnetsnmpmibs.la && ln -s ../libnetsnmpmibs.la
> libnetsnmpmibs.la)
> : libnetsnmpmibs.la
> /bin/sh ../libtool  --mode=compile gcc -I../include -I. -I../agent
> -I../agent/mibgroup -I../snmplib
>   -g -O2 -Ucygwin -Dcygwin=cygwin  -c -o snmpd.lo snmpd.c
>  gcc -I../include -I. -I../agent -I../agent/mibgroup -I../snmplib -g -O2
> -Ucygwin -Dcygwin=cygwin -c
>  snmpd.c  -DDLL_EXPORT -DPIC -o .libs/snmpd.o
> snmpd.c: In function `main':
> snmpd.c:963: warning: assignment discards qualifiers from pointer target
> type
>  gcc -I../include -I. -I../agent -I../agent/mibgroup -I../snmplib -g -O2
> -Ucygwin -Dcygwin=cygwin -c
>  snmpd.c -o snmpd.o >/dev/null 2>&1
> /bin/sh ../libtool  --mode=link gcc -g -O2 -Ucygwin -Dcygwin=cygwin  -o
> snmpd.exe snmpd.lo  -L../snm
> plib/.libs -L../snmplib -L./.libs -L./helpers/.libs -L./helpers
> libnetsnmpagent.la helpers/libnetsn
> mphelpers.la libnetsnmpmibs.la ../snmplib/libnetsnmp.la  -liphlpapi
> gcc -g -O2 -Ucygwin -Dcygwin=cygwin -o snmpd.exe .libs/snmpd.o
> -L/home/test/net-snmp-5.4.2.1/agen
> t/.libs -L/home/test/net-snmp-5.4.2.1/agent/helpers/.libs
> -L/home/test/net-snmp-5.4.2.1/snmplib/
> .libs -L/home/test/net-snmp-5.4.2.1/snmplib
> -L/home/test/net-snmp-5.4.2.1/agent/helpers ./.libs/
> libnetsnmpagent.a helpers/.libs/libnetsnmphelpers.a
> ./.libs/libnetsnmpmibs.a /home/test/net-snmp-5
> .4.2.1/agent/helpers/.libs/libnetsnmphelpers.a
> /home/test/net-snmp-5.4.2.1/agent/.libs/libnetsnmpa
> gent.a /home/test/net-snmp-5.4.2.1/snmplib/.libs/libnetsnmp.a
> ../snmplib/.libs/libnetsnmp.a -liphl
> papi
> .libs/snmpd.o(.text+0x1ee4): In function `receive':
> /home/test/net-snmp-5.4.2.1/agent/snmpd.c:1112: undefined reference to
> `_sigrelse'
> ./.libs/libnetsnmpagent.a(agent_read_config.o)(.text+0x550): In function
> `update_config':
> /home/test/net-snmp-5.4.2.1/agent/agent_read_config.c:285: undefined
> reference to `_vacm_standard_
> views'
> ./.libs/libnetsnmpmibs.a(util_funcs.o)(.text+0x3d1): In function
> `get_exec_output':
> /home/test/net-snmp-5.4.2.1/agent/mibgroup/util_funcs.c:277: undefined
> reference to `_run_exec_com
> mand'
> ./.libs/libnetsnmpmibs.a(snmpNotifyTable.o)(.text+0x4a): In functi

Re: net-snmp compilation problem still unresolved

2010-05-08 Thread Group
Hi Bart,

Thanks for your reply. i'm able to fix the errors, though, I havent tried
with the command which you gave.

Now i'm facing another issue, which i mentioned in another post as below:.

I'm able to compile the code with basic settings.

My Configuration:

net-snmp version: net-snmp-5.4.2.1
environment: cygwin
operating system: windows XP

Now i would like to run the snmp agent on windows.

I created a snmpd.conf file in /usr/local/share/snmp
with following entry:

rocommunity  private

When i tried to do a snmpget i'm getting the following error.
$ snmpget -c private localhost sysUpTime
Timeout: No Response from localhost.

and when i do a snmpget for netSnmpExampleInteger, i'm getting the following
error: (i have compiled this by
including in ./configure ... -with-mib-modules"examples/
static_int")
$ snmpget -c private localhost netSnmpExampleInteger.0
netSnmpExampleInteger.0: Unknown Object Identifier (Sub-id not found: (top)
-> netSnmpExampleInteger
)

I'm not sure whether snmp agent is running or not. How can i check this.
I make sure that snmp port is not blocked (I allowed UDP port 161 in
firewall settings).

Can you help me out in resolving this issue. Thanks in advance.

On Sat, May 8, 2010 at 3:11 AM, Bart Van Assche  wrote:

> On Fri, May 7, 2010 at 11:59 PM, Group  wrote:
>
>> My Configuration:
>>
>> net-snmp version: net-snmp-5.4.2.1
>> environment: cygwin
>> operating system: windows XP
>>
>> ran configure command:
>> $ ./configure --without-perl-modules --disable-embedded-perl
>> --without-openssl -with-out-mib-module
>> s="snmpv3mibs ucd_snmp mibII notification utilities disman/event agentx
>> agent_mibs disman/schedule"
>>
>> ran make command
>> $ make
>> I'm getting following warnings...and ending up with undefined
>> references...
>>
>> Warnings:
>>
>> /bin/sh ../libtool  --mode=link gcc -g -O2 -Ucygwin -Dcygwin=cygwin
>> -rpath /usr/local/lib -version-
>> info 16:2:1 -o libnetsnmpagent.la snmp_agent.lo snmp_vars.lo
>> agent_read_config.lo agent_registry.lo
>> agent_index.lo agent_trap.lo kernel.lo agent_handler.lo   ../snmplib/
>> libnetsnmp.la
>>
>> *** Warning: This system can not link to static lib archive ../snmplib/
>> libnetsnmp.la.
>> *** I have the capability to make that library automatically link in when
>> *** you link to this library.  But I can only do this if you have a
>> *** shared version of the library, which you do not appear to have.
>> libtool: link: warning: undefined symbols not allowed in i686-pc-cygwin
>> shared libraries
>> ar cru .libs/libnetsnmpagent.a  snmp_agent.o snmp_vars.o
>> agent_read_config.o agent_registry.o agent_
>> index.o agent_trap.o kernel.o agent_handler.o
>> ...
>> *** Warning: This system can not link to static lib archive helpers/
>> libnetsnmphelpers.la.
>> *** I have the capability to make that library automatically link in when
>> *** you link to this library.  But I can only do this if you have a
>> *** shared version of the library, which you do not appear to have.
>>
>> *** Warning: This system can not link to static lib archive
>> libnetsnmpagent.la.
>> *** I have the capability to make that library automatically link in when
>> *** you link to this library.  But I can only do this if you have a
>> *** shared version of the library, which you do not appear to have.
>>
>> *** Warning: This system can not link to static lib archive ../snmplib/
>> libnetsnmp.la.
>> *** I have the capability to make that library automatically link in when
>> *** you link to this library.  But I can only do this if you have a
>> *** shared version of the library, which you do not appear to have.
>> libtool: link: warning: undefined symbols not allowed in i686-pc-cygwin
>> shared libraries
>> ar cru .libs/libnetsnmpmibs.a
>> mibgroup/notification-log-mib/notification_log.o mibgroup/notificatio
>> n/snmpNotifyTable.o mibgroup/target/snmpTargetAddrEntry.o
>> mibgroup/target/snmpTargetParamsEntry.o mi
>> bgroup/target/target.o mibgroup/target/target_counters.o
>> mibgroup/header_complex.o mibgroup/util_fun
>> cs.o mib_modules.o auto_nlist.o
>> ranlib .libs/libnetsnmpmibs.a
>> creating libnetsnmpmibs.la
>> (cd .libs && rm -f libnetsnmpmibs.la && ln -s ../libnetsnmpmibs.la
>> libnetsnmpmibs.la)
>> : libnetsnmpmibs.la
>> /bin/sh ../libtool  --mode=compile gcc -I../include -I. -I../agent
>> -I../agent/mibgroup -I../snmplib
>>   -g -O2 -Ucygwin -Dcygwin=cygwin  -c -o snmpd.lo snmpd.c
>>  gcc -I../include -I. -I../agent -I../agent/mibgroup -I../snmplib -g -O2
>> -Ucygwin -Dcygwin=cygwin -c
>>  snmpd.c  -DDLL_EXPORT -DPIC -o .libs/snmpd.o
>> snmpd.c: In function `main':
>> snmpd.c:963: warning: assignment discards qualifiers from pointer target
>> type
>>  gcc -I../include -I. -I../agent -I../agent/mibgroup -I../snmplib -g -O2
>> -Ucygwin -Dcygwin=cygwin -c
>>  snmpd.c -o snmpd.o >/dev/null 2>&1
>> /bin/sh ../libtool  --mode=link gcc -g -O2 -Ucygwin -Dcygwin=cygwin  -o
>> snmpd.exe snmpd.lo  -L../snm
>> plib/.libs -L../snmplib -L./.libs -L./helpers/.libs -L./

Re: net-snmp compilation problem still unresolved

2010-05-09 Thread Bart Van Assche
On Sat, May 8, 2010 at 10:25 PM, Group  wrote:

> My Configuration:
>
> net-snmp version: net-snmp-5.4.2.1
> environment: cygwin
> operating system: windows XP
>
>
> Now i would like to run the snmp agent on windows.
>
> I created a snmpd.conf file in /usr/local/share/snmp
> with following entry:
>
> rocommunity  private
>
> When i tried to do a snmpget i'm getting the following error.
> $ snmpget -c private localhost sysUpTime
> Timeout: No Response from localhost.
>

I assume that sysUpTime should have been sysUpTime.0 ? Anyway, the timeout
error message means that there is either a network problem, a problem with
the configuration of snmpd or that snmpd was not running.


> and when i do a snmpget for netSnmpExampleInteger, i'm getting the
> following error: (i have compiled this by
> including in ./configure ... -with-mib-modules"examples/
> static_int")
> $ snmpget -c private localhost netSnmpExampleInteger.0
> netSnmpExampleInteger.0: Unknown Object Identifier (Sub-id not found: (top)
> -> netSnmpExampleInteger
> )
>
> I'm not sure whether snmp agent is running or not. How can i check this.
> I make sure that snmp port is not blocked (I allowed UDP port 161 in
> firewall settings).
>

You can debug the access control setup of snmpd together with the network
setup as follows:
* Start snmpd with packet tracing enabled, e.g. as follows:
agent/snmpd -Mmibs -f -d -Lo
* Run snmpgetnext in another shell, e.g. as follows:
apps/snmpgetnext -Mmibs -cprivate localhost .1
* Inspect the snmpd output. If no output is printed, this means that the UDP
packets sent by snmpgetnext do not arrive at snmpd and hence that the
network setup should be inspected. If snmpd reports that it received the
packets sent by snmpgetnext but did not send any packets back, then there is
a mismatch between the access control information passed to snmpgetnext and
the access control information in snmpd.conf. If snmpd reports that it
received and sent packets, then this means that the access control
information passed to snmpgetnext and snmpd did match.

An example of how the snmpd output should look like (on a Linux system):

[ ... ]

Received 37 byte packet from UDP: [127.0.0.1]:60541->[127.0.0.1]
: 30 23 02 01  01 04 07 70  72 69 76 61  74 65 A1 150#.private..
0016: 02 04 46 52  36 BF 02 01  00 02 01 00  30 07 30 05..FR6...0.0.
0032: 06 01 01 05  00   .

Received SNMP packet(s) from UDP: [127.0.0.1]:60541->[127.0.0.1]
  GETNEXT message
-- ccitt.1

Sending 119 bytes to UDP: [127.0.0.1]:60541->[127.0.0.1]
: 30 75 02 01  01 04 07 70  72 69 76 61  74 65 A2 670u.private.g
0016: 02 04 46 52  36 BF 02 01  00 02 01 00  30 59 30 57..FR6...0Y0W
0032: 06 08 2B 06  01 02 01 01  01 00 04 4B  4C 69 6E 75..+KLinu
0048: 78 20 61 73  75 73 20 32  2E 36 2E 33  33 2E 32 2Dx asus 2.6.33.2-
0064: 73 63 73 74  20 23 31 20  53 4D 50 20  50 52 45 45scst #1 SMP PREE
0080: 4D 50 54 20  53 61 74 20  41 70 72 20  33 20 32 31MPT Sat Apr 3 21
0096: 3A 31 30 3A  35 38 20 43  45 53 54 20  32 30 31 30:10:58 CEST 2010
0112: 20 78 38 36  5F 36 34  x86_64

[ ... ]

Bart.
--

___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: net-snmp compilation problem still unresolved

2010-05-10 Thread Group
Hi Bart,

Thanks for the command. I could see the debug messages now.
I have added a new MIB. To add those objects to snmpd.
Do i need to do configure again?. Is there any other way to do this.
Please let me know.

On Sun, May 9, 2010 at 7:11 AM, Bart Van Assche  wrote:

> On Sat, May 8, 2010 at 10:25 PM, Group  wrote:
>
>> My Configuration:
>>
>> net-snmp version: net-snmp-5.4.2.1
>> environment: cygwin
>> operating system: windows XP
>>
>>
>> Now i would like to run the snmp agent on windows.
>>
>> I created a snmpd.conf file in /usr/local/share/snmp
>> with following entry:
>>
>> rocommunity  private
>>
>> When i tried to do a snmpget i'm getting the following error.
>> $ snmpget -c private localhost sysUpTime
>> Timeout: No Response from localhost.
>>
>
> I assume that sysUpTime should have been sysUpTime.0 ? Anyway, the timeout
> error message means that there is either a network problem, a problem with
> the configuration of snmpd or that snmpd was not running.
>
>
>> and when i do a snmpget for netSnmpExampleInteger, i'm getting the
>> following error: (i have compiled this by
>> including in ./configure ... -with-mib-modules"examples/
>> static_int")
>> $ snmpget -c private localhost netSnmpExampleInteger.0
>> netSnmpExampleInteger.0: Unknown Object Identifier (Sub-id not found:
>> (top) -> netSnmpExampleInteger
>> )
>>
>> I'm not sure whether snmp agent is running or not. How can i check this.
>> I make sure that snmp port is not blocked (I allowed UDP port 161 in
>> firewall settings).
>>
>
> You can debug the access control setup of snmpd together with the network
> setup as follows:
> * Start snmpd with packet tracing enabled, e.g. as follows:
> agent/snmpd -Mmibs -f -d -Lo
> * Run snmpgetnext in another shell, e.g. as follows:
> apps/snmpgetnext -Mmibs -cprivate localhost .1
> * Inspect the snmpd output. If no output is printed, this means that the
> UDP packets sent by snmpgetnext do not arrive at snmpd and hence that the
> network setup should be inspected. If snmpd reports that it received the
> packets sent by snmpgetnext but did not send any packets back, then there is
> a mismatch between the access control information passed to snmpgetnext and
> the access control information in snmpd.conf. If snmpd reports that it
> received and sent packets, then this means that the access control
> information passed to snmpgetnext and snmpd did match.
>
> An example of how the snmpd output should look like (on a Linux system):
>
> [ ... ]
>
> Received 37 byte packet from UDP: [127.0.0.1]:60541->[127.0.0.1]
> : 30 23 02 01  01 04 07 70  72 69 76 61  74 65 A1 15
> 0#.private..
> 0016: 02 04 46 52  36 BF 02 01  00 02 01 00  30 07 30 05
> ..FR6...0.0.
> 0032: 06 01 01 05  00   .
>
> Received SNMP packet(s) from UDP: [127.0.0.1]:60541->[127.0.0.1]
>   GETNEXT message
> -- ccitt.1
>
> Sending 119 bytes to UDP: [127.0.0.1]:60541->[127.0.0.1]
> : 30 75 02 01  01 04 07 70  72 69 76 61  74 65 A2 67
> 0u.private.g
> 0016: 02 04 46 52  36 BF 02 01  00 02 01 00  30 59 30 57
> ..FR6...0Y0W
> 0032: 06 08 2B 06  01 02 01 01  01 00 04 4B  4C 69 6E 75
> ..+KLinu
> 0048: 78 20 61 73  75 73 20 32  2E 36 2E 33  33 2E 32 2Dx asus
> 2.6.33.2-
> 0064: 73 63 73 74  20 23 31 20  53 4D 50 20  50 52 45 45scst #1 SMP
> PREE
> 0080: 4D 50 54 20  53 61 74 20  41 70 72 20  33 20 32 31MPT Sat Apr 3
> 21
> 0096: 3A 31 30 3A  35 38 20 43  45 53 54 20  32 30 31 30:10:58 CEST
> 2010
> 0112: 20 78 38 36  5F 36 34  x86_64
>
> [ ... ]
>
> Bart.
>
>
>
--

___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: net-snmp compilation problem still unresolved

2010-05-11 Thread Bart Van Assche
 On Tue, May 11, 2010 at 3:51 AM, Group  wrote:

> Thanks for the command. I could see the debug messages now.
> I have added a new MIB. To add those objects to snmpd.
> Do i need to do configure again?. Is there any other way to do this.
>

You have to write code in order to add support for a new MIB to snmpd. For
more information, see also
http://www.net-snmp.org/wiki/index.php/TUT:Writing_a_MIB_Module.

Bart.
--

___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users