Support Forums
[Q] Configuring SNMP Driver Tags

At our treatment plant we have 5 Schneider Electric Trio JR Radios. We recently had an issue with communications, but got the issue resolved. I am wanting to implement a few things on VTScada to give our operators a graphic should there ever be any kind of problems with a drop of plant wide communications. My only concern is that I do not have much experience when setting up or configuring the SNMP driver tags with VTScada. I'm also not sure how to go about setting up the port tags either. My idea is to create communication uplink indicators on VTScada. You'd have a green light for "good" and red light for "bad" along with some graphics. In this instance I know I have a Trio Radio connected to our SCADA server. I can check for communications via the embedded web server, but would like to pull information from the Trio Radio to VTScada. Could someone show me examples so that I can learn how to properly configure these SNMP driver tags. I was a bit worried on the security side of things that I would somehow open holes.

At our treatment plant we have 5 Schneider Electric Trio JR Radios. We recently had an issue with communications, but got the issue resolved. I am wanting to implement a few things on VTScada to give our operators a graphic should there ever be any kind of problems with a drop of plant wide communications. My only concern is that I do not have much experience when setting up or configuring the SNMP driver tags with VTScada. I'm also not sure how to go about setting up the port tags either. My idea is to create communication uplink indicators on VTScada. You'd have a green light for "good" and red light for "bad" along with some graphics. In this instance I know I have a Trio Radio connected to our SCADA server. I can check for communications via the embedded web server, but would like to pull information from the Trio Radio to VTScada. Could someone show me examples so that I can learn how to properly configure these SNMP driver tags. I was a bit worried on the security side of things that I would somehow open holes.

Electronics/Electrical Technician
Hilliard Fletcher Wastewater Treatment Plant

This is exactly what I have just spent 5 hours trying to do... Did you ever get it working?
Just looking to get a red/green status graphic for our PLC networking switches.

I've looked at the user guide - nothing on the SNMP driver.

I've looked at the Academy - nothing on configuring or using the SNMP driver.

I can see the data I need via a third party MIB browser, but can't get VTScada to read the data, just a '?' in the Value area at all times.

Some help getting SNMP working via the tag browser would be very much apricated.

This is _exactly_ what I have just spent 5 hours trying to do... Did you ever get it working? Just looking to get a red/green status graphic for our PLC networking switches. I've looked at the user guide - nothing on the SNMP driver. I've looked at the Academy - nothing on configuring or using the SNMP driver. I can see the data I need via a third party MIB browser, but can't get VTScada to read the data, just a '?' in the Value area at all times. Some help getting SNMP working via the tag browser would be very much apricated.

Hey all,

Most of what you need to set this up and what to expect with a proper mibs file should be well explained in the links below:

SNMP Driver: https://www.vtscada.com/help/Content/D_Tags/Dev_SNMPDriver.htm

SNMP Driver Addressing: https://www.vtscada.com/help/Content/D_Tags/Dev_SNMPAddressing.htm

Note that if there is a web server for your device, you could check to see if the server has a url to create a JSON response with key:value pairs to the data available. If so, you could use the JSON/XML driver to query that.

Hey all, Most of what you need to set this up and what to expect with a proper mibs file should be well explained in the links below: SNMP Driver: https://www.vtscada.com/help/Content/D_Tags/Dev_SNMPDriver.htm SNMP Driver Addressing: https://www.vtscada.com/help/Content/D_Tags/Dev_SNMPAddressing.htm Note that if there is a web server for your device, you could check to see if the server has a url to create a JSON response with key:value pairs to the data available. If so, you could use the JSON/XML driver to query that.

Trihedral Engineering Ltd.

@beno
No, I never was. I'm glad you found the link though. I hope Dave was able to help you.

@beno No, I never was. I'm glad you found the link though. I hope Dave was able to help you.

Electronics/Electrical Technician
Hilliard Fletcher Wastewater Treatment Plant

Dave.

