check_mrtgtraf plugin -- no output problem
Norm Dressler
ndressler at dinmar.com
Tue Nov 16 20:31:09 CET 2004
For those who are interested...
The proper syntax for the command for a point to point T-1 on a cisco router:
check_mrtgtraf -F /path/to/logfile/for/interface.log -a MAX 1544000 -w
700000,900000 -c 900001,1544000
Of course, use whatever you like for your warning and critical pairs but the
important piece is that the help screen is wrong. It implies to use a -v and
variable but in fact the -a MAX # is where you declare the max value of the
circuit.
Hope this helps someone out there.
Norm
On November 16, 2004 12:36 pm, Norm Dressler wrote:
> Hi all,
>
> I have moved my graphing needs to mrtg -- I'm looking at check_mrtgtraf and
> at the command line I can't get it to return anything:
>
> ./check_mrtgtraf -F /var/www/mrtg/192.168.140.253_1.log -a MAX -w 50,50
> -c 75,75
>
> Returns nothing, If I add the -v switch for variable, it tells me its an
> invalid option --
> ./check_mrtgtraf: invalid option -- v
> Invalid argument
> Usage: check_mrtgtraf -F <log_file> -a <AVG | MAX> -v <variable> -w
> <warning_pair> -c <critical_pair>
> [-e expire_minutes] [-t timeout] [-v]
> check_mrtgtraf --help
> check_mrtgtraf --version
>
> I checked for more info on check_mrtgtraf but haven't had any success on
> finding it. Can someone please enlighten me with an explanation on the
> syntax for this plugin? I've used 50,50 and 75,75 above only as a start -
> meaning 50% and 75% but I'm not sure that is even accurate. It was just a
> starting point but I can't even get anything to return from it. I can get
> check_mrtg to return fine but it only checks one variable and not both
> (which I believe check_mrtgtraf does).
>
> Thanks for any help in advance.
> Norm
-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
_______________________________________________
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