<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE>Re: [Nagios-users] re: check_traffic plugin - another problem</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=2>Looks like check_traffic could use some work to massage interface names. Looks like it's trying to find the directory x.x.x.x_Ethernet0 to create the file 0.rrd.<BR>
<BR>
Maybe it should substitute _'s for /'s like cricket does.<BR>
<BR>
<BR>
--<BR>
Marc<BR>
<BR>
Sent from a very tiny wireless device with a very tiny unlit keyboard.<BR>
<BR>
<BR>
-----Original Message-----<BR>
From: Olivier F. Beauchemin (Budget-Tech IT Consulting) <ofb@budget-tech.com><BR>
To: 'Adrian Wieczorek' <ads@irc.pila.pl>; Nagios-users@lists.sourceforge.net <Nagios-users@lists.sourceforge.net><BR>
Sent: Sat Jan 18 10:58:14 2003<BR>
Subject: Re: [Nagios-users] re: check_traffic plugin - another problem<BR>
<BR>
Also, when I run the check_traffic plugin via the command line I get:<BR>
<BR>
[obeauche@mrtg libexec]# ./check_traffic -H x.x.x.x -i 3 -b 1250000 -r<BR>
Ethernet0/0 -w 95 -c 85<BR>
ERROR: opening<BR>
'/usr/local/nagios/check_traffic-0.90b/db/x.x.x.x_Ethernet0/0.rrd': No such<BR>
file or directory<BR>
Total RX Bytes: 1646.57 MB, Total TX Bytes: 2422.08 MB<br>Average Traffic:<BR>
9.62 kB/s (0.8%) in, 2.47 kB/s (0.2%) out<BR>
[obeauche@mrtg libexec]#<BR>
<BR>
So, snmp is doing it's thing. I think the plugin in general is doing it's<BR>
thing... but not creating the .rrd files.<BR>
<BR>
Thanks,<BR>
Olivier<BR>
<BR>
PS.<BR>
It would be nice if some of the variables that had to be edited, like<BR>
hostname, host and community were able to be entered via the command line<BR>
rather than hard-coded into make-config or check_traffic.<BR>
<BR>
----- Original Message -----<BR>
From: "Olivier Beauchemin (Budget-Tech IT Consulting)" <ofb@budget-tech.com><BR>
<BR>
<BR>
> [obeauche@mrtg check_traffic-0.90b]# ./make-config<BR>
> Number of Interfaces found: 4<BR>
><BR>
> ERROR: creating<BR>
> '/usr/local/nagios/check_traffic-0.90b/db/x.x.x.x_Serial0/0.rrd': No such<BR>
> file or directory<BR>
> ERROR: creating<BR>
> '/usr/local/nagios/check_traffic-0.90b/db/x.x.x.x_Ethernet0/0.rrd': No<BR>
such<BR>
> file or directory<BR>
> ERROR: creating<BR>
> '/usr/local/nagios/check_traffic-0.90b/db/x.x.x.x_Serial0/1.rrd': No such<BR>
> file or directory<BR>
><BR>
> So, it seems that I am unable to create the .rrd files for anything beyond<BR>
> the Null0 interface. I would assume that this is because of the '/' from<BR>
the<BR>
> interface name.  I'm also guessing that the reason the .cgi and<BR>
hostextinfo<BR>
> isn't populating with the rest of the interfaces is because it's not able<BR>
to<BR>
> finish creating these files.<BR>
><BR>
> Anyone have the fixes or improvements, to this great plugin?<BR>
><BR>
> Olivier<BR>
<BR>
<BR>
<BR>
-------------------------------------------------------<BR>
This SF.NET email is sponsored by: Thawte.com - A 128-bit supercerts will<BR>
allow you to extend the highest allowed 128 bit encryption to all your<BR>
clients even if they use browsers that are limited to 40 bit encryption.<BR>
Get a guide here:<A HREF="http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0030en">http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0030en</A><BR>
_______________________________________________<BR>
Nagios-users mailing list<BR>
Nagios-users@lists.sourceforge.net<BR>
<A HREF="https://lists.sourceforge.net/lists/listinfo/nagios-users">https://lists.sourceforge.net/lists/listinfo/nagios-users</A><BR>
</FONT>
</P>

</BODY>
</HTML>