<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7036.0">
<TITLE>print a graph with the traffic of a certain host</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->
<P ALIGN=LEFT><SPAN LANG="en-gb"><FONT SIZE=2 FACE="Arial">Does anyone know the</FONT></SPAN><SPAN LANG="es"></SPAN><SPAN LANG="es"></SPAN><SPAN LANG="en-gb"> <FONT SIZE=2 FACE="Arial">Perl</FONT></SPAN><SPAN LANG="es"></SPAN><SPAN LANG="es"></SPAN><SPAN LANG="en-gb"><FONT SIZE=2 FACE="Arial"> instructions to</FONT></SPAN><SPAN LANG="es"></SPAN><SPAN LANG="es"></SPAN><SPAN LANG="en-gb"> <FONT SIZE=2 FACE="Arial">setup the map file</FONT></SPAN><SPAN LANG="es"></SPAN><SPAN LANG="es"></SPAN><SPAN LANG="en-gb"> <FONT SIZE=2 FACE="Arial">of nagiosgraph</FONT></SPAN><SPAN LANG="es"></SPAN><SPAN LANG="es"></SPAN><SPAN LANG="en-gb"> <FONT SIZE=2 FACE="Arial">in order to</FONT></SPAN><SPAN LANG="es"></SPAN><SPAN LANG="es"></SPAN><SPAN LANG="en-gb"> <FONT SIZE=2 FACE="Arial">graph</FONT></SPAN><SPAN LANG="es"></SPAN><SPAN LANG="es"></SPAN><SPAN LANG="en-gb"> <FONT SIZE=2 FACE="Arial">the traffic on a</FONT></SPAN><SPAN LANG="es"></SPAN><SPAN LANG="es"></SPAN><SPAN LANG="en-gb"> <FONT SIZE=2 FACE="Arial">certain host?</FONT></SPAN></P>
<P ALIGN=LEFT><SPAN LANG="es-es"></SPAN><A NAME=""><SPAN LANG="es-es">I</SPAN></A><SPAN LANG="es"></SPAN><SPAN LANG="es-es">’</SPAN><SPAN LANG="es"></SPAN><SPAN LANG="es-es">have the following lines to make that but it does not show a thing</SPAN><SPAN LANG="es"></SPAN><SPAN LANG="es-es">…</SPAN><SPAN LANG="es"></SPAN><SPAN LANG="es-es"></SPAN></P>
<P ALIGN=LEFT><SPAN LANG="es-es">#Service type:</SPAN><SPAN LANG="es"></SPAN><SPAN LANG="es-es">Band_</SPAN><SPAN LANG="es"></SPAN><SPAN LANG="es-es">W</SPAN><SPAN LANG="es"></SPAN><SPAN LANG="en-gb">idth</SPAN><SPAN LANG="es"></SPAN><SPAN LANG="es-es">_FastEth0/0</SPAN></P>
<P ALIGN=LEFT><SPAN LANG="es-es">#output:</SPAN><SPAN LANG="es"></SPAN><SPAN LANG="es-es"></SPAN><SPAN LANG="es"></SPAN><SPAN LANG="es-es"> Band_</SPAN><SPAN LANG="es"></SPAN><SPAN LANG="es-es">W</SPAN><SPAN LANG="es"></SPAN><SPAN LANG="en-gb">idth</SPAN><SPAN LANG="es"></SPAN><SPAN LANG="es-es"></SPAN><SPAN LANG="es"></SPAN><SPAN LANG="es-es"> 100 Mbits/seg</SPAN></P>
<P ALIGN=LEFT><SPAN LANG="es-es">/perfdata:</SPAN><SPAN LANG="es"></SPAN><SPAN LANG="es-es"></SPAN><SPAN LANG="es"></SPAN><SPAN LANG="es-es"> Band_</SPAN><SPAN LANG="es"></SPAN><SPAN LANG="es-es">W</SPAN><SPAN LANG="es"></SPAN><SPAN LANG="en-gb">idth</SPAN><SPAN LANG="es"></SPAN><SPAN LANG="es-es">.*?(\d+)/</SPAN></P>
<P ALIGN=LEFT><SPAN LANG="es-es">and push @s, [</SPAN><SPAN LANG="es"></SPAN><SPAN LANG="es-es">Band_</SPAN><SPAN LANG="es"></SPAN><SPAN LANG="es-es">W</SPAN><SPAN LANG="es"></SPAN><SPAN LANG="en-gb">idth</SPAN><SPAN LANG="es"></SPAN><SPAN LANG="es-es"></SPAN><SPAN LANG="es"></SPAN><SPAN LANG="es-es"> _FastEth0,</SPAN></P>
<P ALIGN=LEFT><SPAN LANG="es-es"> [</SPAN><SPAN LANG="es"></SPAN><SPAN LANG="es-es">Band_</SPAN><SPAN LANG="es"></SPAN><SPAN LANG="es-es">W</SPAN><SPAN LANG="es"></SPAN><SPAN LANG="en-gb">idth</SPAN><SPAN LANG="es"></SPAN><SPAN LANG="es-es"></SPAN><SPAN LANG="es"></SPAN><SPAN LANG="es-es"> _FastEth0, COUNTER, $1 ] ];</SPAN><SPAN LANG="es"></SPAN><SPAN LANG="es-es"></SPAN></P>
<P ALIGN=LEFT><SPAN LANG="en-gb"></SPAN></P>
<P ALIGN=LEFT><SPAN LANG="en-gb">I did something similar to this regarding the temperature and it did work.</SPAN></P>
<P ALIGN=LEFT><SPAN LANG="en-gb">thanks</SPAN><SPAN LANG="es"></SPAN><SPAN LANG="en-gb"></SPAN></P>
</BODY>
</HTML>