Thanks for the links. They were indeed helpful. (I'd not seen those help links before; odd they don't show up when you search Google or the website. I've bookmarked them).

Quick walkthrough on how I have it up and limping...

First, from the computer running VTScada (and this was really important as it's on a somewhat different network than my desktop PC) I first checked basic connectivity from that PC to the device by doing a PING.
Next up I downloaded an SNMP MIB browser. I've always found the iReasoning one perfect for tests: https://ireasoning.com/mibbrowser.shtml

Once I knew that network connectivity on port 161 was working between the PC running VTScada and the devices, I then downloaded the product MIB file. This may or may not be needed depending on the information the standard MIB can pull, your device, and if it has extra granular information you need.
In my case, it was an N-Tron industrial networking switch, and I wanted specific go/no-go information from the SNMP area that was not in the VTScada generic MIB OIDs.

Once I had all that checked, next up was to get it working in VTScada....

I made a Context tag for the network switches.
Then I made my first communication tag.

The communication tag points to Drivers -> SNMP Managed Device.

697cd1ea4ebad

Under the communications tab, put the device IP address and port 161
697cd212855d2

A child tag under that (I'm honestly not sure what its called or why its needed) points to the SNMP tag above it. The key for this tag seems to be to just point to the correct Community and SNMP version. For me, it was 'Public' and ver 2c.

697cd30f64cfc

The next tag(s) are the OID you want to pull your online/offline etc data from.
I used an IO tag where the 'Read Address' is the OID that I selected from the iReasoning MIB browser.
If you just have the one MIB and you know the OID number, you can just paste it in.
697cd450242f6

Or if you have some more OIDs that you need, click on the three dots next to the Read Address and upload your specific MIB file into that dialog, then you can drill down and find the OID that is of interest.

697cd4d998ee1

Lastly, in Idea Studio I used an IO Text widget and ended up with a nice green 'Online' and a red 'Offline' for each network switch that are arranged in the same shape as the water treatment plant.
(Screenshot as a small example)

697cd52a0afbe

I plan to expand the SNMP devices that I am pulling data from and displaying on screen for our operators. For example, UPS status. It will be helpful for times when the power goes out and before the generator cuts in.

Dave. Thanks for the links. They were indeed helpful. (I'd not seen those help links before; odd they don't show up when you search Google or the website. I've bookmarked them). Quick walkthrough on how I have it up and limping... First, from the computer running VTScada (and this was really important as it's on a somewhat different network than my desktop PC) I first checked basic connectivity from that PC to the device by doing a PING. Next up I downloaded an SNMP MIB browser. I've always found the iReasoning one perfect for tests: https://ireasoning.com/mibbrowser.shtml Once I knew that network connectivity on port 161 was working between the PC running VTScada and the devices, I then downloaded the product MIB file. This may or may not be needed depending on the information the standard MIB can pull, your device, and if it has extra granular information you need. In my case, it was an N-Tron industrial networking switch, and I wanted specific go/no-go information from the SNMP area that was not in the VTScada generic MIB OIDs. Once I had all that checked, next up was to get it working in VTScada.... I made a Context tag for the network switches. Then I made my first communication tag. The communication tag points to Drivers -> SNMP Managed Device. ![697cd1ea4ebad](serve/attachment&path=697cd1ea4ebad) Under the communications tab, put the device IP address and port 161 ![697cd212855d2](serve/attachment&path=697cd212855d2) A child tag under that (I'm honestly not sure what its called or why its needed) points to the SNMP tag above it. The key for this tag seems to be to just point to the correct Community and SNMP version. For me, it was 'Public' and ver 2c. ![697cd30f64cfc](serve/attachment&path=697cd30f64cfc) The next tag(s) are the OID you want to pull your online/offline etc data from. I used an IO tag where the 'Read Address' is the OID that I selected from the iReasoning MIB browser. If you just have the one MIB and you know the OID number, you can just paste it in. ![697cd450242f6](serve/attachment&path=697cd450242f6) Or if you have some more OIDs that you need, click on the three dots next to the Read Address and upload your specific MIB file into that dialog, then you can drill down and find the OID that is of interest. ![697cd4d998ee1](serve/attachment&path=697cd4d998ee1) Lastly, in Idea Studio I used an IO Text widget and ended up with a nice green 'Online' and a red 'Offline' for each network switch that are arranged in the same shape as the water treatment plant. (Screenshot as a small example) ![697cd52a0afbe](serve/attachment&path=697cd52a0afbe) I plan to expand the SNMP devices that I am pulling data from and displaying on screen for our operators. For example, UPS status. It will be helpful for times when the power goes out and before the generator cuts in.

@beno

I downloaded that MIB Browser from IReasoning.com. Do you have any recommendations on how to use that piece of software? I'm wanting to scan the entire network that our SCADA system is on but seem to be having some issues and I'm not entirely sure I'm setting it up correctly.

@beno I downloaded that MIB Browser from IReasoning.com. Do you have any recommendations on how to use that piece of software? I'm wanting to scan the entire network that our SCADA system is on but seem to be having some issues and I'm not entirely sure I'm setting it up correctly.

Electronics/Electrical Technician
Hilliard Fletcher Wastewater Treatment Plant

162
6
3
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft