Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
TINTIN8
Contributor
Jump to solution

Identify VPN downtimes or re-establishments

Hi Gurus,

Is there any way to identify VPN disconnections/re-establishments looking at the log server logs?

 

Ex—we get logs like"Child SA exchange: Exchange failed: timeout reached," but we're not sure what the logs mean. Can we identify, looking at the logs, that the VPN tunnel went down "this" time and reconnected "this" time, etc.?

Our partners say your tunnel went down during a "time period," but we can't really check our logs and determine what happened to the VPN tunnel. Did it go down? What time did it re-establish?

Any help to clear this is highly appreciated.

0 Kudos
2 Solutions

Accepted Solutions
PhoneBoy
Admin
Admin

The only thing that generally can be found in logs is establishment (eg key install).

In R82, you can create monitoring objects that I presume will give you some indication when the VPN goes down. 

View solution in original post

the_rock
Legend
Legend

I attached short video of what @PhoneBoy was referring to, but, keep in mind, this is ONLY available if gateway is on R82.

Andy

View solution in original post

(1)
9 Replies
the_rock
Legend
Legend

The best way I found to do this is look for "key install" in the logs.

Andy

0 Kudos
TINTIN8
Contributor

Thanks @the_rock . However, this doesn't tell me what time the tunnel went down. I can see the Key install when the VPN gets re-established, but it still won't tell me what time it went down/disconnected, or was it in some kind of idle state.

0 Kudos
the_rock
Legend
Legend

From my experience, whenever I would see those in the logs, it was sure sign tunnel was down or would get re-established.

I will double check in the lab tomorrow.

Andy

0 Kudos
TINTIN8
Contributor

thank you so much @the_rock !!!

0 Kudos
the_rock
Legend
Legend

No problem.

0 Kudos
the_rock
Legend
Legend

I attached short video of what @PhoneBoy was referring to, but, keep in mind, this is ONLY available if gateway is on R82.

Andy

(1)
G_W_Albrecht
Legend Legend
Legend

If you have enabled Permanent Tunnels, you see Key Install only after tunnel was down or during renegotiation (controlled by the parameters you set).

CCSP - CCSE / CCTE / CTPS / CCME / CCSM Elite / SMB Specialist
0 Kudos
PhoneBoy
Admin
Admin

The only thing that generally can be found in logs is establishment (eg key install).

In R82, you can create monitoring objects that I presume will give you some indication when the VPN goes down. 

Nüüül
Advisor
Advisor

Do you have some kind of monitoring over your firewall? there is an snmp oid for tunnel state - so you could use that.

oid 1.3.6.1.4.1.2620.500.9002
kind table

 

from snmp-mib (https://support.checkpoint.com/results/sk/sk90470)
      tunnelState OBJECT-TYPE
            SYNTAX  INTEGER {
                          active(3),
                          destroy(4),
                          idle(129),
                          phase1(130),
                          down(131),
                          init(132)
             		}

for some reason my lab-gw sends tunnelstate as non-integer values (strings), but value is the same:

 

 

0 Kudos

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events