]> pere.pagekite.me Git - homepage.git/blob - blog/tags/sitesummary/index.html
1c07bb5c7dbb806378020812768029f23c944b1c
[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 xmlns="http://www.w3.org/1999/xhtml" dir="ltr">
4 <head>
5 <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
6 <title>Petter Reinholdtsen: Entries Tagged sitesummary</title>
7 <link rel="stylesheet" type="text/css" media="screen" href="http://people.skolelinux.org/pere/blog/style.css" />
8 <link rel="stylesheet" type="text/css" media="screen" href="http://people.skolelinux.org/pere/blog/vim.css" />
9 <link rel="alternate" title="RSS Feed" href="sitesummary.rss" type="application/rss+xml" />
10 </head>
11 <body>
12 <div class="title">
13 <h1>
14 <a href="http://people.skolelinux.org/pere/blog/">Petter Reinholdtsen</a>
15
16 </h1>
17
18 </div>
19
20
21 <h3>Entries tagged "sitesummary".</h3>
22
23 <div class="entry">
24 <div class="title">
25 <a href="http://people.skolelinux.org/pere/blog/Automatic_Munin_and_Nagios_configuration.html">Automatic Munin and Nagios configuration</a>
26 </div>
27 <div class="date">
28 27th January 2010
29 </div>
30 <div class="body">
31 <p>One of the new features in the next Debian/Lenny based release of
32 Debian Edu/Skolelinux, which is scheduled for release in the next few
33 days, is automatic configuration of the service monitoring system
34 Nagios. The previous release had automatic configuration of trend
35 analysis using Munin, and this Lenny based release take that a step
36 further.</p>
37
38 <p>When installing a Debian Edu Main-server, it is automatically
39 configured as a Munin and Nagios server. In addition, it is
40 configured to be a server for the
41 <a href="http://wiki.debian.org/DebianEdu/HowTo/SiteSummary">SiteSummary
42 system</a> I have written for use in Debian Edu. The SiteSummary
43 system is inspired by a system used by the University of Oslo where I
44 work. In short, the system provide a centralised collector of
45 information about the computers on the network, and a client on each
46 computer submitting information to this collector. This allow for
47 automatic information on which packages are installed on each machine,
48 which kernel the machines are using, what kind of configuration the
49 packages got etc. This also allow us to automatically generate Munin
50 and Nagios configuration.</p>
51
52 <p>All computers reporting to the sitesummary collector with the
53 munin-node package installed is automatically enabled as a Munin
54 client and graphs from the statistics collected from that machine show
55 up automatically on http://www/munin/ on the Main-server.</p>
56
57 <p>All non-laptop computers reporting to the sitesummary collector are
58 automatically monitored for network presence (ping and any network
59 services detected). In addition, all computers (also laptops) with
60 the nagios-nrpe-server package installed and configured the way
61 sitesummary would configure it, are monitored for full disks, software
62 raid status, swap free and other checks that need to run locally on
63 the machine.</p>
64
65 <p>The result is that the administrator on a school using Debian Edu
66 based on Lenny will be able to check the health of his installation
67 with one look at the Nagios settings, without having to spend any time
68 keeping the Nagios configuration up-to-date.</p>
69
70 <p>The only configuration one need to do to get Nagios up and running
71 is to set the password used to get access via HTTP. The system
72 administrator need to run "<tt>htpasswd /etc/nagios3/htpasswd.users
73 nagiosadmin</tt>" to create a nagiosadmin user and set a password for
74 it to be able to log into the Nagios web pages. After that,
75 everything is taken care of.</p>
76
77 </div>
78 <div class="tags">
79
80
81 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>.
82
83
84 </div>
85 </div>
86 <div class="padding"></div>
87
88 <div class="entry">
89 <div class="title">
90 <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>
91 </div>
92 <div class="date">
93 14th May 2010
94 </div>
95 <div class="body">
96 <p>In the recent Debian Edu versions, the
97 <a href="http://wiki.debian.org/DebianEdu/HowTo/SiteSummary">sitesummary
98 system</a> is used to keep track of the machines in the school
99 network. Each machine will automatically report its status to the
100 central server after boot and once per night. The network setup is
101 also reported, and using this information it is possible to get the
102 MAC address of all network interfaces in the machines. This is useful
103 to update the DHCP configuration.</p>
104
105 <p>To give some idea how to use sitesummary, here is a one-liner to
106 ist all MAC addresses of all machines reporting to sitesummary. Run
107 this on the collector host:</p>
108
109 <blockquote><pre>
110 perl -MSiteSummary -e 'for_all_hosts(sub { print join(" ", get_macaddresses(shift)), "\n"; });'
111 </pre></blockquote>
112
113 <p>This will list all MAC addresses assosiated with all machine, one
114 line per machine and with space between the MAC addresses.</p>
115
116 <p>To allow system administrators easier job at adding static DHCP
117 addresses for hosts, it would be possible to extend this to fetch
118 machine information from sitesummary and update the DHCP and DNS
119 tables in LDAP using this information. Such tool is unfortunately not
120 written yet.</p>
121
122 </div>
123 <div class="tags">
124
125
126 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>.
127
128
129 </div>
130 </div>
131 <div class="padding"></div>
132
133 <div class="entry">
134 <div class="title">
135 <a href="http://people.skolelinux.org/pere/blog/Sitesummary_tip__Listing_computer_hardware_models_used_at_site.html">Sitesummary tip: Listing computer hardware models used at site</a>
136 </div>
137 <div class="date">
138 3rd June 2010
139 </div>
140 <div class="body">
141 <p>When using sitesummary at a site to track machines, it is possible
142 to get a list of the machine types in use thanks to the DMI
143 information extracted from each machine. The script to do so is
144 included in the sitesummary package, and here is example output from
145 the Skolelinux build servers:</p>
146
147 <blockquote><pre>
148 maintainer:~# /usr/lib/sitesummary/hardware-model-summary
149 vendor count
150 Dell Computer Corporation 1
151 PowerEdge 1750 1
152 IBM 1
153 eserver xSeries 345 -[8670M1X]- 1
154 Intel 2
155 [no-dmi-info] 3
156 maintainer:~#
157 </pre></blockquote>
158
159 <p>The quality of the report depend on the quality of the DMI tables
160 provided in each machine. Here there are Intel machines without model
161 information listed with Intel as vendor and mo model, and virtual Xen
162 machines listed as [no-dmi-info]. One can add -l as a command line
163 option to list the individual machines.</p>
164
165 <p>A larger list is
166 <a href="http://narvikskolen.no/sitesummary/">available from the the
167 city of Narvik</a>, which uses Skolelinux on all their shools and also
168 provide the basic sitesummary report publicly. In their report there
169 are ~1400 machines. I know they use both Ubuntu and Skolelinux on
170 their machines, and as sitesummary is available in both distributions,
171 it is trivial to get all of them to report to the same central
172 collector.</p>
173
174 </div>
175 <div class="tags">
176
177
178 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>.
179
180
181 </div>
182 </div>
183 <div class="padding"></div>
184
185 <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>
186 <div id="sidebar">
187
188
189
190 <h2>Archive</h2>
191 <ul>
192
193 <li>2012
194 <ul>
195
196 <li><a href="http://people.skolelinux.org/pere/blog/archive/2012/01/">January (2)</a></li>
197
198 </ul></li>
199
200 <li>2011
201 <ul>
202
203 <li><a href="http://people.skolelinux.org/pere/blog/archive/2011/01/">January (16)</a></li>
204
205 <li><a href="http://people.skolelinux.org/pere/blog/archive/2011/02/">February (6)</a></li>
206
207 <li><a href="http://people.skolelinux.org/pere/blog/archive/2011/03/">March (6)</a></li>
208
209 <li><a href="http://people.skolelinux.org/pere/blog/archive/2011/04/">April (7)</a></li>
210
211 <li><a href="http://people.skolelinux.org/pere/blog/archive/2011/05/">May (3)</a></li>
212
213 <li><a href="http://people.skolelinux.org/pere/blog/archive/2011/06/">June (2)</a></li>
214
215 <li><a href="http://people.skolelinux.org/pere/blog/archive/2011/07/">July (7)</a></li>
216
217 <li><a href="http://people.skolelinux.org/pere/blog/archive/2011/08/">August (6)</a></li>
218
219 <li><a href="http://people.skolelinux.org/pere/blog/archive/2011/09/">September (4)</a></li>
220
221 <li><a href="http://people.skolelinux.org/pere/blog/archive/2011/10/">October (2)</a></li>
222
223 <li><a href="http://people.skolelinux.org/pere/blog/archive/2011/11/">November (3)</a></li>
224
225 <li><a href="http://people.skolelinux.org/pere/blog/archive/2011/12/">December (1)</a></li>
226
227 </ul></li>
228
229 <li>2010
230 <ul>
231
232 <li><a href="http://people.skolelinux.org/pere/blog/archive/2010/01/">January (2)</a></li>
233
234 <li><a href="http://people.skolelinux.org/pere/blog/archive/2010/02/">February (1)</a></li>
235
236 <li><a href="http://people.skolelinux.org/pere/blog/archive/2010/03/">March (3)</a></li>
237
238 <li><a href="http://people.skolelinux.org/pere/blog/archive/2010/04/">April (3)</a></li>
239
240 <li><a href="http://people.skolelinux.org/pere/blog/archive/2010/05/">May (9)</a></li>
241
242 <li><a href="http://people.skolelinux.org/pere/blog/archive/2010/06/">June (14)</a></li>
243
244 <li><a href="http://people.skolelinux.org/pere/blog/archive/2010/07/">July (12)</a></li>
245
246 <li><a href="http://people.skolelinux.org/pere/blog/archive/2010/08/">August (13)</a></li>
247
248 <li><a href="http://people.skolelinux.org/pere/blog/archive/2010/09/">September (7)</a></li>
249
250 <li><a href="http://people.skolelinux.org/pere/blog/archive/2010/10/">October (9)</a></li>
251
252 <li><a href="http://people.skolelinux.org/pere/blog/archive/2010/11/">November (13)</a></li>
253
254 <li><a href="http://people.skolelinux.org/pere/blog/archive/2010/12/">December (12)</a></li>
255
256 </ul></li>
257
258 <li>2009
259 <ul>
260
261 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/01/">January (8)</a></li>
262
263 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/02/">February (8)</a></li>
264
265 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/03/">March (12)</a></li>
266
267 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/04/">April (10)</a></li>
268
269 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/05/">May (9)</a></li>
270
271 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/06/">June (3)</a></li>
272
273 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/07/">July (4)</a></li>
274
275 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/08/">August (3)</a></li>
276
277 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/09/">September (1)</a></li>
278
279 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/10/">October (2)</a></li>
280
281 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/11/">November (3)</a></li>
282
283 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/12/">December (3)</a></li>
284
285 </ul></li>
286
287 <li>2008
288 <ul>
289
290 <li><a href="http://people.skolelinux.org/pere/blog/archive/2008/11/">November (5)</a></li>
291
292 <li><a href="http://people.skolelinux.org/pere/blog/archive/2008/12/">December (7)</a></li>
293
294 </ul></li>
295
296 </ul>
297
298
299
300 <h2>Tags</h2>
301 <ul>
302
303 <li><a href="http://people.skolelinux.org/pere/blog/tags/3d-printer">3d-printer (13)</a></li>
304
305 <li><a href="http://people.skolelinux.org/pere/blog/tags/amiga">amiga (1)</a></li>
306
307 <li><a href="http://people.skolelinux.org/pere/blog/tags/aros">aros (1)</a></li>
308
309 <li><a href="http://people.skolelinux.org/pere/blog/tags/bitcoin">bitcoin (2)</a></li>
310
311 <li><a href="http://people.skolelinux.org/pere/blog/tags/bootsystem">bootsystem (12)</a></li>
312
313 <li><a href="http://people.skolelinux.org/pere/blog/tags/bsa">bsa (2)</a></li>
314
315 <li><a href="http://people.skolelinux.org/pere/blog/tags/debian">debian (54)</a></li>
316
317 <li><a href="http://people.skolelinux.org/pere/blog/tags/debian edu">debian edu (66)</a></li>
318
319 <li><a href="http://people.skolelinux.org/pere/blog/tags/digistan">digistan (7)</a></li>
320
321 <li><a href="http://people.skolelinux.org/pere/blog/tags/english">english (100)</a></li>
322
323 <li><a href="http://people.skolelinux.org/pere/blog/tags/fiksgatami">fiksgatami (13)</a></li>
324
325 <li><a href="http://people.skolelinux.org/pere/blog/tags/fildeling">fildeling (12)</a></li>
326
327 <li><a href="http://people.skolelinux.org/pere/blog/tags/intervju">intervju (11)</a></li>
328
329 <li><a href="http://people.skolelinux.org/pere/blog/tags/kart">kart (15)</a></li>
330
331 <li><a href="http://people.skolelinux.org/pere/blog/tags/ldap">ldap (8)</a></li>
332
333 <li><a href="http://people.skolelinux.org/pere/blog/tags/lenker">lenker (4)</a></li>
334
335 <li><a href="http://people.skolelinux.org/pere/blog/tags/ltsp">ltsp (1)</a></li>
336
337 <li><a href="http://people.skolelinux.org/pere/blog/tags/multimedia">multimedia (14)</a></li>
338
339 <li><a href="http://people.skolelinux.org/pere/blog/tags/norsk">norsk (141)</a></li>
340
341 <li><a href="http://people.skolelinux.org/pere/blog/tags/nuug">nuug (120)</a></li>
342
343 <li><a href="http://people.skolelinux.org/pere/blog/tags/open311">open311 (2)</a></li>
344
345 <li><a href="http://people.skolelinux.org/pere/blog/tags/opphavsrett">opphavsrett (24)</a></li>
346
347 <li><a href="http://people.skolelinux.org/pere/blog/tags/personvern">personvern (46)</a></li>
348
349 <li><a href="http://people.skolelinux.org/pere/blog/tags/reprap">reprap (11)</a></li>
350
351 <li><a href="http://people.skolelinux.org/pere/blog/tags/rfid">rfid (2)</a></li>
352
353 <li><a href="http://people.skolelinux.org/pere/blog/tags/robot">robot (4)</a></li>
354
355 <li><a href="http://people.skolelinux.org/pere/blog/tags/rss">rss (1)</a></li>
356
357 <li><a href="http://people.skolelinux.org/pere/blog/tags/sikkerhet">sikkerhet (23)</a></li>
358
359 <li><a href="http://people.skolelinux.org/pere/blog/tags/sitesummary">sitesummary (3)</a></li>
360
361 <li><a href="http://people.skolelinux.org/pere/blog/tags/standard">standard (24)</a></li>
362
363 <li><a href="http://people.skolelinux.org/pere/blog/tags/stavekontroll">stavekontroll (1)</a></li>
364
365 <li><a href="http://people.skolelinux.org/pere/blog/tags/stortinget">stortinget (3)</a></li>
366
367 <li><a href="http://people.skolelinux.org/pere/blog/tags/surveillance">surveillance (9)</a></li>
368
369 <li><a href="http://people.skolelinux.org/pere/blog/tags/valg">valg (6)</a></li>
370
371 <li><a href="http://people.skolelinux.org/pere/blog/tags/video">video (22)</a></li>
372
373 <li><a href="http://people.skolelinux.org/pere/blog/tags/vitenskap">vitenskap (1)</a></li>
374
375 <li><a href="http://people.skolelinux.org/pere/blog/tags/web">web (17)</a></li>
376
377 </ul>
378
379
380 </div>
381 <p style="text-align: right">
382 Created by <a href="http://steve.org.uk/Software/chronicle">Chronicle v4.4</a>
383 </p>
384
385 </body>
386 </html>