Technical Note SNMP Interface



Similar documents
AN-POV-011 SNMP use with POV

Technical Notes P/N Rev 01

Network Printing In Windows 95/98/ME

FAQ for InduSoft Web Studio

LPR for Windows 95/98/Me/2000/XP TCP/IP Printing User s Guide. Rev. 03 (November, 2001)

School of Information Technology and Engineering (SITE) CEG 4395: Computer Network Management

DP-313 Wireless Print Server

Moxa Device Manager 2.3 User s Manual

InduSoft Web Studio + Windows XP SP2. Introduction. Initial Considerations. Affected Features. Configuring the Windows Firewall

Note: CEView is the runtime program, which executes the applications developed with InduSoft Web Studio, on the WinCE operating system.

Installing the Microsoft Network Driver Interface

Setting up your laptop to print to the student lounge printer

Connecting to SQL server

Issue Tracking Anywhere Installation Guide

CANON FAX L360 SOFTWARE MANUAL

Changing Your Cameleon Server IP

This document describes the installation of the Web Server for Bosch Recording Station 8.10.

Introduction. Before you begin. Installing efax from our CD-ROM. Installing efax after downloading from the internet

LPR for Windows 95 TCP/IP Printing User s Guide

Spam Marshall SpamWall Step-by-Step Installation Guide for Exchange 5.5

Configure SPLM 2012 on Windows 7 Laptop

This document details the following four steps in setting up a Web Server (aka Internet Information Services -IIS) on Windows XP:

How to Obtain an OPC License--5. Creating a System Code 5 Entering an Authorization Code 6. Getting Started with SNMP Editor--7

Matisse Installation Guide for MS Windows. 10th Edition

FILE TRANSFER PROTOCOL (FTP) SITE

To install the SMTP service:

Lab - Configure a Windows 7 Firewall

ms-help://ms.technet.2005mar.1033/security/tnoffline/security/smbiz/winxp/fwgrppol...

Remote Connectivity to XV, XP and epro units running Visual Designer

Palomar College Dial-up Remote Access

Kepware Technologies Remote OPC DA Quick Start Guide (DCOM)

GE Healthcare Life Sciences UNICORN Administration and Technical Manual

Printer Sharing of the PT-9500pc in a Windows Environment

Advantech WebAccess Device Driver Guide. BwSNMP Advantech WebAccess to SNMP Agent (Simple Network Management Protocol) Device Driver Guide

Dell UPS Local Node Manager USER'S GUIDE EXTENSION FOR MICROSOFT VIRTUAL ARCHITECTURES Dellups.com

PREFACE iss.01 -

SQL Server 2008 R2 Express Installation for Windows 7 Professional, Vista Business Edition and XP Professional.

DCOM Setup. User Manual

Docufide Client Installation Guide for Windows

Administrator s Guide

Scheduling Automated Outlet Control Using FineSNMPSet with Sentry Switched Power Distribution Units

FreeFlow Accxes Print Server V15.0 August P Xerox FreeFlow Accxes Print Server Drivers and Client Tools Software Installation Guide

User Manual. Onsight Management Suite Version 5.1. Another Innovation by Librestream

Ethernet Interface Manual Thermal / Label Printer. Rev Metapace T-1. Metapace T-2 Metapace L-1 Metapace L-2

MULTIFUNCTIONAL DIGITAL SYSTEMS. Network Fax Guide

WINDOWS PROCESSES AND SERVICES

Novell ZENworks Asset Management

How to simulate network devices using the Verax SNMP Simulator (Linux/Windows)

Scan to SMB(PC) Set up Guide

Iridium Extreme TM Satellite Phone. Data Services Manual

Deploying Windows Streaming Media Servers NLB Cluster and metasan

How to Install Multiple Monitoring Agents on a Microsoft Operating System. Version StoneGate Firewall/VPN 2.6 and SMC 3.2

USER GUIDE. Ethernet Configuration Guide (Lantronix) P/N: Rev 6

SAS 9.3 Foundation for Microsoft Windows

How to set up Simple Network Management Protocol (SNMP) for Netop Remote Control

Immotec Systems, Inc. SQL Server 2005 Installation Document

STATISTICA VERSION 9 STATISTICA ENTERPRISE INSTALLATION INSTRUCTIONS FOR USE WITH TERMINAL SERVER

Sharp Remote Device Manager (SRDM) Server Software Setup Guide

Virtual Office Remote Installation Guide

NEC Express5800 Series NEC ESMPRO AlertManager User's Guide

