problem with check_mrtgtraf
Marc Powell
marc at ena.com
Mon Nov 9 16:38:19 CET 2009
On Nov 8, 2009, at 10:19 PM, 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, bit
Your question is not clear, at least to me, nor is it apparent how
this is related to nagios. PNP4nagios and mrtg are two different
things, getting data from two different places. Both use their own RRD
databases for backends.
RRD files are units-agnostic. They just store a number and it's up to
the presentation layer to determine what units that number is (bits,
Kb, Mb, apples falling/second, etc).
If you're having a problem with MRTG graphs, the proper forum would be
the mrtg listserv.
If you're having a problem with pnp4nagios graphs, the proper forum
would be pnp4nagios-users.
--
Marc
------------------------------------------------------------------------------
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