# If .rrd file not found, built it
if ( ! -f "$RRDDIR/$host/disk-$target.rrd" ) {
- &debug("$RRDDIR/$host/disk-$target.rrd not found creating it");
+ &debug("$RRDDIR/$host/disk-$target.rrd not found creating it",4);
{ local $SIG{'PIPE'} = 'IGNORE';
local $SIG{'CHLD'} = 'IGNORE';
}
# Update the .rrd file
- &debug("Updating $host $name rrd file");
+ &debug("Updating $host $name rrd file",4);
{ local $SIG{'PIPE'} = 'IGNORE';
local $SIG{'CHLD'} = 'IGNORE';
# If .rrd file not found, built it
if ( ! -f "$RRDDIR/$host/la.rrd" ) {
- &debug("$RRDDIR/$host/la.rrd not found creating it");
+ &debug("$RRDDIR/$host/la.rrd not found creating it",4);
{ local $SIG{'PIPE'} = 'IGNORE';
local $SIG{'CHLD'} = 'IGNORE';
}
# Update the .rrd file
- &debug("Updating $host Load Avg rrd file");
+ &debug("Updating $host Load Avg rrd file",4);
{ local $SIG{'PIPE'} = 'IGNORE';
local $SIG{'CHLD'} = 'IGNORE';