Pushpa Thimmaiah | 22 Dec 08:59 2014
Picon

Are we allowed to change enterprise oid contents (i.e 1-4 octets) in engineID ?

Hi Folks,


I am implementing traps and  have changed 1-4th octet of engineID (0x8000xxxx0300b0ad000001) with my company's enterprise oid and added the same engineID (0x8000xxxx0300b0ad000001) in snmptrapd.conf. But trapreceiver 'snmptrapd' shows usm: no match on engineID .

Please let me know if I am missing anything here?

Thanks,
Pushpa.T
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users <at> lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
shubham soni | 20 Dec 18:30 2014
Picon

PROBLEM IN MIB TABLE CODE

Hello Everyone,
I am new to net-snmp code and mib2c.
I have a MIB which contains some tables and in that table there are different row with different scalar entities. I have tried to create code using mib2c but unable to handle all these requests.
Can anyone help me out to find how to generate code to handle all these entities using mib2c ?


------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users <at> lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Jan Janovic | 20 Dec 15:40 2014
Picon

Mysterious ".0" at the end of SNMP OID in Quagga

Hello net-snmp community,

I'm one of the main developers of the new EIGRP routing protocol daemon for Quagga routing suite. As we came to SNMP support implementation, we realized that to correctly get any of the SNMP values using particular OID, you need to add the mysterious ".0" at the end.

So for example when I want to get OSPF Router ID, instead of using snmpget 1.3.6.1.2.1.14.1.1, I need to write snmpget 1.3.6.1.2.1.14.1.1.0. The same situation we can see in our fresh implementation in new daemon. So, it looks like there is problem somewhere beyond Quagga, probably in net-snmp libraries.

Do anybody know something about this behaviour please? I'm just curious if it's a bug, or a feature :P

Thank you very much for response.

Jan Janovic
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users <at> lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
ly2008510 | 20 Dec 13:09 2014

SNMP configuration

Hello everyone, I am a beginner to the SNMP protocal. These days I'm trying to configure the snmpd.conf, but it failed. Because I checked the website, it said that I need find the "com2sec notConfigUser...", but actually my snmpd.conf doesnt have this content, so I dont know how to configure my snmpd.conf. I will paste the content of my snmpd.conf to you.Thank you so much for your time and instruction.


###############################################################################
#
# EXAMPLE.conf:
#   An example configuration file for configuring the Net-SNMP agent ('snmpd')
#   See the 'snmpd.conf(5)' man page for details
#
#  Some entries are deliberately commented out, and will need to be explicitly activated
#
###############################################################################
#
#  AGENT BEHAVIOUR
#

#  Listen for connections from the local system only
agentAddress  udp:127.0.0.1:161
#  Listen for connections on all interfaces (both IPv4 *and* IPv6)
#agentAddress udp:161,udp6:[::1]:161



###############################################################################
#
#  SNMPv3 AUTHENTICATION
#
#  Note that these particular settings don't actually belong here.
#  They should be copied to the file /var/lib/snmp/snmpd.conf
#     and the passwords changed, before being uncommented in that file *only*.
#  Then restart the agent

#  createUser authOnlyUser  MD5 "remember to change this password"
#  createUser authPrivUser  SHA "remember to change this one too"  DES
#  createUser internalUser  MD5 "this is only ever used internally, but still change the password"

#  If you also change the usernames (which might be sensible),
#  then remember to update the other occurances in this example config file to match.



###############################################################################
#
#  ACCESS CONTROL
#

                                                 #  system + hrSystem groups only
view   systemonly  included   .1.3.6.1.2.1.1
view   systemonly  included   .1.3.6.1.2.1.25.1

                                                 #  Full access from the local host
#rocommunity public  localhost
                                                 #  Default access to basic system info
 rocommunity public  default    -V systemonly

                                                 #  Full access from an example network
                                                 #     Adjust this network address to match your local
                                                 #     settings, change the community string,
                                                 #     and check the 'agentAddress' setting above
#rocommunity secret  10.0.0.0/16

                                                 #  Full read-only access for SNMPv3
 rouser   authOnlyUser
                                                 #  Full write access for encrypted requests
                                                 #     Remember to activate the 'createUser' lines above
