-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathhatohol.spec.in
268 lines (238 loc) · 10.6 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
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)
Requires: glib2 >= 2.22
Requires: libsoup >= 2.22
Requires: json-glib >= 0.12
Requires: sqlite >= 3.6
Requires: mysql >= 5.1
Requires: mysql-server >= 5.1
Requires: libuuid >= 2.17
Requires: qpid-cpp-client >= 0.14
Requires: librabbitmq >= 0.4.1
Requires: hatohol-lib-common >= %{version}
Requires: hatohol-arm-plugin-zabbix >= %{version}
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
BuildRequires: mysql-devel >= 5.1
BuildRequires: libuuid-devel >= 2.17
BuildRequires: qpid-cpp-client-devel >= 0.14
BuildRequires: librabbitmq-devel >= 0.4.1
%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 arm-plugin-zabbix
Summary: Arm plguin for Zabbix server.
Group: Applications/System
Requires: %{name} = %{version}-%{release}
Requires: hatohol-lib-arm-plugin >= %{version}
%description arm-plugin-zabbix
arm-plugin-zabbix collects monitoring data from a Zabbix server and sends
it to hatohol via HAPI.
%package lib-common
Summary: Library files for Hatohol
Group: Applications/System
Requires: %{name} = %{version}-%{release}
%description lib-common
Common libraries for hatohol and arm plugins.
%package lib-arm-plugin
Summary: Library files for Hatohol Arm Plugin
Group: Applications/System
Requires: %{name} = %{version}-%{release}
Requires: hatohol-lib-common >= %{version}
%description lib-arm-plugin
Libraries for arm plugins.
%package client
Summary: A web UI client of Hatohol.
Group: Applications/System
Requires: %{name} = %{version}-%{release}
Requires: MySQL-python >= 1.2.3
Requires: Django >= 1.5.3
Requires: httpd >= 2.2.15
Requires: mod_wsgi >= 3.2
%description client
A web UI client of Hatohol provides a web UI.
It internally communicates with the server and
creates a response page when a user accesses.
%package devel
Summary: Header files for Hatohol library.
Group: Development/Libraries
Requires: %{name} = %{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
install -D -m 644 %{buildroot}/%{_libexecdir}/hatohol/client/conf/apache/hatohol.conf.package %{buildroot}/%{_sysconfdir}/httpd/conf.d/hatohol.conf
rm -f %{buildroot}/%{_libdir}/*.la
rm -f %{buildroot}/%{_libdir}/*.a
%post
/sbin/ldconfig
cp %{_datadir}/hatohol/hatohol.centos /etc/init.d/hatohol
chmod +x /etc/init.d/hatohol
/sbin/chkconfig --add hatohol
mkdir -p %{_sysconfdir}/hatohol
%postun
/sbin/ldconfig
/sbin/service hatohol stop
/sbin/chkconfig --del hatohol
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc README.md COPYING
%{_bindir}/*
%{_sbindir}/*
%{_libdir}/libhatohol.so.*
%{_prefix}/lib/python*
%{_libexecdir}/hatohol/action/*
%{_datadir}/hatohol/hatohol.centos
%{_datadir}/hatohol/hatohol.debian
%{_sysconfdir}/hatohol/hatohol.conf
%{_datadir}/hatohol/sql/create-db.sql
%{_datadir}/hatohol/sql/init-user.sql
%{_datadir}/hatohol/sql/server-type.sql
%files arm-plugin-zabbix
%{_sbindir}/hatohol-arm-plugin-zabbix
%files lib-common
%{_libdir}/libhatohol-common.so.*
%{_libdir}/libmlpl.so.*
%files lib-arm-plugin
%{_libdir}/libhapprocess.so.*
%files client
%defattr(-,root,root,-)
%{_libexecdir}/hatohol/client/*
%{_sysconfdir}/httpd/conf.d/hatohol.conf
%files devel
%defattr(-,root,root,-)
%{_includedir}/*
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%changelog
* Tue Sep 30 2014 Noriki Nakamura <[email protected]> 14.09-1
- Updated to 14.09 release.
* Tue Sep 30 2014 Noriki Nakamura <[email protected]> 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 <[email protected]> 14.09-0.5
- Update to 14.09-RC2 (Just rebuild of RC1)
* Tue Sep 30 2014 Noriki Nakamura <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> 0.1-1
- Add an action framework.
* Sat Jul 06 2013 Kazuhiro Yamato <[email protected]> 0.0.3-1
- Fix to create RPM files.