check_rrdtraf

Marc Powell marc at ena.com
Thu Feb 14 23:57:48 CET 2008



> -----Original Message-----
> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-
> bounces at lists.sourceforge.net] On Behalf Of Pili Muñoz Gargallo
> Sent: Thursday, February 14, 2008 4:48 PM
> To: Israel Brewster
> Cc: Marc Powell; nagios-users at lists.sourceforge.net
> Subject: Re: [Nagios-users] check_rrdtraf
> 
> hi all,
> thanks for the help. I have been trying several things that you told me.
> I'll give more information. I am monitoring bandwith with MRTG and storing
> datas in rrdtool format.
> If i run command from command line is
> 
> ./var/www/html/cfg/62.81.189.118_1.rrd

And 

> /var/www/html/cfg/62.81.189.118_1.rrd

are not the same. They start from, and end up at, completely differently places. That's a fundamental unix concept you need to understand.

In the first, '.' starts the path in your current directory. If you are in '/usr/local/nagios', the full path would then be '/usr/local/nagios/var/www/html/cfg/62.81.189.118_1.rrd'

In the second, '/' starts the path at the root directory. If you are in '/usr/local/nagios', the full path would then be '/var/www/html/cfg/62.81.189.118_1.rrd'.

You want to use the latter as the path to check_rrdtraf--

./check_rrdtraf -f /var/www/html/cfg/62.81.189.118_1.rrd  -l B  -c 3000000,3000000 -w 5000000,5000000

--
Marc


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list