rrd gaps

Lars Stavholm stava at telcotec.se
Fri Jan 4 00:41:32 CET 2008


Yup, thanks Gerd, that did the trick.

I followed your instructions to the letter
and ended up with no gaps:)

Thanks
/L

Gerd Mueller wrote:
> Hi,
> 
> the old NagiosGrapher interfaces (network/pipe) can cause huge
> latency :-(. Thanks to a patch we got there is a new interface type
> "file". The main advantages of this new interface are:
> * no gaps any more
> * no latency caused by NagiosGrapher
> * restarting NagiosGrapher does not cause any gaps
> 
> I am sorry but the documentation totally lacks this interface. But below
> is all you need.
> 
> Cheers,
> 
> Gerd
> 
> 
> 
> 
>  
> ngraph.ncfg:
> 
>     interface               file
>     perffile_path           /dev/shm
> 
> nagios.cfg:
> 
>     process_performance_data=1
>     service_perfdata_file=/dev//shm/service-perfdata
>     service_perfdata_file_template=$HOSTNAME$\t$SERVICEDESC$\t
> $SERVICEOUTPUT$\t$SERVICEPERFDATA$\t$TIMET$
>     service_perfdata_file_mode=a
>     service_perfdata_file_processing_interval=60
> 
> service_perfdata_file_processing_command=process-service-perfdata-file
> 
> 
> commands.cfg:
> define command{
>         command_name process-service-perfdata-file
>         command_line
> mv /dev/shm/service-perfdata /dev/shm/service-perfdata.$TIMET$
>         }
> 
> 
> 
> Am Mittwoch, den 02.01.2008, 13:29 -0500 schrieb Palle L Jensen:
>> Lars and Gerd,
>>
>> I am having a similar problem with rrd gaps.
>> It was doing fine until I added 3 more hosts and 8 more services and then
>> suddenly I get the rrd gaps, some graphs are even blank.
>>
>> My latency are as below (they seem pretty high compared to yours?):
>>
>> # nagiostats | grep -i latency
>> Active Service Latency:               6.804 / 330.675 / 238.562 sec
>> Active Host Latency:                  0.000 / 0.000 / 0.000 sec
>>
>>
>> nagiostats | grep -i total
>> Used/High/Total Command Buffers:      0 / 8 / 4096
>> Used/High/Total Check Result Buffers: 85 / 106 / 4096
>> Total Services:                       106
>> Total Service State Change:           0.000 / 0.000 / 0.000 %
>> Total Hosts:                          36
>> Total Host State Change:              0.000 / 0.000 / 0.000 %
>>
>>
>> I also use the rpm package from linadd.org.
>> nagios-2.9-1.i586.rpm,
>> nagios-web-2.9-1.i586.rpm,
>> nagios-plugins-1.4.9-1.i586.rpm,
>> nagios-plugins-extras-1.4.9-1.i586.rpm
>> nagios-graph-1.6.1-rc3.i586.rpm
>>
>> If you find any solution for this I would be more than happy :)
>>
>> Thanks,
>> - Palle
>>
>> -----Original Message-----
>> From: nagios-users-bounces at lists.sourceforge.net
>> [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Lars
>> Stavholm
>> Sent: Wednesday, January 02, 2008 7:06 AM
>> To: Mad Unix
>> Cc: nagios-users at lists.sourceforge.net
>> Subject: Re: [Nagios-users] rrd gaps
>>
>> Mad Unix wrote:
>>> Can you tell me how did you implement graph beside the nagios
>> Let's keep this on the list, shall we?
>>
>> I used rpm packages from linadd.org.
>>
>>> Thanks
>> You're welcome.
>> /L
>>
>>> On Jan 2, 2008 12:01 PM, Lars Stavholm <stava at telcotec.se> wrote:
>>>> Gerd Mueller wrote:
>>>>> Hi Lars,
>>>>>
>>>>> which interface are you using? And how big is your nagios' latency?
>>>> I don't quite understand the first question there?
>>>> We use the Nagios web interface with the nuvola theme?
>>>>
>>>> We have only a few hosts and around a hundred service checks,
>>>> i.e. no heavy load here:
>>>>
>>>> # nagiostats | grep -i latency
>>>> Active Service Latency:                 0.000 / 0.335 / 0.135 sec
>>>> Passive Service Latency:                0.000 / 0.000 / 0.000 sec
>>>> Active Host Latency:                    0.000 / 0.284 / 0.152 sec
>>>> Passive Host Latency:                   0.000 / 0.000 / 0.000 sec
>>>>
>>>> # nagiostats | grep -i total
>>>> Used/High/Total Command Buffers:        0 / 1 / 4096
>>>> Total Services:                         114
>>>> Total Service State Change:             0.000 / 12.110 / 0.106 %
>>>> Total Hosts:                            19
>>>> Total Host State Change:                0.000 / 0.000 / 0.000 %
>>>>
>>>> /L
>>>>
>>>>
>>>>> Am Mittwoch, den 02.01.2008, 10:13 +0100 schrieb Lars Stavholm:
>>>>>> Hi All,
>>>>>>
>>>>>> we use latest nagios-3 and latest NagiosGrapher-1.6.1-rc5.
>>>>>>
>>>>>> It all works very well, except for one annoying problem:
>>>>>> I get gaps in the graphs, and I don't understand why.
>>>>>>
>>>>>> Any ideas appreciated, sample graph attached.
>>>>>>
>>>>>> R
>>>>>> /Lars
>>>>>>
>> -------------------------------------------------------------------------
>>>>>> This SF.net email is sponsored by: Microsoft
>>>>>> Defy all challenges. Microsoft(R) Visual Studio 2005.
>>>>>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>>>>>> _______________________________________________ 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
>>>>
>>>> -------------------------------------------------------------------------
>>>> This SF.net email is sponsored by: Microsoft
>>>> Defy all challenges. Microsoft(R) Visual Studio 2005.
>>>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>>>> _______________________________________________
>>>> 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
>>>>
>>>
>>>
>>
>>
>> -------------------------------------------------------------------------
>> This SF.net email is sponsored by: Microsoft
>> Defy all challenges. Microsoft(R) Visual Studio 2005.
>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>> _______________________________________________
>> 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
>>
>>
>> -------------------------------------------------------------------------
>> This SF.net email is sponsored by: Microsoft
>> Defy all challenges. Microsoft(R) Visual Studio 2005.
>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>> _______________________________________________
>> 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



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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