Home Directory Plugins Network Connections, Stats and Bandwidth Juniper SRX - VPNL2L phase 1 & 2 monitor

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

Juniper SRX - VPNL2L phase 1 & 2 monitor

Current Version
1.0
Last Release Date
2014-04-05
Compatible With
  • Nagios 3.x
  • Nagios 4.x
Owner
License
Other
Hits
26119
Files:
FileDescription
php_2phases.phpphp_2phases.php
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
Check if VPNL2L tunnel is established - ike or ipsec phases are up.
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