advantech ecu snmp subagent user guide on...

32
Advantech ECU SNMP Subagent User Guide on Windows This guide walks you through the process of installing / configuring Advantech SNMP on ECU device. The following list outlines the process: 1. Windows SNMP configuration 2. Install Advantech Device Drivers 3. AdvSNMPAgent Installation 4. Get MIB files 5. Test with the iReasoning MIB browser Note: 1. This file based on the Windows 7 64-bit system as an example. 2. The target platform refers to the ECU device. 3. The client platform refers to others PC, such as your PC.

Upload: others

Post on 06-Mar-2021

12 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Advantech ECU SNMP Subagent User Guide on Windowsadvdownload.advantech.com/productfile/Downloadfile1/1... · 2020. 4. 2. · 3.2 Check the Advantech Kernel Driver After the Advantech

Advantech ECU SNMP

Subagent User Guide on

Windows

This guide walks you through the process of installing / configuring Advantech

SNMP on ECU device.

The following list outlines the process:

1. Windows SNMP configuration

2. Install Advantech Device Drivers

3. AdvSNMPAgent Installation

4. Get MIB files

5. Test with the iReasoning MIB browser

Note:

1. This file based on the Windows 7 64-bit system as an example.

2. The target platform refers to the ECU device.

3. The client platform refers to others PC, such as your PC.

Page 2: Advantech ECU SNMP Subagent User Guide on Windowsadvdownload.advantech.com/productfile/Downloadfile1/1... · 2020. 4. 2. · 3.2 Check the Advantech Kernel Driver After the Advantech

Table of Contents

1 Windows SNMP configuration .................................................. 3

1.1 Step 1: Install SNMP Service ............................................................ 3

1.2 Step 2: Configure SNMP service ........................................................ 6

1.3 Step 3: Start SNMP Service .................. Error! Bookmark not defined.

2 Install Advantech Device Drivers ........................................... 19

2.1 Install Advantech Lmsensor Driver .................................................. 19

2.2 Install Advantech Watchdog Driver .................................................. 20

3 AdvSNMPAgent installation .................................................... 21

3.1 Install Advantech Kernel Driver and Advantech SNMP Subagent.......... 21

3.2 Check the Advantech Kernel Driver ................................................. 25

4 Get MIB files .......................................................................... 27

5 Test with the iReasoning MIB browser................................... 29

5.1 Installing the iReasoning MIB browser ............................................. 29

5.2 Using the iReasoning MIB browser .................................................. 29

Page 3: Advantech ECU SNMP Subagent User Guide on Windowsadvdownload.advantech.com/productfile/Downloadfile1/1... · 2020. 4. 2. · 3.2 Check the Advantech Kernel Driver After the Advantech

1 Windows SNMP configuration The Advantech SNMP Subagent is based on the Windows SNMP Service. You

must install the Windows SNMP Service and configure it on the supported

Operating Systems.

You can manage it on the Services Microsoft Management Console (MMC) snap-

in.

Figure 1-1

1.1 Step 1: Install SNMP Service If the SNMP Service does not exist, you can turn on the Simple Network

Management Protocol by the following steps.

1. Go to Control panel > Programs and Features.

Page 4: Advantech ECU SNMP Subagent User Guide on Windowsadvdownload.advantech.com/productfile/Downloadfile1/1... · 2020. 4. 2. · 3.2 Check the Advantech Kernel Driver After the Advantech

Figure 1-2 Programs and Features

2. Click Turn Windows features on or off on the left panel.

Page 5: Advantech ECU SNMP Subagent User Guide on Windowsadvdownload.advantech.com/productfile/Downloadfile1/1... · 2020. 4. 2. · 3.2 Check the Advantech Kernel Driver After the Advantech

Figure 1-3

3. In Windows Features window, check the Simple Network Management

Protocol checkbox. (Figure 1-4)

