VPN Tunnel status

Hi all,

 

I need to make up a (private) webpage which displays a list of mobile routers (IBR900s), with their connection status, and whether their IPSec VPN tunnel is up.

 

I can easily pull the connection status of routers using the Cradlepoint Netcloud API. However, I'm not sure the best strategy for finding out whether a VPN tunnel is up.

 

Any suggestions?

 

Cheers

 

Stu