Yandiff (previously called Xndiff) is a command line utility (written in Perl) that allows users to monitor networks for changes in port states and running services. It does this by comparing the XML output of two nmap scans, one designated the "baseline", the other the "observation". Alternatively a third XML file can be created containing the differences.
It is loosely based on ndiff written by James Levine (circa 2001), except where ndiff used nmap’s "grepable" output, yandiff reads XML output using Nmap::Parser.