Showing results 1 to 2 of 2

Thread: SNMP connectivity

  1. #1
    Join Date

    Default SNMP connectivity


    I'm unable to read varaible using SNMP.
    I'm getting the small red square on the corner of my numeric value element.

    I tested connectivity with device and created the variable (simple variable not a trap) using Browse Agent function, so I know OID is correct and that the device can be reached via SNMP
    I tested password and both V2 and V1 are enabled on my device.

    Using DiagViewer I'm getting the following:
    GET Error: errorStatus=2, errorIndex=1 oid=., specified. usadress=1 Error=0x0

    Win 7 32bit, Zenon 6.50

    Any suggestions?

  2. #2

    Default Re: SNMP connectivity


    Depending on your settings in the driver configuration, either the variable name or the variable identification is used for communication. Alternatively, the offset at the variable is used, when you are using the local allocation file.

    When you use e.g. Wireshark, you should be able to see the request by the driver to "GET" the OID, and see the GET response by the device.

    Click image for larger version

Name:	ScreenShot104.png
Views:	63
Size:	21.0 KB
ID:	679

    In the case of the screenshot, the GET response was OK and contained the value (error status 0 (noError))

    In your case, the errorstatus is 2 - noSuchName, which basically means that the driver requested from the device an OID that the device does not (or no longer) have in it's MIB.

    Depending on the device, the OIDs in the MIB may change, or may be available or unavailable, depending on e.g. wether a network cable is plugged or unplugged.

    So I suggest to check again, or try with an OID in the device that is always available. (e.g. system description)

    Browsing variables from the driver uses the same command as polling (reading) the variable in the runtime. ("GET")

    Browsing uses "GETNEXT" to get all OIDs, until no further are returned or the maximum is reached.


Similar Threads

  1. SNMP error
    By whitetaru in forum Drivers
    Replies: 3
    Last Post: 6th May 2011, 02:23
  2. Basic SNMP help
    By whitetaru in forum Drivers
    Replies: 1
    Last Post: 31st March 2011, 09:33
  3. SNMP traps
    By nblanquart in forum zenon Network
    Replies: 3
    Last Post: 2nd July 2010, 00:08
  4. SNMP-Configuration
    By rolindo in forum zenon Network
    Replies: 4
    Last Post: 11th December 2009, 08:36
  5. Problem of connectivity
    By ale_001 in forum Drivers
    Replies: 3
    Last Post: 5th October 2007, 19:21

Posting Rules

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts