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


Remember Me

Directory Tree

Current Version
Last Release Date
Compatible With
  • Nagios 1.x
  • Nagios 2.x
  • Nagios 3.x
  • Nagios XI
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
Checks the external IP dynamically assigned by the service provider and warns on an IP address change.
This plugin is designed for those who need to know the IP address dynamically assigned to them by their service provider. The plugin checks with an external website to find out what public IP address has been assigned by the service providers. The results of the check are stored in a temp file located in /tmp. If the results from the current IP check differs from the pervious results an alert is triggered. These alerts contain the current IP address assigned.

This plugin doesn't require any arguments, and will work for both IPv4 and IPv6 address assignments. However if you have a dual stack network connection you can test either the IPv4 address or the IPv6 independently using the appropriate flag. It is recommended that the max check attempts be set to 1 for this service check. Failure to do will result is missed alerts when a new IP address is assigned.

*** Update Version 3.0 ***
Added command line flags to specifically test for IPv4 or IPv6 connections.

*** Update Version 2.0 ***
Added error handling for HTML codes other than 200. If an html error occurs an unknown alert is triggered.
Reviews (1)
bysilenx, July 12, 2014
nice utility.
The plugin work in local and via nrpe.
A thing: if you try in bash shell the plugin ( ex: python /path/to/plugins/ ), remember to delete the /tmp/external_ip_address file, or assign to it the right nagios permissions