PCLinq2 Hi-Speed USB Bridge-Network Cable. Quick Network Setup Guide

Setting Up Your FTP Server

Installation / Migration Guide for Windows 2000/2003 Servers

for Networks Installation Guide for the application on the server July 2014 (GUIDE 2) Lucid Rapid Version 6.05-N and later

etoken Enterprise For: SSL SSL with etoken

Remote Console Installation & Setup Guide. November 2009

Important Notes for WinConnect Server VS Software Installation:

Using IIS and UltraDev Locally page 1

Intelligent Power Protector User manual extension for Microsoft Virtual architectures: Hyper-V 6.0 Manager Hyper-V Server (R1&R2)

CentreWare for Microsoft Operations Manager. User Guide

START YOUR INVENTORY WITH SCANFRE

Network Setup Guide. Introduction. Setting up for use over LAN

1. CONFIGURING REMOTE ACCESS TO SQL SERVER EXPRESS

Distributing SMS v2.0

INTELLIscribe Installation and Setup for Windows 2000, XP, Server 2003, and Vista

Setting Up a Unisphere Management Station for the VNX Series P/N Revision A01 January 5, 2010

Video Administration Backup and Restore Procedures

Configuring the WT-4 for ftp (Ad-hoc Mode)

VPN Overview. The path for wireless VPN users

Step-by-Step Setup Guide Wireless File Transmitter FTP Mode

Installation Instruction STATISTICA Enterprise Small Business

5.6.3 Lab: Registry Backup and Recovery in Windows XP

Moxa Device Manager 2.0 User s Guide

Introduction. Configurations. Installation. Vault Manufacturing Server

Ekran System Help File

a) Network connection problems (check these for existing installations)

Installation Instruction STATISTICA Enterprise Server

Creating a New Database and a Table Owner in SQL Server 2005 for exchange@pam

Capture Pro Software FTP Server System Output

FactoryTalk Gateway Getting Results Guide

Pro-Watch Software Suite Installation Guide Honeywell Release 4.1

Advanced Aircraft Analysis 3.6 Network Floating License Installation

The Discovery Series

Portions of this product were created using LEADTOOLS LEAD Technologies, Inc. ALL RIGHTS RESERVED.

Novell ZENworks Asset Management 7.5

STATISTICA VERSION 12 STATISTICA ENTERPRISE SMALL BUSINESS INSTALLATION INSTRUCTIONS

Inmagic ODBC Driver 8.00 Installation and Upgrade Notes

Monitor Room Alert 7E With PageR Enterprise

Transcription:

Technical Note SNMP Interface Introduction This document describes the SNMP Interface provided with InduSoft Web Studio (IWS) and CEView. Simple Network Management Protocol (SNMP) is a popular protocol for network management. It is used for collecting information from, and configuring, network devices, such as servers, printers, hubs, switches, and routers on an Internet Protocol (IP) network. In a tipical SNMP architecture, there is one SNMP Manager station which Status Information from Devices Running SNMP Agent. Using IWS or CEView, you can provide real-time data from the devices connected to the SCADA/HMI system thorugh the native communication drivers (or OPC interface) controllers, machines, and so forth to a third-party SNMP Manager, such as HP Openview, Novell NMS, IBM NetView, or Sun Net Manager. In other words, IWS can work as a gateway between the devices in the plant-floor and the corporative equipment management system (SNMP Manager) in the ERP. Furthermore, IWS can also request data from third-party SNMP Agents and display this information through its graphical interface, locally or remotelly on the Thin Client stations. Page 1/10

Installation The SNMP interface from IWS uses the standard SNMP Service from Microsoft. The installation procedure depends on the operating system where you install the system and some dialogs illustrated in this document may vary depending on the OS version/type that you are using. Installation on Microsoft Windows 2000, Windows XP or Windows 2003 Server Install the Microsoft SNMP Service: Open the Control Panel (<Start> Control Panel) and double-click on the Add/Remote Programs icon. Select the option Add/Remove Windows Components, click on the Management and Monitoring Tools option and then click on the button Details. Check the option Simple Network Management Protocol, then click on Ok and Next to instlal the Microsoft SNMP Service (in case it had not been installed before). You might need the operating system CD-ROM to install this service. Configure the Microsoft SNMP Service: After installling the Microsoft SNMP Service, you must configure its settings. Open the Control Panel (<Start> Control Panel), doublec-click on the Administrative Tools icon and finally double-click on the Services icon. Right-click on the SNMP Service name and click on Properties. Make sure that the Local System Account selected in the Log On tab. Page 2/10