#rwuser   authPrivUser   priv

#  It's no longer typically necessary to use the full 'com2sec/group/access' configuration
#  r[ow]user and r[ow]community, together with suitable views, should cover most requirements



###############################################################################
#
#  SYSTEM INFORMATION
#

#  Note that setting these values here, results in the corresponding MIB objects being 'read-only'
#  See snmpd.conf(5) for more details
sysLocation    Sitting on the Dock of the Bay
sysContact     Me <me <at> example.org>
                                                 # Application + End-to-End layers
sysServices    72


#
#  Process Monitoring
#
                               # At least one  'mountd' process
proc  mountd
                               # No more than 4 'ntalkd' processes - 0 is OK
proc  ntalkd    4
                               # At least one 'sendmail' process, but no more than 10
proc  sendmail 10 1

#  Walk the UCD-SNMP-MIB::prTable to see the resulting output
#  Note that this table will be empty if there are no "proc" entries in the snmpd.conf file


#
#  Disk Monitoring
#
                               # 10MBs required on root disk, 5% free on /var, 10% free on all other disks
disk       /     10000
disk       /var  5%
includeAllDisks  10%

#  Walk the UCD-SNMP-MIB::dskTable to see the resulting output
#  Note that this table will be empty if there are no "disk" entries in the snmpd.conf file


#
#  System Load
#
                               # Unacceptable 1-, 5-, and 15-minute load averages
load   12 10 5

#  Walk the UCD-SNMP-MIB::laTable to see the resulting output
#  Note that this table *will* be populated, even without a "load" entry in the snmpd.conf file



###############################################################################
#
#  ACTIVE MONITORING
#

                                    #   send SNMPv1  traps
 trapsink     localhost public
                                    #   send SNMPv2c traps
#trap2sink    localhost public
                                    #   send SNMPv2c INFORMs
#informsink   localhost public

#  Note that you typically only want *one* of these three lines
#  Uncommenting two (or all three) will result in multiple copies of each notification.


#
#  Event MIB - automatically generate alerts
#
                                   # Remember to activate the 'createUser' lines above
iquerySecName   internalUser      
rouser          internalUser
                                   # generate traps on UCD error conditions
defaultMonitors          yes
                                   # generate traps on linkUp/Down
linkUpDownNotifications  yes



###############################################################################
#
#  EXTENDING THE AGENT
#

#
#  Arbitrary extension commands
#
 extend    test1   /bin/echo  Hello, world!
 extend-sh test2   echo Hello, world! ; echo Hi there ; exit 35
#extend-sh test3   /bin/sh /tmp/shtest

#  Note that this last entry requires the script '/tmp/shtest' to be created first,
#    containing the same three shell commands, before the line is uncommented

#  Walk the NET-SNMP-EXTEND-MIB tables (nsExtendConfigTable, nsExtendOutput1Table
#     and nsExtendOutput2Table) to see the resulting output

#  Note that the "extend" directive supercedes the previous "exec" and "sh" directives
#  However, walking the UCD-SNMP-MIB::extTable should still returns the same output,
#     as well as the fuller results in the above tables.


#
#  "Pass-through" MIB extension command
#
#pass .1.3.6.1.4.1.8072.2.255  /bin/sh       PREFIX/local/passtest
#pass .1.3.6.1.4.1.8072.2.255  /usr/bin/perl PREFIX/local/passtest.pl

# Note that this requires one of the two 'passtest' scripts to be installed first,
#    before the appropriate line is uncommented.
# These scripts can be found in the 'local' directory of the source distribution,
#     and are not installed automatically.

#  Walk the NET-SNMP-PASS-MIB::netSnmpPassExamples subtree to see the resulting output


#
#  AgentX Sub-agents
#
                                           #  Run as an AgentX master agent
 master          agentx
                                           #  Listen for network connections (from localhost)
                                           #    rather than the default named socket /var/agentx/master

#agentXSocket    tcp:localhost:705



That is my snmpd.conf, do you know how to configure this? really thank you for your time.


------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users <at> lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Francois Bouchard | 18 Dec 21:58 2014
Picon

snmpset timeout, but did work, help with debug traces

Hi all,

