switch to icinge
This commit is contained in:
parent
ef1ae661e7
commit
4631e71492
2
debian/control
vendored
2
debian/control
vendored
@ -10,7 +10,7 @@ Homepage: http://www.nagiosql.org
|
|||||||
Package: nagiosql
|
Package: nagiosql
|
||||||
Architecture: all
|
Architecture: all
|
||||||
Depends: ${shlibs:Depends}, ${misc:Depends}, php-ssh2
|
Depends: ${shlibs:Depends}, ${misc:Depends}, php-ssh2
|
||||||
Recommends: nagios4
|
Recommends: icinga
|
||||||
Description: Web based administration tool for Nagios 2 and above
|
Description: Web based administration tool for Nagios 2 and above
|
||||||
It helps you to easily build a complex configuration with all options,
|
It helps you to easily build a complex configuration with all options,
|
||||||
manage and use them. NagiosQL is based on a webserver with PHP, MySQL and
|
manage and use them. NagiosQL is based on a webserver with PHP, MySQL and
|
||||||
|
6
debian/dirs
vendored
6
debian/dirs
vendored
@ -1,6 +1,6 @@
|
|||||||
usr/share/nagiosql/htdocs
|
usr/share/nagiosql/htdocs
|
||||||
etc/nagiosql
|
etc/nagiosql/domain
|
||||||
etc/nagiosql/hosts
|
etc/nagiosql/domain/hosts
|
||||||
etc/nagiosql/services
|
etc/nagiosql/domain/services
|
||||||
etc/nagiosql/backup/hosts
|
etc/nagiosql/backup/hosts
|
||||||
etc/nagiosql/backup/services
|
etc/nagiosql/backup/services
|
||||||
|
@ -6,7 +6,7 @@ diff -uNr nagiosql32.orig/install/sql/nagiosQL_v32_db_mysql.sql nagiosql32/insta
|
|||||||
--
|
--
|
||||||
|
|
||||||
-INSERT INTO `tbl_configtarget` (`id`, `target`, `alias`, `server`, `method`, `user`, `password`, `ssh_key_path`, `basedir`, `hostconfig`, `serviceconfig`, `backupdir`, `hostbackup`, `servicebackup`, `nagiosbasedir`, `importdir`, `picturedir`, `commandfile`, `binaryfile`, `pidfile`, `conffile`, `version`, `access_group`, `active`, `nodelete`, `last_modified`) VALUES(1, 'localhost', 'Local installation', 'localhost', '1', '', '', '', '/etc/nagiosql/', '/etc/nagiosql/hosts/', '/etc/nagiosql/services/', '/etc/nagiosql/backup/', '/etc/nagiosql/backup/hosts/', '/etc/nagiosql/backup/services/', '/etc/nagiosql/', '/opt/nagios/etc/objects/', '', '/var/nagios/rw/nagios.cmd', '/opt/nagios/bin/nagios', '/var/nagios/nagios.lock', '/etc/nagiosql/nagios.cfg', 3, 0, '1', '1', NOW());
|
-INSERT INTO `tbl_configtarget` (`id`, `target`, `alias`, `server`, `method`, `user`, `password`, `ssh_key_path`, `basedir`, `hostconfig`, `serviceconfig`, `backupdir`, `hostbackup`, `servicebackup`, `nagiosbasedir`, `importdir`, `picturedir`, `commandfile`, `binaryfile`, `pidfile`, `conffile`, `version`, `access_group`, `active`, `nodelete`, `last_modified`) VALUES(1, 'localhost', 'Local installation', 'localhost', '1', '', '', '', '/etc/nagiosql/', '/etc/nagiosql/hosts/', '/etc/nagiosql/services/', '/etc/nagiosql/backup/', '/etc/nagiosql/backup/hosts/', '/etc/nagiosql/backup/services/', '/etc/nagiosql/', '/opt/nagios/etc/objects/', '', '/var/nagios/rw/nagios.cmd', '/opt/nagios/bin/nagios', '/var/nagios/nagios.lock', '/etc/nagiosql/nagios.cfg', 3, 0, '1', '1', NOW());
|
||||||
+INSERT INTO `tbl_configtarget` (`id`, `target`, `alias`, `server`, `method`, `user`, `password`, `ssh_key_path`, `basedir`, `hostconfig`, `serviceconfig`, `backupdir`, `hostbackup`, `servicebackup`, `nagiosbasedir`, `importdir`, `picturedir`, `commandfile`, `binaryfile`, `pidfile`, `conffile`, `version`, `access_group`, `active`, `nodelete`, `last_modified`) VALUES(1, 'localhost', 'Local installation', 'localhost', '1', '', '', '', '/etc/nagiosql/', '/etc/nagiosql/hosts/', '/etc/nagiosql/services/', '/etc/nagiosql/backup/', '/etc/nagiosql/backup/hosts/', '/etc/nagiosql/backup/services/', '/etc/nagiosql/', '/etc/nagios4/objects/', '', '/var/lib/nagios4/rw/nagios.cmd', '/usr/sbin/nagios4', '/var/run/nagios4/nagios4.pid', '/etc/nagios4/nagios.cfg', 3, 0, '1', '1', NOW());
|
+INSERT INTO `tbl_configtarget` (`id`, `target`, `alias`, `server`, `method`, `user`, `password`, `ssh_key_path`, `basedir`, `hostconfig`, `serviceconfig`, `backupdir`, `hostbackup`, `servicebackup`, `nagiosbasedir`, `importdir`, `picturedir`, `commandfile`, `binaryfile`, `pidfile`, `conffile`, `version`, `access_group`, `active`, `nodelete`, `last_modified`) VALUES(1, 'localhost', 'Local installation', 'localhost', '1', '', '', '', '/etc/nagiosql/domain/', '/etc/nagiosql/domain/hosts/', '/etc/nagiosql/domain/services/', '/etc/nagiosql/backup/', '/etc/nagiosql/backup/hosts/', '/etc/nagiosql/backup/services/', '/etc/nagiosql/', '/etc/nagios4/objects/', '', '/var/lib/nagios4/rw/nagios.cmd', '/usr/sbin/nagios4', '/var/run/nagios4/nagios4.pid', '/etc/nagios4/nagios.cfg', 3, 0, '1', '1', NOW());
|
||||||
|
|
||||||
-- --------------------------------------------------------
|
-- --------------------------------------------------------
|
||||||
|
|
||||||
|
4
debian/postinst
vendored
4
debian/postinst
vendored
@ -52,8 +52,8 @@ case "$1" in
|
|||||||
for file in `find /etc/nagiosql -type f -name \*.cfg 2> /dev/null`; do
|
for file in `find /etc/nagiosql -type f -name \*.cfg 2> /dev/null`; do
|
||||||
[ -f $file ] && setperm www-data nagios 0644 $file
|
[ -f $file ] && setperm www-data nagios 0644 $file
|
||||||
done
|
done
|
||||||
# -- /etc/nagios4 config files
|
# -- /etc/icinga config files
|
||||||
for cfg in /etc/nagios4/nagios.cfg /etc/nagios/nagios4/cgi.cfg ; do
|
for cfg in /etc/icinga/icinga.cfg /etc/nagios/icinga/cgi.cfg ; do
|
||||||
[ -e $cfg ] && setgrperm www-data 0644 $cfg
|
[ -e $cfg ] && setgrperm www-data 0644 $cfg
|
||||||
done
|
done
|
||||||
# -- at last
|
# -- at last
|
||||||
|
Loading…
Reference in New Issue
Block a user