munin-graph¶
DESCRIPTION¶
munin-graph script is one of the munin master components run from the munin-cron script.
If “graph_strategy” is set to “cron”, munin-graph creates static graphs from all RRD files in the munin database directory.
If graph_strategy is set to “cgi”, munin-graph will not create graphs. This is the proper setting when you run munin-httpd.
OPTIONS¶
Some options can be negated by prefixing them with “no”. Example: –fork and –nofork
-
--fork¶ By default munin-graph forks subprocesses for drawing graphs to utilize available cores and I/O bandwidth. Can be negated with –nofork [–fork]
-
--n<processes>¶ Max number of concurrent processes [6]
-
--force¶ Force drawing of graphs that are not usually drawn due to options in the config file. Can be negated with –noforce [–noforce]
-
--lazy¶ Only redraw graphs when needed. Can be negated with –nolazy [–lazy]
-
--help¶ View this message.
-
--version¶ View version information.
-
--debug¶ Log debug messages.
-
--screen¶ If set, log messages to STDERR on the screen.
-
--cron¶ Behave as expected when run from cron. (Used internally in Munin.) Can be negated with –nocron
-
--host<host>¶ Limit graphed hosts to <host>. Multiple –host options may be supplied.
-
--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.
-
--config<file>¶ Use <file> as configuration file. [/etc/munin/munin.conf]
-
--list-images¶ List the filenames of the images created. Can be negated with –nolist-images. [–nolist-images]
-
--output-file| -o¶ Output graph file. (used for CGI graphing)
-
--log-file| -l¶ Output log file. (used for CGI graphing)
-
--day¶ Create day-graphs. Can be negated with –noday. [–day]
-
--week¶ Create week-graphs. Can be negated with –noweek. [–week]
-
--month¶ Create month-graphs. Can be negated with –nomonth. [–month]
-
--year¶ Create year-graphs. Can be negated with –noyear. [–year]
-
--sumweek¶ Create summarised week-graphs. Can be negated with –nosumweek. [–summweek]
-
--sumyear¶ Create summarised year-graphs. Can be negated with –nosumyear. [–sumyear]
-
--pinpoint<start,stop>¶ Create custom-graphs. <start,stop> is the time in the standard unix Epoch format. [not active]
-
--size_x<pixels>¶ Sets the X size of the graph in pixels [175]
-
--size_y<pixels>¶ Sets the Y size of the graph in pixels [400]
-
--lower_limit<lim>¶ Sets the lower limit of the graph
-
--upper_limit<lim>¶ Sets the upper limit of the graph
Note
--pinpoint and --only-fqn must not be combined
with any of --day, --week, --month or
--year (or their negating forms). The result of doing that
is undefined.