I have an object which takes time to set, around 10 seconds, and the command snmpset returns a timeout, even though the Set action actually worked.

The set request is done this way:
snmpset -v 3 -u  Admin -t 30 -r 0  -a MD5 -A "Admin-00"  -l authNoPriv 172.27.42.191  MPBC-MIB::mpbcIPaddress.0 a 172.27.42.191
snmpset: Timeout

And it is doing the same thing (timeout) with another program, MIBBrowser.

But the set did work.

I have compared the debug traces of this set operation (Set with MIBBrowser) with another similar object that takes less time to do the set action.  I show you the difference between the two debug traces, omitting traces that are identical or alike.  Assuming it could give a hint.


TRACES FOR TIMEOUT SET
dumpx_recv:      02 01 04
dumpv_recv:        Integer:4 (0x04)
trace: snmpv3_parse(): snmp_api.c, 3604:
dumph_recv:     msgMaxSize
dumpx_recv:      02 02 05 DC
dumpv_recv:        Integer:1500 (0x5DC)
trace: snmpv3_parse(): snmp_api.c, 3642:
snmpv3_parse: msgMaxSize 1500 received
trace: snmpv3_parse(): snmp_api.c, 3650:
dumph_recv:     msgFlags
dumpx_recv:      04 01 05
dumpv_recv:        String:.
trace: snmpv3_parse(): snmp_api.c, 3668:
dumph_recv:     msgSecurityModel

(...)

