Changeset 167
- Timestamp:
- 05/09/04 23:11:16 (8 years ago)
- Files:
-
- trunk/ChangeLog (modified) (1 diff, 1 prop)
- trunk/munin-faq-base.html (modified) (1 diff, 1 prop)
- trunk/node/node.d/pm3users.in (added)
- trunk/node/node.d/postfix_mailqueue.in (modified) (2 diffs, 1 prop)
- trunk/server/munin-graph.in (modified) (8 diffs, 1 prop)
- trunk/server/munin-update.in (modified) (6 diffs, 1 prop)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/ChangeLog
- Property cvs2svn:cvs-rev changed from 1.77 to 1.78
r166 r167 41 41 * Fixed problem with sunos/memory, when memory was reported in gigabytes 42 42 (SF#930964) 43 * New plugin (pm3users) and a bunch of patches from Jacques Caruso. 43 44 44 45 munin (1.0.0pre3) trunk/munin-faq-base.html
- Property cvs2svn:cvs-rev changed from 1.7 to 1.8
r159 r167 226 226 </p> 227 227 228 <h3>Q: I don't like the bandwith usage graph, how to make it look like MRTG or Cricket graphs?</h3> 229 <p> 230 For interface eth0 on host foo.bar.example,<pre> 231 232 if_eth0.graph no 233 234 my_ifeth0.graph_args --base 1000 --lower-limit 0 235 my_ifeth0.graph_title Traffic on interface eth0 236 my_ifeth0.graph_order received=foo.bar.example:if_eth0.down sent=foo.bar.example:if_eth0.up 237 my_ifeth0.graph_vlabel Bits per second 238 my_ifeth0.received.cdef received,8,* 239 my_ifeth0.received.draw AREA 240 my_ifeth0.sent.cdef sent,8,* 241 my_ifeth0.sent.draw LINE1 242 243 </pre> 244 245 (Answer supplied by Jacques Caruso.) 246 </p> 247 228 248 <h2>3. Client plugins</h2> 229 249 <h3>Q: What is the minimum requirements of a client plugin?</h3> trunk/node/node.d/postfix_mailqueue.in
- Property cvs2svn:cvs-rev changed from 1.1 to 1.2
r6 r167 6 6 # 7 7 # $Log$ 8 # Revision 1.2 2004/05/09 21:11:15 jimmyo 9 # New plugin (pm3users) and a bunch of patches from Jacques Caruso. 10 # 8 11 # Revision 1.1 2004/01/02 18:50:00 jimmyo 9 12 # Renamed occurrances of lrrd -> munin … … 64 67 cat <<EOF 65 68 deferred.value `(test -d deferred && find deferred -type f ) | wc -l` 66 active.value `(test -d active && find active -type f ) | wc -l` 69 active.value `(test -d active && find active -type f ) | wc -l` 67 70 maildrop.value `(test -d maildrop && find maildrop -type f ) | wc -l` 68 71 incoming.value `(test -d incoming && find incoming -type f ) | wc -l` trunk/server/munin-graph.in
- Property cvs2svn:cvs-rev changed from 1.7 to 1.8
r138 r167 6 6 # 7 7 # $Log$ 8 # Revision 1.8 2004/05/09 21:11:16 jimmyo 9 # New plugin (pm3users) and a bunch of patches from Jacques Caruso. 10 # 8 11 # Revision 1.7 2004/04/28 21:32:26 jimmyo 9 12 # Make "graph_scale no" affect y-axis as well as numbers below the graph (Deb#236834). … … 129 132 --host <host> Limit graphed hosts to <host>. Multiple --host options 130 133 may be supplied. 131 --config <file> Use <file> as configuration file. [ /etc/munin/munin.conf]134 --config <file> Use <file> as configuration file. [@@CONFDIR@@/munin.conf] 132 135 --[no]list-images List the filenames of the images created. 133 136 [--nolist-images] … … 234 237 my $fnum = 0; 235 238 my @rrd; 236 my @added = ();239 my @added = (); 237 240 238 241 # See if we should skip it because of conf-options … … 300 303 } 301 304 } 302 # Array to keep 'prepro sess'ed fields.305 # Array to keep 'preprocess'ed fields. 303 306 my @rrd_preprocess = (); 304 307 my $fieldnum = 0; … … 411 414 } 412 415 @field_order = (@rrd_preprocess, @field_order); 413 print "DEBUG: D Drawing fields \"", join "\",\"", (@rrd_preprocess, @field_order), "\".\n" if $DEBUG;416 print "DEBUG: Drawing fields \"", join "\",\"", (@rrd_preprocess, @field_order), "\".\n" if $DEBUG; 414 417 for my $field (@field_order) { 415 418 my $path = undef; … … 431 434 # Array to keep negative data until we're finished with positive. 432 435 my @rrd_negatives = (); 433 my $filename = "unk own";436 my $filename = "unknown"; 434 437 my %total_pos; 435 438 my %total_neg; … … 454 457 if (!defined ($node->{client}->{$service}->{$field.".label"})) 455 458 { 456 print "DEB BUG: Setting label: $field\n" if $DEBUG;459 print "DEBUG: Setting label: $field\n" if $DEBUG; 457 460 $node->{client}->{$service}->{$field.".label"} = $field; 458 461 } … … 856 859 =item B<< --config <file> >> 857 860 858 Use E<lt>fileE<gt> as configuration file. [ /etc/munin/munin.conf]861 Use E<lt>fileE<gt> as configuration file. [@@CONFDIR@@/munin.conf] 859 862 860 863 =item B<< --[no]list-images >> trunk/server/munin-update.in
- Property cvs2svn:cvs-rev changed from 1.7 to 1.8
r117 r167 6 6 # 7 7 # $Log$ 8 # Revision 1.8 2004/05/09 21:11:16 jimmyo 9 # New plugin (pm3users) and a bunch of patches from Jacques Caruso. 10 # 8 11 # Revision 1.7 2004/02/10 19:27:02 jimmyo 9 12 # Munin-update now properly ignores nodes with "update no". … … 125 128 may be supplied. 126 129 --config <file> Use <file> as configuration file. 127 [ /etc/munin/munin.conf]130 [@@CONFDIR@@/munin.conf] 128 131 --[no]debug View debug messages. [--nodebug] 129 132 --[no]fork Don't fork one instance for each host. [--fork] … … 572 575 } 573 576 my $nodeconf_time = Time::HiRes::time; 574 logger("Configur ating node: $name") if $DEBUG;577 logger("Configuring node: $name") if $DEBUG; 575 578 my @services; 576 579 eval { … … 607 610 $node->{client}->{$servname}->{realservname} = $service; 608 611 } 609 logger("Configur ating service: $name->$servname") if $DEBUG;612 logger("Configuring service: $name->$servname") if $DEBUG; 610 613 print $socket "config $service\n"; 611 614 my @lines = read_socket($socket); … … 678 681 $serviceconf_time = sprintf ("%.2f",(Time::HiRes::time - $serviceconf_time)); 679 682 print STATS "CS|$domain|$name|$servname|$serviceconf_time\n"; 680 logger ("Configur ated service: $name -> $servname ($serviceconf_time sec)");683 logger ("Configured service: $name -> $servname ($serviceconf_time sec)"); 681 684 } 682 685 $nodeconf_time = sprintf ("%.2f",(Time::HiRes::time - $nodeconf_time)); 683 686 print STATS "CN|$domain|$name|$nodeconf_time\n"; 684 logger("Configur ated node: $name ($nodeconf_time sec)");687 logger("Configured node: $name ($nodeconf_time sec)"); 685 688 return 1; 686 689 } … … 785 788 =item B<< --config <file> >> 786 789 787 Use E<lt>fileE<gt> as configuration file. [ /etc/munin/munin.conf]790 Use E<lt>fileE<gt> as configuration file. [@@CONFDIR@@/munin.conf] 788 791 789 792 =item B<< --help >>
