Archive and statistics » History » Version 5
Janez Barbic, 12.12.2010 14:44
1 | 1 | Aleksander Bešir | h1. Archive and statistics |
---|---|---|---|
2 | 1 | Aleksander Bešir | |
3 | 2 | Aleksander Bešir | {{toc}} |
4 | 2 | Aleksander Bešir | |
5 | 5 | Janez Barbic | TBD - to be discussed |
6 | 5 | Janez Barbic | TODO - to do :) |
7 | 5 | Janez Barbic | Tole sem pustil zaenkrat not, da lahko hitro najdem stvari, ki jih moram se dopolnit oziroma jih moramo se predebatirat. V koncni verziji se bom teh kratic znebil in tudi tega komentarja v slovenscini :) |
8 | 5 | Janez Barbic | |
9 | 1 | Aleksander Bešir | h2. Basic concept |
10 | 3 | Janez Barbic | |
11 | 3 | Janez Barbic | TODO Zakaj syslog |
12 | 3 | Janez Barbic | |
13 | 3 | Janez Barbic | Eneraptor is designed in a way that it could communicate with any device regardless of its operating system. Syslog, system for logging program messages offers a quick and easy solutions for such communications, because it allows separation of the software that generates messages from the system that stores them and the software that reports and analyzes them. It could refer to syslog protocol (TODO described below), |
14 | 3 | Janez Barbic | |
15 | 3 | Janez Barbic | h3. 1.1 Hardware |
16 | 1 | Aleksander Bešir | |
17 | 5 | Janez Barbic | p. We will be using syslog-ng (I will be referring to it as syslog from now on), which has a few advantages over conventional syslog. Syslog daemon will run on proxy server. TBD it will be listening on a certain port for incoming messages from client(s). Our main syslog client will run on FRI-SMS system. |
18 | 1 | Aleksander Bešir | |
19 | 5 | Janez Barbic | Client mode operation: |
20 | 5 | Janez Barbic | |
21 | 1 | Aleksander Bešir | !https://lusy.fri.uni-lj.si/redmine/attachments/11/client_server_syslog.png! |
22 | 1 | Aleksander Bešir | |
23 | 5 | Janez Barbic | p. In client mode, syslog-ng collects the local logs generated by the host and forwards them through a network connection to the central syslog-ng server. Clients can also log the messages locally into files. |
24 | 5 | Janez Barbic | |
25 | 5 | Janez Barbic | |
26 | 5 | Janez Barbic | TODO more details on syslog-ng advantages |
27 | 5 | Janez Barbic | |
28 | 5 | Janez Barbic | h3. 1.2 Syslog protocol overview |
29 | 5 | Janez Barbic | |
30 | 5 | Janez Barbic | TBD TCP/IP vs UDP |
31 | 5 | Janez Barbic | Message structure |
32 | 5 | Janez Barbic | TBD How do we plan to send messages to our daemon, via client (not always possible) or do we generate them ourselves? |
33 | 5 | Janez Barbic | TBD Using logfiles vs logging into database |
34 | 5 | Janez Barbic | |
35 | 5 | Janez Barbic | h3. 1.3 Development steps |
36 | 5 | Janez Barbic | |
37 | 5 | Janez Barbic | # Installing and configuring Syslog-ng daemon on proxy |
38 | 5 | Janez Barbic | # Installing and configuring Syslog-ng client on FRI-SMS |
39 | 5 | Janez Barbic | # TBD Designing Statistical Data Analysis Software to work with data collected by syslog daemon |
40 | 5 | Janez Barbic | # TBD Implementing SDA software |
41 | 5 | Janez Barbic | # TBD Testing? |