1 <!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.0 Strict//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
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">
13 <a href=
"http://people.skolelinux.org/pere/blog/">Petter Reinholdtsen
</a>
19 <p>Entries tagged "sitesummary".
</p>
26 <a href=
"http://people.skolelinux.org/pere/blog/Automatic_Munin_and_Nagios_configuration.html">Automatic Munin and Nagios configuration
</a>
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
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>
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>
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
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>
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>
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>.
89 <div class="padding
"></div>
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>
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>
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>
115 perl -MSiteSummary -e 'for_all_hosts(sub { print join(" ", get_macaddresses(shift)), "\n"; });'
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>
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
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>.
136 <div class=
"padding"></div>
140 <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>
148 <p>When using sitesummary at a site to track machines, it is possible
149 to get a list of the machine types in use thanks to the DMI
150 information extracted from each machine. The script to do so is
151 included in the sitesummary package, and here is example output from
152 the Skolelinux build servers:
</p>
155 maintainer:~# /usr/lib/sitesummary/hardware-model-summary
157 Dell Computer Corporation
1
160 eserver xSeries
345 -[
8670M1X]-
1
166 <p>The quality of the report depend on the quality of the DMI tables
167 provided in each machine. Here there are Intel machines without model
168 information listed with Intel as vendor and mo model, and virtual Xen
169 machines listed as [no-dmi-info]. One can add -l as a command line
170 option to list the individual machines.
</p>
173 <a href=
"http://narvikskolen.no/sitesummary/">available from the the
174 city of Narvik
</a>, which uses Skolelinux on all their shools and also
175 provide the basic sitesummary report publicly. In their report there
176 are ~
1400 machines. I know they use both Ubuntu and Skolelinux on
177 their machines, and as sitesummary is available in both distributions,
178 it is trivial to get all of them to report to the same central
186 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>.
190 <div class=
"padding"></div>
192 <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>
205 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2011/01/">January (
3)
</a></li>
212 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2010/01/">January (
2)
</a></li>
214 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2010/02/">February (
1)
</a></li>
216 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2010/03/">March (
3)
</a></li>
218 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2010/04/">April (
3)
</a></li>
220 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2010/05/">May (
9)
</a></li>
222 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2010/06/">June (
14)
</a></li>
224 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2010/07/">July (
12)
</a></li>
226 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2010/08/">August (
13)
</a></li>
228 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2010/09/">September (
7)
</a></li>
230 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2010/10/">October (
9)
</a></li>
232 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2010/11/">November (
13)
</a></li>
234 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2010/12/">December (
12)
</a></li>
241 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2009/01/">January (
8)
</a></li>
243 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2009/02/">February (
8)
</a></li>
245 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2009/03/">March (
12)
</a></li>
247 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2009/04/">April (
10)
</a></li>
249 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2009/05/">May (
9)
</a></li>
251 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2009/06/">June (
3)
</a></li>
253 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2009/07/">July (
4)
</a></li>
255 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2009/08/">August (
3)
</a></li>
257 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2009/09/">September (
1)
</a></li>
259 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2009/10/">October (
2)
</a></li>
261 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2009/11/">November (
3)
</a></li>
263 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2009/12/">December (
3)
</a></li>
270 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2008/11/">November (
5)
</a></li>
272 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2008/12/">December (
7)
</a></li>
283 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/3d-printer">3d-printer (
13)
</a></li>
285 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/amiga">amiga (
1)
</a></li>
287 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/aros">aros (
1)
</a></li>
289 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/bitcoin">bitcoin (
2)
</a></li>
291 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/bootsystem">bootsystem (
10)
</a></li>
293 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/debian">debian (
46)
</a></li>
295 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/debian edu">debian edu (
54)
</a></li>
297 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/english">english (
82)
</a></li>
299 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/fiksgatami">fiksgatami (
1)
</a></li>
301 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/fildeling">fildeling (
11)
</a></li>
303 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/kart">kart (
5)
</a></li>
305 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/ldap">ldap (
8)
</a></li>
307 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/lenker">lenker (
4)
</a></li>
309 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/ltsp">ltsp (
1)
</a></li>
311 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/multimedia">multimedia (
11)
</a></li>
313 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/norsk">norsk (
97)
</a></li>
315 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/nuug">nuug (
114)
</a></li>
317 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/opphavsrett">opphavsrett (
18)
</a></li>
319 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/personvern">personvern (
32)
</a></li>
321 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/reprap">reprap (
11)
</a></li>
323 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/robot">robot (
4)
</a></li>
325 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/rss">rss (
1)
</a></li>
327 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/sikkerhet">sikkerhet (
22)
</a></li>
329 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/sitesummary">sitesummary (
3)
</a></li>
331 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/standard">standard (
21)
</a></li>
333 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/stavekontroll">stavekontroll (
1)
</a></li>
335 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/surveillance">surveillance (
5)
</a></li>
337 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/video">video (
17)
</a></li>
339 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/vitenskap">vitenskap (
1)
</a></li>
341 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/web">web (
14)
</a></li>