Alignak-monitoring / alignak-packaging

Packaging files for alignak applications
0 stars 0 forks source link

Ubuntu 16 packaging test #9

Closed mohierf closed 7 years ago

mohierf commented 7 years ago

This issue to track notes and comments about Ubuntu 16 packaging test.

Note: The comments in this issue that have a check list item need to be discussed ...

mohierf commented 7 years ago

Directories:

The Alignak main configuration file (issued from the repo bin/default/alignak.in) is not found anywhere !

The Alignak configuration is copied to /etc/alignak:

ll -R /etc/alignak/
/etc/alignak/:
total 40
drwxr-xr-x   6 root root  4096 nov.   3 14:55 ./
drwxr-xr-x 134 root root 12288 nov.   3 14:55 ../
-rwxr-xr-x   1 root root  7997 nov.   2 19:40 alignak.cfg*
drwxr-xr-x   8 root root  4096 nov.   3 14:19 arbiter/
drwxr-xr-x   2 root root  4096 nov.   3 14:55 certs/
drwxr-xr-x   2 root root  4096 nov.   3 14:55 daemons/
drwxr-xr-x   2 root root  4096 nov.   2 19:40 modules/

/etc/alignak/arbiter:
total 32
drwxr-xr-x  8 root root 4096 nov.   3 14:19 ./
drwxr-xr-x  6 root root 4096 nov.   3 14:55 ../
drwxr-xr-x  2 root root 4096 nov.   3 14:55 daemons/
drwxr-xr-x  2 root root 4096 nov.   3 14:55 modules/
drwxr-xr-x 14 root root 4096 nov.   3 14:19 objects/
drwxr-xr-x  3 root root 4096 nov.   3 14:55 packs/
drwxr-xr-x  2 root root 4096 nov.   3 14:55 resource.d/
drwxr-xr-x  2 root root 4096 nov.   3 14:55 templates/

/etc/alignak/arbiter/daemons:
total 32
drwxr-xr-x 2 root root 4096 nov.   3 14:55 ./
drwxr-xr-x 8 root root 4096 nov.   3 14:19 ../
-rw-r--r-- 1 root root 1956 nov.   2 19:40 arbiter-master.cfg
-rw-r--r-- 1 root root 1808 nov.   2 19:40 broker-master.cfg
-rw-r--r-- 1 root root 2408 nov.   2 19:40 poller-master.cfg
-rw-r--r-- 1 root root 1824 nov.   2 19:40 reactionner-master.cfg
-rw-r--r-- 1 root root 1710 nov.   2 19:40 receiver-master.cfg
-rw-r--r-- 1 root root 2180 nov.   2 19:40 scheduler-master.cfg

/etc/alignak/arbiter/modules:
total 12
drwxr-xr-x 2 root root 4096 nov.   3 14:55 ./
drwxr-xr-x 8 root root 4096 nov.   3 14:19 ../
-rw-r--r-- 1 root root   93 nov.   2 19:40 readme.cfg

/etc/alignak/arbiter/objects:
total 56
drwxr-xr-x 14 root root 4096 nov.   3 14:19 ./
drwxr-xr-x  8 root root 4096 nov.   3 14:19 ../
drwxr-xr-x  2 root root 4096 nov.   3 14:55 commands/
drwxr-xr-x  2 root root 4096 nov.   3 14:55 contactgroups/
drwxr-xr-x  2 root root 4096 nov.   3 14:55 contacts/
drwxr-xr-x  2 root root 4096 nov.   3 14:55 dependencies/
drwxr-xr-x  2 root root 4096 nov.   3 14:55 escalations/
drwxr-xr-x  2 root root 4096 nov.   3 14:55 hostgroups/
drwxr-xr-x  2 root root 4096 nov.   3 14:55 hosts/
drwxr-xr-x  2 root root 4096 nov.   3 14:55 notificationways/
drwxr-xr-x  2 root root 4096 nov.   3 14:55 realms/
drwxr-xr-x  2 root root 4096 nov.   3 14:55 servicegroups/
drwxr-xr-x  2 root root 4096 nov.   3 14:55 services/
drwxr-xr-x  2 root root 4096 nov.   3 14:55 timeperiods/

