LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File convertcfg.8 of Package nagios (Project openSUSE:Factory)

'\" t
.\"     Title: convertcfg
.\"    Author: [see the "AUTHOR" section]
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
.\"      Date: 06/10/2012
.\"    Manual: convertcfg
.\"    Source: Nagios
.\"  Language: English
.\"
.TH "CONVERTCFG" "8" "06/10/2012" "Nagios" "convertcfg"
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
convertcfg \- Nagios Config File Converter
.SH "SYNOPSIS"
.sp
\fBconvertcfg <config file> <object type>\fR
.SH "DESCRIPTION"
.sp
Nagios Config File Converter, written by Ethan Galstad (egalstad@nagios\&.org)\&.
.sp
This utility is designed to aide you in converting your old 'host' config file(s) to the new template-based config file style\&. It is also capable of converting extended host and service information definitions in your old CGI config file\&.
.sp
Supply the name of your old 'host' config file (or your old CGI config file if you're converting extended host/service definitions) on the command line, along with the type of object you would like to produce a new config file for\&.  Your old config file is not overwritten - new configuration data is printed to standard output, so you can redirect it wherever you like\&.
.sp
Please note that you can only specify one type of object at a time on the command line\&.
.sp
IMPORTANT: This utility will generate Nagios 1\&..x compliant config files\&. However, the config files are not totally compatible with Nagios 2\&.x, so you will have to do some manual tweaking\&.
.SH "Valid object types:"
.sp
.if n \{\
.RS 4
.\}
.nf
timeperiods
commands
contacts
contactgroups
hosts
hostgroups
hostgroupescalations
services
servicedependencies
serviceescalations
hostextinfo
serviceextinfo
.fi
.if n \{\
.RE
.\}
.SH "AUTHOR"
.sp
This manpage was written by Lars Vogdt <lars@linux-schulserver\&.de> and is based on the help text of convertcfg\&.