View FAQ

[ Return To FAQ Index | Search The FAQs ]


FAQ Database : Nagios : Configuration

Title:How do I convert my NetSaint config files to work with Nagios?
FAQ ID:F0089
Submitted By:Ethan Galstad 
Last Updated:06/02/2009

Description:

User is transitioning from NetSaint and is wondering how to convert their object config files to work with Nagios.

 

Solution:

You have two options:

  1. Brush up on your typing skills and recreate the config file from scratch
  2. 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