Hi,
Thanks for replying to this...
To answer your question,
We have uploaded the check_vpn.php into Nagios xi,
To be clear we have a site-to-site VPN tunnel setup in the Azure portal which has these VPN connections which have to be monitored in NagiosXI(This NagiosXI VM is also in Azure)Could you please help me in Achieving this?
We are using below command.
- Code: Select all
./check_vpn.php -t openvpn -H x.x.x.x(IP of VPN) -u AWS_CHS_Shared_Services(VPN Name) -p xxxxxxx(shared key) - U https://www.google.com
- Code: Select all
extra arguments can be specified after --, please refer to the plugin
you're using to understand what options can be passed
Options:
-t, --type VPN type, one of: l2tp, openvpn, pptp, ssh.
-h, --hostname Hostname to connect to.
-u, --username Username to use with VPN.
-p, --password Password to use with VPN.
-l, --lock Use global lock to avoid running check_vpn more
then once at the same time.
-d, --device Device to use, can be a specific device (tunX,
tapX, pppX) or just a prefix (tun, tap, ppp).
-U, --url URL to test connectivity with, the default is
http://www.google.com