New Question
 
 
PRTG Network Monitor

Intuitive to Use.
Easy to manage.

300.000 administrators have chosen PRTG to monitor their network. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free PRTG
Download >>

 

What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general. You are invited to get involved by asking and answering questions!

Learn more

 

Top Tags


View all Tags


How can I integrate Flowmon into PRTG Network Monitor?

Votes:

0

Your Vote:

Up

Down

I want to monitor my Flowmon appliances and integrate monitoring results from Flowmon into PRTG. How can I do that?

ads flowmon fmc integration npm prtg python-script-advanced-sensor response-time snmp snmp-library-sensor

Created on May 20, 2020 9:02:29 AM by  Florian Weik [Paessler Support]

Last change on May 20, 2020 1:00:08 PM by  Florian Weik [Paessler Support]



1 Reply

Accepted Answer

Votes:

0

Your Vote:

Up

Down

This article applies as of PRTG 20

Integrate Flowmon into PRTG

With PRTG, you can monitor Flowmon appliances with the SNMP Library sensor. To display monitoring results from Flowmon in PRTG, you can use the Python Script Advanced sensor. Follow the instructions below to integrate Flowmon into PRTG.

Preparation

1. Prepare OIDLIB and Python scripts

First, copy the .oidlib file to the \snmplibs subfolder of the PRTG program directory:

  • Download the .zip file from the Flowmon Portal here and extract the files.
  • Open the folder SNMP and copy the file FLOWMON-MIB for PRTG.oidlib into the \snmplibs subfolder of the PRTG program directory on the PRTG core server system.

Note: If necessary, (re)load the files by clicking the Go! button in the PRTG web interface under Setup | System Administration | Administrative Tools, section Load Lookups and File Lists.


Now modify and copy the Python scripts for ADS event statistics and FMC statistics to the \Custom Sensors\python subfolder of the PRTG program directory:

  • Open the extracted folder again, first navigate to the folder ADS and find the files FlowmonADS_EventsByPriority.py and FlowmonADS_config.py. Then open the folder FMC and find the files FlowmonFMC_AllSources.py, FlowmonFMC_AllSourcesNPM.py, and FlowmonFMC_config.py.
  • Enter your username and password for the REST API client under FLOWMON_REST_USER and FLOWMON_REST_PASS in the files FlowmonADS_config.py and FlowmonFMC_config.py and save your changes.
  • Enter your ID of the ADS perspective under ADS_PERSPECTIVE in the file FlowmonADS_config.py.
  • To get the ID of the ADS perspective, follow these steps:
    • Open Flowmon and navigate to Flowmon ADS | Settings | Processing tab | Perspectives.
    • Click the Edit button of the perspective that you want to see in PRTG.
    • Click Save to close the window. This creates a log that you need in the next step.
    • Navigate to Flowmon ADS | Logs. See the details of the log and find the ID of the perspective.
    • Copy and paste the ID as ID of the ADS perspective in FlowmonADS_config.py and save your changes.
  • Copy the following files to the \Custom Sensors\python subfolder of the PRTG program directory on the PRTG core server system:
    • FlowmonADS_EventsByPriority.py
    • FlowmonADS_config.py
    • FlowmonFMC_AllSources.py
    • FlowmonFMC_AllSourcesNPM.py
    • FlowmonFMC_config.py

2. Prepare PRTG for Flowmon Python scripts

To run the sensors provided by Flowmon, you must add the Python Request Library to the Python runtime of PRTG. Open the folder you extracted in step 1 and follow these steps:

Hint: As of PRTG 20.1.55, the python folder in the PRTG program directory is named \python. In older versions, the folder is named \python34.

  • Copy the file get-pip.py into the \python subfolder of the PRTG program directory on the PRTG core server system.
  • Open the Windows Command Prompt as administrator.
  • Run the following commands (we use the default directories, adjust if necessary):
    • cd %programfiles(x86)%\PRTG Network Monitor\python
    • python.exe get-pip.py
    • cd Scripts
    • pip install requests

3. Add a Flowmon appliance to PRTG

  • Create a device on the probe system. Enter the Device Name and IPv4 Address/DNS Name of your Flowmon appliance. For more information about how to add a device, see the PRTG Manual: Add a device.

Optional: The .zip file also includes a device icon for your Flowmon device. For more information on custom device icons, see How can I add my own device icons for use in the PRTG web interface?


Monitoring

1. Monitor Flowmon appliances via SNMP

You can now monitor your Flowmon appliances via SNMP with PRTG.

SNMP Custom Advanced sensor Flowmon
Click to enlarge.

2. Monitor ADS event statistics and FMC statistics with PRTG

ADS event statistics

  • Open the PRTG web interface and add a Python Script Advanced sensor to your Flowmon device.
  • In the Add Sensor dialog, enter Flowmon ADS Events as Sensor Name, select FlowmonADS_EventsByPriority.py as Python Script, and click Create.

Flowmon ADS Events
Click to enlarge.

FMC statistics

  • Open the PRTG web interface and add a Python Script Advanced sensor to your Flowmon device.
  • In the Add Sensor dialog, enter Flowmon FMC All Sources as Sensor Name, select FlowmonFMC_AllSources.py as Python Script, and click Create.

Flowmon FMC All Sources
Click to enlarge.

  • Repeat the two previous steps. This time, enter Flowmon FMC All Sources NPM as Sensor Name and select FlowmonFMC_AllSourcesNPM.py as Python Script and click Create.

Flowmon FMC All Sources NPM
Click to enlarge.

You can now display the monitoring results from Flowmon directly in PRTG.

More

Created on May 20, 2020 11:42:30 AM by  Florian Weik [Paessler Support]

Last change on May 20, 2020 2:04:49 PM by  Florian Weik [Paessler Support]



Please log in or register to enter your reply.


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.