[ Return To FAQ Index | Search The FAQs ]
|Title:||How do I convert my NetSaint config files to work with Nagios?|
|Submitted By:||Ethan Galstad |
User is transitioning from NetSaint and is wondering how to convert their object config files to work with Nagios.
You have two options:
- Brush up on your typing skills and recreate the config file from scratch
- Use the handy convertcfg utility to do the work for you
Call me crazy with a "k" and a backwards "z", but I would recommend the second option. If you look in the contrib/ folder of the Nagios distribution you'll see a file called convertcfg.c - that's the conversion utility. You'll need to compile it by typing "make convertcfg" before you can use it. The utility is capable of converting object config files (host and service definitions, etc.), as well as the extended information definitions in the CGI config file. Run the utility without any command-line arguments to get helpful information on how to use it.
|Keywords:||convertcfg netsaint config files |