Select the Traps tab and add the community name called public (in case it does not exist yet) and add to the Trap destinations box the host name or IP address of the station(s) that must receive traps from the SNMP Agent. In other words, the host name or IP address of the station(s) where the SNMP Manager is running. Note: The SNMP protocol supports unsolicited messages (traps) from the SNMP Agent to the SNMP Manager (e.g.: change os status, alarm condition, etc) in order to optimize the communication in the network. Page 3/10

Select the Security tab and either select the option Accept SNMP packets from any host or select and option Accept SNMP packets from these hosts and add the list of host(s) where the SNMP Manager is running. Page 4/10

Configure the Studio SNMP Agent: Open the Registry Editor (<Start> Run RegEdit). Select the key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SNMP\Parameters\ExtensionAgents. This key lists the SNMP Agents linked to the Microsoft SNMP Service. Add a new String Value with the next sequencial number available for the list and set its data value to SOFTWARE\Studio\SNMP. Then create the Key HKEY_LOCAL_MACHINE\SOFTWARE\Studio\SNMP and add a new String value with the name Pathname, whose value must be set with the path of the Studio SNMP Agent DLL file (StudioSnmp.dll) for example: c:\program Files\InduSoft Web Studio v6.1\bin\studiosnmp.dll. Close the Registry Editor. Page 5/10

Open the Program Settings.INI file with a text editor (e.g.: Notepad). The Program Settings.INI file is located on the \BIN sub-folder of the Indusoft Web Studio intallation path (e.g.: c:\program Files\InduSoft Web Studio v6.1\bin\program Settings.ini). Create the following settings in the Program Settings.INI file: [SNMP] OidEnterpriseNumber=26640 TrapInterval=1 ApplicationTcpPort=1234 Save the changes and close the file editor. Notes: - OidEnterpiseNumber: Unique number, which defines the position in the SNMP tree where the Studio data will be exposed (.1.3.6.1.4.1.[OidEnterpriseNumber]). The Studio number is 26640. - TrapInterval: Interval (in seconds) used to send traps to the remote SNMP Manager(s). This parameter must be configured with a integer positive number. The default value is 1. - ApplicationTcpPort: TCP Port number used to exchange data with the TCP/IP Server task from InduSoft Web Studio. The default value is 1234. After confgiuring all settings, re-start the SNMP Service by rebooting the computer or by right-clicking on the SNMP Service (<Start> Control Panel Administrative Tools Service) and clicking on the option Restart. Importat: The Studio SNMP Agent exchanges data with the TCP/IP Server task from InduSoft Web Studio. Therefore, the TCP/IP Server task MUST be running in order to provide data to the SNMP Agent module. Make sure to set the TCP/IP Server task Automatic in the InduSoft Web Studio menu Project Status. Installation on Microsoft Windows CE Install the Microsoft SNMP Service: Page 6/10

The SNMP Server must be previously enabled in the image of the Windows CE device. If your Windows CE device does not provide the SNMP Agent, please consult your hardware vendor and ask them to add this service to the image of the device. Configure the Studio SNMP Agent: Copy the following files into a non-volatile directory of the Windows CE device (preferentially, the same directory where CEView.exe is installed): - StudioSnmp.dll - StudioSnmpReg.exe Note: The files mentioned above are stored in the following sub-folder after installing InduSoft Web Studio in your computer: \Redist\<OS_Version>\<ProcessorType> (e.g.: C:\Program Files\InduSoft Web Studio v6.1\redist\wince 4.0\x86). You can use the Send Files command from the Exeuction Environment dialog of InduSoft Web Studio to download these files to your Windows CE device. Optionally, you ca create a text file with a Text Editor (e.g.: Notepad) and save it with the name StudioSnmpReg.ini. This file must follow the structure illustrated in the example below: [SNMP] SnmpAgentPath=<Full path to the file StudioSnmp.dll> ProductPath=<Full path of the Bin folder of Studio> OidEnterpriseNumber=<enterprise number> ApplicationTcpPort=<TCP port used to communicate to Studio> TrapInterval=<Trap period, in seconds> SNMPDriverOrder=<SNMP driver order> [Trap Destination] 1=<IP address> 2=<IP address> 3=<IP address> The StudioSnmpReg.ini file allows you to customize some settings before installing the Studio SNMP Agent on your Windows CE device. If this file does not exit, the Studio SNMP Agent is installed with the default settings as described in the following table: Key Default Value Description SnmpAgentPath Same directory where the StudioSnmpReg.exe is executed Path where the StudioSnmp.dll is stored. from. ProductPath Same directory where the Path for the \BIN sub-folder of CEView (same StudioSnmpReg.exe is executed folder where CEView.exe is stored) from. OidEnterpriseNumber 26640 Unique number, which defines the position in the SNMP tree where the Studio data will be exposed (.1.3.6.1.4.1.[OidEnterpriseNumber]). TrapInterval 1 Interval (in seconds) used to send traps to the remote SNMP Manager(s). This parameter must be configured with a integer positive number. ApplicationTcpPort 1234 TCP Port number used to exchange data with the TCP/IP Server task from InduSoft Web Studio. Page 7/10

