check_traffic plugin - another problem

Olivier F. Beauchemin (Budget-Tech IT Consulting) ofb at budget-tech.com
Sat Jan 18 17:58:14 CET 2003


Also, when I run the check_traffic plugin via the command line I get:

[obeauche at mrtg libexec]# ./check_traffic -H x.x.x.x -i 3 -b 1250000 -r
Ethernet0/0 -w 95 -c 85
ERROR: opening
'/usr/local/nagios/check_traffic-0.90b/db/x.x.x.x_Ethernet0/0.rrd': No such
file or directory
Total RX Bytes: 1646.57 MB, Total TX Bytes: 2422.08 MB<br>Average Traffic:
9.62 kB/s (0.8%) in, 2.47 kB/s (0.2%) out
[obeauche at mrtg libexec]#

So, snmp is doing it's thing. I think the plugin in general is doing it's
thing... but not creating the .rrd files.

Thanks,
Olivier

PS.
It would be nice if some of the variables that had to be edited, like
hostname, host and community were able to be entered via the command line
rather than hard-coded into make-config or check_traffic.

----- Original Message -----
From: "Olivier Beauchemin (Budget-Tech IT Consulting)" <ofb at budget-tech.com>


> [obeauche at mrtg check_traffic-0.90b]# ./make-config
> Number of Interfaces found: 4
>
> ERROR: creating
> '/usr/local/nagios/check_traffic-0.90b/db/x.x.x.x_Serial0/0.rrd': No such
> file or directory
> ERROR: creating
> '/usr/local/nagios/check_traffic-0.90b/db/x.x.x.x_Ethernet0/0.rrd': No
such
> file or directory
> ERROR: creating
> '/usr/local/nagios/check_traffic-0.90b/db/x.x.x.x_Serial0/1.rrd': No such
> file or directory
>
> So, it seems that I am unable to create the .rrd files for anything beyond
> the Null0 interface. I would assume that this is because of the '/' from
the
> interface name.  I'm also guessing that the reason the .cgi and
hostextinfo
> isn't populating with the rest of the interfaces is because it's not able
to
> finish creating these files.
>
> Anyone have the fixes or improvements, to this great plugin?
>
> Olivier



-------------------------------------------------------
This SF.NET email is sponsored by: Thawte.com - A 128-bit supercerts will
allow you to extend the highest allowed 128 bit encryption to all your 
clients even if they use browsers that are limited to 40 bit encryption. 
Get a guide here:http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0030en




More information about the Users mailing list