PRTG 7 PPPOE SESSIONS

HOW can I monitor my Mikrotik PPPOE Session with PRTG 7.?

THX

Have you solved? :slight_smile:

it is not possible because of the dynamic PPPOE Sessions :frowning:

Can you assign static IP address to customers?

i have resolved it :slight_smile:

Interesting! Can you share solution? :slight_smile:

1.3.6.1.4.1.9.9.150.1.1.1.0

Friends,

You would have some idea how to have the pppoe amount on top of a vlan which in turn is linked to pppoe-server as an interface. Prtg collection system.

Please share more datails about your installation.

Solution using HTTP PRTG sensor to get result of amount of pppoe connected per pppoe server interface assigned to one or more physical interfaces or VLAN.

On a server with debian you can make an rsa key communication for example to communicate with mikrotik.
You can use apache and leave the result in /var/www/http so that with the address of that server you can list the .txt file saved with the collection result to indicate to prtg the url of that server with the name of the file via sensor http.

you can leave a script running every X time to collect ( cron )
follow the script


##!/bin/bash
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
##PPPOE - SERVER Count Import txt for PRTG###
ssh -p 284 user@10.5.10.33 {/interface pppoe-server print count-only where service=PPPoE_Master} | sed ‘s/^M//’ | sed -r ‘s/[0-9]+/[&]/’ > /var/www/html/master.txt

284 port ssh
master.txt ( result )

PRTG you put script url your server address example
http://172.22.10.2/master.txt


If anyone knows or has a script for PowerShell I would appreciate it. Because I don’t know anything about PS