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
|
.. _munin-graph:
.. program:: munin-graph
=============
munin-graph
=============
DESCRIPTION
===========
The munin-graph script is run by munin-cron, and creates graphs from
all RRD files in the munin database directory.
OPTIONS
=======
Some options can be negated by prefixing them with "no".
Example: --fork and --nofork
.. option:: --fork
By default munin-graph forks subprocesses for drawing graphs to
utilize available cores and I/O bandwidth. Can be negated
with --nofork [--fork]
.. option:: --n <processes>
Max number of concurrent processes [6]
.. option:: --force
Force drawing of graphs that are not usually drawn due to options
in the config file. Can be negated with --noforce [--noforce]
.. option:: --lazy
Only redraw graphs when needed. Can be negated with --nolazy
[--lazy]
.. option:: --help
View this message.
.. option:: --version
View version information.
.. option:: --debug
View debug messages.
.. option:: --cron
Behave as expected when run from cron. (Used internally in Munin.)
Can be negated with --nocron
.. option:: --host <host>
Limit graphed hosts to <host>. Multiple --host options may be
supplied.
.. option:: --only-fqn <FQN>
For internal use with CGI graphing. Graph only a single fully
qualified named graph,
For instance: --only-fqn
root/Backend/dafnes.example.com/diskstats_iops
Always use with the correct --host option.
.. option:: --config <file>
Use <file> as configuration file. [/etc/munin/munin.conf]
.. option:: --list-images
List the filenames of the images created. Can be negated with
--nolist-images. [--nolist-images]
.. option:: --output-file | -o
Output graph file. (used for CGI graphing)
.. option:: --log-file | -l
Output log file. (used for CGI graphing)
.. option:: --day
Create day-graphs. Can be negated with --noday. [--day]
.. option:: --week
Create week-graphs. Can be negated with --noweek. [--week]
.. option:: --month
Create month-graphs. Can be negated with --nomonth. [--month]
.. option:: --year
Create year-graphs. Can be negated with --noyear. [--year]
.. option:: --sumweek
Create summarised week-graphs. Can be negated with --nosumweek.
[--summweek]
.. option:: --sumyear
Create summarised year-graphs. Can be negated with --nosumyear.
[--sumyear]
.. option:: --pinpoint <start,stop>
Create custom-graphs. <start,stop> is the time in the standard unix
Epoch format. [not active]
.. option:: --size_x <pixels>
Sets the X size of the graph in pixels [175]
.. option:: --size_y <pixels>
Sets the Y size of the graph in pixels [400]
.. option:: --lower_limit <lim>
Sets the lower limit of the graph
.. option:: --upper_limit <lim>
Sets the upper limit of the graph
.. note::
:option:`--pinpoint` and :option:`--only-fqn` must not be combined
with any of :option:`--day`, :option:`--week`, :option:`--month` or
:option:`--year` (or their negating forms). The result of doing that
is undefined.
SEE ALSO
========
:ref:`munin-cron`, :ref:`munin-cgi-graph`
|