Create a Post
Showing results for 
Search instead for 
Did you mean: 

CPViewer - visualize your cpview/cpinfo files in 5 minutes

Jump to solution


What is CPViewer?

CPViewer is an open-source community tool which simplifies the way to get a very detailed visual insights into:

1) Exported cpview histories with charts related to CPU, memory, connections and packet rates, throughputs, RX&TX drops etc. using the visualization metrics tool called Grafana;

2) OS analysis (.info file) - healthcheck (sk121447) report for "known issues" and "things not to miss";

The tool comes within an .ova (exported VM) with everything already preconfigured.


The main benefits are:

  • analyzing and identifying performance bottlenecks in minutes

  • user-friendly: just upload it to web-site (no docker or other components needed) 

  • Integrated OS analysis tool for richer results (healthcheck script)

  • available to both customers and partners


CPViewer .ova file download - HERE.


CPViewer guide - HERE.


How to use it?


Video below explains all you need to do to get CPViewer up and running - 5 simple steps:



Written step by step guide:


1. Import the VM:

a. Download and import OVA image into your VMWare environment – DOWNLOAD LINK.

b. VM’s network adapter is set to NAT, it has IPv4 –, default gw – and DNS – predefined already, but you can adjust this by your needs;

c. Adjust your VMWare NAT adapter;

d. Credentials:
- OS: root/vpn123
- Grafana: admin/Vpn123!

*NOTE: Your VM must have internet access if you want to use GDrive download functionality.


2. Working with CPViewer portal:

a. CPViewer portal can process two types of data:

1) CPInfo files (contains cpinfo and cpview files) -> you will get 2 reports, grafana cpview insights and cpinfo OS analysis report (in separate tab);

2) CPView (.dat or .gz – with .dat in it) files only;

*NOTE: In case you are using type 1, please be aware that you need to either configure your browser to allow pop-ups for in order to get the CPInfo healthcheck report. Other option is just to go to manually and select a report you need.

b. After setting up the VM, open any browser and go to CPViewer portal ->

Select upload method:

1) Manual/attachment upload: you can submit .dat or .gz file (which contains .dat);

2) Google link (server will automatically download file from GDrive). In this case solid upload link is highly recommended;

*NOTE: You can pick one of the two methods, not both at the same time;

c. Enter customer`s name (this will be used for name db and datasource of cpview; d. Select version from which cpview was exported – R77.30 – R80.10 or R80.20+;

e. If you did all of the above, select the submit button and wait for your reports to get created;

*NOTE: Speed of the processing will depetend on the size of the file (upload time + querying/ execution through the .dat/.info and taking all the relevant info).

3. After you get redirected to Grafana you will be able to see your cpview visualized through graphs focused on different parameters. In case you uploaded CPInfo file you will also get GW`s healthcheck report in a separate tab.

Few useful GrafanaUI details:

- Top left corner – selected datasource (datasources will automatically be deleted on weekly basis);

- On menu at the far left you will be able to see possible dashboards (do not need to be changed since everything related to your cpview is automatically provisioned);

- Top right corner – time span which we are looking into (this is also automatically set from the first to the last timestmmp from your cpview);

- When clicking on different views you will be able to adjust some parameters or queries according to your needs;

*NOTE: All datasources – their dbs and healthcheck reports are being automatically deleted every Monday at midnight. If you do not want this – enter crontab using command crontab – e from CLI, erase the camm of deleteALL.php and/or script/s and save it. 


*DISCLAIMER - This open source tool is provided “As Is”.  No representations or warranties are provided with the use of this tool.

71 Replies

For exporting the graphs you can use Grafana Reporter which can be found here:


As an addition to the CPViewer, you can use the Reporter tool mentioned below to make PDF reports out of the Grafana graphs



You use it on Linux or within docker as a container and connect to your Grafana (CPViewer)

More information on:



This does not seem straightforward to install.

Need to install 'go' and then then instructions basically do not work, is their a step-by-step guide on installing and using this?

0 Kudos

Hello Mark.

I believe that saving reports as PDF requires Grafana Enterprise. Also version 5 is really old and a lot of the APIs don't really work the same anymore. Have you made any tests with version 7.x ?

0 Kudos


I am wondering if someone can help me to understand how to pin point this information in Interface Throughput graph with real interface names? (R80.40)



Hi Maria,


Sorry for late reply. 

In R80.40 cpview DB structure is a bit changed and this is why you get the above values for if names. Anyways, I've released a new version of CPViewer back in May which should fix the issue. The download link has been updated.

0 Kudos



Does this tool can be used with SMB appliances cpinfo file?

0 Kudos

The cpinfo from an SMB appliance has different data in a different format.
Therefore, probably not, but try it and see 🙂


Hi @Petar_Markota !
Thank you for your tool! Sadly I've encountered an issue when uploading the CPView.dat file:


Can you help me here?
Thanks in advance!


Hi @ggrab ,


This happens after you submit the .dat for processing? Also, what is it that you are submitting? Not sure why is there "insert" instead of the IP of the machine.




0 Kudos

Hi @Petar_Markota ,

thank you for your fast reply!
I get this error after submitting the cpview history database which i got from my R80.30SP gateway. (I tried both, uploading the .gz and the .dat file which leads to the same result)


0 Kudos

That's strange. I also tested it out today on the export from R80.30SP and it worked well. Did you try downloading and importing fresh VM? Which browser are you using?

0 Kudos