Two very simple scripts to convert the config's back and forth between nagios ( http://nagios.sf.net ) and cheops-ng ( http://cheops-ng.sf.net ) for the purpose of getting the nagios status map looking pretty :)

nag2che.awk - ( cat hostextinfo.cfg | ./nag2che.awk )

Reads the Nagios config file and creates a cheops-ng config file. You can then fire up cheops-ng and drag and drop the nodes the the location you want them.

che2nag.awk - ( cat hostextinfo.cfg | ./che2nag.awk )

Pulls out the x,y coords from the cheops-nf config file and updates the nagios config file with the new node positions


--

Mark Cooper
