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">
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" />
14 <a href=
"http://people.skolelinux.org/pere/blog/">Petter Reinholdtsen
</a>
21 <h3>Entries tagged "sitesummary".
</h3>
25 <a href=
"http://people.skolelinux.org/pere/blog/Automatic_Munin_and_Nagios_configuration.html">Automatic Munin and Nagios configuration
</a>
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
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>
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>
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
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>
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>
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>.
86 <div class="padding
"></div>
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>
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>
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>
110 perl -MSiteSummary -e 'for_all_hosts(sub { print join(" ", get_macaddresses(shift)), "\n"; });'
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>
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
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>.
131 <div class=
"padding"></div>
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>
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>
148 maintainer:~# /usr/lib/sitesummary/hardware-model-summary
150 Dell Computer Corporation
1
153 eserver xSeries
345 -[
8670M1X]-
1
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>
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
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>.
183 <div class=
"padding"></div>
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>
196 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2012/01/">January (
2)
</a></li>
203 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2011/01/">January (
16)
</a></li>
205 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2011/02/">February (
6)
</a></li>
207 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2011/03/">March (
6)
</a></li>
209 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2011/04/">April (
7)
</a></li>
211 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2011/05/">May (
3)
</a></li>
213 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2011/06/">June (
2)
</a></li>
215 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2011/07/">July (
7)
</a></li>
217 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2011/08/">August (
6)
</a></li>
219 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2011/09/">September (
4)
</a></li>
221 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2011/10/">October (
2)
</a></li>
223 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2011/11/">November (
3)
</a></li>
225 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2011/12/">December (
1)
</a></li>
232 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2010/01/">January (
2)
</a></li>
234 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2010/02/">February (
1)
</a></li>
236 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2010/03/">March (
3)
</a></li>
238 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2010/04/">April (
3)
</a></li>
240 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2010/05/">May (
9)
</a></li>
242 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2010/06/">June (
14)
</a></li>
244 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2010/07/">July (
12)
</a></li>
246 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2010/08/">August (
13)
</a></li>
248 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2010/09/">September (
7)
</a></li>
250 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2010/10/">October (
9)
</a></li>
252 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2010/11/">November (
13)
</a></li>
254 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2010/12/">December (
12)
</a></li>
261 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2009/01/">January (
8)
</a></li>
263 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2009/02/">February (
8)
</a></li>
265 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2009/03/">March (
12)
</a></li>
267 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2009/04/">April (
10)
</a></li>
269 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2009/05/">May (
9)
</a></li>
271 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2009/06/">June (
3)
</a></li>
273 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2009/07/">July (
4)
</a></li>
275 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2009/08/">August (
3)
</a></li>
277 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2009/09/">September (
1)
</a></li>
279 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2009/10/">October (
2)
</a></li>
281 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2009/11/">November (
3)
</a></li>
283 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2009/12/">December (
3)
</a></li>
290 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2008/11/">November (
5)
</a></li>
292 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2008/12/">December (
7)
</a></li>
303 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/3d-printer">3d-printer (
13)
</a></li>
305 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/amiga">amiga (
1)
</a></li>
307 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/aros">aros (
1)
</a></li>
309 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/bitcoin">bitcoin (
2)
</a></li>
311 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/bootsystem">bootsystem (
12)
</a></li>
313 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/bsa">bsa (
2)
</a></li>
315 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/debian">debian (
54)
</a></li>
317 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/debian edu">debian edu (
66)
</a></li>
319 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/digistan">digistan (
7)
</a></li>
321 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/english">english (
100)
</a></li>
323 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/fiksgatami">fiksgatami (
13)
</a></li>
325 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/fildeling">fildeling (
12)
</a></li>
327 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/intervju">intervju (
11)
</a></li>
329 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/kart">kart (
15)
</a></li>
331 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/ldap">ldap (
8)
</a></li>
333 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/lenker">lenker (
4)
</a></li>
335 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/ltsp">ltsp (
1)
</a></li>
337 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/multimedia">multimedia (
14)
</a></li>
339 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/norsk">norsk (
141)
</a></li>
341 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/nuug">nuug (
120)
</a></li>
343 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/open311">open311 (
2)
</a></li>
345 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/opphavsrett">opphavsrett (
24)
</a></li>
347 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/personvern">personvern (
46)
</a></li>
349 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/reprap">reprap (
11)
</a></li>
351 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/rfid">rfid (
2)
</a></li>
353 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/robot">robot (
4)
</a></li>
355 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/rss">rss (
1)
</a></li>
357 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/sikkerhet">sikkerhet (
23)
</a></li>
359 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/sitesummary">sitesummary (
3)
</a></li>
361 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/standard">standard (
24)
</a></li>
363 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/stavekontroll">stavekontroll (
1)
</a></li>
365 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/stortinget">stortinget (
3)
</a></li>
367 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/surveillance">surveillance (
9)
</a></li>
369 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/valg">valg (
6)
</a></li>
371 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/video">video (
22)
</a></li>
373 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/vitenskap">vitenskap (
1)
</a></li>
375 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/web">web (
17)
</a></li>
381 <p style=
"text-align: right">
382 Created by
<a href=
"http://steve.org.uk/Software/chronicle">Chronicle v4.4
</a>