Page 6: Advantech ECU SNMP Subagent User Guide on Windowsadvdownload.advantech.com/productfile/Downloadfile1/1... · 2020. 4. 2. · 3.2 Check the Advantech Kernel Driver After the Advantech

Figure 1-4 Windows Features

4. Click OK to add features.

1.2 Step 2: Configure SNMP service

1. Open the Services snap-in to configure the SNMP Services.

2. In the Services snap-in, right click on SNMP Service and click Properties.

3. Make sure the Startup Type of the SNMP Services. is Automatic.

Page 7: Advantech ECU SNMP Subagent User Guide on Windowsadvdownload.advantech.com/productfile/Downloadfile1/1... · 2020. 4. 2. · 3.2 Check the Advantech Kernel Driver After the Advantech

Figure 1-5

4. Select the Traps tab. Type public in community name combo box. And then

click on the Add to list button.

Page 8: Advantech ECU SNMP Subagent User Guide on Windowsadvdownload.advantech.com/productfile/Downloadfile1/1... · 2020. 4. 2. · 3.2 Check the Advantech Kernel Driver After the Advantech

Figure 1-6

5. Click on the Add… button.

Page 9: Advantech ECU SNMP Subagent User Guide on Windowsadvdownload.advantech.com/productfile/Downloadfile1/1... · 2020. 4. 2. · 3.2 Check the Advantech Kernel Driver After the Advantech

Figure 1-7

6. Enter 127.0.0.1 on the SNMP Service Configuration windows. And then

click on the Add button.

Page 10: Advantech ECU SNMP Subagent User Guide on Windowsadvdownload.advantech.com/productfile/Downloadfile1/1... · 2020. 4. 2. · 3.2 Check the Advantech Kernel Driver After the Advantech

Figure 1-8

7. Click on the Apply button.

Page 11: Advantech ECU SNMP Subagent User Guide on Windowsadvdownload.advantech.com/productfile/Downloadfile1/1... · 2020. 4. 2. · 3.2 Check the Advantech Kernel Driver After the Advantech

Figure 1-9

8. Select the Security tab. And check the Send authentication trap checkbox.

Page 12: Advantech ECU SNMP Subagent User Guide on Windowsadvdownload.advantech.com/productfile/Downloadfile1/1... · 2020. 4. 2. · 3.2 Check the Advantech Kernel Driver After the Advantech

Figure 1-10

9. Click on the Add… button to set Accepted community names.

Page 13: Advantech ECU SNMP Subagent User Guide on Windowsadvdownload.advantech.com/productfile/Downloadfile1/1... · 2020. 4. 2. · 3.2 Check the Advantech Kernel Driver After the Advantech

Figure 1-11

10. On the SNMP Service Configuration window, select READONLY on

Community rights, type your community name (e.g. public) on Community

Name edit box, and click Add.

Page 14: Advantech ECU SNMP Subagent User Guide on Windowsadvdownload.advantech.com/productfile/Downloadfile1/1... · 2020. 4. 2. · 3.2 Check the Advantech Kernel Driver After the Advantech

Figure 1-12

11. Click on the Add… button to set Accepted community names.

Page 15: Advantech ECU SNMP Subagent User Guide on Windowsadvdownload.advantech.com/productfile/Downloadfile1/1... · 2020. 4. 2. · 3.2 Check the Advantech Kernel Driver After the Advantech

Figure 1-13

12. On the SNMP Service Configuration window, select READWRITE on

Community rights, type your community name (e.g. private) on Community

Name edit box, and click Add.

Page 16: Advantech ECU SNMP Subagent User Guide on Windowsadvdownload.advantech.com/productfile/Downloadfile1/1... · 2020. 4. 2. · 3.2 Check the Advantech Kernel Driver After the Advantech

Figure 1-14

13. Check Accept SNMP packets from any host option.

Page 17: Advantech ECU SNMP Subagent User Guide on Windowsadvdownload.advantech.com/productfile/Downloadfile1/1... · 2020. 4. 2. · 3.2 Check the Advantech Kernel Driver After the Advantech

