Build precise queries to find exactly what you need
Press ESC to close
Nagios World Conference 2026: Sept. 14-17 in St. Paul, MN | Learn More
Your review has been submitted and is pending approval.
Check if VPNL2L tunnel is established - ike or ipsec phases are up.
Current Version
1.0
Last Release Date
2014-04-05
Owner
Jesus
Website
http://eth0down.wordpress.com
Download URL
https://exchange.nagios.org/wp-content/uploads/project-files/2014/04/php_2phases.php
License
Other
Compatible With
This plugin is designed for Juniper SRX firewalls and it checks if tunnel is established. To do this queries by SNMP and uses the public IP address of the remote peer.
The logic of the plugin is:
- Search for IKE sessions - Search for IPsec sessions - If (#IKE + #IPSEC) == 0 -> ERROR
The output is the number of #IKE and #IPsec sessions found, this script it is very easy to tune.
Usage: php script.php [COMMUNITY] [HOST_IP] [PEER_GATEWAY_IP] [DESCRIPTION]
The last arg can be a description with blanks.
Enjoy, Jesus Martin
You must be logged in to submit a review.
To:
From: