5.6 Simple Network Management Protocol (SNMP)

Prev Next

SNMP is an IP-based communications protocol. Some uses and advantages include:

  • Favors a centralized system network management

  • Allows simultaneous mass device polling and reporting

  • Allows coil reads and writes

  • Supports an unlimited number of pollable devices

  • Low system latency, i.e., minimal system processing resources are used

  • Low-level security Community Strings are included and verified with each query

A hand pointing to the right, indicating direction or emphasis on an object. NOTE:

Firmware may not be updated using SNMP writes

SNMPv3 supported with Firmware version 3.0.0

SNMPv2c supported with Firmware Version 2.2.6 to 2.3.4

A MIB File

Available at morningstarcorp.com - serves as a directory of system information available for retrieval from the GenStar MPPT using an SNMP GET Command, or from the MIB itself. The GET Command is described below.

An Object Identifier (OID)

Is a component of a MIB File that contains either a single, or a collection of variables, e.g., solar specific values which can be queried by, or configured from, an SNMP Browser on a Network Management System (NMS)/Manager monitoring computer.

SNMP commands can retrieve, manage, modify, and parse GenStar MPPT data. The GenStar unit acts as an SNMP Agent.

There is various third-party, licensed NMS software available for using SNMP to monitor the GenStar MPPT. NMS MIB files, along with a MIB importer and SNMP browser applications, may be required to set up and run SNMP communications.

An industry-standard GenStar MPPT MIB File with OIDs and scaling factors is contained in a zip file that can be downloaded at https://www.morningstarcorp.com/support/library/?_document_product=23774&_ document_type=technical-document. The following commands are supported:

SET

The SNMP SET operation is used by the management applications and applets to modify the value of the managed object. If needed for an application, one or more MIB variables can be modified by using the SNMP SET operation.

SNMP WRITE PROCESS

  1. Write the new value for a given setting:

    1. SNMP SET SETTING_OID NEW_VALUE

  2. Write the new value to EEPROM by writing "TRUE" to the EEPROM session apply coil:

    1. SNMP SET EEPROM_SESSION_APPLY_OID TRUE [Writing "FALSE" to this coil will cancel the write operation, and then require repeating Step 1.]

  3. Perform a soft re-boot (which loads the newly written value(s) from EEPROM) by writing "TRUE" to the reset coil:

    1. SNMP SET RESET_OID TRUE

GET

A Manager-to-Agent request to retrieve the value of a variable or list of variables on a specific OID. Retrieval of the specified variable values is an atomic operation by the Agent, i.e., it will not be completed without all requested values returned.

GETNEXT

A Manager-to-Agent request to discover available variables and their values. Method used by SNMP manager to work through an ordered list of OIDs according to the standard MIB hierarchy. Returns a response with variable binding for the next variable in the MIB.

GET BULK

A sequence of GetNext requests, allowing a large segment of the MIB hierarchy to be queried by the SNMP manager from a managed device.

RESPONSE

Used by the SNMP agent to deliver requested information. Also acts as an acknowledgment.

DEFAULT PORT ASSIGNMENTS

Port 80 - MODBUS HTTP

Port 161 - SNMP Agent Receiving Port

33333 is Morningstar's registered IANA enterprise number and

1.3.6.1.4.1 is the standard address to the "enterprises" node, so

Morningstar Enterprise OID = 1.3.6.1.4.1.33333

SNMP Troubleshooting

Confirm data inconsistency with other MS monitoring platforms, e.g., MODBUS TCP, HTTP-LiveView, and then ensure the following:

  • MIB files are current and all reference MIBs are uploaded simultaneously, i.e., MORNINGSTAR.mib, and GenStar MPPT.mib

  • Each OID references the appropriate data value type listed in the MIB file

  • Community String names are properly configured (they will reset after a factory reboot). Write Com- munity should be set to, "private". Read Community should be set to, "public".

  • Network monitoring software is set to SNMPv3 with Firmware version 3.0.0 and later or SNMPv2c with Firmware Version 2.2.6 to 2.3.4

  • Correct IP address and Root OID are used for SNMPWalk