File: //usr/share/munin/munin-html
#!/usr/bin/perl
# -*- cperl -*-
=begin comment
Copyright (C) 2002-2009 Jimmy Olsen, Audun Ytterdal, Kjell Magne
Øierud, Nicolai Langfeldt, Linpro AS, Redpill Linpro AS and others.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; version 2 dated June,
1991.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
$Id: munin-html.in 2802 2009-11-02 11:45:04Z janl $
=end comment
=cut
use warnings;
use strict;
use Munin::Master::HTMLOld;
$|=1;
html_startup(\@ARGV);
html_main();
# ### The End
1;
=head1 NAME
munin-html - A program to generate html-pages in an Munin installation
=head1 SYNOPSIS
munin-html [options]
=head1 OPTIONS
=over 5
=item B<< --service <service> >>
Limit services to those of E<lt>serviceE<gt>. Multiple --service options may be supplied. [unset]
=item B<< --host <host> >>
Limit hosts to those of E<lt>host<gt>. Multiple --host options may be supplied. [unset]
=item B<< --config <file> >>
Use E<lt>fileE<gt> as configuration file. [/etc/munin/munin.conf]
=item B<< --help >>
View help message.
=item B<< --[no]debug >>
If set, view debug messages. [--nodebug]
=back
=head1 DESCRIPTION
Munin-html is a part of the package Munin, which is used in combination
with Munin's node. Munin is a group of programs to gather data from
Munin's nodes, graph them, create html-pages, and optionally warn Nagios
about any off-limit values.
If munin.conf sets "graph_strategy cgi" then munin-html generates URLs
referencing the graph CGI instead of referencing pre-generated
graphs (made by munin-graph).
Munin-html creates the html pages.
=head1 FILES
/etc/munin/munin.conf
/var/lib/munin/datafile
/var/log/munin/munin-html
/var/www/html/munin/*
/var/run/munin/*
=head1 VERSION
This is munin-html version 1.4.7
=head1 AUTHORS
Knut Haugen, Audun Ytterdal and Jimmy Olsen.
=head1 BUGS
munin-html does, as of now, not check the syntax of the configuration file.
Please report other bugs in the bug tracker at L<http://munin.sf.net/>.
=head1 COPYRIGHT
Copyright (C) 2002-2009 Knut Haugen, Audun Ytterdal, and Jimmy Olsen /
Linpro AS.
This is free software; see the source for copying conditions. There is
NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
This program is released under the GNU General Public License
=head1 SEE ALSO
For information on configuration options, please refer to the man page for
F<munin.conf>.
=cut
# vim:syntax=perl:ts=8