1 | Observium installation |
---|
2 | ---------------------- |
---|
3 | |
---|
4 | First you start by following the instructions here: |
---|
5 | |
---|
6 | http://www.observium.org/wiki/Ubuntu_SVN_Installation |
---|
7 | |
---|
8 | There are currently (as of 12 June 2013) two errors on the above page, and |
---|
9 | one specific step you should take: |
---|
10 | |
---|
11 | 1. Instead of doing: |
---|
12 | -------------------- |
---|
13 | |
---|
14 | # svn co http://www.observium.org/svn/observer/trunk observium |
---|
15 | |
---|
16 | you need to go to: |
---|
17 | |
---|
18 | http://www.observium.org/wiki/Main_Page |
---|
19 | |
---|
20 | and look down the page for the "Current stable revision : " text. The number |
---|
21 | of the current revision will be listed. As of 12 June 2013 this was 3763. |
---|
22 | Replace the initial command listed above with (as root): |
---|
23 | |
---|
24 | # svn co -r 3763 http://www.observium.org/svn/observer/trunk observium |
---|
25 | |
---|
26 | 2. Install PEAR Net_IPv4 and Net_IPv6 packages: |
---|
27 | ----------------------------------------------- |
---|
28 | |
---|
29 | Once you have run the "svn co" command (subversion checkout) you need to |
---|
30 | manually add the PHP Extension and Application Repository (PEAR) Net_IPv4 and |
---|
31 | Net_IPv6 packages. To do, as root, |
---|
32 | |
---|
33 | # pear install Net_IPv4 |
---|
34 | # pear install Net_IPv6 |
---|
35 | |
---|
36 | 3. Create an admin user with class password |
---|
37 | ------------------------------------------- |
---|
38 | |
---|
39 | In the step where you are asked to do: |
---|
40 | |
---|
41 | # cd /opt/observium |
---|
42 | # ./adduser.php <username> <password> <level> |
---|
43 | |
---|
44 | Do this: |
---|
45 | |
---|
46 | # cd /opt/observium |
---|
47 | # ./adduser.php admin <CLASS_PASSWORD> 10 |
---|
48 | |
---|
49 | |
---|
50 | At this point the following is installed: |
---|
51 | ----------------------------------------- |
---|
52 | |
---|
53 | - the software dependencies described in the above URL have been installed |
---|
54 | - a sample vhost definition has been placed in |
---|
55 | /etc/apache2/sites-enabled/observium |
---|
56 | - a database has been created and populated with the Observium schema |
---|
57 | - directories have been created for the RRDs and the logs, and have |
---|
58 | the correct permissions |
---|
59 | - a sample config.php is in place |
---|
60 | - a sample user (admin + class password) has been created |
---|
61 | |
---|
62 | What remains to be done: |
---|
63 | ------------------------ |
---|
64 | |
---|
65 | - update the preinstalled vhost definition (change observiumX) |
---|
66 | - modify the config.php and update the SNMP community and subnets |
---|
67 | - enable cron jobs |
---|
68 | - add at least 1 host |
---|
69 | |
---|
70 | These last steps are part of the observium-lab1.txt |
---|