What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general.

Learn more

PRTG Network Monitor

Intuitive to Use. Easy to manage.
More than 500,000 users rely on Paessler PRTG every day. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free Download

Top Tags


View all Tags

Can PRTG communicate with MODBUSS or bacnet devices?

Votes:

0

Does Anyone know if PRTG can use MODBUS? if yes how do i set it up? What about Bacnet? Thanks!!! Josh

bacnet modbus serial

Created on Jul 12, 2012 2:56:18 PM



5 Replies

Accepted Answer

Votes:

6

Hi Josh, we are using a Custom Script Sensor and the modpoll.exe program. The modpoll program is a command line tool to access a MODBUS System and available at the internet.

Here is the script we are using (not 100% finished):

Param(
  [Parameter(Mandatory=$true,Position=1)]
  [string]$SlaveIP,
	
  [Parameter(Mandatory=$true,Position=2)]
  [string]$SlaveID,

  [Parameter(Mandatory=$true,Position=3)]
  [int]$ReadAddress,

  [Parameter(Mandatory=$false,Position=4)]
  [single]$Divisor=1

)
cd "C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXE"
$Response = @(.\modpoll.exe -m tcp -a $SlaveID -r $ReadAddress -t 3 -1 -0 $SlaveIP)

if ($Response.Count -ge 1)
{
    if ($Response[$Response.Count -1].Contains("[$ReadAddress]:"))
    {
        $TmpResult = $Response[$Response.Count -1].Split(':')
        $Result = [single]$TmpResult[1]
        if ($Result -le 0)
        {
            $Result = $Result + 65536
        }
        $iResult = [single]($Result / $Divisor)

        Write-Host "$iResult :OK"

    }
}

The script parameter are <MODBUS slave IP or DNS> <Slave address> <MODBUS address to read> <Divisor (optional)>

Hope this helps ;-)

Created on Apr 20, 2015 4:00:11 PM



Votes:

0

Hi Arnd,

Thank you very much for sharing your script with us! It would be great if you could also post the final result when you finished the script!

Best regards

Created on Apr 21, 2015 5:22:25 AM by  Felix Saure [Paessler Support]



Votes:

0

Is there any news on this topic ? Thank you all in advance

Created on Feb 4, 2019 1:09:27 PM



Votes:

3

Created on Feb 4, 2019 3:52:00 PM



Votes:

0

Hello all,

I am interested in the interaction between PRTG and Bacnet.

I haven't had anything to do with Bacnet so far, so unfortunately I don't have any experience of what to look out for. We would like to query bacnet components with prtg and display the collected information.

I have read the blog post that PRTG supports Bacnet. Unfortunately, I have not yet found any detailed instructions. Are there any new features that I haven't found yet or some useful examples on the subject that I could take a look at?

I would be very grateful for some pointers or help.

Many thanks in advance

Created on Mar 24, 2022 1:59:26 PM




Disclaimer: The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.