/usr/share/munin/munin-limits is in munin 2.0.25-2.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 | #!/usr/bin/perl
# -*- cperl -*-
=encoding utf8
=begin comment
Copyright (C) 2004-2008 Jimmy Olsen
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$
=end comment
=cut
use warnings;
use strict;
use Munin::Master::LimitsOld;
limits_startup(\@ARGV);
limits_main();
# ### The End
exit 0;
=head1 NAME
munin-limits - A program to check for any off-limit values
=head1 SYNOPSIS
munin-limits [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<< --contact <contact> >>
Limit contacts to those of E<lt>contact<gt>. Multiple --contact options may be supplied. [unset]
=item B<< --config <file> >>
Use E<lt>fileE<gt> as configuration file. [/etc/munin/munin.conf]
=item B<< --always-send <severity list> >>
Force sending of messages even if you normally wouldn't.
The <severity list> can be a whitespace or comma separated list of the
values "ok", "warning", "critical" or "unknown".
This option may be specified several times, to add more values.
Use of "--always-send" overrides the "always_send" value in munin.conf
for configured contacts. See also --force.
=item B<< --force >>
Alias for "--always-send ok,warning,critical,unknown"
=item B<< --[no]force-run-as-root >>
Force running as root (stupid and unnecessary). [--noforce-root]
=item B<< --help >>
View help message.
=item B<< --[no]debug >>
If set, view debug messages. [--nodebug]
=back
=head1 DESCRIPTION
Munin-limits 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.
Munin-limits checks if any values are above or below the set limits, and saves these notes to a file. This file
is later used by programs like munin-nagios (to warn nagios) and munin-html (to incorporate them in the web
display).
If a service has fields with "warning" or "critical"-options (e.g. "load.warning 10"), and the munin-server
configuration file contains the necessary configuration options, munin-limits will check its value.
=head1 FILES
/etc/munin/munin.conf
/var/lib/munin/*
/var/run/munin/*
=head1 VERSION
This is munin-limits version 2.0.25-2
=head1 AUTHORS
Knut Haugen, Audun Ytterdal and Jimmy Olsen.
=head1 BUGS
munin-limits does, as of now, not check the syntax of the configuration file.
Please report other bugs in the bug tracker at L<http://munin-monitoring.org/>.
=head1 COPYRIGHT
Copyright (C) 2002-2006 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
|