/etc/alignak/arbiter/objects/commands:
total 24
drwxr-xr-x  2 root root 4096 nov.   3 14:55 ./
drwxr-xr-x 14 root root 4096 nov.   3 14:19 ../
-rw-r--r--  1 root root  532 nov.   2 19:40 detailled-host-by-email.cfg
-rw-r--r--  1 root root  671 nov.   2 19:40 detailled-service-by-email.cfg
-rw-r--r--  1 root root  359 nov.   2 19:40 notify-host-by-email.cfg
-rw-r--r--  1 root root  464 nov.   2 19:40 notify-service-by-email.cfg

/etc/alignak/arbiter/objects/contactgroups:
total 16
drwxr-xr-x  2 root root 4096 nov.   3 14:55 ./
drwxr-xr-x 14 root root 4096 nov.   3 14:19 ../
-rw-r--r--  1 root root  116 nov.   2 19:40 admins.cfg
-rw-r--r--  1 root root  113 nov.   2 19:40 users.cfg

/etc/alignak/arbiter/objects/contacts:
total 16
drwxr-xr-x  2 root root 4096 nov.   3 14:55 ./
drwxr-xr-x 14 root root 4096 nov.   3 14:19 ../
-rw-r--r--  1 root root  290 nov.   2 19:40 admin.cfg
-rw-r--r--  1 root root  252 nov.   2 19:40 guest.cfg

/etc/alignak/arbiter/objects/dependencies:
total 12
drwxr-xr-x  2 root root 4096 nov.   3 14:55 ./
drwxr-xr-x 14 root root 4096 nov.   3 14:19 ../
-rw-r--r--  1 root root  820 nov.   2 19:40 sample.cfg

/etc/alignak/arbiter/objects/escalations:
total 12
drwxr-xr-x  2 root root 4096 nov.   3 14:55 ./
drwxr-xr-x 14 root root 4096 nov.   3 14:19 ../
-rw-r--r--  1 root root  558 nov.   2 19:40 sample.cfg

/etc/alignak/arbiter/objects/hostgroups:
total 12
drwxr-xr-x  2 root root 4096 nov.   3 14:55 ./
drwxr-xr-x 14 root root 4096 nov.   3 14:19 ../
-rw-r--r--  1 root root  147 nov.   2 19:40 linux.cfg

/etc/alignak/arbiter/objects/hosts:
total 12
drwxr-xr-x  2 root root 4096 nov.   3 14:55 ./
drwxr-xr-x 14 root root 4096 nov.   3 14:19 ../
-rw-r--r--  1 root root  177 nov.   2 19:40 localhost.cfg

/etc/alignak/arbiter/objects/notificationways:
total 16
drwxr-xr-x  2 root root 4096 nov.   3 14:55 ./
drwxr-xr-x 14 root root 4096 nov.   3 14:19 ../
-rw-r--r--  1 root root  521 nov.   2 19:40 detailled-email.cfg
-rw-r--r--  1 root root  496 nov.   2 19:40 email.cfg

/etc/alignak/arbiter/objects/realms:
total 12
drwxr-xr-x  2 root root 4096 nov.   3 14:55 ./
drwxr-xr-x 14 root root 4096 nov.   3 14:19 ../
-rw-r--r--  1 root root  170 nov.   2 19:40 all.cfg

/etc/alignak/arbiter/objects/servicegroups:
total 12
drwxr-xr-x  2 root root 4096 nov.   3 14:55 ./
drwxr-xr-x 14 root root 4096 nov.   3 14:19 ../
-rw-r--r--  1 root root  372 nov.   2 19:40 sample.cfg

/etc/alignak/arbiter/objects/services:
total 12
drwxr-xr-x  2 root root 4096 nov.   3 14:55 ./
drwxr-xr-x 14 root root 4096 nov.   3 14:19 ../
-rw-r--r--  1 root root   72 nov.   2 19:40 services.cfg

