Skip to content

Commit 478e0cb

Browse files
committed
Fixed configuration inporter
Added manpage for configuration inporter Updated Config File for Icinga Exchange
1 parent 041f5c5 commit 478e0cb

12 files changed

Lines changed: 54 additions & 18 deletions

File tree

debian/README.Debian

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
Ease framework for Debian
1+
IcingaEditor for Debian
22
-------------------
33

4-
Is installed by standart way in /usr/share/php/Ease
4+
Is installed by standard way in /usr/share/icinga-editor
5+
By default you can use on: http://localhost/icinga-editor
56

6-
-- Vítězslav Dvořák <vitex@hippy.cz> Ne říj 21 15:17:56 CEST 2012
7+
-- Vítězslav Dvořák <vitex@hippy.cz> Po Srp 01 00:00:00 CEST 2016
78

debian/changelog

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
icinga-editor (1.0-1) UNRELEASED; urgency=medium
1+
icinga-editor (1.0-11) UNRELEASED; urgency=medium
22

33
[ dvorak ]
44
* Initial release. (Closes: #XXXXXX)
@@ -92,5 +92,15 @@ icinga-editor (1.0-1) UNRELEASED; urgency=medium
9292
* Screenshots cropped
9393
* Screenshots cropped
9494
* Screenshots cropped
95+
* Fixed config files import during debian package install process
96+
* Fixed config files import during debian package install process
97+
* Fixed config files import during debian package install process
98+
* Fixed config files import during debian package install process
99+
* Fixed config files import during debian package install process
100+
* Fixed config files import during debian package install process
101+
* Fixed config files import during debian package install process
102+
* Fixed config files import during debian package install process
103+
* Fixed config files import during debian package install process
104+
* Fixed config files import during debian package install process
95105

96-
-- vitex <vitex@developer.kancl.brevnov.czf> Mon, 01 Aug 2016 20:55:29 +0200
106+
-- vitex <vitex@developer.kancl.brevnov.czf> Tue, 02 Aug 2016 00:41:20 +0200

debian/conf/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "vitexsoftware/icinga-editor",
33
"description": "Editor of Icinga Configuration files (debianized)",
4-
"version": "1.0.1",
4+
"version": "1.0.11",
55
"authors": [
66
{
77
"name": "vitex",

debian/control

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Recommends: mysql-server,icinga-web, icinga-web-config-icinga, graphicsmagick-im
1212
Architecture: all
1313
Section: web
1414
Priority: optional
15-
Description: Editor konfigurace icingy
16-
Vygeneruje konfiguraci Iingy pro jednotlivé uživatele a jimi zvolené způsoby notifikace
15+
Description: Icinga Configuration Web Interface
16+
Tool for generation icinga 1.x configuration for multiplete users.
1717

1818

debian/docs/iecfgimporter.1

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
.\"Created with GNOME Manpages Editor Wizard
2+
.\"http://sourceforge.net/projects/gmanedit2
3+
.TH iecfgimporter 1 "August 2, 2016" "" "Icinga Editor Config importer"
4+
5+
.SH NAME
6+
iecfgimporter \- program for import icinga/nagios config files into Icinga Editor database
7+
8+
.SH SYNOPSIS
9+
.B iecfgimporter
10+
.br
11+
12+
.SH DESCRIPTION
13+
This manual page explains the use of
14+
.B iecfgimporter
15+
Simply run /usr/bin/iecfgimporter. It read all configuration files in /etc/icinga/directory and import it into Icinga Editor database. Thus you can generate an copy of original configuration from web interface.
16+
.PP
17+
\fBiecfgimporter\fP is for initial database population.
18+
19+
.SH "SEE ALSO"
20+
https://github.com/VitexSoftware/Icinga-Editor

debian/manpages

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
debian/docs/iecfgimporter.1
2+
3+

debian/postinst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ if [ ! -f $IECFG ] ; then
111111
# Check their answer.
112112
db_get icinga-editor/IMPORT_CONFIG
113113
if [ "$RET" = "true" ]; then
114-
/usr/bin/iecfgimporter
114+
iecfgimporter
115115
fi
116116
fi
117117

debian/revison

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1
1+
11

debian/rules

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ override_dh_install:
77
dh_install
88
sed -i -e 's/..\//.\//g' debian/icinga-editor/usr/share/icinga-editor/about.php
99
sed -i -e 's/..\/locale/\/usr\/share\/locale/g' debian/icinga-editor/usr/share/icinga-editor/includes/IEInit.php
10+
sed -i -e 's/..\/includes/\/usr\/share\/icinga-editor\/includes/g' debian/icinga-editor/usr/bin/iecfgimporter.php
1011
sed -i -e 's/..\/i18n/\/usr\/share\/locale/g' debian/icinga-editor/usr/share/icinga-editor/includes/IEInit.php
11-
mv debian/icinga-editor/usr/bin/iecfgimporter.php debian/icinga-editor/usr/bin/iecfgimporter
12-
12+
mv debian/icinga-editor/usr/bin/iecfgimporter.php debian/icinga-editor/usr/bin/iecfgimporter

debian/templates

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,18 @@
11
Template: icinga-editor/SEND_MAILS_FROM
22
Type: string
3-
Description: mail address of icinga admin
3+
Description: mail address of icinga admin:
4+
Where to send info about new signups etc.
45
Or simply press enter to use auto genrated name
56

67
Template: icinga-editor/ICINGA_SERVER_IP
78
Type: string
8-
Description: IP address of ICINGA server
9+
Description: IP address of ICINGA server:
10+
Enter public IP of this machine
911
Or simply press enter to use auto genrated value
1012

1113
Template: icinga-editor/IMPORT_CONFIG
1214
Type: boolean
1315
Default: true
1416
Description: Import icinga config files ?
15-
Choose yes to import all config files in /etc/icinga directory into database.
17+
Now you can import all config files in /etc/icinga directory into database.
1618
Imported files remain renamed to *.disabled

0 commit comments

Comments
 (0)