trace: snmpv3_parse(): snmp_api.c, 3742:
dumph_recv:   SM msgSecurityParameters
trace: usm_process_in_msg(): snmpusm.c, 2361:
usm: USM processing begun...
trace: usm_parse_security_parameters(): snmpusm.c, 1934:
dumph_recv:     msgAuthoritativeEngineID
dumpx_recv:      04 0D 80 00 1F 88 80 05 08 15 0E 52 AF EC D0
dumpv_recv:        String:.........R...
trace: usm_parse_security_parameters(): snmpusm.c, 1957:
dumph_recv:     msgAuthoritativeEngineBoots
dumpx_recv:      02 01 4B
dumpv_recv:        Integer:75 (0x4B)
trace: usm_parse_security_parameters(): snmpusm.c, 1981:
dumph_recv:     msgAuthoritativeEngineTime
dumpx_recv:      02 02 03 11
dumpv_recv:        Integer:785 (0x311)
trace: usm_parse_security_parameters(): snmpusm.c, 2009:
dumph_recv:     msgUserName
dumpx_recv:      04 05 41 64 6D 69 6E
dumpv_recv:        String:Admin
trace: usm_parse_security_parameters(): snmpusm.c, 2052:
dumph_recv:     msgAuthenticationParameters
dumpx_recv:      04 0C D5 43 BE EF 20 1D 0E 79 34 BC 3C D9
dumpv_recv:        String:.C.. ..y4.<.
trace: usm_parse_security_parameters(): snmpusm.c, 2081:
dumph_recv:     msgPrivacyParameters
dumpx_recv:      04 00
dumpv_recv:        String:
trace: sc_hash(): scapi.c, 463:
trace: sc_get_properlength(): scapi.c, 138:
trace: get_enginetime(): lcd_time.c, 156:
lcd_get_enginetime: engineID 80 00 1F 88 80 05 08 15 0E 52 AF EC D0 : boots=76, time=139
trace: usm_get_user_from_list(): snmpusm.c, 3525:
usm: match on user Admin
trace: usm_check_secLevel(): snmpusm.c, 3402:
comparex: Comparing: 1 3 SNMP-USER-BASED-SM-MIB::usmNoPrivProtocol
trace: sc_check_keyed_hash(): scapi.c, 615:
trace: sc_generate_keyed_hash(): scapi.c, 303:
trace: sc_get_properlength(): scapi.c, 138:
trace: usm_process_in_msg(): snmpusm.c, 2518:
usm: Verification succeeded.
trace: usm_check_and_update_timeliness(): snmpusm.c, 2181:
usm: boot_uint 75 myBoots 76 time_diff 646 => not in time window
trace: snmpv3_parse(): snmp_api.c, 3773:
dumph_recv:     ScopedPDU
trace: snmpv3_scopedPDU_parse(): snmp_api.c, 4647:
dumph_recv:       contextEngineID
dumpx_recv:        04 0D 80 00 1F 88 80 05 08 15 0E 52 AF EC D0
dumpv_recv:          String:.........R...
trace: snmpv3_scopedPDU_parse(): snmp_api.c, 4660:
dumph_recv:       contextName
dumpx_recv:        04 00
dumpv_recv:          String:
trace: snmpv3_parse(): snmp_api.c, 3781:
dumph_recv:       SET
trace: snmp_pdu_parse(): snmp_api.c, 4354:
dumpv_recv:     Command SET
trace: snmp_pdu_parse(): snmp_api.c, 4439:
dumph_recv:         request_id
dumpx_recv:          02 01 04
dumpv_recv:            Integer:4 (0x04)
trace: snmp_pdu_parse(): snmp_api.c, 4450:
dumph_recv:         error status
dumpx_recv:          02 01 00
dumpv_recv:            Integer:0 (0x00)
trace: snmp_pdu_parse(): snmp_api.c, 4461:
dumph_recv:         error index
dumpx_recv:          02 01 00
dumpv_recv:            Integer:0 (0x00)
trace: snmp_pdu_parse(): snmp_api.c, 4479:
dumph_recv:         VarBindList
trace: snmp_pdu_parse(): snmp_api.c, 4509:
dumph_recv:           VarBind
trace: snmp_parse_var_op(): snmp.c, 164:
dumph_recv:             Name
dumpx_recv:              06 0D 2B 06 01 04 01 A2 70 02 02 0C 01 05 00
dumpv_recv:                ObjID: SNMPv2-SMI::enterprises.4464.2.2.12.1.5.0
trace: snmp_pdu_parse(): snmp_api.c, 4518:
dumph_recv:             Value
dumpx_recv:              40 04 AC 1B 2A BF
dumpv_recv:                String:..*.
trace: _snmp_parse(): snmp_api.c, 4151:
snmp_parse: Parsed SNMPv3 message (secName:Admin, secLevel:authNoPriv): USM not in time window
trace: snmpv3_build(): snmp_api.c, 2153:
snmp_build: Building SNMPv3 message (secName:"Admin", secLevel:authNoPriv)...
trace: snmpv3_build(): snmp_api.c, 2155:
dumph_send:   SNMPv3 Message
trace: snmpv3_packet_realloc_rbuild(): snmp_api.c, 2498:
dumph_send:     REPORT
trace: snmp_pdu_realloc_rbuild(): snmp_api.c, 3266:
snmp_pdu_realloc_rbuild: starting
trace: snmp_pdu_realloc_rbuild(): snmp_api.c, 3281:
dumph_send:       VarBind
trace: snmp_realloc_rbuild_var_op(): snmp.c, 339:
dumph_send:         Value
dumpx_send:          41 01 01
dumpv_send:            UInteger:1 (0x01)
trace: snmp_realloc_rbuild_var_op(): snmp.c, 440:
dumph_send:         Name
dumpx_send:          06 0A 2B 06 01 06 03 0F 01 01 02 00
dumpv_send:            ObjID: SNMP-USER-BASED-SM-MIB::usmStatsNotInTimeWindows.0
trace: snmp_pdu_realloc_rbuild(): snmp_api.c, 3349:
dumph_send:     error index
dumpx_send:      02 01 00
dumpv_send:        Integer:0 (0x00)
trace: snmp_pdu_realloc_rbuild(): snmp_api.c, 3362:
dumph_send:     error status
dumpx_send:      02 01 00
dumpv_send:        Integer:0 (0x00)
trace: snmp_pdu_realloc_rbuild(): snmp_api.c, 3375:
dumph_send:     request_id
dumpx_send:      02 01 04
dumpv_send:        Integer:4 (0x04)
trace: snmpv3_packet_realloc_rbuild(): snmp_api.c, 2516:
dumph_send:     ScopedPdu
trace: snmpv3_scopedPDU_header_realloc_rbuild(): snmp_api.c, 2444:
dumph_send:       contextName
dumpx_send:        04 00
dumpv_send:          String: [NULL]
trace: snmpv3_scopedPDU_header_realloc_rbuild(): snmp_api.c, 2458:
dumph_send:       contextEngineID
dumpx_send:        04 0D 80 00 1F 88 80 05 08 15 0E 52 AF EC D0
dumpv_send:          String:.........R...
trace: snmpv3_header_realloc_rbuild(): snmp_api.c, 2319:
dumph_send:   msgSecurityModel
dumpx_send:    02 01 03
dumpv_send:      Integer:3 (0x03)
trace: snmpv3_header_realloc_rbuild(): snmp_api.c, 2333:
dumph_send:   msgFlags
dumpx_send:    04 01 01
dumpv_send:      String:.
trace: snmpv3_header_realloc_rbuild(): snmp_api.c, 2347:
dumph_send:   msgMaxSize
dumpx_send:    02 03 00 FF E3
dumpv_send:      Integer:65507 (0xFFE3)
trace: snmpv3_header_realloc_rbuild(): snmp_api.c, 2360:
dumph_send:   msgID
dumpx_send:    02 01 04
dumpv_send:      Integer:4 (0x04)
trace: snmpv3_header_realloc_rbuild(): snmp_api.c, 2384:
dumph_send:   SNMP Version Number
dumpx_send:    02 01 03
dumpv_send:      Integer:3 (0x03)
trace: snmpv3_packet_realloc_rbuild(): snmp_api.c, 2544:
dumph_send:   SM msgSecurityParameters
trace: usm_rgenerate_out_msg(): snmpusm.c, 1418:
usm: USM processing has begun (offset 49)
trace: usm_get_user(): snmpusm.c, 3509:
usm: getting user Admin
trace: usm_get_user_from_list(): snmpusm.c, 3525:
usm: match on user Admin
trace: sc_hash(): scapi.c, 463:
trace: sc_get_properlength(): scapi.c, 138:
trace: get_enginetime(): lcd_time.c, 156:
lcd_get_enginetime: engineID 80 00 1F 88 80 05 08 15 0E 52 AF EC D0 : boots=76, time=139
trace: usm_rgenerate_out_msg(): snmpusm.c, 1645:
dumph_send:     msgPrivacyParameters
dumpx_send:      04 00
dumpv_send:        String: [NULL]
trace: usm_rgenerate_out_msg(): snmpusm.c, 1661:
dumph_send:     msgAuthenticationParameters
dumpx_send:      04 0C 00 00 00 00 00 00 00 00 00 00 00 00
dumpv_send:        String:............
trace: usm_rgenerate_out_msg(): snmpusm.c, 1693:
dumph_send:     msgUserName
dumpx_send:      04 05 41 64 6D 69 6E
dumpv_send:        String:Admin
trace: usm_rgenerate_out_msg(): snmpusm.c, 1708:
dumph_send:     msgAuthoritativeEngineTime
dumpx_send:      02 02 00 8B
dumpv_send:        Integer:139 (0x8B)
trace: usm_rgenerate_out_msg(): snmpusm.c, 1724:
dumph_send:     msgAuthoritativeEngineBoots
dumpx_send:      02 01 4C
dumpv_send:        Integer:76 (0x4C)
trace: usm_rgenerate_out_msg(): snmpusm.c, 1737:
dumph_send:     msgAuthoritativeEngineID
dumpx_send:      04 0D 80 00 1F 88 80 05 08 15 0E 52 AF EC D0
dumpv_send:        String:.........R...
trace: sc_generate_keyed_hash(): scapi.c, 303:
trace: sc_get_properlength(): scapi.c, 138:
trace: usm_rgenerate_out_msg(): snmpusm.c, 1846:
usm: USM processing completed.
trace: _sess_async_send(): snmp_api.c, 4930:
sess_process_packet: sending message id#4 reqid#4 len 119
transport:send: 119 bytes to UDP: [172.27.37.29]:4375->[172.27.42.191]:161
trace: netsnmp_udpbase_send(): transports/snmpUDPBaseDomain.c, 173:
netsnmp_udp: send 119 bytes from 0x800713b9 to UDP: [172.27.37.29]:4375->[172.27.42.191]:161 on fd 5
trace: netsnmp_udpbase_sendto(): transports/snmpUDPBaseDomain.c, 297:
udpbase:sendto: sending from 172.27.42.191 iface 4
trace: _sess_process_packet(): snmp_api.c, 5212:
sess_process_packet: received message id#4 reqid#4 len 132
trace: _sess_process_packet(): snmp_api.c, 5215:
sess_process_packet: parse fail
trace: _sess_process_packet(): snmp_api.c, 5220:
sess_process_packet: post-parse fail
trace: _sess_read(): snmp_api.c, 5501:
sess_read: not reading 3 (fdset 0xbfc4fbd0 set 0)
trace: snmp_sess_select_info2_flags(): snmp_api.c, 5995:
sess_select: for all sessions: 5 3
sess_select: next alarm 1610665048.-2147480086 sec
sess_select: blocking:no session requests or alarms.
trace: receive(): snmpd.c, 1379:
snmpd/select: select( numfds=6, ..., tvp=(nil))
trace: receive(): snmpd.c, 1384:
snmpd/select: returned, count = 1
trace: netsnmp_udpbase_recvfrom(): transports/snmpUDPBaseDomain.c, 241:
udpbase:recv: got source addr: 172.27.37.29
trace: netsnmp_udpbase_recvfrom(): transports/snmpUDPBaseDomain.c, 253:
udpbase:recv: got destination (local) addr 172.27.42.191, iface 4
trace: netsnmp_udpbase_recv(): transports/snmpUDPBaseDomain.c, 136:
netsnmp_udp: recvfrom fd 5 got 132 bytes (from UDP: [172.27.37.29]:4375->[172.27.42.191]:161)
transport:recv: 132 bytes from UDP: [172.27.37.29]:4375->[172.27.42.191]:161
trace: _sess_process_packet(): snmp_api.c, 5165:
sess_process_packet: session 0x800509d8 fd 5 pkt 0x80060680 length 132
trace: snmp_parse_version(): snmp_api.c, 3483:
dumph_recv: SNMP Version
dumpx_recv:  02 01 03
dumpv_recv:    Integer:3 (0x03)
trace: snmpv3_parse(): snmp_api.c, 3524:
dumph_recv: SNMPv3 Message
trace: snmpv3_parse(): snmp_api.c, 3539:
dumph_recv:   SNMP Version Number
dumpx_recv:    02 01 03
dumpv_recv:      Integer:3 (0x03)
trace: snmpv3_parse(): snmp_api.c, 3555:
dumph_recv:   msgGlobalData
trace: snmpv3_parse(): snmp_api.c, 3572:
dumph_recv:     msgID
dumpx_recv:      02 01 05
dumpv_recv:        Integer:5 (0x05)


