]> pere.pagekite.me Git - homepage.git/blob - blog/tags/sitesummary/index.html
a02310222c7ef8cf3e1737205c38deaa2f4ed825
[homepage.git] / blog / tags / sitesummary / index.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3 <html>
4 <head>
5 <title>Petter Reinholdtsen: Entries Tagged sitesummary</title>
6 <link rel="stylesheet" type="text/css" media="screen" href="http://people.skolelinux.org/pere/blog/style.css">
7 <link rel="alternate" title="RSS Feed" href="sitesummary.rss" type="application/rss+xml">
8 </head>
9 <body>
10
11 <div class="title">
12 <h1>
13 <a href="http://people.skolelinux.org/pere/blog/">Petter Reinholdtsen</a>
14
15 </h1>
16
17 </div>
18
19 <p>Entries tagged "sitesummary".</p>
20
21
22
23
24 <div class="entry">
25 <div class="title">
26 <a href="http://people.skolelinux.org/pere/blog/Automatic_Munin_and_Nagios_configuration.html">Automatic Munin and Nagios configuration</a>
27 </div>
28 <div class="date">
29 2010-01-27 15:15
30 </div>
31
32 <div class="body">
33
34 <p>One of the new features in the next Debian/Lenny based release of
35 Debian Edu/Skolelinux, which is scheduled for release in the next few
36 days, is automatic configuration of the service monitoring system
37 Nagios. The previous release had automatic configuration of trend
38 analysis using Munin, and this Lenny based release take that a step
39 further.</p>
40
41 <p>When installing a Debian Edu Main-server, it is automatically
42 configured as a Munin and Nagios server. In addition, it is
43 configured to be a server for the
44 <a href="http://wiki.debian.org/DebianEdu/HowTo/SiteSummary">SiteSummary
45 system</a> I have written for use in Debian Edu. The SiteSummary
46 system is inspired by a system used by the University of Oslo where I
47 work. In short, the system provide a centralised collector of
48 information about the computers on the network, and a client on each
49 computer submitting information to this collector. This allow for
50 automatic information on which packages are installed on each machine,
51 which kernel the machines are using, what kind of configuration the
52 packages got etc. This also allow us to automatically generate Munin
53 and Nagios configuration.</p>
54
55 <p>All computers reporting to the sitesummary collector with the
56 munin-node package installed is automatically enabled as a Munin
57 client and graphs from the statistics collected from that machine show
58 up automatically on http://www/munin/ on the Main-server.</p>
59
60 <p>All non-laptop computers reporting to the sitesummary collector are
61 automatically monitored for network presence (ping and any network
62 services detected). In addition, all computers (also laptops) with
63 the nagios-nrpe-server package installed and configured the way
64 sitesummary would configure it, are monitored for full disks, software
65 raid status, swap free and other checks that need to run locally on
66 the machine.</p>
67
68 <p>The result is that the administrator on a school using Debian Edu
69 based on Lenny will be able to check the health of his installation
70 with one look at the Nagios settings, without having to spend any time
71 keeping the Nagios configuration up-to-date.</p>
72
73 <p>The only configuration one need to do to get Nagios up and running
74 is to set the password used to get access via HTTP. The system
75 administrator need to run "<tt>htpasswd /etc/nagios3/htpasswd.users
76 nagiosadmin</tt>" to create a nagiosadmin user and set a password for
77 it to be able to log into the Nagios web pages. After that,
78 everything is taken care of.</p>
79
80 </div>
81 <div class="tags">
82
83
84
85 Tags: <a href="http://people.skolelinux.org/pere/blog/tags/debian edu">debian edu</a>, <a href="http://people.skolelinux.org/pere/blog/tags/english">english</a>, <a href="http://people.skolelinux.org/pere/blog/tags/nuug">nuug</a>, <a href="http://people.skolelinux.org/pere/blog/tags/sitesummary">sitesummary</a>.
86
87 </div>
88 </div>
89 <div class="padding"></div>
90
91 <div class="entry">
92 <div class="title">
93 <a href="http://people.skolelinux.org/pere/blog/Sitesummary_tip__Listing_MAC_address_of_all_clients.html">Sitesummary tip: Listing MAC address of all clients</a>
94 </div>
95 <div class="date">
96 2010-05-14 21:10
97 </div>
98
99 <div class="body">
100
101 <p>In the recent Debian Edu versions, the
102 <a href="http://wiki.debian.org/DebianEdu/HowTo/SiteSummary">sitesummary
103 system</a> is used to keep track of the machines in the school
104 network. Each machine will automatically report its status to the
105 central server after boot and once per night. The network setup is
106 also reported, and using this information it is possible to get the
107 MAC address of all network interfaces in the machines. This is useful
108 to update the DHCP configuration.</p>
109
110 <p>To give some idea how to use sitesummary, here is a one-liner to
111 ist all MAC addresses of all machines reporting to sitesummary. Run
112 this on the collector host:</p>
113
114 <blockquote><pre>
115 perl -MSiteSummary -e 'for_all_hosts(sub { print join(" ", get_macaddresses(shift)), "\n"; });'
116 </pre></blockquote>
117
118 <p>This will list all MAC addresses assosiated with all machine, one
119 line per machine and with space between the MAC addresses.</p>
120
121 <p>To allow system administrators easier job at adding static DHCP
122 addresses for hosts, it would be possible to extend this to fetch
123 machine information from sitesummary and update the DHCP and DNS
124 tables in LDAP using this information. Such tool is unfortunately not
125 written yet.</p>
126
127 </div>
128 <div class="tags">
129
130
131
132 Tags: <a href="http://people.skolelinux.org/pere/blog/tags/debian">debian</a>, <a href="http://people.skolelinux.org/pere/blog/tags/debian edu">debian edu</a>, <a href="http://people.skolelinux.org/pere/blog/tags/english">english</a>, <a href="http://people.skolelinux.org/pere/blog/tags/sitesummary">sitesummary</a>.
133
134 </div>
135 </div>
136 <div class="padding"></div>
137
138 <p style="text-align: right;"><a href="sitesummary.rss"><img src="http://people.skolelinux.org/pere/blog/xml.gif" alt="RSS Feed" width="36" height="14"></a></p>
139
140
141
142
143 <div id="sidebar">
144
145 <h2>Archive</h2>
146 <ul>
147
148 <li>2010
149 <ul>
150
151 <li><a href="http://people.skolelinux.org/pere/blog/archive/2010/01/">January (2)</a></li>
152
153 <li><a href="http://people.skolelinux.org/pere/blog/archive/2010/02/">February (1)</a></li>
154
155 <li><a href="http://people.skolelinux.org/pere/blog/archive/2010/03/">March (3)</a></li>
156
157 <li><a href="http://people.skolelinux.org/pere/blog/archive/2010/04/">April (3)</a></li>
158
159 <li><a href="http://people.skolelinux.org/pere/blog/archive/2010/05/">May (9)</a></li>
160
161 <li><a href="http://people.skolelinux.org/pere/blog/archive/2010/06/">June (2)</a></li>
162
163 </ul></li>
164
165 <li>2009
166 <ul>
167
168 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/01/">January (8)</a></li>
169
170 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/02/">February (8)</a></li>
171
172 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/03/">March (12)</a></li>
173
174 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/04/">April (10)</a></li>
175
176 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/05/">May (9)</a></li>
177
178 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/06/">June (3)</a></li>
179
180 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/07/">July (4)</a></li>
181
182 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/08/">August (3)</a></li>
183
184 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/09/">September (1)</a></li>
185
186 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/10/">October (2)</a></li>
187
188 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/11/">November (3)</a></li>
189
190 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/12/">December (3)</a></li>
191
192 </ul></li>
193
194 <li>2008
195 <ul>
196
197 <li><a href="http://people.skolelinux.org/pere/blog/archive/2008/11/">November (5)</a></li>
198
199 <li><a href="http://people.skolelinux.org/pere/blog/archive/2008/12/">December (7)</a></li>
200
201 </ul></li>
202
203 </ul>
204
205
206
207 <h2>Tags</h2>
208 <ul>
209
210 <li><a href="http://people.skolelinux.org/pere/blog/tags/3d-printer">3d-printer (11)</a></li>
211
212 <li><a href="http://people.skolelinux.org/pere/blog/tags/amiga">amiga (1)</a></li>
213
214 <li><a href="http://people.skolelinux.org/pere/blog/tags/aros">aros (1)</a></li>
215
216 <li><a href="http://people.skolelinux.org/pere/blog/tags/debian">debian (21)</a></li>
217
218 <li><a href="http://people.skolelinux.org/pere/blog/tags/debian edu">debian edu (21)</a></li>
219
220 <li><a href="http://people.skolelinux.org/pere/blog/tags/english">english (32)</a></li>
221
222 <li><a href="http://people.skolelinux.org/pere/blog/tags/fiksgatami">fiksgatami (1)</a></li>
223
224 <li><a href="http://people.skolelinux.org/pere/blog/tags/fildeling">fildeling (6)</a></li>
225
226 <li><a href="http://people.skolelinux.org/pere/blog/tags/kart">kart (2)</a></li>
227
228 <li><a href="http://people.skolelinux.org/pere/blog/tags/lenker">lenker (1)</a></li>
229
230 <li><a href="http://people.skolelinux.org/pere/blog/tags/ltsp">ltsp (1)</a></li>
231
232 <li><a href="http://people.skolelinux.org/pere/blog/tags/multimedia">multimedia (5)</a></li>
233
234 <li><a href="http://people.skolelinux.org/pere/blog/tags/norsk">norsk (66)</a></li>
235
236 <li><a href="http://people.skolelinux.org/pere/blog/tags/nuug">nuug (74)</a></li>
237
238 <li><a href="http://people.skolelinux.org/pere/blog/tags/opphavsrett">opphavsrett (12)</a></li>
239
240 <li><a href="http://people.skolelinux.org/pere/blog/tags/personvern">personvern (11)</a></li>
241
242 <li><a href="http://people.skolelinux.org/pere/blog/tags/reprap">reprap (10)</a></li>
243
244 <li><a href="http://people.skolelinux.org/pere/blog/tags/rss">rss (1)</a></li>
245
246 <li><a href="http://people.skolelinux.org/pere/blog/tags/sikkerhet">sikkerhet (8)</a></li>
247
248 <li><a href="http://people.skolelinux.org/pere/blog/tags/sitesummary">sitesummary (2)</a></li>
249
250 <li><a href="http://people.skolelinux.org/pere/blog/tags/standard">standard (11)</a></li>
251
252 <li><a href="http://people.skolelinux.org/pere/blog/tags/stavekontroll">stavekontroll (1)</a></li>
253
254 <li><a href="http://people.skolelinux.org/pere/blog/tags/video">video (10)</a></li>
255
256 <li><a href="http://people.skolelinux.org/pere/blog/tags/vitenskap">vitenskap (1)</a></li>
257
258 <li><a href="http://people.skolelinux.org/pere/blog/tags/web">web (6)</a></li>
259
260 </ul>
261
262 </div>
263 </body>
264 </html>