Nagios2Xml and Xml2Nagios are two perl scripts writen under the GPL licence.
It allows you to generate a XML file from Nagios configuration files (with nagios2xml.pl) and generate a single Nagios configuration file from a XML file (with xml2nagios.pl).
Examples:
# cd /etc/nagios
# nagios2xml.pl -f ./nagios.cfg -x /tmp/nagios.xml
or
# cd /etc/nagiosnew
# xml2nagios.pl -x /tmp/nagios.xml -f ./
You can download the latest version click here.
Releases notes:
0.1: First release version (beta version, use at our own risk...)