Fwd: MRTG Graf

Devinder Singh devinbhullar at gmail.com
Thu May 1 04:09:56 CEST 2008


Hi Guys

I have downloaded the mrtgtraf plugin using Open SUSE 10.3

this is my configuration  please advise if i am on the right track. Thanks

Cfgmaker

openSuSE:/usr/local/mrtg-2 # cfgmaker --global 'WorkDir:
/home/mrtg'            --global 'Options[_]: bits,growright'
--output /home/mrtg/cfg/mrtg1.cfg 192.168.1.106

When i run the above i get a mrtg.cfg file in /home/mrtg/cfg

I ran the following command. I dont get any errors

 openSuSE:/usr/local/mrtg-2 # /usr/local/mrtg-2/bin/mrtg
/home/mrtg/cfg/mrtg1.cfg

but i dont see any graphs or charts on statistics/bandwidth.

I dont see any log file. I am following the instruction is Nagios

define service{
        use                     generic-service ; Inherit values from a
template
        host_name               D-Link
        service_description     Port 1 Bandwidth Usage
        check_command
check_local_mrtgtraf!/home/mrtg/cfg/mrtg.cfg!AVG!1000000,1000000!5000000,5000000!10
        }

I get this error
|







 Port 1 Bandwidth
Usage<http://localhost/nagios/cgi-bin/extinfo.cgi?type=2&host=D-Link&service=Port%201%20Bandwidth%20Usage>
  [image:
Notifications for this service have been
disabled]<http://localhost/nagios/cgi-bin/extinfo.cgi?type=2&host=D-Link&service=Port%201%20Bandwidth%20Usage>
WARNING 05-01-2008 10:06:50 0d 22h 25m 52s 3/3 MRTG data has expired
(20160126 minutes old)
Please i need your help on this

Devinder

2008/5/1 Israel Brewster <israel at frontierflying.com>:

>   On Apr 29, 2008, at 8:11 PM, Devinder Singh wrote:
>
>
>
> ---------- Forwarded message ----------
> From: Devinder Singh <devinbhullar at gmail.com>
> Date: 2008/4/30
> Subject: MRTG Graf
> To: nagiosplug-devel at lists.sourceforge.net
>
>
>
> Hi
>
> I have problems in getting bandwidth statistics using MRTG.
>
> define service{
>         use                          generic-service ; Inherit values from
> a template
>         host_name               D-Link
>         service_description   Port 1 Bandwidth Usage
>         check_command
> check_local_mrtgtraf!/home/mrtg/cfg/mrtg.cfg!AVG!1000000,1000000!5000000,5000000!10
> }
>
> I tried to run the above command and see the file is outdated.
>
> i have ran the cfgmaker program and stored the mrtg.cfg in
> /home/mrtg/cfg/mrtg.cfg
>
> Oh, I should also point out that unless you are using a non-standard
> mrtgtraf plugin, the file specified in your configuration above should be
> the .log file generated my mrtg, not the config file.
>
> -----------------------------------------------
> Israel Brewster
> Computer Support Technician
> Frontier Flying Service Inc.
> 5245 Airport Industrial Rd
> Fairbanks, AK 99709
> (907) 450-7250 x293
> -----------------------------------------------
>
>
>
> Please advise
>
> --
> Devinder
>
>
>
> --
> Devinder
> -------------------------------------------------------------------------
> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
> Don't miss this year's exciting event. There's still time to save $100.
> Use priority code J8TL2D2.
>
> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone_______________________________________________
> 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
>
>
>


-- 
Devinder
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20080501/c86bc01f/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
-------------- next part --------------
_______________________________________________
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