## CPViewInsights

#####

ANNOUNCEMENT

I have removed this tool from CheckMates.

R&D has provide this functionality inside of the latest DiagnosticsView Release.

[https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit\_doGoviewsolutiondetails=&solut...](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk125092&partition=General&product=CPInfo%22)

Thanks for all the support to date!

#####

- Tags:
- [cpview](https://community.checkpoint.com/t5/tag/cpview/tg-p/board-id/codehub)

- [python3](https://community.checkpoint.com/t5/tag/python3/tg-p/board-id/codehub)

- [sqlite3](https://community.checkpoint.com/t5/tag/sqlite3/tg-p/board-id/codehub)

[27\\
\\
\\
Kudos](https://community.checkpoint.com/t5/kudos/messagepage/board-id/codehub/message-id/2812/tab/all-users "Click here to see who gave kudos to this post.")

[Click here to give kudos to this post.](https://community.checkpoint.com/t5/forums/v5/forumtopicpage.kudosbuttonv2.kudoentity:kudoentity/kudosable-gid/41018?t:ac=board-id/codehub/message-id/2812/thread-id/2812&t:cp=kudos/contributions/tapletcontributionspage&ticket=rO6QMoXdCwnP_-1 "Click here to give kudos to this post.")

1

2

3

4

5

0.5

1.0

1.5

2.0

2.5

3.0

3.5

4.0

4.5

5.0

[Reply](https://community.checkpoint.com/t5/API-CLI-Discussion/CPViewInsights/m-p/41018)

- [All forum topics](https://community.checkpoint.com/t5/API-CLI-Discussion/bd-p/codehub/page/54 "API / CLI Discussion")
- [Previous Topic](https://community.checkpoint.com/t5/API-CLI-Discussion/Adding-a-Server-object-from-mgmt-cli/td-p/55442 "Adding a Server object from mgmt_cli")
- [Next Topic](https://community.checkpoint.com/t5/API-CLI-Discussion/CheckPoint-R80-API-find-object-by-IP/td-p/2882 "CheckPoint R80 API - find object by IP ?")

17 Replies

[XavierBens](https://community.checkpoint.com/t5/user/viewprofilepage/user-id/2359)

MVP Silver CHKP

‎2018-05-0307:46 AM

[Show option menu](https://community.checkpoint.com/t5/API-CLI-Discussion/CPViewInsights/m-p/41018# "Show option menu")

- Mark as New
- Bookmark
- Subscribe
- Mute
- [Subscribe to RSS Feed](https://community.checkpoint.com/rss/message?board.id=codehub&message.id=2813)
- [Permalink](https://community.checkpoint.com/t5/API-CLI-Discussion/CPViewInsights/m-p/41019/highlight/true#M2813)
- [Print](https://community.checkpoint.com/t5/forums/forumtopicprintpage/board-id/codehub/message-id/2813/print-single-message/true/page/1)
- [Report Inappropriate Content](https://community.checkpoint.com/t5/notifications/notifymoderatorpage/message-uid/41019)

Hi Joshua, and thanks for that.

I've tried with the active CPViewdb.dat of a VSX Gateway and I had the following error message:

Maybe should I do something in order to use the actual .dat file ? Is their any Best practices regarding this historization of CPView stats?

For some reason I've an old file and I used it: your tool is really useful!

For example ; and then, just after having press on "Graph" button, a TAB on my preferred web browser is open and sho such result:

Reaaaaaaally cool !

Cybersecurity Evangelist, CISSP, CCSP, CCSM Elite

[1\\
\\
\\
Kudo](https://community.checkpoint.com/t5/kudos/messagepage/board-id/codehub/message-id/2813/tab/all-users "Click here to see who gave kudos to this post.")

[Click here to give kudos to this post.](https://community.checkpoint.com/t5/forums/v5/forumtopicpage.kudosbuttonv2.kudoentity:kudoentity/kudosable-gid/41019?t:ac=board-id/codehub/message-id/2812/thread-id/2812&t:cp=kudos/contributions/tapletcontributionspage&ticket=rO6QMoXdCwnP_-1 "Click here to give kudos to this post.")

1

2

3

4

5

0.5

1.0

1.5

2.0

2.5

3.0

3.5

4.0

4.5

5.0

[Reply](https://community.checkpoint.com/t5/API-CLI-Discussion/CPViewInsights/m-p/41018)

[Joshua\_Hatter](https://community.checkpoint.com/t5/user/viewprofilepage/user-id/927)

Employee

‎2018-05-0309:04 AM

[Show option menu](https://community.checkpoint.com/t5/API-CLI-Discussion/CPViewInsights/m-p/41018# "Show option menu")

- Mark as New
- Bookmark
- Subscribe
- Mute
- [Subscribe to RSS Feed](https://community.checkpoint.com/rss/message?board.id=codehub&message.id=2814)
- [Permalink](https://community.checkpoint.com/t5/API-CLI-Discussion/CPViewInsights/m-p/41020/highlight/true#M2814)
- [Print](https://community.checkpoint.com/t5/forums/forumtopicprintpage/board-id/codehub/message-id/2814/print-single-message/true/page/1)
- [Report Inappropriate Content](https://community.checkpoint.com/t5/notifications/notifymoderatorpage/message-uid/41020)

Occasionally if you rip out the cpview database file live, you can create some inconsistencies in the database.

This will lead to this message, it isn't necessarily fully corrupted, just to a point where I can't graph reliably. I opted to not try repairing.

You should always use the following command to obtain the database.

#cpview history export

There are still some scenarios where it will be corrupt, but exporting properly should help in most cases.

[5\\
\\
\\
Kudos](https://community.checkpoint.com/t5/kudos/messagepage/board-id/codehub/message-id/2814/tab/all-users "Click here to see who gave kudos to this post.")

[Click here to give kudos to this post.](https://community.checkpoint.com/t5/forums/v5/forumtopicpage.kudosbuttonv2.kudoentity:kudoentity/kudosable-gid/41020?t:ac=board-id/codehub/message-id/2812/thread-id/2812&t:cp=kudos/contributions/tapletcontributionspage&ticket=rO6QMoXdCwnP_-1 "Click here to give kudos to this post.")

1

2

3

4

5

0.5

1.0

1.5

2.0

2.5

3.0

3.5

4.0

4.5

5.0

[Reply](https://community.checkpoint.com/t5/API-CLI-Discussion/CPViewInsights/m-p/41018)

[David\_Ojunga](https://community.checkpoint.com/t5/user/viewprofilepage/user-id/6677)

Employee Alumnus

‎2018-05-0710:24 AM

[Show option menu](https://community.checkpoint.com/t5/API-CLI-Discussion/CPViewInsights/m-p/41018# "Show option menu")

- Mark as New
- Bookmark
- Subscribe
- Mute
- [Subscribe to RSS Feed](https://community.checkpoint.com/rss/message?board.id=codehub&message.id=2815)
- [Permalink](https://community.checkpoint.com/t5/API-CLI-Discussion/CPViewInsights/m-p/41021/highlight/true#M2815)
- [Print](https://community.checkpoint.com/t5/forums/forumtopicprintpage/board-id/codehub/message-id/2815/print-single-message/true/page/1)
- [Report Inappropriate Content](https://community.checkpoint.com/t5/notifications/notifymoderatorpage/message-uid/41021)

Great work!!!! Very helpful

[1\\
\\
\\
Kudo](https://community.checkpoint.com/t5/kudos/messagepage/board-id/codehub/message-id/2815/tab/all-users "Click here to see who gave kudos to this post.")

[Click here to give kudos to this post.](https://community.checkpoint.com/t5/forums/v5/forumtopicpage.kudosbuttonv2.kudoentity:kudoentity/kudosable-gid/41021?t:ac=board-id/codehub/message-id/2812/thread-id/2812&t:cp=kudos/contributions/tapletcontributionspage&ticket=rO6QMoXdCwnP_-1 "Click here to give kudos to this post.")

1

2

3

4

5

0.5

1.0

1.5

2.0

2.5

3.0

3.5

4.0

4.5

5.0

[Reply](https://community.checkpoint.com/t5/API-CLI-Discussion/CPViewInsights/m-p/41018)

[JozkoMrkvicka](https://community.checkpoint.com/t5/user/viewprofilepage/user-id/1702)

Authority

‎2018-09-2607:35 AM

[Show option menu](https://community.checkpoint.com/t5/API-CLI-Discussion/CPViewInsights/m-p/41018# "Show option menu")

- Mark as New
- Bookmark
- Subscribe
- Mute
- [Subscribe to RSS Feed](https://community.checkpoint.com/rss/message?board.id=codehub&message.id=2816)
- [Permalink](https://community.checkpoint.com/t5/API-CLI-Discussion/CPViewInsights/m-p/41022/highlight/true#M2816)
- [Print](https://community.checkpoint.com/t5/forums/forumtopicprintpage/board-id/codehub/message-id/2816/print-single-message/true/page/1)
- [Report Inappropriate Content](https://community.checkpoint.com/t5/notifications/notifymoderatorpage/message-uid/41022)

Windows 8.1 Pro.

Kind regards,

**Jozko** Mrkvicka

0

Kudos

[Click here to give kudos to this post.](https://community.checkpoint.com/t5/forums/v5/forumtopicpage.kudosbuttonv2.kudoentity:kudoentity/kudosable-gid/41022?t:ac=board-id/codehub/message-id/2812/thread-id/2812&t:cp=kudos/contributions/tapletcontributionspage&ticket=rO6QMoXdCwnP_-1 "Click here to give kudos to this post.")

1

2

3

4

5

0.5

1.0

1.5

2.0

2.5

3.0

3.5

4.0

4.5

5.0

[Reply](https://community.checkpoint.com/t5/API-CLI-Discussion/CPViewInsights/m-p/41018)

[Joshua\_Hatter](https://community.checkpoint.com/t5/user/viewprofilepage/user-id/927)

Employee

‎2018-09-2607:44 AM

[Show option menu](https://community.checkpoint.com/t5/API-CLI-Discussion/CPViewInsights/m-p/41018# "Show option menu")

- Mark as New
- Bookmark
- Subscribe
- Mute
- [Subscribe to RSS Feed](https://community.checkpoint.com/rss/message?board.id=codehub&message.id=2817)
- [Permalink](https://community.checkpoint.com/t5/API-CLI-Discussion/CPViewInsights/m-p/41023/highlight/true#M2817)
- [Print](https://community.checkpoint.com/t5/forums/forumtopicprintpage/board-id/codehub/message-id/2817/print-single-message/true/page/1)
- [Report Inappropriate Content](https://community.checkpoint.com/t5/notifications/notifymoderatorpage/message-uid/41023)

Hmm. Not sure haven't seen this. This is built for 64 bit is your machine 64 bit?

0

Kudos

[Click here to give kudos to this post.](https://community.checkpoint.com/t5/forums/v5/forumtopicpage.kudosbuttonv2.kudoentity:kudoentity/kudosable-gid/41023?t:ac=board-id/codehub/message-id/2812/thread-id/2812&t:cp=kudos/contributions/tapletcontributionspage&ticket=rO6QMoXdCwnP_-1 "Click here to give kudos to this post.")

1

2

3

4

5

0.5

1.0

1.5

2.0

2.5

3.0

3.5

4.0

4.5

5.0

[Reply](https://community.checkpoint.com/t5/API-CLI-Discussion/CPViewInsights/m-p/41018)

[JozkoMrkvicka](https://community.checkpoint.com/t5/user/viewprofilepage/user-id/1702)

Authority

‎2018-09-2611:37 PM

[Show option menu](https://community.checkpoint.com/t5/API-CLI-Discussion/CPViewInsights/m-p/41018# "Show option menu")

- Mark as New
- Bookmark
- Subscribe
- Mute
- [Subscribe to RSS Feed](https://community.checkpoint.com/rss/message?board.id=codehub&message.id=2818)
- [Permalink](https://community.checkpoint.com/t5/API-CLI-Discussion/CPViewInsights/m-p/41024/highlight/true#M2818)
- [Print](https://community.checkpoint.com/t5/forums/forumtopicprintpage/board-id/codehub/message-id/2818/print-single-message/true/page/1)
- [Report Inappropriate Content](https://community.checkpoint.com/t5/notifications/notifymoderatorpage/message-uid/41024)

Yes, 64bit.

I have also problem with SecuRemote on my private machine, so maybe something is wrong with my workstation (or with W8.1 Pro).

Kind regards,

**Jozko** Mrkvicka

0

Kudos

[Click here to give kudos to this post.](https://community.checkpoint.com/t5/forums/v5/forumtopicpage.kudosbuttonv2.kudoentity:kudoentity/kudosable-gid/41024?t:ac=board-id/codehub/message-id/2812/thread-id/2812&t:cp=kudos/contributions/tapletcontributionspage&ticket=rO6QMoXdCwnP_-1 "Click here to give kudos to this post.")

1

2

3

4

5

0.5

1.0

1.5

2.0

2.5

3.0

3.5

4.0

4.5

5.0

[Reply](https://community.checkpoint.com/t5/API-CLI-Discussion/CPViewInsights/m-p/41018)

[KennyManrique](https://community.checkpoint.com/t5/user/viewprofilepage/user-id/5874)

Advisor

‎2018-10-1812:48 PM

[Show option menu](https://community.checkpoint.com/t5/API-CLI-Discussion/CPViewInsights/m-p/41018# "Show option menu")

- Mark as New
- Bookmark
- Subscribe
- Mute
- [Subscribe to RSS Feed](https://community.checkpoint.com/rss/message?board.id=codehub&message.id=2819)
- [Permalink](https://community.checkpoint.com/t5/API-CLI-Discussion/CPViewInsights/m-p/41025/highlight/true#M2819)
- [Print](https://community.checkpoint.com/t5/forums/forumtopicprintpage/board-id/codehub/message-id/2819/print-single-message/true/page/1)
- [Report Inappropriate Content](https://community.checkpoint.com/t5/notifications/notifymoderatorpage/message-uid/41025)

Hi [Joshua Hatter](https://community.checkpoint.com/migrated-users/41895),

First of all, thanks for the tool, it's very useful.

One couple of things I noticed on Version 2 are the following:

\- When working with multiple graphics on the same output, for example CPU cores or Interface drops, it shows vertical lines who extend forever but without information if you make zoom. On the following graphic, the maximum value is 60, but you can see lines above it and even below zero. I tested on three browsers with same results:

\- When the data is always the same through time, the graphic output is apparenty 0; but if you put the mouse cursor shows the real value.

I hope you can review this.

Also I really appreciate if you can provide me the first verstion. When I tested at first, did not experienced the problems mentioned above.

Regards.

0

Kudos

[Click here to give kudos to this post.](https://community.checkpoint.com/t5/forums/v5/forumtopicpage.kudosbuttonv2.kudoentity:kudoentity/kudosable-gid/41025?t:ac=board-id/codehub/message-id/2812/thread-id/2812&t:cp=kudos/contributions/tapletcontributionspage&ticket=rO6QMoXdCwnP_-1 "Click here to give kudos to this post.")

1

2

3

4

5

0.5

1.0

1.5

2.0

2.5

3.0

3.5

4.0

4.5

5.0

[Reply](https://community.checkpoint.com/t5/API-CLI-Discussion/CPViewInsights/m-p/41018)

[Joshua\_Hatter](https://community.checkpoint.com/t5/user/viewprofilepage/user-id/927)

Employee

‎2018-10-1806:37 PM

[Show option menu](https://community.checkpoint.com/t5/API-CLI-Discussion/CPViewInsights/m-p/41018# "Show option menu")

- Mark as New
- Bookmark
- Subscribe
- Mute
- [Subscribe to RSS Feed](https://community.checkpoint.com/rss/message?board.id=codehub&message.id=2820)
- [Permalink](https://community.checkpoint.com/t5/API-CLI-Discussion/CPViewInsights/m-p/41026/highlight/true#M2820)
- [Print](https://community.checkpoint.com/t5/forums/forumtopicprintpage/board-id/codehub/message-id/2820/print-single-message/true/page/1)
- [Report Inappropriate Content](https://community.checkpoint.com/t5/notifications/notifymoderatorpage/message-uid/41026)

Thanks! I had literally never seen this before until today. Have another internal user confirming they have spotted it once before as well but after zooming in the data corrects itself, looking into it.

Hope to release a updated version soon which is compatible with R80.20.

[1\\
\\
\\
Kudo](https://community.checkpoint.com/t5/kudos/messagepage/board-id/codehub/message-id/2820/tab/all-users "Click here to see who gave kudos to this post.")

[Click here to give kudos to this post.](https://community.checkpoint.com/t5/forums/v5/forumtopicpage.kudosbuttonv2.kudoentity:kudoentity/kudosable-gid/41026?t:ac=board-id/codehub/message-id/2812/thread-id/2812&t:cp=kudos/contributions/tapletcontributionspage&ticket=rO6QMoXdCwnP_-1 "Click here to give kudos to this post.")

1

2

3

4

5

0.5

1.0

1.5

2.0

2.5

3.0

3.5

4.0

4.5

5.0

[Reply](https://community.checkpoint.com/t5/API-CLI-Discussion/CPViewInsights/m-p/41018)

[Joshua\_Hatter](https://community.checkpoint.com/t5/user/viewprofilepage/user-id/927)

Employee

‎2018-10-1907:52 AM

[Show option menu](https://community.checkpoint.com/t5/API-CLI-Discussion/CPViewInsights/m-p/41018# "Show option menu")

- Mark as New
- Bookmark
- Subscribe
- Mute
- [Subscribe to RSS Feed](https://community.checkpoint.com/rss/message?board.id=codehub&message.id=2821)
- [Permalink](https://community.checkpoint.com/t5/API-CLI-Discussion/CPViewInsights/m-p/41027/highlight/true#M2821)
- [Print](https://community.checkpoint.com/t5/forums/forumtopicprintpage/board-id/codehub/message-id/2821/print-single-message/true/page/1)
- [Report Inappropriate Content](https://community.checkpoint.com/t5/notifications/notifymoderatorpage/message-uid/41027)

The latest version should correct this. I believe it was an underlying issue with Plotly Scattergl VS Scatter plots, if you still see the issue let me know! [Kenny Manrique](https://community.checkpoint.com/migrated-users/45044)

[1\\
\\
\\
Kudo](https://community.checkpoint.com/t5/kudos/messagepage/board-id/codehub/message-id/2821/tab/all-users "Click here to see who gave kudos to this post.")

[Click here to give kudos to this post.](https://community.checkpoint.com/t5/forums/v5/forumtopicpage.kudosbuttonv2.kudoentity:kudoentity/kudosable-gid/41027?t:ac=board-id/codehub/message-id/2812/thread-id/2812&t:cp=kudos/contributions/tapletcontributionspage&ticket=rO6QMoXdCwnP_-1 "Click here to give kudos to this post.")

1

2

3

4

5

0.5

1.0

1.5

2.0

2.5

3.0

3.5

4.0

4.5

5.0

[Reply](https://community.checkpoint.com/t5/API-CLI-Discussion/CPViewInsights/m-p/41018)

[KennyManrique](https://community.checkpoint.com/t5/user/viewprofilepage/user-id/5874)

Advisor

‎2018-10-1902:26 PM

[Show option menu](https://community.checkpoint.com/t5/API-CLI-Discussion/CPViewInsights/m-p/41018# "Show option menu")

- Mark as New
- Bookmark
- Subscribe
- Mute
- [Subscribe to RSS Feed](https://community.checkpoint.com/rss/message?board.id=codehub&message.id=2822)
- [Permalink](https://community.checkpoint.com/t5/API-CLI-Discussion/CPViewInsights/m-p/41028/highlight/true#M2822)
- [Print](https://community.checkpoint.com/t5/forums/forumtopicprintpage/board-id/codehub/message-id/2822/print-single-message/true/page/1)
- [Report Inappropriate Content](https://community.checkpoint.com/t5/notifications/notifymoderatorpage/message-uid/41028)

Thank you [Joshua Hatter](https://community.checkpoint.com/migrated-users/41895) ‌!

I tested again with same cpview file and now the graphic shows the data correctly!

Regards.

[1\\
\\
\\
Kudo](https://community.checkpoint.com/t5/kudos/messagepage/board-id/codehub/message-id/2822/tab/all-users "Click here to see who gave kudos to this post.")

[Click here to give kudos to this post.](https://community.checkpoint.com/t5/forums/v5/forumtopicpage.kudosbuttonv2.kudoentity:kudoentity/kudosable-gid/41028?t:ac=board-id/codehub/message-id/2812/thread-id/2812&t:cp=kudos/contributions/tapletcontributionspage&ticket=rO6QMoXdCwnP_-1 "Click here to give kudos to this post.")

1

2

3

4

5

0.5

1.0

1.5

2.0

2.5

3.0

3.5

4.0

4.5

5.0

[Reply](https://community.checkpoint.com/t5/API-CLI-Discussion/CPViewInsights/m-p/41018)

[Nicolas\_Boisse](https://community.checkpoint.com/t5/user/viewprofilepage/user-id/210)

Employee Alumnus

‎2018-10-2405:24 AM

[Show option menu](https://community.checkpoint.com/t5/API-CLI-Discussion/CPViewInsights/m-p/41018# "Show option menu")

- Mark as New
- Bookmark
- Subscribe
- Mute
- [Subscribe to RSS Feed](https://community.checkpoint.com/rss/message?board.id=codehub&message.id=2823)
- [Permalink](https://community.checkpoint.com/t5/API-CLI-Discussion/CPViewInsights/m-p/41029/highlight/true#M2823)
- [Print](https://community.checkpoint.com/t5/forums/forumtopicprintpage/board-id/codehub/message-id/2823/print-single-message/true/page/1)
- [Report Inappropriate Content](https://community.checkpoint.com/t5/notifications/notifymoderatorpage/message-uid/41029)

Nice tool Joshua 🙂

[1\\
\\
\\
Kudo](https://community.checkpoint.com/t5/kudos/messagepage/board-id/codehub/message-id/2823/tab/all-users "Click here to see who gave kudos to this post.")

[Click here to give kudos to this post.](https://community.checkpoint.com/t5/forums/v5/forumtopicpage.kudosbuttonv2.kudoentity:kudoentity/kudosable-gid/41029?t:ac=board-id/codehub/message-id/2812/thread-id/2812&t:cp=kudos/contributions/tapletcontributionspage&ticket=rO6QMoXdCwnP_-1 "Click here to give kudos to this post.")

1

2

3

4

5

0.5

1.0

1.5

2.0

2.5

3.0

3.5

4.0

4.5

5.0

[Reply](https://community.checkpoint.com/t5/API-CLI-Discussion/CPViewInsights/m-p/41018)

[Sven\_Glock](https://community.checkpoint.com/t5/user/viewprofilepage/user-id/6311)

Advisor

‎2018-10-3112:35 PM

[Show option menu](https://community.checkpoint.com/t5/API-CLI-Discussion/CPViewInsights/m-p/41018# "Show option menu")

- Mark as New
- Bookmark
- Subscribe
- Mute
- [Subscribe to RSS Feed](https://community.checkpoint.com/rss/message?board.id=codehub&message.id=2824)
- [Permalink](https://community.checkpoint.com/t5/API-CLI-Discussion/CPViewInsights/m-p/41030/highlight/true#M2824)
- [Print](https://community.checkpoint.com/t5/forums/forumtopicprintpage/board-id/codehub/message-id/2824/print-single-message/true/page/1)
- [Report Inappropriate Content](https://community.checkpoint.com/t5/notifications/notifymoderatorpage/message-uid/41030)

Nice tool! I like it!

...but I was only able to start it once.

The second time I received this error:

Any ideas?

Thanks in advance.

Cheers

Sven

0

Kudos

[Click here to give kudos to this post.](https://community.checkpoint.com/t5/forums/v5/forumtopicpage.kudosbuttonv2.kudoentity:kudoentity/kudosable-gid/41030?t:ac=board-id/codehub/message-id/2812/thread-id/2812&t:cp=kudos/contributions/tapletcontributionspage&ticket=rO6QMoXdCwnP_-1 "Click here to give kudos to this post.")

1

2

3

4

5

0.5

1.0

1.5

2.0

2.5

3.0

3.5

4.0

4.5

5.0

[Reply](https://community.checkpoint.com/t5/API-CLI-Discussion/CPViewInsights/m-p/41018)

[Joshua\_Hatter](https://community.checkpoint.com/t5/user/viewprofilepage/user-id/927)

Employee

‎2018-10-3101:46 PM

[Show option menu](https://community.checkpoint.com/t5/API-CLI-Discussion/CPViewInsights/m-p/41018# "Show option menu")

- Mark as New
- Bookmark
- Subscribe
- Mute
- [Subscribe to RSS Feed](https://community.checkpoint.com/rss/message?board.id=codehub&message.id=2825)
- [Permalink](https://community.checkpoint.com/t5/API-CLI-Discussion/CPViewInsights/m-p/41031/highlight/true#M2825)
- [Print](https://community.checkpoint.com/t5/forums/forumtopicprintpage/board-id/codehub/message-id/2825/print-single-message/true/page/1)
- [Report Inappropriate Content](https://community.checkpoint.com/t5/notifications/notifymoderatorpage/message-uid/41031)

The python interpreter in the compiled executable ran into an un-handled exception.

I'm constantly working on this project, and the next version will have better logging so that the log file can have some information to work with on these.

If I had to guess, I know there is a bug on second launch of a database that is corrupted. Deleting the settings.json file inside of the zip folder will fix this.

This is cause because the tool saves the last used database and reloads it on next launch.

Also depending on how/where you launch the tool from, it will try to make the log file in the directory you call from, leading to permissions errors.

So for example if you unzipped in C:\\Users\\username\\cpviewinsights\

But you call the exe manually from cmd line in Windows at path C:\

It will try to make the log file in C:\ and this commonly leads to a permission exception.

Other than that I apologize I'm not sure, lookout for next version here probably by next week.

Next version will have better handling for corrupted databases due to improper export from the firewall.

[1\\
\\
\\
Kudo](https://community.checkpoint.com/t5/kudos/messagepage/board-id/codehub/message-id/2825/tab/all-users "Click here to see who gave kudos to this post.")

[Click here to give kudos to this post.](https://community.checkpoint.com/t5/forums/v5/forumtopicpage.kudosbuttonv2.kudoentity:kudoentity/kudosable-gid/41031?t:ac=board-id/codehub/message-id/2812/thread-id/2812&t:cp=kudos/contributions/tapletcontributionspage&ticket=rO6QMoXdCwnP_-1 "Click here to give kudos to this post.")

1

2

3

4

5

0.5

1.0

1.5

2.0

2.5

3.0

3.5

4.0

4.5

5.0

[Reply](https://community.checkpoint.com/t5/API-CLI-Discussion/CPViewInsights/m-p/41018)

[Solbom\_Du](https://community.checkpoint.com/t5/user/viewprofilepage/user-id/7073)

Explorer

‎2018-11-0102:00 AM

[Show option menu](https://community.checkpoint.com/t5/API-CLI-Discussion/CPViewInsights/m-p/41018# "Show option menu")

- Mark as New
- Bookmark
- Subscribe
- Mute
- [Subscribe to RSS Feed](https://community.checkpoint.com/rss/message?board.id=codehub&message.id=2826)
- [Permalink](https://community.checkpoint.com/t5/API-CLI-Discussion/CPViewInsights/m-p/41032/highlight/true#M2826)
- [Print](https://community.checkpoint.com/t5/forums/forumtopicprintpage/board-id/codehub/message-id/2826/print-single-message/true/page/1)
- [Report Inappropriate Content](https://community.checkpoint.com/t5/notifications/notifymoderatorpage/message-uid/41032)

Hi Joshua Hatter.

There is a time stamp of "CPview History" and a time error shown on the graph.

Ex) 1539216686 -> Oct 11, 2018 01:11:26 ( 1H )

As the time error range increases, other data values differ from the "CPViewDB.dat" value.

Are there any restrictions or settings that I don't know?

Version : R80.10 Take 121

Regards.

[2\\
\\
\\
Kudos](https://community.checkpoint.com/t5/kudos/messagepage/board-id/codehub/message-id/2826/tab/all-users "Click here to see who gave kudos to this post.")

[Click here to give kudos to this post.](https://community.checkpoint.com/t5/forums/v5/forumtopicpage.kudosbuttonv2.kudoentity:kudoentity/kudosable-gid/41032?t:ac=board-id/codehub/message-id/2812/thread-id/2812&t:cp=kudos/contributions/tapletcontributionspage&ticket=rO6QMoXdCwnP_-1 "Click here to give kudos to this post.")

1

2

3

4

5

0.5

1.0

1.5

2.0

2.5

3.0

3.5

4.0

4.5

5.0

[Reply](https://community.checkpoint.com/t5/API-CLI-Discussion/CPViewInsights/m-p/41018)

[Benoit\_Verove](https://community.checkpoint.com/t5/user/viewprofilepage/user-id/2230)

Contributor

‎2019-02-1212:15 AM

[Show option menu](https://community.checkpoint.com/t5/API-CLI-Discussion/CPViewInsights/m-p/41018# "Show option menu")

- Mark as New
- Bookmark
- Subscribe
- Mute
- [Subscribe to RSS Feed](https://community.checkpoint.com/rss/message?board.id=codehub&message.id=2827)
- [Permalink](https://community.checkpoint.com/t5/API-CLI-Discussion/CPViewInsights/m-p/41033/highlight/true#M2827)
- [Print](https://community.checkpoint.com/t5/forums/forumtopicprintpage/board-id/codehub/message-id/2827/print-single-message/true/page/1)
- [Report Inappropriate Content](https://community.checkpoint.com/t5/notifications/notifymoderatorpage/message-uid/41033)

Hi,

This tool is really great ! So useful.

I have a gateway on wich I exported the db with the command "cpview history export" but the result is always seen as corrupted by the tool.

From command line, navigating in the history with "cpview -t" is working fine.

Do you have any advice ? Is there a way to repair it manually ?

Regards,

Benoit

0

Kudos

[Click here to give kudos to this post.](https://community.checkpoint.com/t5/forums/v5/forumtopicpage.kudosbuttonv2.kudoentity:kudoentity/kudosable-gid/41033?t:ac=board-id/codehub/message-id/2812/thread-id/2812&t:cp=kudos/contributions/tapletcontributionspage&ticket=rO6QMoXdCwnP_-1 "Click here to give kudos to this post.")

1

2

3

4

5

0.5

1.0

1.5

2.0

2.5

3.0

3.5

4.0

4.5

5.0

[Reply](https://community.checkpoint.com/t5/API-CLI-Discussion/CPViewInsights/m-p/41018)

[Joshua\_Hatter](https://community.checkpoint.com/t5/user/viewprofilepage/user-id/927)

Employee

‎2019-02-1205:27 AM

[Show option menu](https://community.checkpoint.com/t5/API-CLI-Discussion/CPViewInsights/m-p/41018# "Show option menu")

- Mark as New
- Bookmark
- Subscribe
- Mute
- [Subscribe to RSS Feed](https://community.checkpoint.com/rss/message?board.id=codehub&message.id=2828)
- [Permalink](https://community.checkpoint.com/t5/API-CLI-Discussion/CPViewInsights/m-p/41034/highlight/true#M2828)
- [Print](https://community.checkpoint.com/t5/forums/forumtopicprintpage/board-id/codehub/message-id/2828/print-single-message/true/page/1)
- [Report Inappropriate Content](https://community.checkpoint.com/t5/notifications/notifymoderatorpage/message-uid/41034)

So sometimes I use [DB Browser for SQLite](https://sqlitebrowser.org/) to view the table I'm having issue with to see what the problem is. Many times you will find corrupted characters and or data from other tables in the wrong table even.

Some have attempted a sql dump and insert into new database, but your mileage may very. Have seen bizarre graphs after doing a dump.

[sqlite - How to recover a corrupt SQLite3 database? - Stack Overflow](https://stackoverflow.com/questions/18259692/how-to-recover-a-corrupt-sqlite3-database "https://stackoverflow.com/questions/18259692/how-to-recover-a-corrupt-sqlite3-database")

[1\\
\\
\\
Kudo](https://community.checkpoint.com/t5/kudos/messagepage/board-id/codehub/message-id/2828/tab/all-users "Click here to see who gave kudos to this post.")

[Click here to give kudos to this post.](https://community.checkpoint.com/t5/forums/v5/forumtopicpage.kudosbuttonv2.kudoentity:kudoentity/kudosable-gid/41034?t:ac=board-id/codehub/message-id/2812/thread-id/2812&t:cp=kudos/contributions/tapletcontributionspage&ticket=rO6QMoXdCwnP_-1 "Click here to give kudos to this post.")

1

2

3

4

5

0.5

1.0

1.5

2.0

2.5

3.0

3.5

4.0

4.5

5.0

[Reply](https://community.checkpoint.com/t5/API-CLI-Discussion/CPViewInsights/m-p/41018)

[Prachachart\_Sta](https://community.checkpoint.com/t5/user/viewprofilepage/user-id/1278)

Employee

‎2019-06-1112:24 AM

[Show option menu](https://community.checkpoint.com/t5/API-CLI-Discussion/CPViewInsights/m-p/41018# "Show option menu")

- Mark as New
- Bookmark
- Subscribe
- Mute
- [Subscribe to RSS Feed](https://community.checkpoint.com/rss/message?board.id=codehub&message.id=3589)
- [Permalink](https://community.checkpoint.com/t5/API-CLI-Discussion/CPViewInsights/m-p/55474/highlight/true#M3589)
- [Print](https://community.checkpoint.com/t5/forums/forumtopicprintpage/board-id/codehub/message-id/3589/print-single-message/true/page/1)
- [Report Inappropriate Content](https://community.checkpoint.com/t5/notifications/notifymoderatorpage/message-uid/55474)

[In response to Joshua\_Hatter](https://community.checkpoint.com/t5/API-CLI-Discussion/CPViewInsights/m-p/41034/highlight/true#M2828)

Hi Joshua,

Thanks for your great tool, By the way did we have graph for throughput history?

Prachachart.S

0

Kudos

[Click here to give kudos to this post.](https://community.checkpoint.com/t5/forums/v5/forumtopicpage.kudosbuttonv2.kudoentity:kudoentity/kudosable-gid/55474?t:ac=board-id/codehub/message-id/2812/thread-id/2812&t:cp=kudos/contributions/tapletcontributionspage&ticket=rO6QMoXdCwnP_-1 "Click here to give kudos to this post.")

1

2

3

4

5

0.5

1.0

1.5

2.0

2.5

3.0

3.5

4.0

4.5

5.0

[Reply](https://community.checkpoint.com/t5/API-CLI-Discussion/CPViewInsights/m-p/41018)

Post Reply

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

| User | Count |
| --- | --- |
| <br>[Duane\_Toler](https://community.checkpoint.com/t5/user/viewprofilepage/user-id/694) | 2 |
| <br>[Maxim\_Tremblay](https://community.checkpoint.com/t5/user/viewprofilepage/user-id/685) | 1 |

[View All ≫](https://community.checkpoint.com/t5/forums/kudosleaderboardpage/board-id/codehub/timerange/one_month/page/1/tab/authors)

Trending Discussions

[Log hunting playbook for CVE-2026-16232](https://community.checkpoint.com/t5/API-CLI-Discussion/Log-hunting-playbook-for-CVE-2026-16232/td-p/280070)

[Query gateway version & take](https://community.checkpoint.com/t5/API-CLI-Discussion/Query-gateway-version-amp-take/td-p/280077)

[Getting Currently Active Remote Access VPN Users via Management API (PHP example)](https://community.checkpoint.com/t5/API-CLI-Discussion/Getting-Currently-Active-Remote-Access-VPN-Users-via-Management/td-p/279364)

Upcoming Events

Sort by:

- [All](https://community.checkpoint.com/t5/API-CLI-Discussion/CPViewInsights/m-p/41018#)
- [Virtual](https://community.checkpoint.com/t5/API-CLI-Discussion/CPViewInsights/m-p/41018#)
- [In-Person](https://community.checkpoint.com/t5/API-CLI-Discussion/CPViewInsights/m-p/41018#)

[Virtual](https://community.checkpoint.com/labels/Virtual)

Tue 28 Jul 2026 @ 11:00 AM (EDT)

[Under the Hood - Check Point and Illumio – Modern Network Defense Against AI-Based Threats](https://community.checkpoint.com/t5/CheckMates-Events/Under-the-Hood-Check-Point-and-Illumio-Modern-Network-Defense/ev-p/279701)

[Virtual](https://community.checkpoint.com/labels/Virtual)

Wed 29 Jul 2026 @ 12:00 PM (SGT)

[The AI Security Report 2026: A Turning Point for Enterprise Defense - SGT](https://community.checkpoint.com/t5/CheckMates-Events/The-AI-Security-Report-2026-A-Turning-Point-for-Enterprise/ev-p/280019)

[Virtual](https://community.checkpoint.com/labels/Virtual)

Wed 29 Jul 2026 @ 02:00 PM (IDT)

[The AI Security Report 2026: A Turning Point for Enterprise Defense - AMER](https://community.checkpoint.com/t5/CheckMates-Events/The-AI-Security-Report-2026-A-Turning-Point-for-Enterprise/ev-p/280021)

[Virtual](https://community.checkpoint.com/labels/Virtual)

Wed 29 Jul 2026 @ 03:00 PM (CEST)

[The AI Security Report 2026: A Turning Point for Enterprise Defense EMEA](https://community.checkpoint.com/t5/CheckMates-Events/The-AI-Security-Report-2026-A-Turning-Point-for-Enterprise/ev-p/280020)

[Virtual](https://community.checkpoint.com/labels/Virtual)

Wed 29 Jul 2026 @ 11:00 AM (EDT)

[TechTalk: On-Premise SD-WAN Management](https://community.checkpoint.com/t5/CheckMates-Events/TechTalk-On-Premise-SD-WAN-Management/ev-p/279370)

Thu 30 Jul 2026 @ 11:30 AM (CDT)

[CheckMates Live DFW: Agentic AI Security Deep Dive & Hands-On](https://community.checkpoint.com/t5/CheckMates-Events/CheckMates-Live-DFW-Agentic-AI-Security-Deep-Dive-amp-Hands-On/ev-p/279920)

[Virtual](https://community.checkpoint.com/labels/Virtual)

Tue 28 Jul 2026 @ 11:00 AM (EDT)

[Virtual](https://community.checkpoint.com/labels/Virtual)

Wed 29 Jul 2026 @ 12:00 PM (SGT)

[Virtual](https://community.checkpoint.com/labels/Virtual)

Wed 29 Jul 2026 @ 02:00 PM (IDT)

[Virtual](https://community.checkpoint.com/labels/Virtual)

Wed 29 Jul 2026 @ 03:00 PM (CEST)

[Virtual](https://community.checkpoint.com/labels/Virtual)

Wed 29 Jul 2026 @ 11:00 AM (EDT)

[TechTalk: On-Premise SD-WAN Management](https://community.checkpoint.com/t5/CheckMates-Events/TechTalk-On-Premise-SD-WAN-Management/ev-p/279370)

[Virtual](https://community.checkpoint.com/labels/Virtual)

Thu 30 Jul 2026 @ 10:00 AM (PDT)

[AI Security Masters E12: READY OR NOT: Securing the AI Enterprise 4/5 - AI Gateway](https://community.checkpoint.com/t5/CheckMates-Events/AI-Security-Masters-E12-READY-OR-NOT-Securing-the-AI-Enterprise/ev-p/277411)

[In-Person](https://community.checkpoint.com/labels/In-Person)

Tue 11 Aug 2026 @ 11:30 AM (EDT)

[New York City: Agentic AI Security Deep Dive & Hands-On](https://community.checkpoint.com/t5/CheckMates-Events/New-York-City-Agentic-AI-Security-Deep-Dive-amp-Hands-On/ev-p/279476)

[In-Person](https://community.checkpoint.com/labels/In-Person)

Thu 13 Aug 2026 @ 11:30 AM (EDT)

[Waltham, MA: Agentic AI Security Deep Dive & Hands-On](https://community.checkpoint.com/t5/CheckMates-Events/Waltham-MA-Agentic-AI-Security-Deep-Dive-amp-Hands-On/ev-p/279475)

[In-Person](https://community.checkpoint.com/labels/In-Person)

Thu 20 Aug 2026 @ 08:30 AM (COT)

[Medellin: Workspace Evolution: Hybrid Mesh Management - Visibilidad, Automatización e IA](https://community.checkpoint.com/t5/CheckMates-Events/Medellin-Workspace-Evolution-Hybrid-Mesh-Management-Visibilidad/ev-p/280003)

[In-Person](https://community.checkpoint.com/labels/In-Person)

Thu 20 Aug 2026 @ 06:00 PM (COT)

[Medellin: Workspace Intelligence: IA Generativa en Acción para Equipos de Seguridad](https://community.checkpoint.com/t5/CheckMates-Events/Medellin-Workspace-Intelligence-IA-Generativa-en-Acci%C3%B3n-para/ev-p/280004)

[In-Person](https://community.checkpoint.com/labels/In-Person)

Thu 27 Aug 2026 @ 09:00 AM (CEST)

[Check Point Hands-On SASE and Cloud Workshop - Zurich](https://community.checkpoint.com/t5/CheckMates-Events/Check-Point-Hands-On-SASE-and-Cloud-Workshop-Zurich/ev-p/279914)

[In-Person](https://community.checkpoint.com/labels/In-Person)

Wed 21 Oct 2026 @ 09:00 AM (BST)

[AI Security Workshop - Glasgow](https://community.checkpoint.com/t5/CheckMates-Events/AI-Security-Workshop-Glasgow/ev-p/278505)

[CheckMates Events](https://community.checkpoint.com/t5/CheckMates-Events/eb-p/events)

[Top](https://community.checkpoint.com/t5/API-CLI-Discussion/CPViewInsights/m-p/41018)

About CheckMates

- [Getting Started & FAQ](https://community.checkpoint.com/t5/help/faqpage)
- [Community Guidelines](https://community.checkpoint.com/t5/user/TermsOfServicePage)

Learn Check Point

- [Check Point for Beginners](https://community.checkpoint.com/t5/Check-Point-for-Beginners-2-0/bg-p/check-point-for-beginners-2-0)
- [Check Point Trivia](https://community.checkpoint.com/t5/Check-Point-Trivia/bg-p/trivia)
- [CheckFlix Videos](https://community.checkpoint.com/t5/CheckFlix/ct-p/checkflix)

Advanced Learning

- [Check Point Security Masters](https://community.checkpoint.com/t5/Check-Point-Security-Masters/gp-p/ccsm)
- [Tip of the Week](https://community.checkpoint.com/t5/SecureKnowledge-Tip-of-the-Week/bg-p/secureknowledge)
- [TechTalks](https://community.checkpoint.com/t5/TechTalks/ct-p/techtalks%20role=)
- [Training and Certification](https://community.checkpoint.com/t5/Training-and-Certification/bd-p/training-and-certification)

Resources

- [CheckMates Toolbox](https://community.checkpoint.com/t5/CheckMates-Toolbox/ct-p/CheckMatesToolbox)
- [Developers (Code Hub)](https://community.checkpoint.com/t5/Developers-API-CLI/bd-p/codehub)
- [Product Announcements](https://community.checkpoint.com/t5/Product-Announcements/bg-p/products-blog)
- [Upcoming Events](https://community.checkpoint.com/t5/Upcoming-Events/bg-p/checkmates-live)

Non-English Discussions

- [Español](https://community.checkpoint.com/t5/Espa%C3%B1ol/bd-p/spanish)
- [French](https://community.checkpoint.com/t5/Fran%C3%A7ais/bd-p/francais)
- [Japanese](https://community.checkpoint.com/t5/Japanese-%E6%97%A5%E6%9C%AC%E8%AA%9E/bd-p/Japanese)
- [Português](https://community.checkpoint.com/t5/Portugu%C3%AAs/bd-p/portuguese)
- [Russian](https://community.checkpoint.com/t5/Russian/bd-p/russian)
- [Chinese](https://community.checkpoint.com/t5/Chinese/bd-p/taiwan)

YOU DESERVE THE BEST SECURITY

We’re Social. Follow Us [CheckMates on LinkedIn](http://linkedin.com/company/cpcheckmates)  [Check Point on YouTube](https://www.youtube.com/user/CPGlobal) [CheckMates on Facebook](https://www.facebook.com/cpcheckmates/) [CheckMates on Instagram](https://www.instagram.com/cpcheckmates/)

©1994-2026 Check Point Software Technologies Ltd. All rights reserved. [Copyright](https://www.checkpoint.com/copyright/) [Privacy Policy](https://www.checkpoint.com/privacy/) [About Us](https://www.checkpoint.com/about-us/) [UserCenter](https://usercenter.checkpoint.com/)

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