(........)


Any help on why the Agent does not respond ?

Thanks,

Francois





------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users <at> lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Pete Snmp | 18 Dec 05:20 2014
Picon

[SPAM] FW:wjni y

http://kal.cwhnetworks.com/nq/lztghxnajiilptkjfbyfmdnrohfnjdl.dxkkmupxqyidkpkicp
































Pete Snmp

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users <at> lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Dharm S | 18 Dec 12:16 2014
Picon

Include only TSM module

Hi All,

I tried to include only the tsm security module and disable usm using the token

--with-out-security-modules=usm

But the make command throws the following error:

undefined reference to `usmAESPrivProtocol'
Desktop/net-snmp-5.7.3.rc3/snmplib/.libs/libnetsnmp.so: undefined reference to `usmDESPrivProtocol'
Desktop/net-snmp-5.7.3.rc3/snmplib/.libs/libnetsnmp.so: undefined reference to `usmHMACMD5AuthProtocol'
Desktop/net-snmp-5.7.3.rc3/snmplib/.libs/libnetsnmp.so: undefined reference to `usm_clone_usmStateReference'
Desktop/net-snmp-5.7.3.rc3/snmplib/.libs/libnetsnmp.so: undefined reference to `usmHMACSHA1AuthProtocol'

I disabled applications since it has snmpusm. But still it shows this error. What all tokens should be used to remove usm and include only tsm module??

Thank You,
Dharm

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users <at> lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Dharm S | 17 Dec 12:51 2014
Picon

SNMPv2 traps

Hi All,

I am sending traps from an embedded platform which has the net-snmp agent running in it.

I have the following lines in snmpd.conf

rocommunity public 192.168.10.57
rocommunity public 192.168.10.53

trap2sink  192.168.10.53 public

The agent address is 192.168.10.57. I can see the traps being received on wireshark. But I am not able to view them on terminal or log in any file using
   snmptrapd -f -Lo (or) snmptrapd -f -Lf traps.txt

snmptrapd.conf has only following line
    disableAuthorization yes

I am able to log the traps if the snmp agent runs in localhost (same system for snmpd and snmptrapd) . But the traps from remote system are not logged.

Kindly help me on this.
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users <at> lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Stefan Bauer | 11 Dec 16:37 2014
Picon

snmp headache - different OID in response ?!

 dear users,

I'm trying to fetch some informations from our FC switch (hp/brocade silkworm).

after some snmpwalking i discovered the correct OID and started a get request - recorded with tcpdump:

16:23:30.695496 IP client.35012 > switch.snmp:  C=public GetRequest(54)  E:1588.2.1.1.1.28.1.1.4.16.0.0.39.248.47.156.80.0.0.0.0.0.0.0.0.31

Now the response from the device:

16:23:30.714535 IP switch.snmp > client.35012:  C=public GetResponse(60) E:1588.2.1.1.1.28.1.1.4.16.0.0.39.248.10.31.63.0.0.0.0.0.0.0.0.31="-2.5   "

The value is correct, but the OID is different so my monitoring appliance is not accepting the value.

I already tried several times to query the response OID in first place, but its changing from time to time and i dont get why.

Any help is greatly appreciated

thank you in advance


Stefan

 

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users <at> lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Popescu Andrei | 11 Dec 11:58 2014

snmptrapd forward traps to snmpd via agentx

Hello!

I've been checking all the available documentation on snmp forums and 
have also discussed
with rstory/rstory-work on net-snmp IRC channel who has been very 
helpful and offered good insight
given our both limited time frames.

However, I am unable to get this going.

I have a device that is capable of sending only v1 traps and that cannot 
change, named A from now on.

I need to build a setup so it's v1 traps can be converted to v3. An 
endpoint where I can read (in syslog)
v3 traps that corespond to the v1's generated by A.

Based on previous discussions, here is what I have understood:

1. snmptrapd on A needs to forward traps to snmptrapd on B
2. snmptrapd on B needs to forward traps further to snmpd on B, via agentx.
3. snmpd needs to convert/generate a v3 trap and send it to C

I am using 3 centos linux machines(A, B, C).

[A v1 trap] -> [B snmptrapd agentx] -> [B snmpd agentx] -> [B snmpd v3 
trap] -> C

The SNMP on B does not receive anything, or does not display anything 
about receiving data (I added -Dagentx)

Below you will find config files for (snmpd, snmptrapd) on A and (snmpd, 
snmptrapd) on B.

It's always a chance I gotten something wrong, or I misunderstood 
something but I believe
have followed the guides on your website and it do not seem to work.

Regards,
Popescu Andrei
Attachment (configs.zip): application/zip, 15 KiB
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users <at> lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Patrick Cumming | 5 Dec 09:44 2014

cannot SET system.sysLocation/ system.sysContact

Hi,
I am fairly new to snmp and net snmp but have been unable to find an 
answer to a problem described below:

It does not seem to be possible to set system.sysLocation and 
system.sysContact using an SNMP SET.
The net snmp agent is version 5.4.2.1 running on Digi Embedded Linux 5.9.
SNMP GET on system.sysLocation and system.sysContact works ok but when a 
SET always results in  'There is no such variable name in this mib. 
Errindex: 1'.
These are both read write in the MIB definition.

In snmpd.conf syslocation and syscontact are commented out and my 
understanding is that they shoud only be read only if they are present 
in snmpd.conf.
The access control has been modified to allow read write access and 
system.sysName and snmp.snmpEnableAuthenTraps can be SET so it is not a 
write permissions issue.

How do I allow the setting of system.sysLocation/ system.sysContact 
(appart from removing them from snmpd.conf which I have already done).

Many thanks,
Patrick Cumming

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users <at> lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Gmane