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
26482
Files:
FileDescription
php_2phases.phpphp_2phases.php
Nagios CSP

Meet The New Nagios Core Services Platform

Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.

Monitoring Made Magically Better

  • Nagios Core on Overdrive
  • Powerful Monitoring Dashboards
  • Time-Saving Configuration Wizards
  • Open Source Powered Monitoring On Steroids
  • And So Much More!
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