-
Notifications
You must be signed in to change notification settings - Fork 29
/
hatohol.spec.in
702 lines (634 loc) · 26.4 KB
/
hatohol.spec.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
%define is_el6 %(if [ x"%rhel" = x"6" ]; then echo 1; else echo 0; fi)
%define is_el7 %(if [ x"%rhel" = x"7" ]; then echo 1; else echo 0; fi)
%define __os_install_post \
%{_rpmconfigdir}/brp-compress \
%{!?__debug_package:%{_rpmconfigdir}/brp-strip %{__strip}} \
%{_rpmconfigdir}/brp-strip-static-archive %{__strip} \
%{_rpmconfigdir}/brp-strip-comment-note %{__strip} %{__objdump} \
%{_rpmconfigdir}/brp-python-bytecompile \
%{nil}
Summary: Hatohol
Name: hatohol
Group: Applications/System
Version: @VERSION@
License: LGPLv3
URL: https://github.com/project-hatohol/hatohol
Release: 1%{?dist}
Source0: %{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: gcc-c++, pkgconfig
BuildRequires: glib2-devel >= 2.22
BuildRequires: libsoup-devel >= 2.22
BuildRequires: json-glib-devel >= 0.12
BuildRequires: sqlite-devel >= 3.6
%if %is_el6
BuildRequires: mysql-devel >= 5.1
BuildRequires: python-argparse
%endif
%if %is_el7
BuildRequires: mariadb-devel
%endif
BuildRequires: libuuid-devel >= 2.17
BuildRequires: librabbitmq-devel >= 0.4.1
BuildRequires: gettext
%description
Hatohol collects monitoring information from running monitoring systems
and shows their integrated data on one screen. This feature enables
to consolidate monitoring centers and the operators even when monitored
devices are being used in different places or with different monitoring
software.
%package server
Summary: The Hatohol server.
Group: Applications/System
Requires: glib2 >= 2.22
Requires: libsoup >= 2.22
Requires: json-glib >= 0.12
Requires: sqlite >= 3.6
%if %is_el6
Requires: mysql >= 5.1
Requires: python-argparse
%endif
%if %is_el7
Requires: mariadb
%endif
Requires: MySQL-python
Requires: libuuid >= 2.17
Requires: librabbitmq >= 0.4.1
Requires: logrotate
Requires: hatohol-lib-common = %{version}
Requires: hatohol-hap2-common = %{version}
%description server
Hatohol collects monitoring information from running monitoring systems
and shows their integrated data on one screen. This feature enables
to consolidate monitoring centers and the operators even when monitored
devices are being used in different places or with different monitoring
software.
%package lib-common
Summary: Library files for Hatohol
Group: Applications/System
%description lib-common
Common libraries for hatohol and arms.
%package web
Summary: Hatohol web frontend.
Group: Applications/System
Requires: MySQL-python >= 1.2.3
Requires: Django >= 1.5.3
Requires: httpd >= 2.2.15
Requires: mod_wsgi >= 3.2
%description web
A web frontend of Hatohol provides a web UI.
It internally communicates with the server and
creates a response page when a user accesses.
%package hap2-common
Summary: Library files of HAPI2.1
Group: Applications/System
Requires: python-pika
Requires: logrotate
%if %is_el6
Requires: python-argparse
%endif
Requires: hatohol-hap2-rabbitmq-connector = %{version}
%description hap2-common
Common libraries for hatohol arm plugins version 2.1.
%package hap2-rabbitmq-connector
Summary: RabbitMQ connector library of HAPI2.1
Group: Applications/System
Requires: hatohol-hap2-common = %{version}
%description hap2-rabbitmq-connector
RabbitMQ connector libraries for hatohol arm plugins version 2.1.
%package hap2-zabbix
Summary: Zabbix plugin and library of HAPI2.1
Group: Applications/System
Requires: hatohol-hap2-common = %{version}
%description hap2-zabbix
Zabbix plugin and libraries for hatohol arm plugins version 2.1.
%package hap2-nagios-ndoutils
Summary: Nagios ndoutil plugins of HAPI2.1
Group: Applications/System
Requires: MySQL-python
Requires: hatohol-hap2-common = %{version}
%description hap2-nagios-ndoutils
Nagios ndoutils plugin for hatohol arm plugins version 2.1.
%package hap2-nagios-livestatus
Summary: Nagios livestatus plugins of HAPI2.1
Group: Applications/System
Requires: hatohol-hap2-common = %{version}
%description hap2-nagios-livestatus
Nagios livestatus plugin for hatohol arm plugins version 2.1.
%package hap2-fluentd
Summary: Fluentd plugin of HAPI2.1
Group: Applications/System
Requires: hatohol-hap2-common = %{version}
%description hap2-fluentd
Fluentd plugin for hatohol arm plugins version 2.1.
%package hap2-ceilometer
Summary: Ceilometer plugin of HAPI2.1
Group: Applications/System
Requires: hatohol-hap2-common = %{version}
%description hap2-ceilometer
Ceilometer plugin for hatohol arm plugins version 2.1.
%package devel
Summary: Header files for Hatohol library.
Group: Development/Libraries
Requires: hatohol-server = %{version}-%{release}
Requires: glib2 >= 2.22
%description devel
Header files for the Hatohol library.
%prep
%setup -q -n %{name}-%{version}
%build
%configure
make
%install
rm -rf %{buildroot}
%make_install
%if %is_el6
install -D -m 644 %{buildroot}/%{_libexecdir}/hatohol/client/conf/apache/hatohol.conf.package6 %{buildroot}/%{_sysconfdir}/httpd/conf.d/hatohol.conf
install -D -m 755 %{buildroot}/%{_datadir}/hatohol/hatohol.centos %{buildroot}/%{_sysconfdir}/init.d/hatohol
install -D -m 755 %{buildroot}/%{_datadir}/hatohol/hap2-zabbix-api %{buildroot}/%{_sysconfdir}/init.d/hap2-zabbix-api
install -D -m 755 %{buildroot}/%{_datadir}/hatohol/hap2-nagios-ndoutils %{buildroot}/%{_sysconfdir}/init.d/hap2-nagios-ndoutils
install -D -m 755 %{buildroot}/%{_datadir}/hatohol/hap2-nagios-livestatus %{buildroot}/%{_sysconfdir}/init.d/hap2-nagios-livestatus
install -D -m 755 %{buildroot}/%{_datadir}/hatohol/hap2-ceilometer %{buildroot}/%{_sysconfdir}/init.d/hap2-ceilometer
install -D -m 755 %{buildroot}/%{_datadir}/hatohol/hap2-fluentd %{buildroot}/%{_sysconfdir}/init.d/hap2-fluentd
install -d -m 755 %{buildroot}/%{_localstatedir}/run/hatohol
install -d -m 755 %{buildroot}/%{_localstatedir}/log/hatohol
%endif
%if %is_el7
install -D -m 644 %{buildroot}/%{_libexecdir}/hatohol/client/conf/apache/hatohol.conf.package7 %{buildroot}/%{_sysconfdir}/httpd/conf.d/hatohol.conf
install -D -m 644 %{buildroot}/%{_datadir}/hatohol/hatohol.service %{buildroot}/%{_unitdir}/hatohol.service
install -D -m 644 %{buildroot}/%{_datadir}/hatohol/hatohol.conf %{buildroot}/%{_tmpfilesdir}/hatohol.conf
install -D -m 644 %{buildroot}/%{_datadir}/hatohol/hap2-zabbix-api.service %{buildroot}/%{_unitdir}/hap2-zabbix-api.service
install -D -m 644 %{buildroot}/%{_datadir}/hatohol/hap2-zabbix-api.conf %{buildroot}/%{_tmpfilesdir}/hap2-zabbix-api.conf
install -D -m 644 %{buildroot}/%{_datadir}/hatohol/hap2-nagios-ndoutils.service %{buildroot}/%{_unitdir}/hap2-nagios-ndoutils.service
install -D -m 644 %{buildroot}/%{_datadir}/hatohol/hap2-nagios-ndoutils.conf %{buildroot}/%{_tmpfilesdir}/hap2-nagios-ndoutils.conf
install -D -m 644 %{buildroot}/%{_datadir}/hatohol/hap2-nagios-livestatus.service %{buildroot}/%{_unitdir}/hap2-nagios-livestatus.service
install -D -m 644 %{buildroot}/%{_datadir}/hatohol/hap2-nagios-livestatus.conf %{buildroot}/%{_tmpfilesdir}/hap2-nagios-livestatus.conf
install -D -m 644 %{buildroot}/%{_datadir}/hatohol/hap2-fluentd.service %{buildroot}/%{_unitdir}/hap2-fluentd.service
install -D -m 644 %{buildroot}/%{_datadir}/hatohol/hap2-fluentd.conf %{buildroot}/%{_tmpfilesdir}/hap2-fluentd.conf
install -D -m 644 %{buildroot}/%{_datadir}/hatohol/hap2-ceilometer.service %{buildroot}/%{_unitdir}/hap2-ceilometer.service
install -D -m 644 %{buildroot}/%{_datadir}/hatohol/hap2-ceilometer.conf %{buildroot}/%{_tmpfilesdir}/hap2-ceilometer.conf
%endif
install -D -m 644 %{buildroot}/%{_datadir}/hatohol/hatohol-syslog.conf %{buildroot}/%{_sysconfdir}/rsyslog.d/hatohol.conf
install -D -m 644 %{buildroot}/%{_datadir}/hatohol/hatohol-server %{buildroot}/%{_sysconfdir}/logrotate.d/hatohol-server
install -D -m 644 %{buildroot}/%{_datadir}/hatohol/hatohol-arm-plugin2 %{buildroot}/%{_sysconfdir}/logrotate.d/hatohol-arm-plugin2
rm -f %{buildroot}/%{_datadir}/hatohol/hatohol-syslog.conf
rm -f %{buildroot}/%{_datadir}/hatohol/hatohol-server
rm -f %{buildroot}/%{_datadir}/hatohol/hatohol-arm-plugin2
rm -f %{buildroot}/%{_libdir}/*.la
rm -f %{buildroot}/%{_libdir}/*.a
rm -f %{buildroot}%{python_sitelib}/hatohol-0.0.0-py2.*.egg-info
rm -f %{buildroot}%{python_sitelib}/hatohol-0.1-py2.*.egg-info
%pre server
getent group hatohol > /dev/null || groupadd -r hatohol
getent passwd hatohol > /dev/null || \
useradd -r -g hatohol -d %{_datadir}/hatohol -s /sbin/nologin \
-c "Hatohol" hatohol
%preun server
%if %is_el6
/sbin/service hatohol stop
/sbin/chkconfig --del hatohol
%endif
%pre hap2-common
getent group hatohol > /dev/null || groupadd -r hatohol
getent passwd hatohol > /dev/null || \
useradd -r -g hatohol -d %{_datadir}/hatohol -s /sbin/nologin \
-c "Hatohol" hatohol
%post server
/sbin/ldconfig
%if %is_el6
/sbin/chkconfig --add hatohol
service rsyslog restart
%endif
%if %is_el7
/usr/bin/systemctl daemon-reload
/usr/bin/systemd-tmpfiles --create %{_tmpfilesdir}/hatohol.conf
systemctl restart rsyslog
%endif
%postun server
/sbin/ldconfig
%if %is_el7
/usr/bin/systemctl stop hatohol
/usr/bin/systemctl daemon-reload
%endif
%preun hap2-zabbix
%if %is_el6
/sbin/service hap2-zabbix-api stop
/sbin/chkconfig --del hap2-zabbix-api
%endif
%post hap2-zabbix
%if %is_el6
chkconfig --add hap2-zabbix-api
%endif
%if %is_el7
/usr/bin/systemctl daemon-reload
/usr/bin/systemd-tmpfiles --create %{_tmpfilesdir}/hap2-zabbix-api.conf
%endif
%postun hap2-zabbix
%if %is_el7
/usr/bin/systemctl stop hap2-zabbix-api
/usr/bin/systemctl daemon-reload
%endif
%preun hap2-nagios-ndoutils
%if %is_el6
/sbin/service hap2-nagios-ndoutils stop
/sbin/chkconfig --del hap2-nagios-ndoutils
%endif
%post hap2-nagios-ndoutils
%if %is_el6
chkconfig --add hap2-nagios-ndoutils
%endif
%if %is_el7
/usr/bin/systemctl daemon-reload
/usr/bin/systemd-tmpfiles --create %{_tmpfilesdir}/hap2-nagios-ndoutils.conf
%endif
%postun hap2-nagios-ndoutils
%if %is_el7
/usr/bin/systemctl stop hap2-nagios-ndoutils
/usr/bin/systemctl daemon-reload
%endif
%preun hap2-nagios-livestatus
%if %is_el6
/sbin/service hap2-nagios-livestatus stop
/sbin/chkconfig --del hap2-nagios-livestatus
%endif
%post hap2-nagios-livestatus
%if %is_el6
chkconfig --add hap2-nagios-livestatus
%endif
pip install python-mk-livestatus
%if %is_el7
/usr/bin/systemctl daemon-reload
/usr/bin/systemd-tmpfiles --create %{_tmpfilesdir}/hap2-nagios-livestatus.conf
%endif
%postun hap2-nagios-livestatus
%if %is_el7
/usr/bin/systemctl stop hap2-nagios-livestauts
/usr/bin/systemctl daemon-reload
%endif
%preun hap2-fluentd
%if %is_el6
/sbin/service hap2-fluentd stop
/sbin/chkconfig --del hap2-fluentd
%endif
%post hap2-fluentd
%if %is_el6
chkconfig --add hap2-fluentd
%endif
%if %is_el7
/usr/bin/systemctl daemon-reload
/usr/bin/systemd-tmpfiles --create %{_tmpfilesdir}/hap2-fluentd.conf
%endif
%postun hap2-fluentd
%if %is_el7
/usr/bin/systemctl stop hap2-fluentd
/usr/bin/systemctl daemon-reload
%endif
%preun hap2-ceilometer
%if %is_el6
/sbin/service hap2-cwilometer stop
/sbin/chkconfig --del hap2-ceilometer
%endif
%post hap2-ceilometer
%if %is_el6
chkconfig --add hap2-ceilometer
%endif
%if %is_el7
/usr/bin/systemctl daemon-reload
/usr/bin/systemd-tmpfiles --create %{_tmpfilesdir}/hap2-ceilometer.conf
%endif
%postun hap2-ceilometer
%if %is_el7
/usr/bin/systemctl stop hap2-ceilometer
/usr/bin/systemctl daemon-reload
%endif
%clean
rm -rf %{buildroot}
%files server
%defattr(-,root,root,-)
%doc README.md COPYING COPYING.GPLv3 COPYING.LGPLv3
%{_bindir}/*
%{_sbindir}/hatohol
%{_sbindir}/hatohol-ca-initialize
%{_sbindir}/hatohol-ca-sign-client-certificate
%{_sbindir}/hatohol-ca-sign-server-certificate
%{_sbindir}/hatohol-resident-yard
%{_libdir}/libhatohol.so.*
%{python_sitelib}/hatohol/ActionCreator.py
%{python_sitelib}/hatohol/ActionCreator.pyc
%{python_sitelib}/hatohol/ActionCreator.pyo
%{python_sitelib}/hatohol/hatohol_def.py
%{python_sitelib}/hatohol/hatohol_def.pyc
%{python_sitelib}/hatohol/hatohol_def.pyo
%{python_sitelib}/hatohol/voyager.py
%{python_sitelib}/hatohol/voyager.pyc
%{python_sitelib}/hatohol/voyager.pyo
%{_libexecdir}/hatohol/action/*
%{_datadir}/hatohol/hatohol.centos
%{_datadir}/hatohol/hatohol.debian
%{_datadir}/hatohol/hatohol.service
%{_datadir}/hatohol/hatohol.conf
%config %{_sysconfdir}/hatohol/hatohol.conf
%config %{_sysconfdir}/rsyslog.d/hatohol.conf
%config %{_sysconfdir}/logrotate.d/hatohol-server
%if %is_el6
%{_sysconfdir}/init.d/hatohol
%attr(0755,hatohol,hatohol) %dir %{_localstatedir}/run/hatohol
%endif
%if %is_el7
%{_unitdir}/hatohol.service
%config %{_tmpfilesdir}/hatohol.conf
%endif
%{_datadir}/hatohol/sql/10-init-user.sql
%{_datadir}/hatohol/sql/30-severity-ranks.sql
%{_datadir}/hatohol/sql/30-custom-incident-statuses.sql
%{_datadir}/hatohol/sql/50-incident-trackers.sql
%{_datadir}/hatohol/sql/55-actions.sql
%{_datadir}/hatohol/sql/90-server-type-hapi-json.sql
%files lib-common
%{_libdir}/libhatohol-common.so.*
%{_libdir}/libmlpl.so.*
%files web
%defattr(-,root,root,-)
%{_libexecdir}/hatohol/client/*
%config %{_sysconfdir}/httpd/conf.d/hatohol.conf
%config %{_sysconfdir}/hatohol/webui.conf
%files devel
%defattr(-,root,root,-)
%{_includedir}/*
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%files hap2-common
%{python_sitelib}/hatohol/__init__.py
%{python_sitelib}/hatohol/__init__.pyc
%{python_sitelib}/hatohol/__init__.pyo
%{python_sitelib}/hatohol/hap.py
%{python_sitelib}/hatohol/hap.pyc
%{python_sitelib}/hatohol/hap.pyo
%{python_sitelib}/hatohol/haplib.py
%{python_sitelib}/hatohol/haplib.pyc
%{python_sitelib}/hatohol/haplib.pyo
%{python_sitelib}/hatohol/hapcommon.py
%{python_sitelib}/hatohol/hapcommon.pyc
%{python_sitelib}/hatohol/hapcommon.pyo
%{python_sitelib}/hatohol/standardhap.py
%{python_sitelib}/hatohol/standardhap.pyc
%{python_sitelib}/hatohol/standardhap.pyo
%{python_sitelib}/hatohol/transporter.py
%{python_sitelib}/hatohol/transporter.pyc
%{python_sitelib}/hatohol/transporter.pyo
%{python_sitelib}/hatohol/autotools_vars.py
%{python_sitelib}/hatohol/autotools_vars.pyc
%{python_sitelib}/hatohol/autotools_vars.pyo
%{python_sitelib}/hatohol/transporters/__init__.py
%{python_sitelib}/hatohol/transporters/__init__.pyc
%{python_sitelib}/hatohol/transporters/__init__.pyo
%{_libexecdir}/hatohol/hap2/hap2-control-functions.sh
%{_libexecdir}/hatohol/hap2/hatohol/hap2_starter.py
%{_libexecdir}/hatohol/hap2/hatohol/hap2_starter.pyc
%{_libexecdir}/hatohol/hap2/hatohol/hap2_starter.pyo
%{_libexecdir}/hatohol/hap2/hatohol/hap2_starter_alive.py
%{_libexecdir}/hatohol/hap2/hatohol/hap2_starter_alive.pyc
%{_libexecdir}/hatohol/hap2/hatohol/hap2_starter_alive.pyo
%config %{_sysconfdir}/hatohol/hap2.conf
%config %{_sysconfdir}/hatohol/hap2-logging.conf
%config %{_sysconfdir}/logrotate.d/hatohol-arm-plugin2
%if %is_el6
%attr(0755,hatohol,hatohol) %dir %{_localstatedir}/run/hatohol
%attr(0755,hatohol,hatohol) %dir %{_localstatedir}/log/hatohol
%endif
%files hap2-rabbitmq-connector
%{python_sitelib}/hatohol/rabbitmqconnector.py
%{python_sitelib}/hatohol/rabbitmqconnector.pyc
%{python_sitelib}/hatohol/rabbitmqconnector.pyo
%{python_sitelib}/hatohol/transporters/rabbitmqhapiconnector.py
%{python_sitelib}/hatohol/transporters/rabbitmqhapiconnector.pyc
%{python_sitelib}/hatohol/transporters/rabbitmqhapiconnector.pyo
%files hap2-zabbix
%{_datadir}/hatohol/sql/90-server-type-hap2-zabbix.sql
%{_datadir}/hatohol/hap2-zabbix-api.service
%{_datadir}/hatohol/hap2-zabbix-api.conf
%if %is_el6
%{_sysconfdir}/init.d/hap2-zabbix-api
%endif
%{_datadir}/hatohol/hap2-zabbix-api
%{python_sitelib}/hatohol/zabbixapi.py
%{python_sitelib}/hatohol/zabbixapi.pyc
%{python_sitelib}/hatohol/zabbixapi.pyo
%{_libexecdir}/hatohol/hap2/start-stop-hap2-zabbix-api.sh
%{_libexecdir}/hatohol/hap2/hatohol/hap2_zabbix_api.py
%{_libexecdir}/hatohol/hap2/hatohol/hap2_zabbix_api.pyc
%{_libexecdir}/hatohol/hap2/hatohol/hap2_zabbix_api.pyo
%config %{_sysconfdir}/hatohol/hap2-zabbix-api.conf
%if %is_el7
%{_unitdir}/hap2-zabbix-api.service
%config %{_tmpfilesdir}/hap2-zabbix-api.conf
%endif
%files hap2-nagios-ndoutils
%{_datadir}/hatohol/sql/90-server-type-hap2-nagios-ndoutils.sql
%{_datadir}/hatohol/hap2-nagios-ndoutils.service
%{_datadir}/hatohol/hap2-nagios-ndoutils.conf
%if %is_el6
%{_sysconfdir}/init.d/hap2-nagios-ndoutils
%endif
%{_datadir}/hatohol/hap2-nagios-ndoutils
%{_libexecdir}/hatohol/hap2/start-stop-hap2-nagios-ndoutils.sh
%{_libexecdir}/hatohol/hap2/hatohol/hap2_nagios_ndoutils.py
%{_libexecdir}/hatohol/hap2/hatohol/hap2_nagios_ndoutils.pyc
%{_libexecdir}/hatohol/hap2/hatohol/hap2_nagios_ndoutils.pyo
%config %{_sysconfdir}/hatohol/hap2-nagios-ndoutils.conf
%if %is_el7
%{_unitdir}/hap2-nagios-ndoutils.service
%config %{_tmpfilesdir}/hap2-nagios-ndoutils.conf
%endif
%files hap2-nagios-livestatus
%{_datadir}/hatohol/sql/90-server-type-hap2-nagios-livestatus.sql
%{_datadir}/hatohol/hap2-nagios-livestatus.service
%{_datadir}/hatohol/hap2-nagios-livestatus.conf
%if %is_el6
%{_sysconfdir}/init.d/hap2-nagios-livestatus
%endif
%{_datadir}/hatohol/hap2-nagios-livestatus
%{_libexecdir}/hatohol/hap2/start-stop-hap2-nagios-livestatus.sh
%{_libexecdir}/hatohol/hap2/hatohol/hap2_nagios_livestatus.py
%{_libexecdir}/hatohol/hap2/hatohol/hap2_nagios_livestatus.pyc
%{_libexecdir}/hatohol/hap2/hatohol/hap2_nagios_livestatus.pyo
%config %{_sysconfdir}/hatohol/hap2-nagios-livestatus.conf
%if %is_el7
%{_unitdir}/hap2-nagios-livestatus.service
%config %{_tmpfilesdir}/hap2-nagios-livestatus.conf
%endif
%files hap2-fluentd
%{_datadir}/hatohol/sql/90-server-type-hap2-fluentd.sql
%{_datadir}/hatohol/hap2-fluentd.service
%{_datadir}/hatohol/hap2-fluentd.conf
%if %is_el6
%{_sysconfdir}/init.d/hap2-fluentd
%endif
%{_datadir}/hatohol/hap2-fluentd
%{_libexecdir}/hatohol/hap2/start-stop-hap2-fluentd.sh
%{_libexecdir}/hatohol/hap2/hatohol/hap2_fluentd.py
%{_libexecdir}/hatohol/hap2/hatohol/hap2_fluentd.pyc
%{_libexecdir}/hatohol/hap2/hatohol/hap2_fluentd.pyo
%config %{_sysconfdir}/hatohol/hap2-fluentd.conf
%if %is_el7
%{_unitdir}/hap2-fluentd.service
%config %{_tmpfilesdir}/hap2-fluentd.conf
%endif
%files hap2-ceilometer
%{_datadir}/hatohol/hap2-ceilometer.service
%{_datadir}/hatohol/hap2-ceilometer.conf
%{_datadir}/hatohol/sql/90-server-type-hap2-ceilometer.sql
%if %is_el6
%{_sysconfdir}/init.d/hap2-ceilometer
%endif
%{_datadir}/hatohol/hap2-ceilometer
%{_libexecdir}/hatohol/hap2/start-stop-hap2-ceilometer.sh
%{_libexecdir}/hatohol/hap2/hatohol/hap2_ceilometer.py
%{_libexecdir}/hatohol/hap2/hatohol/hap2_ceilometer.pyc
%{_libexecdir}/hatohol/hap2/hatohol/hap2_ceilometer.pyo
%config %{_sysconfdir}/hatohol/hap2-ceilometer.conf
%if %is_el7
%{_unitdir}/hap2-ceilometer.service
%config %{_tmpfilesdir}/hap2-ceilometer.conf
%endif
%changelog
* Fri Dec 26 2014 Masayuki Nakagawa <masayuki.nakagawa@miraclelinux.com> 14.12-1
- Updated to 14.12 release.
* Wed Dec 24 2014 Masayuki Nakagawa <masayuki.nakagawa@miraclelinux.com> 14.12-0.1
- Update to 14.12-RC2
- New Features
- [Spec] Change package names to user friendly ones
- [Server] Support items for Ceilometer (#668)
- [Server] Log monitoring integration with Fluentd
- [WebUI] Log search system integration (#792, #795)
- [Server] Graphs for Zabbix items (#774)
- [WebUI] Support adding multiple servers by uploading tab-saparated
value file (#789,#794)
- [WebUI] Show units of item values (#749)
- [WebUI] Add a button to open a dialog to edit user roles to "Users"
page (#754)
- [Server] Move a client side filter on "Latest data" page to server side
(#835)
- [WebUI] Add a toggle button to trun on/off auto reload (#822, #823)
- [WebUI] Add menu items to show Hatohol's version & documents (#714)
- [WebUI] Show last update time (#667)
- Bugfixes
- [Server] Fix a problem in which child processes are not collected (#727)
- [Server] Plug memory leaks (#747, #772, #838)
- [Server] Validate URL of incident tracking servers to avoid crash (#665)
- [Server] Fix a wrong count of bad hosts (#730)
- [Server] Fix a bug that self monitoring events are tied to incorrect
incidents (#725)
- [Server] Suppress generating needless self monitoring triggers
(#736, #805)
- [WebUI] Fix invisible "DELETE" buttons on "Users", "Actions" and
Monitoring servers" pages on certain conditions (#686, #691, #716)
* Tue Sep 30 2014 Noriki Nakamura <noriki.nakamura@miraclelinux.com> 14.09-1
- Updated to 14.09 release.
* Tue Sep 30 2014 Noriki Nakamura <noriki.nakamura@miraclelinux.com> 14.09-0.6
- Update to 14.09-rc3
- Bug fix
- Solve a problem that user can not add incident management server. (#650)
* Tue Sep 30 2014 Noriki Nakamura <noriki.nakamura@miraclelinux.com> 14.09-0.5
- Update to 14.09-RC2 (Just rebuild of RC1)
* Tue Sep 30 2014 Noriki Nakamura <noriki.nakamura@miraclelinux.com> 14.09-0.4
- Update to 14.09-RC1
- Bug fix
- Solve a problem when user set timeout of action, command is forced termination. (#646, #647)
* Fri Sep 26 2014 Noriki Nakamura <noriki.nakamura@miraclelinux.com> 14.09-0.3
- Update to 14.09-pre3
- Bug fix
- Fix wrong library name in hatohol-db-initiator
- Modification of spec file and RPM file.
- Fix problems when RPM build.
* Thu Sep 25 2014 Noriki Nakamura <noriki.nakamura@miraclelinux.com> 14.09-0.1
- Update to 14.09-pre1
- New features
- [Server] Support OpenStack's ceilometer as a monitoring server (#145)
- [Server] Monitor the conection with monitoring servers (#251)
- [Server] Execute Action at monitoring server failure (#251)
- [Server] Add UI for configuring incident management feature
- [Server] Enable to synchronize statuses of Redmine issues
- [Server] Support Zabbix 2.4 (#197)
- [Server] Store all data in MySQL DB. SQLite3 is not used since this
- version (#394, #410, #423, #424)
- [Server] Replace hatohol-config-db-creator with a new setup script
- hatohol-db-initiator (#597)
- [Server] Introduce a Hatohol DB configuration file (#336)
- [Client] Redesign server edit dialog
- [Server] Delete actions whose owner is deleted (#107, #435)
- [Client] Add links to show events concerned with triggers
- [Client] Add "Settings" sub menu to the navigation menu bar
- [Client] Paginate "Triggres" & "Latest data" page
- [Client] Add a favicon
- Bug fixes
- [Client] Use POST method not to expose user name and password in access logs. (#575)
- [Server] Check a DB connection at the start up and exit soon with error code if it failed (#591)
- [Client] Allow browser to remember user name and password in the login dialog
- [Server] Solve a problem that Hatohol server fails to get event data in specific case (#252)
- Modification of spec file and RPM file.
- Remove unnecessary require package
* Fri Jun 27 2014 Noriki Nakamura <noriki.nakamura@miraclelinux.com> 14.06-2
- [Server] Support Zabbix 2.2 (#186)
- [Client][utils] Check existence of hostId at getHostName() (#185)
- [Client] Make a link to nagios Web UI (#209)
- [Server] Can't update on Zabbix 2.2.0 (#221)
- [Server] The basic implementation of the incident management feature (#229)
- [Server] The basic implementation of the plugin mechanism for 'Arm' (#171)
- [Server] Fix wrong number of bad hosts & triggers of a server (#236)
* Fri Mar 28 2014 Noriki Nakamura <noriki.nakamura@miraclelinux.com> 14.03-4
- [Server][Client] Support Host group (#27)
- [Server] Add user role (#92)
- [Client] We should consider the default list order of events, triggers, and items. (#7)
- [Server] improve the efficiency to ignore lower level messages in mlpl::Logger (#35)
- [Server] test_getEventWithMaximumNumberAscendingStartId() crashes rarely (#81)
- [Server] Propagate access control feature to remaining APIs (#99)
- [Client] Error messages of hatohol-server are unfriendly (#100)
- [Server] Support a user privilege on action functions (#102)
- [Client] Some piecies of information on "Dashboard" page seems incorrect (#104)
- [Client] index.html and "viewer" prefix are verbose (#105)
- [Client] Support pagination (#106)
- [Server] SessionId should be expired (#108)
- [Server][ActionManager] Check the existence of user before an action is excuted. (#109)
- [Server] Enable to edit existing monitoring-server configuration (#117)
- [Client] Wrong users are deleted on deleting users (#118)
- [Client] "Add" button of HatholServerEditDialog doesn't become enabled in spite of filling all entries (#119)
- [Client] Server edit dialog is too long vertically (#121)
- [Client] Cannot register a multi-byte nickname for a monitoring-server (#122)
- [Client] Links to zabbix pages are broken when the port of monitoring-server isn't 80 (#123)
- [Client] Pull down menu of "Hosts" filter isn't cleared when clear server filter (#127)
- [Server] Clean up of code to access DBs. (#129)
- [Server] Can't start polling by adding a monitoring server from the client (#130)
- [Server] Old events become invisible after a new server is added on WebUI. (#133)
- [Client] 'Overview:Item' and 'Latest data' pages get an error after a server is deleted. (#134)
- [Client] Connection status with servers should be shown on WebUI. (#137)
- [Server][Client] Don't show data of deleted servers and hosts (#138)
- [Client] Raise a priority of filter function (#146)
- [Client] Trggers page isn't updated automatically (#152)
- [Client] Delete button is still enabled after the deletion finishes. (#159)
* Fri Dec 27 2013 Noriki Nakamura <noriki.nakamura@miraclelinux.com> 13.12-1
- [Client] Automatic update of content in web pages. (#8)
- [Client] messages in multiple languages should be supported (#10)
- [Server] Update items triggered by the request. (#17)
- Configuration of target server list by Web Interface. (#22)
- [Server] The update of target servers without the restart of Hatohol server. (#32)
- [Client] Make a link to Zabbix Graphs page (#48)
- [Client] Make a link to Zabbix Map page (#49)
- [Client] Filter by the severity and tinting (#50)
- [Client] Filter and tinting by the status (open or close) in the Web client. (#51)
- Add User and privillege (#58)
- [Server] Can't get data from Zabbix server when memory limit of Zabbix API is little (60)
- [server] test_execResidentActionTimeoutInInit sometimes crash on TravisCI (#67)
- testUnifiedDataStore::test_getEventList sometimes fails (#68)
- [Client] Show host field in events page (#70)
- [server] test_cleanupOnThreadExit() sometimes fails. (#71)
- [Server][Client] Hatohol can't display information of Japanese characters (#72)
- [Server] When JsonParserAgent::read() return false, result of after JsonParserAgent::read() function is all false. (#75)
- [server][DBAgentMySQL] Failed to query due to an interactive timeout of MySQL. (#78)
- Trigger statues of newly added hosts don't correspond with zabbix (#83)
- Show host names on Web UI: 'Overview:item' (#93)
- Show host names on Web UI: 'Latest data' (#94)
* Fri Sep 27 2013 Kazuhiro Yamato <kyamato@mriaclelinux.com> 0.1-1
- Add an action framework.
* Sat Jul 06 2013 Kazuhiro Yamato <kyamato@mriaclelinux.com> 0.0.3-1
- Fix to create RPM files.