/etc/alignak/arbiter/objects/timeperiods:
total 24
drwxr-xr-x  2 root root 4096 nov.   3 14:55 ./
drwxr-xr-x 14 root root 4096 nov.   3 14:19 ../
-rw-r--r--  1 root root  229 nov.   2 19:40 24x7.cfg
-rw-r--r--  1 root root  106 nov.   2 19:40 none.cfg
-rw-r--r--  1 root root  850 nov.   2 19:40 us-holidays.cfg
-rw-r--r--  1 root root  220 nov.   2 19:40 workhours.cfg

/etc/alignak/arbiter/packs:
total 16
drwxr-xr-x 3 root root 4096 nov.   3 14:55 ./
drwxr-xr-x 8 root root 4096 nov.   3 14:19 ../
-rw-r--r-- 1 root root  128 nov.   2 19:40 readme.cfg
drwxr-xr-x 2 root root 4096 nov.   3 14:55 resource.d/

/etc/alignak/arbiter/packs/resource.d:
total 12
drwxr-xr-x 2 root root 4096 nov.   3 14:55 ./
drwxr-xr-x 3 root root 4096 nov.   3 14:55 ../
-rw-r--r-- 1 root root   91 nov.   2 19:40 readme.cfg

/etc/alignak/arbiter/resource.d:
total 12
drwxr-xr-x 2 root root 4096 nov.   3 14:55 ./
drwxr-xr-x 8 root root 4096 nov.   3 14:19 ../
-rw-r--r-- 1 root root  179 nov.   2 19:40 paths.cfg

/etc/alignak/arbiter/templates:
total 36
drwxr-xr-x 2 root root 4096 nov.   3 14:55 ./
drwxr-xr-x 8 root root 4096 nov.   3 14:19 ../
-rw-r--r-- 1 root root 1660 nov.   2 19:40 business-impacts.cfg
-rw-r--r-- 1 root root  341 nov.   2 19:40 generic-contact.cfg
-rw-r--r-- 1 root root 1121 nov.   2 19:40 generic-host.cfg
-rw-r--r-- 1 root root 1847 nov.   2 19:40 generic-service.cfg
-rw-r--r-- 1 root root 8561 nov.   2 19:40 time_templates.cfg

/etc/alignak/certs:
total 12
drwxr-xr-x 2 root root 4096 nov.   3 14:55 ./
drwxr-xr-x 6 root root 4096 nov.   3 14:55 ../
-rw-r--r-- 1 root root  307 nov.   2 19:40 README

/etc/alignak/daemons:
total 32
drwxr-xr-x 2 root root 4096 nov.   3 14:55 ./
drwxr-xr-x 6 root root 4096 nov.   3 14:55 ../
-rwxr-xr-x 1 root root 1341 nov.   2 19:40 arbiterd.ini*
-rwxr-xr-x 1 root root 1508 nov.   2 19:40 brokerd.ini*
-rwxr-xr-x 1 root root 1339 nov.   2 19:40 pollerd.ini*
-rwxr-xr-x 1 root root 1349 nov.   2 19:40 reactionnerd.ini*
-rwxr-xr-x 1 root root 1343 nov.   2 19:40 receiverd.ini*
-rwxr-xr-x 1 root root 1434 nov.   2 19:40 schedulerd.ini*

/etc/alignak/modules:
total 8
drwxr-xr-x 2 root root 4096 nov.   2 19:40 ./
drwxr-xr-x 6 root root 4096 nov.   3 14:55 ../
mohierf commented 7 years ago

Created a group named nagios and added user alignak to this group:

Setting up alignak-all (0.2-1.1478153517.6eeb28e) ...
Adding group `nagios' (GID 130) ...
Done.
Adding user `alignak' to group `nagios' ...
Adding user alignak to group nagios
Done.
mohierf commented 7 years ago

Closing this issue. More tests to come with recent packaging