Hi, I have a peplink balance device and using PRTG to monitor network. I tried MIB but it not support to monitor WAN bandwidth on peplink. However, I can use SSH to get information about WAN bandwidth (content below). How to get this information as a PRTG sensor?
Best regards.
-------------
> get bandwidth wan 1 Connection Download Upload Total FTTH_VDC 749 kbps 81 kbps 830 kbps HTTP 0 kbps 0 kbps 0 kbps HTTPS 741 kbps 78 kbps 820 kbps IMAP 0 kbps 0 kbps 0 kbps POP3 0 kbps 0 kbps 0 kbps SMTP 0 kbps 0 kbps 0 kbps OTHERS 7 kbps 2 kbps 10 kbps > get bandwidth wan 2 Connection Download Upload Total FTTH_VIETTEL 3784 kbps 948 kbps 4732 kbps HTTP 1 kbps 0 kbps 2 kbps HTTPS 958 kbps 884 kbps 1843 kbps IMAP 0 kbps 0 kbps 0 kbps POP3 0 kbps 0 kbps 0 kbps SMTP 0 kbps 0 kbps 0 kbps OTHERS 2823 kbps 63 kbps 2887 kbps > get bandwidth wan 3 Connection Download Upload Total FTTH_FPT 16168 kbps 233 kbps 16401 kbps HTTP 8 kbps 12 kbps 20 kbps HTTPS 13773 kbps 185 kbps 13958 kbps IMAP 0 kbps 0 kbps 0 kbps POP3 0 kbps 0 kbps 0 kbps SMTP 0 kbps 0 kbps 0 kbps OTHERS 2386 kbps 35 kbps 2422 kbps
Article Comments
Hi Stephan,
I can not access/ save file on Peplink device so can not use your guide "The dropdown menu will list all script files available in the /var/prtg/scriptsxml directory on the target Linux/Unix system." Anw i found a MIB can use to monitor WAN bandwidth, not real time but better than nothing.
Thank you.
Mar, 2019 - Permalink
You could also use this approach to use PowerShell (i.e. EXE/Script Advanced Sensors) to connect to the device, issue the command and evaluate the ouptut. However, the script would need to be modified accordingly. It's just to give you a basic idea of how to implement it :)
PRTGapi |
Feature Requests |
WMI Issues |
SNMP Issues
Kind regards,
Stephan Linke, Tech Support Team
Mar, 2019 - Permalink
You could use the SSH Script Advanced Sensor, but parsing this will be a pain I'm afraid :(
PRTGapi | Feature Requests | WMI Issues | SNMP Issues
Kind regards,
Stephan Linke, Tech Support Team
Mar, 2019 - Permalink