Figure 1-15

14. Click Apply button to apply settings.

Page 18: Advantech ECU SNMP Subagent User Guide on Windowsadvdownload.advantech.com/productfile/Downloadfile1/1... · 2020. 4. 2. · 3.2 Check the Advantech Kernel Driver After the Advantech

Figure 1-16

Page 19: Advantech ECU SNMP Subagent User Guide on Windowsadvdownload.advantech.com/productfile/Downloadfile1/1... · 2020. 4. 2. · 3.2 Check the Advantech Kernel Driver After the Advantech

2 Install Advantech Device Drivers For Advantech ECU device, the Advantech SNMP Subagent requires the following

Advantech drivers:

Advantech Lmsensor Driver

Advantech Watchdog Driver

2.1 Install Advantech Lmsensor Driver If you need the Advantech SNMP Subagent provide the Temperature and Voltages

information, you must install the Advantech Lmsensor Driver.

To install the Advantech Lmsensor Driver on ECU

1. Run the AdvEC_V1.04.003.exe first.

2. Run the AdvLmsensor_EC_V1.14.002.exe.

You can find the Advantech EC Device and the Advantech EC Hardware

Monitor under the Advantech IAG Onboard Devices in the Windows Device

Manager.

Figure 2-1

Page 20: Advantech ECU SNMP Subagent User Guide on Windowsadvdownload.advantech.com/productfile/Downloadfile1/1... · 2020. 4. 2. · 3.2 Check the Advantech Kernel Driver After the Advantech

2.2 Install Advantech Watchdog Driver If you need the Advantech SNMP Subagent provide the current Watchdog

configuration and current state, you must install the Advantech Watchdog Driver.

To install the Advantech Watchdog Driver on ECU

1. Run the AdvWDT_v1.30.001.exe and select the setup type "Advantech

[W83627] WDT".

You can find the Advantech W83627 Watchdog under the Advantech IAG

Onboard Devices in the Windows Device Manager.

Figure 2-2

Page 21: Advantech ECU SNMP Subagent User Guide on Windowsadvdownload.advantech.com/productfile/Downloadfile1/1... · 2020. 4. 2. · 3.2 Check the Advantech Kernel Driver After the Advantech

3 AdvSNMPAgent Installation

3.1 Install Advantech Kernel Driver and Advantech

SNMP Subagent

1. Run AdvSNMPSubagent_V1.02.003.exe, click Next button to continue.

Figure 3-1 Advantech SNMP Subagent Installation Package

2. The installation package will install the Advantech Kernel Driver which is

needed by Advantech SNMP Subagent.

Page 22: Advantech ECU SNMP Subagent User Guide on Windowsadvdownload.advantech.com/productfile/Downloadfile1/1... · 2020. 4. 2. · 3.2 Check the Advantech Kernel Driver After the Advantech

Figure 3-2 Advantech Kernel Driver

3. The Installation may pop up the following message, click Install to continue.

Figure 3-3 Windows Security of Driver

Page 23: Advantech ECU SNMP Subagent User Guide on Windowsadvdownload.advantech.com/productfile/Downloadfile1/1... · 2020. 4. 2. · 3.2 Check the Advantech Kernel Driver After the Advantech

4. On the SNMP Configuration click Next to continue.

Figure 3-4 SNMP Configurations

5. On the Ready to Install SNMP Subagent click Install to install.

Figure 3-5 Ready to Install SNMP Subagent

Page 24: Advantech ECU SNMP Subagent User Guide on Windowsadvdownload.advantech.com/productfile/Downloadfile1/1... · 2020. 4. 2. · 3.2 Check the Advantech Kernel Driver After the Advantech

6. On the Completed the Advantech SNMP Subagent Setup Wizard click

Finish.

Figure 3-6 Installation Completed

7. Click Close.

Page 25: Advantech ECU SNMP Subagent User Guide on Windowsadvdownload.advantech.com/productfile/Downloadfile1/1... · 2020. 4. 2. · 3.2 Check the Advantech Kernel Driver After the Advantech