SNMPDriverOrder - Order to load the SNMP Driver. Usually, this parameter is not required. Consult your software vendor if you have problems during the installation of the Studio SNMP Agent. In addition to the parameters mentioned above, the Key [Trap Destination] list the Host Name or IP Address of the station(s) that must receive traps from the SNMP Agent. In other words, the host name or IP address of the station(s) where the SNMP Manager is running. Copy the StudioSnmpReg.ini (if any) to the same directory where the StudioSnmpReg.exe is stored (on the Windows CE device) and execute the StudioSnmpReg.exe program to install the Studio SNMP Agent on the Windows CE device. Wait until a message is displayed indicating the completion of the installation. Save the Registry and reboot the Windows CE device and the Studio SNMP Agent must be automatically loaded by the SNMP Service from the operating system. Note: It is strongly recommended copying the StudioSnmpReg.ini, StudioSnmpReg.exe and StudioSnmp.dll in the same directory where CEView.exe is stored (e.g.: \HardDisk\Studio\BIN\). Importat: The Studio SNMP Agent exchanges data with the TCP/IP Server task from CEView. Therefore, the TCP/IP Server task MUST be running in order to provide data to the SNMP Agent module. Make sure to set the TCP/IP Server task Automatic in the InduSoft Web Studio menu Project Status. Page 8/10

Studio SNMP Agent Settings The Studio SNMP Agent exposes data from the current application via the SNMP protocol. The Studio SNMP Agent has a unique ID number. Each data value exposed by the Studio SNMP Agent has an address (OID). The root of the OID space is.1.3.6.1.4.1.[en] or (iso.org.dod.internet.private.enterprise.[en]), where [EN] is the number configured in the parameter OidEnterpriseNumber of the file Program Settings.INI (Windows 2K/XP/2K3) or StudioSnmpReg.ini (Windows CE). By default, the EN number is 26640. The OIDs exposed by Studio SNMP Agent are listed below: Name OID Type Description studioversion 1.3.6.1.4.1.[EN].1.1.0 String Studio version number studiolicence 1.3.6.1.4.1.[EN].1.2.0 String Studio license type applicationname 1.3.6.1.4.1.[EN].1.3.0 String Name of the application being executed by Studio. applicationrevision 1.3.6.1.4.1.[EN].1.4.0 String Revision Number of the application being executed by Studio. tagtable 1.3.6.1.4.1.[EN].1.5 Table Table containing a list of the tags used in the current application and exposed to the SNMP Manger. The Table tagtable has 5 columns with the following information: Column Name Description 1 tagname String. The tag name. 2 tagtype String. The Tag Type ( bool, integer, real or string ). 3 tagvalue String. The current tag value. 4 tagquality String. The quality of the tag value. ( good or bad ). 5 tagtrap String. A number that indicates if the tag fires a trap when its value changes. 1 means trap is active; 0 means trap is inactive. You must configure the tags that will be exposed by the Studio SNMP Agent (by default, no tags are exposed). In order to configure the tags that will be exposed by the Studio SNMP Agent, just create a Text File with the CSV (Comma Separated Value) format. The file name must be SNMP.csv and it must be saved in the \Config sub-folder of your application. You can configure one tag in each line of the file, according to the following syntax: TagName, Trap Where: - TagName: Name of the tag that will be exposed by the Studio SNMP Agent. - Trap: Flag indicating if the Studio SNMP Agent must generate traps when this tag changes of value (0=trap disabled; 1=trap enabled). The following example illustrates a valid SNMP.CSV file, which makes three tags available to remote SNMP Manager (TagLevel, Alarm and Second) and generates traps automatically when the tag Alarm changes of value. TagLevel,0 Alarm,1 Second.0 Page 9/10

Map of Revision Revision Author Date Comments A Fabio Terezinho November 7, 2006 Initial Revision Page 10/10