Errata

Automating System Administration with Perl

Errata for Automating System Administration with Perl, Second Edition

Submit your own errata for this product.

The errata list is a list of errors and their corrections that were found after the product was released. If the error was corrected in a later version or reprint the date of the correction will be displayed in the column titled "Date Corrected".

The following errata were submitted by our customers and approved as valid errors by the author or editor.

Color key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update

Version Location Description Submitted By Date submitted Date corrected
135
Table 'Module Information for This Chapter'

The CPAN author ID is misspelled, which delayed my finding this module on CPAN:

Win32: : GuiTest KARASIC 1.54

Should be:

KARASIK

David Burch  Jun 21, 2010  Jun 01, 2010
Printed
Page 518
first example

in the example on the RRDs::create stuff, the book reads:

use RRDs;
my $database = "router.rrd";

RRDs::create ($database, "-start", time, "-step", "120",

"DS:bandin:COUNTER:240:0:10000000",

"DS:bandout:COUNTER:240:0:10000000",

"DS:temp_in:GAUGE:240:0:100",

"RRA:AVERAGE:0.5:30:24");



my $ERR=RRDs::error;

die "Can't create $database: $ERR\n" if $ERR;

Unfortunately this code snippet stops with an error

Can't create router.rrd: step size should be no less than one second

.. the example should use "--start"/"--step" instead of "-start"/"-step" in order to work.

Thomas Leyer  Jul 07, 2009