Figure 3-7 Close Installation

3.2 Check the Advantech Kernel Driver After the Advantech SNMP Subagent is installed successfully, make sure the

Advantech Kernel Driver is installed.

You can find the Advantech Kernel Driver under the Advantech IAG Onboard

Devices in the Windows Device Manager.

Page 26: Advantech ECU SNMP Subagent User Guide on Windowsadvdownload.advantech.com/productfile/Downloadfile1/1... · 2020. 4. 2. · 3.2 Check the Advantech Kernel Driver After the Advantech

Figure 3-8 Advantech Kernel Driver

Page 27: Advantech ECU SNMP Subagent User Guide on Windowsadvdownload.advantech.com/productfile/Downloadfile1/1... · 2020. 4. 2. · 3.2 Check the Advantech Kernel Driver After the Advantech

4 Get MIB files The MIB files are available after you installed the Advantech SNMP Subagent on

the target platform. Please copy these two files (advantech-common-

mib.mib and IAG-PLATFORMS-MIB.mib) to your client platform in advance.

To Get MIB files

After the Advantech SNMP Subagent installation finished, you can find the MIB

Files from Start menu > All Programs > Advantech > SNMP Subagent >

MIB Files as shown in Figure 4-1.

Figure 4-1 MIB Files

The location of MIB Files is shown in Figure 4-2.

Page 28: Advantech ECU SNMP Subagent User Guide on Windowsadvdownload.advantech.com/productfile/Downloadfile1/1... · 2020. 4. 2. · 3.2 Check the Advantech Kernel Driver After the Advantech

Figure 4-2 MIB Files Location

For x86, in C:\Program Files\Advantech\AdvSNMPAgent\MIB Files\.

For x64, in C:\Program Files (x86)\Advantech\AdvSNMPAgent\MIB Files\.

Please copy them to your client platform.

Page 29: Advantech ECU SNMP Subagent User Guide on Windowsadvdownload.advantech.com/productfile/Downloadfile1/1... · 2020. 4. 2. · 3.2 Check the Advantech Kernel Driver After the Advantech

5 Test with the iReasoning MIB browser The Advantech SNMP Subagent has been tested with the iReasoning MIB Browser.

5.1 Installing the iReasoning MIB browser Download (Link: http://ireasoning.com/mibbrowser.shtml) and install the MIB

Browser on your client platform (such as your PC).

5.2 Using the iReasoning MIB browser 1. Open the iReasoning MIB browser in the client platform, and Load MIBs by

click File > Load MIBs.

Figure 5-1

2. Select the advantech-common-mib.mib and IAG-PLATFORMS-MIB.mib

file copied form the target platform which Advantech SNMP Subagent is

installed.

Page 30: Advantech ECU SNMP Subagent User Guide on Windowsadvdownload.advantech.com/productfile/Downloadfile1/1... · 2020. 4. 2. · 3.2 Check the Advantech Kernel Driver After the Advantech

Figure 5-2

3. In MIB browser, enter the IP address of the target platform which Advantech

SNMP Subagent is installed.

Figure 5-3

4. Click Advanced…, enter public in Read Community and private in Write

Community on the Advanced Properties of SNMP Agent window. Click on OK.

Page 31: Advantech ECU SNMP Subagent User Guide on Windowsadvdownload.advantech.com/productfile/Downloadfile1/1... · 2020. 4. 2. · 3.2 Check the Advantech Kernel Driver After the Advantech

Figure 5-4

5. For example, you can get CPU information as following photo.

Figure 5-5

Double click on the object (such as cpuLoading), and target platform will reply

the message of the object (cpuLoading) at right side of window.

Page 32: Advantech ECU SNMP Subagent User Guide on Windowsadvdownload.advantech.com/productfile/Downloadfile1/1... · 2020. 4. 2. · 3.2 Check the Advantech Kernel Driver After the Advantech