diferent snmp calls

Angel Bosch <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
hi!

i posted something related to this problem some time ago, but had no time to investigate till now.

the point is i have a Red Hat Enterprise Linux ES release 4 box with nagios and all checks through snmp goes ok except when i call one machine. the strangest thing is that i can perform same check from another machine with (aparently) same snmp version without problems.
in the RH box a simple snmpget to that machines gets 

Timeout: No Response from 10.29.6.1.

but from my laptop i get a successfull response.

here is the output from those two machines.

redhat:
# snmpget -V
NET-SNMP version: 5.1.2

# snmpget -v 1 -c public -d 10.29.6.1 sysDescr.0

Sending 43 bytes to 10.29.6.1
0000: 30 29 02 01  00 04 06 70  75 62 6C 69  63 A0 1C 02    0).....public ..
0016: 04 74 C9 F7  BF 02 01 00  02 01 00 30  0E 30 0C 06    .tÉ÷¿......0.0..
0032: 08 2B 06 01  02 01 01 01  00 05 00                    .+.........


Resending 43 bytes to 10.29.6.1
0000: 30 29 02 01  00 04 06 70  75 62 6C 69  63 A0 1C 02    0).....public ..
0016: 04 74 C9 F7  BF 02 01 00  02 01 00 30  0E 30 0C 06    .tÉ÷¿......0.0..
0032: 08 2B 06 01  02 01 01 01  00 05 00                    .+.........


Resending 43 bytes to 10.29.6.1
0000: 30 29 02 01  00 04 06 70  75 62 6C 69  63 A0 1C 02    0).....public ..
0016: 04 74 C9 F7  BF 02 01 00  02 01 00 30  0E 30 0C 06    .tÉ÷¿......0.0..
0032: 08 2B 06 01  02 01 01 01  00 05 00                    .+.........


Resending 43 bytes to 10.29.6.1
0000: 30 29 02 01  00 04 06 70  75 62 6C 69  63 A0 1C 02    0).....public ..
0016: 04 74 C9 F7  BF 02 01 00  02 01 00 30  0E 30 0C 06    .tÉ÷¿......0.0..
0032: 08 2B 06 01  02 01 01 01  00 05 00                    .+.........


Resending 43 bytes to 10.29.6.1
0000: 30 29 02 01  00 04 06 70  75 62 6C 69  63 A0 1C 02    0).....public ..
0016: 04 74 C9 F7  BF 02 01 00  02 01 00 30  0E 30 0C 06    .tÉ÷¿......0.0..
0032: 08 2B 06 01  02 01 01 01  00 05 00                    .+.........


Resending 43 bytes to 10.29.6.1
0000: 30 29 02 01  00 04 06 70  75 62 6C 69  63 A0 1C 02    0).....public ..
0016: 04 74 C9 F7  BF 02 01 00  02 01 00 30  0E 30 0C 06    .tÉ÷¿......0.0..
0032: 08 2B 06 01  02 01 01 01  00 05 00                    .+.........

Timeout: No Response from 10.29.6.1.



debian:

$ snmpget -V
NET-SNMP version: 5.2.1.2

$ snmpget -v 1 -c public -d 10.29.6.1 sysDescr.0

Sending 43 bytes to UDP: [10.29.6.1]:161
0000: 30 29 02 01  00 04 06 70  75 62 6C 69  63 A0 1C 02    0).....public ..
0016: 04 09 D0 62  9A 02 01 00  02 01 00 30  0E 30 0C 06    ..Ðb.......0.0..
0032: 08 2B 06 01  02 01 01 01  00 05 00                    .+.........


Received 138 bytes from UDP: [10.29.6.1]:161
0000: 30 82 00 86  02 01 00 04  06 70 75 62  6C 69 63 A2    0........public¢
0016: 82 00 77 02  04 09 D0 62  9A 02 01 00  02 01 00 30    ..w...Ðb.......0
0032: 82 00 67 30  65 06 08 2B  06 01 02 01  01 01 00 04    ..g0e..+........
0048: 59 52 6F 75  74 65 72 20  6D 6F 64 65  6C 20 43 32    YRouter model C2
0064: 69 20 31 20  31 32 20 43  50 55 20 4D  50 43 38 36    i 1 12 CPU MPC86
0080: 30 20 20 20  20 20 20 53  2F 4E 3A 20  31 30 34 2F    0      S/N: 104/
0096: 32 31 35 38  37 20 20 54  65 6C 64 61  74 20 20 20    21587  Teldat   
0112: 20 20 20 20  20 20 20 20  20 20 20 20  28 63 29 31                (c)1
0128: 39 39 36 20  2D 20 32 30  30 34                       996 - 2004

SNMPv2-MIB::sysDescr.0 = STRING: Router model C2i 1 12 CPU MPC860      S/N: 104/21587  Teldat               (c)1996 - 2004



i've also tried with lastest snmp compiling it by myself but no luck.

any hints?



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
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.