Tutorial
i.CanDoIt® Guided Tour
This set of pages will provide a brief overview of i.CanDoIt® features and functions. Cruise through using the Next and Previous buttons, or skip around using the links at the bottom of the pages.
i.CanDoIt® Guided Tour
Table of Contents
1. Background
2. Device Overview
3. I/O Configuration
4. Viewing Data
5. Calculations and I/O Cascade
6. Data Trending and Plotting
7. Thresholds or Event Rules
8. Data Logging
9. Event Logging
10. Email notifications
11. Time & Date Scheduling
12. XML Configuration Files
13. PL/i Programming
14. Internet Network Configuration
15. LonWorks Gateway
16. Modbus/TCP Gateway
17. Modbus/RTU Gateway
18. SNMP Agent
19. User HTML/JavaScript and CGI
i.CanDoIt® Guided Tour (p.18)
SNMP Agent

Some versions of i.CanDoIt are equipped with an SNMP agent. This agent allows accessing data points using SNMP Get and Set requests. The agent also generates SNMP v2c traps based on events defined by the threshold rules.

There may be several trap destinations. Each device may be identified by static IP address, or by host name if DNS access is provided. Each device may be assigned to any of three groups. Each event may direct a trap at any of the three groups of devices. If trap on true is checked and a non-zero repeat time is given, the traps will continue to repeat at that rate as long as the event is active or "true". The initial report will provide the data as of the event first being triggered, but subsequent reports will contain real time data which may be different then the value that first triggered the event.

How do I set up an SNMP trap?

I/O point data is placed in "registers" by easily configured I/O drivers. Each register is accessible by standard SNMP Get and Set requests. Threshold "rules" determine when traps are sent. The image below is an actual screen shot of a threshold rule that will result in a trap when the sensor on input #7 exceeds a level of 1000. Data values are scaled to any units you decide. You find the threshold rules in the System->Action Rules->Thresholds page.

The SNMP Devices page allows setting the IP address or Host Name of one or more SNMP managers that v2c traps are to be sent to. Traps may be repeated periodically for as long as the rule tests true. Trap data includes the register name and number, data value that caused the trap, the event name, test type, and test threshold.

Once you have the Threshold Rule set up, you need to go to the IP Network->SNMP Setup->Trap Enable page and check off whether to trap on true, false, or both, and also which group(s) to send the trap to. The following is what you would see for the above rule: