problem with check_mrtgtraf

Morris, Patrick patrick.morris at hp.com
Mon Nov 9 17:17:47 CET 2009


AJay wrote:
> hi, all
>       My nagios is 3.2.0 with pnp-0.4.14 and I installed 
> mrtg-2.14.5-2. I use the default plugin check_mrtgtraf to monitor 
> interface traffic. Our system is not online yet, so the traffic is 
> very low -- sometime 2 KB/s, sometime 800 B/s. Everything works fine 
> except for the graphics. When the traffic is 2 KB/s, the graphics 
> records 2 and unit is KB/s. When the traffic is 800 B/s, the graphics 
> records 800 and the unit changes to B/s. It seems like the graphics 
> only cares about the numbers and ignores the unit, so that makes 
> my MAX traffic 800 KB/s. This is definitely not right. My questions 
> is, how can I set the unit to fixed KB/s and let the plugin convert 
> 800B/s to 0.8KB/s automatically? Thanks in advance!
>
> ps: My mrtg.cfg: Options[_]: growright, bits
>  

I may be misunderstanding here, but it sounds like you're asking about 
mrtg itself, and not check_mrtgtraf? It's not clear what graphs you're 
talking about, but check_mrtgtraf doesn't generate any, or use them. It 
just looks at the MRTG log.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
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