]>
Commit | Line | Data |
---|---|---|
62d069c4 AM |
1 | # TODO: |
2 | # - finish install | |
3 | # - init.d script | |
4 | Summary: A system monitoring, security and performance analysis agent | |
31d999ea | 5 | Summary(pl.UTF-8): Agent monitorowania systemu oraz analizy bezpieczeństwa i wydajności |
62d069c4 AM |
6 | Name: eddie |
7 | Version: 0.35 | |
8 | Release: 0.1 | |
9 | License: GPL v2 | |
10 | Group: Daemons | |
11 | Source0: http://eddie-tool.net/download/pub/%{name}-%{version}.tgz | |
12 | # Source0-md5: c0f318b0b2fcbe2ed5966e04bebe3ef2 | |
13 | URL: http://eddie-tool.net/ | |
14 | BuildRequires: python >= 1:2.4 | |
15 | BuildRequires: rpmbuild(macros) >= 1.219 | |
16 | %pyrequires_eq python | |
17 | BuildArch: noarch | |
18 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
19 | ||
20 | %description | |
21 | The EDDIE Tool can perform all basic system monitoring checks, such | |
22 | as: filesystem; processes; system load; and network configuration. It | |
23 | can also perform such network monitoring tasks as: ping checks; HTTP | |
24 | checks; POP3 tests; SNMP queries; RADIUS authentication tests; and | |
25 | customized TCP port checks. Finally, a few checks lend themselves to | |
26 | security monitoring: watching files for changes; and scanning | |
27 | logfiles. | |
28 | ||
29 | The EDDIE Tool can also send any collected statistic to RRD files to | |
30 | be displayed graphically by any standard RRD tool. No need to run | |
31 | multiple monitoring and data collection agents. | |
32 | ||
33 | Monitoring rules are just like Python expressions and can be as simple | |
34 | or as complex as needed. Advanced alert control functionality such as | |
35 | exponential back-off and dependencies are also standard. | |
36 | ||
e89cdd38 JR |
37 | %description -l pl.UTF-8 |
38 | EDDIE Tool może wykonywać wszystkie podstawowe testy monitorujące | |
39 | system, w tym: systemu plików, procesów, obciążenia systemu, | |
40 | konfiguracji sieci. Może także wykonywać zadania związane z | |
b1899f5d | 41 | monitorowaniem sieci, takie jak: sprawdzanie pinga, sprawdzanie HTTP, |
e89cdd38 JR |
42 | testy POP3, zapytania SMTP, testy uwierzytelnienia RADIUS i własne |
43 | sposoby sprawdzania portów TCP. Ponadto niektóre testy rozciągają się | |
44 | na monitorowanie bezpieczeństwa: obserwowanie plików pod kątem zmian i | |
45 | skanowanie plików logów. | |
b1899f5d | 46 | |
e89cdd38 JR |
47 | EDDIE Tool może także wysyłać dowolne zbiorcze statystyki do plików |
48 | RRD w celu graficznego wyświetlenia przez dowolne standardowe | |
49 | narzędzie RRD. Nie ma potrzeby uruchamiania wielu agentów do | |
b1899f5d JB |
50 | monitorowania i zbierania danych. |
51 | ||
e89cdd38 JR |
52 | Reguły monitorowania to zwykłe pythonowe wyrażenia, mogą być proste |
53 | lub złożone w zależności od potrzeb. Dostępna jest także zaawansowana | |
54 | funkcjonalność kontroli alarmów, taka jak wykładnicze wycofywanie czy | |
55 | zależności. | |
b1899f5d | 56 | |
62d069c4 AM |
57 | %prep |
58 | %setup -q | |
59 | ||
62d069c4 AM |
60 | %install |
61 | rm -rf $RPM_BUILD_ROOT | |
62d069c4 AM |
62 | install -d $RPM_BUILD_ROOT{%{_bindir},%{py_sitescriptdir}/%{name},%{_sysconfdir}/%{name}} |
63 | ||
64 | install bin/* $RPM_BUILD_ROOT%{_bindir} | |
65 | cp -a lib/Linux lib/common $RPM_BUILD_ROOT%{py_sitescriptdir}/%{name} | |
66 | cp -a config.sample/* $RPM_BUILD_ROOT%{_sysconfdir}/%{name} | |
67 | ||
62d069c4 AM |
68 | %py_postclean |
69 | ||
70 | %clean | |
71 | rm -rf $RPM_BUILD_ROOT | |
72 | ||
73 | %files | |
74 | %defattr(644,root,root,755) | |
75 | %doc doc/*.txt | |
76 | %attr(755,root,root) %{_bindir}/* | |
77 | %{py_sitescriptdir}/%{name} | |
78 | %dir %{_sysconfdir}/%{name} | |
79 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/*.cf | |
80 | %dir %{_sysconfdir}/%{name}/rules | |
81 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/rules/*.rules |