[Orca-users] Re: Config confusion...

Blair Zajac blair at orcaware.com
Mon Jun 28 21:21:11 PDT 2004


Andy Harrison wrote:

> On Fri, 18 Jun 2004 11:30:08 -0400, Andy Harrison <aharrison at gmail.com> wrote:
> 
>>On Wed, 16 Jun 2004 15:51:44 -0400, Andy Harrison <aharrison at gmail.com> wrote:
>>
>>>I'm having trouble graphing this data and wondered if anyone could
>>>help me along.
>>>
>>>Here's the config file I'm trying out:
>>>
>>>pop.cfg
>>
>>>date_source column_name epoch
>>
>>I tried changing this line from epoch to pluginoutput, but it didn't
>>help.  Anyone have any ideas?
> 
> 
> 
> I finally noticed that you could do -v -v -v for more detail, and it
> is enlightening, but I'm not sure how to fix this...
> 
> # orca -once -v -v -v pop.cfg                                             
> Orca version 0.265 using RRDs version 1.000451 at Fri Jun 18 12:05:47 2004.
> /usr/local/bin/orca: warning: cannot open state file
> `/usr/local/var/nagios/orca/POP/orca_state.log' for reading: No such
> file or directory
> Creating orca_logo.gif.
> Creating rrdtool_logo.gif.
> Creating rothschild_image_logo.png.
> Finding files and setting up data structures at Fri Jun 18 12:05:47 2004.
>   /usr/local/var/nagios/orca/POP/input/POP_server1.log
> /usr/local/bin/orca: making directory `/usr/local/share/nagios/orca/POP/POP'.
> nagios     74856  0.0  0.0   304  176  p8  R+   12:05PM   0:00.00 grep 74852
> nagios     74852  0.0  0.4  4684 4280  p8  S+   12:05PM   0:00.17
> /usr/bin/perl -w /usr/local/bin/orca -once -v -v -v pop.cfg
> nagios     74854  0.0  0.0   632  452  p8  S+   12:05PM   0:00.00 sh
> -c /bin/ps aux | grep 74852
> Current running time is 0:00 minutes.
> Loading new data from group POP.
>   Loaded `1074290315 0.003' at Wed Dec 31 19:00:00 1969 (0.003).
>   Loaded `1074362915 0.003' at Wed Dec 31 19:00:00 1969 (0.003).
>   Loaded `1074464685 0.003' at Wed Dec 31 19:00:00 1969 (0.003).
>   Loaded `1074628735 0.003' at Wed Dec 31 19:00:00 1969 (0.003).
> ----(snip several hundred lines)-----
>   Loaded `1086639746 0.004' at Wed Dec 31 19:00:00 1969 (0.004).
>   Loaded `1063900187 0.001' at Wed Dec 31 19:00:00 1969 (0.001).

Looks like some problems with the timestamps here.  RRD will not add any data 
older than the youngest timestamp that currently exists in the RRD file.

Here the line with the timestamp 1086639746 occurs before the timestamp 1063900187.

And you're pulling the time from the wrong column.  The number in the last set 
of parentheses should be the timestamp, not the number less than one second.

Best,
Blair

-- 
Blair Zajac <blair at orcaware.com>
Plots of your system's performance - http://www.orcaware.com/orca/



More information about the Orca-users mailing list