[mrtg] sprintf errors

John Barbieri jdbarbieri at metrocast.net
Mon Aug 6 14:58:36 CEST 2007


Do you mean literallty a line that says <BLANK> or just a newline?

bash-3.00# ./modem_count.pl
10858
10858


bash-3.00#

That didnt work, nor did

bash-3.00# ./modem_count.pl
10858
10858

bash-3.00#

(got rid of the last newline).


Still getting the sprintf errors.

MrPaul wrote:
> Try setting the output to look like one of these.  I'm thinking that
> not having a newline on the fourth line may be the issue. 
>
> bash-3.00# /usr/local/scripts/modem_count.pl
> 10829
> 10829
> <BLANK>
> <BLANK>
> bash-3.00#
>
>
>
> Paul
>



More information about the mrtg mailing list