Advantech SNMP Subagent User Guide
Advantech SNMP Subagent User Guide
SNMP Subagent
User Guide
For Linux
Version <1.00>
Advantech SNMP Subagent Version: <1.00>
User Guide Date: <3/10/2017>
Revision History
Date Version Description Author
Contents
Revision History............................................................................................................................................................ 2
Contents......................................................................................................................................................................... 3
1. Introduction............................................................................................................................................................... 4
1.1 Advantech SNMP Subagent............................................................................................................................4
1.2 Supported Advantech Platforms................................................................................................................... 4
1.3 Supported Operating Systems.......................................................................................................................4
1.4 System Requirements.................................................................................................................................... 4
2. Advantech SNMP Subagents Overview....................................................................................................................5
2.1 MIB and OID.................................................................................................................................................... 5
2.2 Community Strings.........................................................................................................................................6
2.3 Architecture.................................................................................................................................................... 7
2.4 Advantech SNMP Subagents.......................................................................................................................... 8
3. Appendix.................................................................................................................................................................. 10
3.1 Third-Party MIB Browser............................................................................................................................ 10
User Guide
1. Introduction
The Advantech SNMP Subagent is based on the Linux SNMP service. You must install the Linux SNMP service on
the supported operating systems(Please see README for more details).
2. Latest Drivers
The Advantech SNMP Subagent requires the latest Advantech drivers including the following.
Advantech Hwmon Drivers
Advantech PSU Drivers (If applicable)
root
iso (1)
org (3)
dod (6)
internet (1)
Advantech
(10297)
2.3 Architecture
Network Management Station (NMS) can communicate with subagents by the OIDs defined in the MIB files.
Network
Managed
Linux SNMP Service
Device
Figure 2- 2 Architecture
You can get the Temperature, Voltage which are handled by Advantech Driver.
You can set high, low, high-high, and low-low threshold values of each Temperature, Voltage.
You can also set a null value to disable the threshold.
When the threshold has been set, the monitored value will be divided into 5 levels, cleared(1),
critical-low(2), low(3), high(4), and critical-high(5).
If the Value is greater than high-high threshold and high-high threshold is not disabled
(null), the level is critical-high(5).
If the Value is greater than high threshold and less than or equal to high-high threshold
and high threshold is not disabled (null), the level is high(4).
If the Value is greater than low-low threshold and less than or equal to low threshold and
low threshold is not disabled (null), the level is low(3).If the Value is less than low-low
threshold and low-low threshold is not disabled (null), the level is critical-low(2).
Otherwise, the level is cleared(1).
You can also enable monitoring state when the value is out of bound, it will send a trap to NMS.
You can get the current CPU Loading, current CPU Speed, CPU Maximum Speed, memory size ,
and memory usage percentage of the managed device.
There are 4 threshold values UsageTh1 ~ UsageTh4 which splits the usage into 5 severities,
cleared(1), notice(2), warning(3), critical(4), and emergency(5) if the threshold value is not
disabled (-1).
If the usage is greater than UsageTh1 and less than or equal to Usage Th2 and UsageTh1
is not disabled(-1), the severity is notice(2)
If the usage is greater than UsageTh2 and less than or equal to Usage Th3 and UsageTh2
is not disabled(-1), the severity is warning(3)
If the usage is greater than UsageTh3 and less than or equal to Usage Th4 and UsageTh3
is not disabled(-1), the severity is critical(4)
If the usage is greater than UsageTh4 and UsageTh4 is not disabled(-1), the severity is
emergency(5)
Otherwise, the severity is cleared(1)
You can get the power state pwr_normal(1) or pwr_redundancylost (2) and the power state
severity including cleared(1), notice(2), warning(3), critical(4), and emergency(5) if the target
platform support these features. You can also enable the power monitoring state when the
power state changed, it will send a trap to the NMS.
2. Peripheral Group: Hard Disk
You can get the hard disk information and the S.M.A.R.T. (Self-Monitoring, Analysis and Reporting Technology)
information of it.
3. Trap
The Trap Community will be applied to the Traps tab of SNMP Service Properties as shown in Figure 2- 3. In the
/etc/snmp/snmpd.conf you can add more Trap destinations in the Traps tab of SNMP Service Properties if need.
3. Appendix
3.1 Third-Party MIB Browser
The Advantech SNMP Subagent has been tested with the following MIB Browser.
iReasoning MIB browser
http://ireasoning.com
1. Once running iReasoning MIB browser in the client platform, please load MIB files first.
Load ADVANTECH-PLATFORMS-MIB.mib. They are available after you installed the Advantech SNMP Subagent.
(e.g., /usr/src/advantech/advSNMPsubagent/mib/). Copy these the files to your client platform in advance.
2. Enter the IP address of the target platform where Advantech SNMP Subagent was installed.
3. You can enter the Read-Only, Read-Write Community which will be matched to the SNMP service.
4. And then, you can find vtName as following Figure 3- 4, and there is also a description at the bottom of window.
Figure 3- 4 vtName
5. Double click on vtName. Target platform will reply the voltage name message at the right side of window.
6. Advantech SNMP Subagent also provides TRAP functions which will notify the client platform if alarm events
happened in the target platform. For example, if the voltage is abnormal, SNMP will automatically send a trap to
notify user. Before start, click Advanced button and enter private in the Write Community field.
Figure 3- 7 vtTable
8. The vtTable will show up at the right side of the window. You can update them with your client platforms or
NMS vtHigh, vtLow, vtHighHigh, vtLowLow by SNMP SET command as shown in Figure 3- 8.
11. In the example of the voltage trap, set vtHigh to 11.99, set vtLow to 11.00, set vtState to be enabled.
12 .Now you will receive a trap which notifies you that the voltage is abnormal.
Figure 3- 12 trapVoltageEvent