Re: [Nagios-users] rrd gaps

2008-01-21 Thread stava
On Sun, 20 Jan 2008 19:36:06 +0100, Hugo van der Kooij <[EMAIL PROTECTED]> 
wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> Lars Stavholm wrote:
> | Hugo van der Kooij wrote:
> | 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
> |
> | Did anyone allready write up a spec file for the software dated
> | 2008-01-08? I do not mind having to write one myself but I rather not
> | waste time on duplicates.
> |
> |> Not sure what you mean there, but here's an rpm spec file for rc5:
> |> .
> 
> That is not a spec file. It is a template to it. Bur a far cry from a

Well, you're right, it is a template, I just thought it could
serve as a good starting point. We use it and it works.

> working spec file. And I guess it is even another addon with a similar
> name.

No, it's the NagiosGrapher addon, we've just decided to use a slightly
different naming convention, nagios-plugins, nagios-grapher, etc.
/L

> - --
> [EMAIL PROTECTED]   http://hugo.vanderkooij.org/
> PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc
> 
>   A: Yes.
>   >Q: Are you sure?
>   >>A: Because it reverses the logical flow of conversation.
>   >>>Q: Why is top posting frowned upon?
> 
> Bored? Click on http://spamornot.org/ and rate those images.
> 
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.7 (GNU/Linux)
> 
> iD8DBQFHk5SCBvzDRVjxmYERAn0fAJ0Yvg/+q5xlRIgICq/5AXn7a9FvAACeOmTb
> TnWaAC8Z7bNLs5ZLe6ucVqM=
> =cIbg
> -END PGP SIGNATURE-
> 
> -
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
> ___
> Nagios-users mailing list
> Nagios-users@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
--
Lars Stavholm



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] rrd gaps

2008-01-20 Thread Hugo van der Kooij
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Lars Stavholm wrote:
| Hugo van der Kooij wrote:
| 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
|
| Did anyone allready write up a spec file for the software dated
| 2008-01-08? I do not mind having to write one myself but I rather not
| waste time on duplicates.
|
|> Not sure what you mean there, but here's an rpm spec file for rc5:
|> .

That is not a spec file. It is a template to it. Bur a far cry from a
working spec file. And I guess it is even another addon with a similar name.

Hugo.

- --
[EMAIL PROTECTED]   http://hugo.vanderkooij.org/
PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc

A: Yes.
>Q: Are you sure?
>>A: Because it reverses the logical flow of conversation.
>>>Q: Why is top posting frowned upon?

Bored? Click on http://spamornot.org/ and rate those images.

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (GNU/Linux)

iD8DBQFHk5SCBvzDRVjxmYERAn0fAJ0Yvg/+q5xlRIgICq/5AXn7a9FvAACeOmTb
TnWaAC8Z7bNLs5ZLe6ucVqM=
=cIbg
-END PGP SIGNATURE-

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] rrd gaps

2008-01-20 Thread Lars Stavholm
Hugo van der Kooij wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> 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
> 
> Did anyone allready write up a spec file for the software dated
> 2008-01-08? I do not mind having to write one myself but I rather not
> waste time on duplicates.

Not sure what you mean there, but here's an rpm spec file for rc5:
.
We've tried the latest package, the one labeled "latest" (the one
after rc5), but never got that one working, so we're sticking with
rc5 for the moment.
/L

> - --
> [EMAIL PROTECTED]   http://hugo.vanderkooij.org/
> PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc
> 
>   A: Yes.
>   >Q: Are you sure?
>   >>A: Because it reverses the logical flow of conversation.
>   >>>Q: Why is top posting frowned upon?
> 
> Bored? Click on http://spamornot.org/ and rate those images.
> 
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.7 (GNU/Linux)
> 
> iD8DBQFHkgW7BvzDRVjxmYERAtTLAKCZBFAErGkz7Bc9Fq9kdffvuiwpHQCcD1nT
> kPU3xjtcpPziQT3QljtGlco=
> =WCMq
> -END PGP SIGNATURE-
> 
> -
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
> ___
> Nagios-users mailing list
> Nagios-users@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 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] rrd gaps

2008-01-19 Thread Hugo van der Kooij
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

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

Did anyone allready write up a spec file for the software dated
2008-01-08? I do not mind having to write one myself but I rather not
waste time on duplicates.

Hugo.

- --
[EMAIL PROTECTED]   http://hugo.vanderkooij.org/
PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc

A: Yes.
>Q: Are you sure?
>>A: Because it reverses the logical flow of conversation.
>>>Q: Why is top posting frowned upon?

Bored? Click on http://spamornot.org/ and rate those images.

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (GNU/Linux)

iD8DBQFHkgW7BvzDRVjxmYERAtTLAKCZBFAErGkz7Bc9Fq9kdffvuiwpHQCcD1nT
kPU3xjtcpPziQT3QljtGlco=
=WCMq
-END PGP SIGNATURE-

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] rrd gaps

2008-01-09 Thread Steffen Poulsen
> > From my experience, gaps are normally caused by missing 
> datasets over 
> > a period of time. RRD expects data within a time window 
> defined in the 
> > "step" and "heartbeat" variables. If data doesn't arrive in this 
> > window, the value for the defined time frame is set to "NaN" (Not a 
> > number), resulting in not being displayed in the generated image.
> > 
> > Missing datasets are often caused by:
> > 
> > - Huge service latencies, e.g. if you got lots of services to be 
> > checked in a rather short period of time. (Got this with 3k 
> services, 
> > which should be checked in a period of 2 minutes -> 25 
> Checks/second 
> > is quite a lot...)
> > 
> > - non-fitting service check intervals. If you check your 
> services in a
> > 15 minute interval, but your rrd files expect data every 5 minutes, 
> > only every third time frame will be filled, resulting in gaps.
> > 
> > Maybe this is of some use.
> 
> It is, it explains a lot. I'll do some adjustments and tests 
> and report back to this thread.

If you report in only every 15 minutes, you will be plain lucky to have
any graph at all. You are required to have two entries inside the same
heartbeat to get a graph drawn (as far as we understand it). The default
heartbeat in the nagios grapher version we installed was 900 (15
minutes).

We recently chose to raise the heartbeat to one hour, so services
scheduled with more than 15 minutes between checks also have a chance of
creating a graph.

We used rrdtool and this little script to assist in the process of
updating our existing rrd files (use with find --exec)

#!/bin/sh
# Update heartbeat values for all datasources in rrd file
# Usage update_rrd_heartbeat.sh  

rrdtool info $1 | grep ds | grep minimal_heartbeat |  perl -pe
's/^ds.*?\[(.*?)\].*?$/$1/g' |
while read line
do
  if [ -n "$line" ]; then
echo "updating $line ds in $1"
rrdtool tune $1 -h $line:$2
  fi
done 

Best regards,
Steffen Poulsen

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] rrd gaps

2008-01-08 Thread Gerd Mueller
Hi,


> interface   file
> perffile_path   /dev/shm

That's all you need.

> Q: Do I need a HOOK Statement?  I've tried all of them with no success.

No!

> service_perfdata_command=process-service-perfdata

that's not needed anymore


> 
> Commands.cfg
>define command{
>command_nameprocess-service-perfdata
>command_line/usr/lib64/nagios/plugins/contrib/fifo_write.pl  
> /var/log/nagios/rw/ngraph.pipe 
> '$HOSTNAME$\t$SERVICEDESC$\t$SERVICEOUTPUT$\t$SERVICEPERFDATA$\n' 3
>}

Not needed anymore!


>define command{
>command_nameprocess-service-perfdata-file
>command_linemv /dev/shm/service-perfdata 
> /dev/shm/service-prefdata.$TIMET$
>}
> 

That's all you need.

Please remove "service_perfdata_command=process-service-perfdata". I am
not sure but think nagios doesn't wirte any perffiles if this command
exists. Could you check /dev/shm for existing files? What das
NagiosGrapher Logfile say?

Cheers,

Gerd

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] rrd gaps

2008-01-07 Thread Lars Stavholm
Eric Aiken wrote:
> Hi Brock  
> 
> Ok, upon further review I see that the write_fifo program is still required. 
> despite not using a fifo.  Here's what I have for relavant config info
> 
> ngraph.ncfg
> 
> buffer  1024
> interface   file
> perffile_path   /dev/shm
> step60
> heartbeat   600
> rrdpath /var/log/nagios/rrd/
> cfg_file=/etc/nagios/ngraph_graphs.cfg
>  This file contains all my graph definitions
> 
> Q: Do I need a HOOK Statement?  I've tried all of them with no success.
> 
> nagios.cfg
> 
> process_performance_data=1
> service_perfdata_command=process-service-perfdata

Maybe you should comment this one (above) out.

> 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_nameprocess-service-perfdata
>command_line/usr/lib64/nagios/plugins/contrib/fifo_write.pl  
> /var/log/nagios/rw/ngraph.pipe 
> '$HOSTNAME$\t$SERVICEDESC$\t$SERVICEOUTPUT$\t$SERVICEPERFDATA$\n' 3
>}
> 
>define command{
>command_nameprocess-service-perfdata-file
>command_linemv /dev/shm/service-perfdata 
> /dev/shm/service-prefdata.$TIMET$
>}
> 
> My datafiles are created and time-stamped, but not processed into rrds.
> Also note that graphing worked as a fifo albeit with gaps.
>  This really comes down to why collect2.pl is not converting
> the files into rrds.  How can I verify that it's "trying" to run?

Look at the log file, which should be defined using the "log_file"
directive together wth the "log_level" in /etc/nagios/ngraph.cfg,
or wherever you keep the NagiosGrapher configuration file.

I have the following, which gives loads of info in the log:

  log_file /var/lib/nagios/grapher.log
  log_level1023

/L

> ---
> This thread is located in the archive at this URL:
> http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi1[showUid]=8007
>   
> 
> -
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
> ___
> Nagios-users mailing list
> Nagios-users@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
> 



-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] rrd gaps

2008-01-07 Thread Brock Kuhse
Odd.  The relevant portions of my working configuration are functionally
identical yours.  I have no HOOK statements in my nagios grapher
configuration, though I can post the full file on the off chance it may help
(if you feel like sifting through it).

It might be worth trying to run the process-service-perfdata command
directly to see what happens (probably while tailing the ngraph log, and
running the command as the nagios user).

Good luck.

- Brock

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:nagios-users-
> [EMAIL PROTECTED] On Behalf Of Eric Aiken
> Sent: Monday, January 07, 2008 5:08 PM
> To: nagios-users@lists.sourceforge.net; [EMAIL PROTECTED]
> Subject: Re: [Nagios-users] rrd gaps
> 
> Hi Brock
> 
> Ok, upon further review I see that the write_fifo program is still
> required. despite not using a fifo.  Here's what I have for relavant
> config info
> 
> ngraph.ncfg
> 
> buffer  1024
> interface   file
> perffile_path   /dev/shm
> step60
> heartbeat   600
> rrdpath /var/log/nagios/rrd/
> cfg_file=/etc/nagios/ngraph_graphs.cfg
>  This file contains all my graph definitions
> 
> Q: Do I need a HOOK Statement?  I've tried all of them with no success.
> 
> nagios.cfg
> 
> process_performance_data=1
> service_perfdata_command=process-service-perfdata
> service_perfdata_file=/dev/shm/service-perfdata
> service_perfdata_file_template=$HOSTNAME$\t$SERVICEDESC$\t$SERVICEOUTPU
> T$\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_nameprocess-service-perfdata
>command_line/usr/lib64/nagios/plugins/contrib/fifo_write.pl
> /var/log/nagios/rw/ngraph.pipe
> '$HOSTNAME$\t$SERVICEDESC$\t$SERVICEOUTPUT$\t$SERVICEPERFDATA$\n' 3
>}
> 
>define command{
>command_nameprocess-service-perfdata-file
>command_linemv /dev/shm/service-perfdata /dev/shm/service-
> prefdata.$TIMET$
>}
> 
> 
> My datafiles are created and time-stamped, but not processed into rrds.
> Also note that graphing worked as a fifo albeit with gaps.  This really
> comes down to why collect2.pl is not converting the files into rrds.
> How can I verify that it's "trying" to run?
> 
> thanks
> 
> - Eric Aiken (Eric.Aiken)



-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] rrd gaps

2008-01-07 Thread Eric Aiken
Hi Brock

Ok, upon further review I see that the write_fifo program is still required. 
despite not using a fifo.  Here's what I have for relavant config info

ngraph.ncfg

buffer  1024
interface   file
perffile_path   /dev/shm
step60
heartbeat   600
rrdpath /var/log/nagios/rrd/
cfg_file=/etc/nagios/ngraph_graphs.cfg
 This file contains all my graph definitions

Q: Do I need a HOOK Statement?  I've tried all of them with no success.

nagios.cfg

process_performance_data=1
service_perfdata_command=process-service-perfdata
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_nameprocess-service-perfdata
   command_line/usr/lib64/nagios/plugins/contrib/fifo_write.pl  
/var/log/nagios/rw/ngraph.pipe 
'$HOSTNAME$\t$SERVICEDESC$\t$SERVICEOUTPUT$\t$SERVICEPERFDATA$\n' 3
   }

   define command{
   command_nameprocess-service-perfdata-file
   command_linemv /dev/shm/service-perfdata 
/dev/shm/service-prefdata.$TIMET$
   }


My datafiles are created and time-stamped, but not processed into rrds.  Also 
note that graphing worked as a fifo albeit with gaps.  This really comes down 
to why collect2.pl is not converting the files into rrds.  How can I verify 
that it's "trying" to run?

thanks

- Eric Aiken (Eric.Aiken)

---
This thread is located in the archive at this URL:
http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi1[showUid]=8007


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] rrd gaps

2008-01-07 Thread Eric Aiken
Hi Brock

Ok, upon further review I see that the write_fifo program is still required. 
despite not using a fifo.  Here's what I have for relavant config info

ngraph.ncfg

buffer  1024
interface   file
perffile_path   /dev/shm
step60
heartbeat   600
rrdpath /var/log/nagios/rrd/
cfg_file=/etc/nagios/ngraph_graphs.cfg
 This file contains all my graph definitions

Q: Do I need a HOOK Statement?  I've tried all of them with no success.

nagios.cfg

process_performance_data=1
service_perfdata_command=process-service-perfdata
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_nameprocess-service-perfdata
   command_line/usr/lib64/nagios/plugins/contrib/fifo_write.pl  
/var/log/nagios/rw/ngraph.pipe 
'$HOSTNAME$\t$SERVICEDESC$\t$SERVICEOUTPUT$\t$SERVICEPERFDATA$\n' 3
   }

   define command{
   command_nameprocess-service-perfdata-file
   command_linemv /dev/shm/service-perfdata 
/dev/shm/service-prefdata.$TIMET$
   }


My datafiles are created and time-stamped, but not processed into rrds.  Also 
note that graphing worked as a fifo albeit with gaps.  This really comes down 
to why collect2.pl is not converting the files into rrds.  How can I verify 
that it's "trying" to run?

thanks

- Eric Aiken (Eric.Aiken)

---
This thread is located in the archive at this URL:
http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi1[showUid]=8007


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] rrd gaps

2008-01-07 Thread Eric Aiken
Hi Brock

Ok, upon further review I see that the write_fifo program is still required. 
despite not using a fifo.  Here's what I have for relavant config info

ngraph.ncfg

buffer  1024
interface   file
perffile_path   /dev/shm
step60
heartbeat   600
rrdpath /var/log/nagios/rrd/
cfg_file=/etc/nagios/ngraph_graphs.cfg
 This file contains all my graph definitions

Q: Do I need a HOOK Statement?  I've tried all of them with no success.

nagios.cfg

process_performance_data=1
service_perfdata_command=process-service-perfdata
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_nameprocess-service-perfdata
   command_line/usr/lib64/nagios/plugins/contrib/fifo_write.pl  
/var/log/nagios/rw/ngraph.pipe 
'$HOSTNAME$\t$SERVICEDESC$\t$SERVICEOUTPUT$\t$SERVICEPERFDATA$\n' 3
   }

   define command{
   command_nameprocess-service-perfdata-file
   command_linemv /dev/shm/service-perfdata 
/dev/shm/service-prefdata.$TIMET$
   }


My datafiles are created and time-stamped, but not processed into rrds.  Also 
note that graphing worked as a fifo albeit with gaps.  This really comes down 
to why collect2.pl is not converting the files into rrds.  How can I verify 
that it's "trying" to run?

thanks

- Eric Aiken (Eric.Aiken)

---
This thread is located in the archive at this URL:
http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi1[showUid]=8007


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] rrd gaps

2008-01-07 Thread Eric Aiken
Hi Brock

Ok, upon further review I see that the write_fifo program is still required. 
despite not using a fifo.  Here's what I have for relavant config info

ngraph.ncfg

buffer  1024
interface   file
perffile_path   /dev/shm
step60
heartbeat   600
rrdpath /var/log/nagios/rrd/
cfg_file=/etc/nagios/ngraph_graphs.cfg
 This file contains all my graph definitions

Q: Do I need a HOOK Statement?  I've tried all of them with no success.

nagios.cfg

process_performance_data=1
service_perfdata_command=process-service-perfdata
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_nameprocess-service-perfdata
   command_line/usr/lib64/nagios/plugins/contrib/fifo_write.pl  
/var/log/nagios/rw/ngraph.pipe 
'$HOSTNAME$\t$SERVICEDESC$\t$SERVICEOUTPUT$\t$SERVICEPERFDATA$\n' 3
   }

   define command{
   command_nameprocess-service-perfdata-file
   command_linemv /dev/shm/service-perfdata 
/dev/shm/service-prefdata.$TIMET$
   }


My datafiles are created and time-stamped, but not processed into rrds.  Also 
note that graphing worked as a fifo albeit with gaps.  This really comes down 
to why collect2.pl is not converting the files into rrds.  How can I verify 
that it's "trying" to run?

thanks

- Eric Aiken (Eric.Aiken)

---
This thread is located in the archive at this URL:
http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi1[showUid]=8007


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] rrd gaps

2008-01-07 Thread Eric Aiken
Hi Brock

Ok, upon further review I see that the write_fifo program is still required. 
despite not using a fifo.  Here's what I have for relavant config info

ngraph.ncfg

buffer  1024
interface   file
perffile_path   /dev/shm
step60
heartbeat   600
rrdpath /var/log/nagios/rrd/
cfg_file=/etc/nagios/ngraph_graphs.cfg
 This file contains all my graph definitions

Q: Do I need a HOOK Statement?  I've tried all of them with no success.

nagios.cfg

process_performance_data=1
service_perfdata_command=process-service-perfdata
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_nameprocess-service-perfdata
   command_line/usr/lib64/nagios/plugins/contrib/fifo_write.pl  
/var/log/nagios/rw/ngraph.pipe 
'$HOSTNAME$\t$SERVICEDESC$\t$SERVICEOUTPUT$\t$SERVICEPERFDATA$\n' 3
   }

   define command{
   command_nameprocess-service-perfdata-file
   command_linemv /dev/shm/service-perfdata 
/dev/shm/service-prefdata.$TIMET$
   }


My datafiles are created and time-stamped, but not processed into rrds.  Also 
note that graphing worked as a fifo albeit with gaps.  This really comes down 
to why collect2.pl is not converting the files into rrds.  How can I verify 
that it's "trying" to run?

thanks

- Eric Aiken (Eric.Aiken)

---
This thread is located in the archive at this URL:
http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi1[showUid]=8007


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] rrd gaps

2008-01-07 Thread Eric Aiken
Hi Brock

Ok, upon further review I see that the write_fifo program is still required. 
despite not using a fifo.  Here's what I have for relavant config info

ngraph.ncfg

buffer  1024
interface   file
perffile_path   /dev/shm
step60
heartbeat   600
rrdpath /var/log/nagios/rrd/
cfg_file=/etc/nagios/ngraph_graphs.cfg
 This file contains all my graph definitions

Q: Do I need a HOOK Statement?  I've tried all of them with no success.

nagios.cfg

process_performance_data=1
service_perfdata_command=process-service-perfdata
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_nameprocess-service-perfdata
   command_line/usr/lib64/nagios/plugins/contrib/fifo_write.pl  
/var/log/nagios/rw/ngraph.pipe 
'$HOSTNAME$\t$SERVICEDESC$\t$SERVICEOUTPUT$\t$SERVICEPERFDATA$\n' 3
   }

   define command{
   command_nameprocess-service-perfdata-file
   command_linemv /dev/shm/service-perfdata 
/dev/shm/service-prefdata.$TIMET$
   }


My datafiles are created and time-stamped, but not processed into rrds.  Also 
note that graphing worked as a fifo albeit with gaps.  This really comes down 
to why collect2.pl is not converting the files into rrds.  How can I verify 
that it's "trying" to run?

thanks

- Eric Aiken (Eric.Aiken)

---
This thread is located in the archive at this URL:
http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi1[showUid]=8007


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] rrd gaps

2008-01-07 Thread Brock Kuhse
Eric,

I think you're missing the ngraph.ncfg component, which seems to tell
collect2.pl that it can grab files in a given directory (I use
/usr/local/nagios/var/rw instead of /dev/shm since I already know the nagios
user has appropriate rights):


interface   file
perffile_path   /dev/shm


- Brock

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Eric Aiken
Sent: Monday, January 07, 2008 4:23 PM
To: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] rrd gaps

Hi Gerd 

Hi Gerd

I'm struggling with the "undocumented" interface-file feature.  I have the
same gaps problem.  I've implemented your suggestions, but I'm confused
about how the data get's converted into rrd's.

with the pipe's version my command.cfg contained
define command{
  command_nameprocess-service-perfdata
  command_line/usr/lib64/nagios/plugins/contrib/fifo_write.pl
/var/log/nagios/rw/ngraph.pipe '$HOSTNAME$  $SERVICEDESC$
$SERVICEOUTPUT$ $SERVICEPERFDATA$' 3
  }
This passed the data into the pipe where the collect2.pl was watching and
converted the data in rrd's

with the file version, I removed that definition and replaced it with:

define command{
   command_name process-service-perfdata-file
   command_line mv /usr/local/nagios/var/service-perfdata
/usr/local/nagios/var/service-perfdata.$TIMET$
   }

Now Nagios sends the data to service-prefdata, which is mv'd to a
timestamped file periodically.

How is the data supposed to get converted into rrd's now?  How does the
collect2.pl daemon know when to process the files?  As it is now, no rrd
files are generated.  collect2.pl is running, nagios is sending the data to
/dev/shm/service-perfdata and then they are moved to
/dev/shm/service-perfdata..  

my fifo version worked, it just had gaps.


thanks for your help

- Eric Aiken (Eric.Aiken)

- Eric Aiken (Eric.Aiken)

---
This thread is located in the archive at this URL:
http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi1[s
howUid]=7829


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Nagios-users mailing list
Nagios-users@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


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] rrd gaps

2008-01-07 Thread Lars Stavholm
Eric Aiken wrote:
> Hi Gerd   
> 
> Hi Gerd
> 
> I'm struggling with the "undocumented" interface-file feature.  I have the 
> same gaps problem.  I've implemented your suggestions, but I'm confused about 
> how the data get's converted into rrd's.
> 
> with the pipe's version my command.cfg contained
> define command{
>   command_nameprocess-service-perfdata
>   command_line/usr/lib64/nagios/plugins/contrib/fifo_write.pl  
> /var/log/nagios/rw/ngraph.pipe '$HOSTNAME$  $SERVICEDESC$   
> $SERVICEOUTPUT$ $SERVICEPERFDATA$' 3
>   }
> This passed the data into the pipe where the collect2.pl was watching and 
> converted the data in rrd's
> 
> with the file version, I removed that definition and replaced it with:
> 
> define command{
>command_name process-service-perfdata-file
>command_line mv /usr/local/nagios/var/service-perfdata 
> /usr/local/nagios/var/service-perfdata.$TIMET$
>}
> 
> Now Nagios sends the data to service-prefdata, which is mv'd to a timestamped 
> file periodically.
> 
> How is the data supposed to get converted into rrd's now?  How does the 
> collect2.pl daemon know when to process the files?  As it is now, no rrd 
> files are generated.  collect2.pl is running, nagios is sending the data to 
> /dev/shm/service-perfdata and then they are moved to 
> /dev/shm/service-perfdata..

The collect2.pl picks up the timestamped files,
processes them and deletes them. Provided that
the NagiosGrapher configuration file, i.e
/etc/nagios/ngraph.ncfg or something similar,
has the correct (file) settings.

As I said earlier, following Gerds instructions
to the letter worked just fine for me.
/L

> my fifo version worked, it just had gaps.
> 
> 
> thanks for your help
> 
> - Eric Aiken (Eric.Aiken)
> 
> - Eric Aiken (Eric.Aiken)
> 
> ---
> This thread is located in the archive at this URL:
> http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi1[showUid]=7829
>   
> 
> -
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
> ___
> Nagios-users mailing list
> Nagios-users@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
> 



-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] rrd gaps

2008-01-07 Thread Eric Aiken
Hi Gerd 

Hi Gerd

I'm struggling with the "undocumented" interface-file feature.  I have the same 
gaps problem.  I've implemented your suggestions, but I'm confused about how 
the data get's converted into rrd's.

with the pipe's version my command.cfg contained
define command{
  command_nameprocess-service-perfdata
  command_line/usr/lib64/nagios/plugins/contrib/fifo_write.pl  
/var/log/nagios/rw/ngraph.pipe '$HOSTNAME$  $SERVICEDESC$   $SERVICEOUTPUT$ 
$SERVICEPERFDATA$' 3
  }
This passed the data into the pipe where the collect2.pl was watching and 
converted the data in rrd's

with the file version, I removed that definition and replaced it with:

define command{
   command_name process-service-perfdata-file
   command_line mv /usr/local/nagios/var/service-perfdata 
/usr/local/nagios/var/service-perfdata.$TIMET$
   }

Now Nagios sends the data to service-prefdata, which is mv'd to a timestamped 
file periodically.

How is the data supposed to get converted into rrd's now?  How does the 
collect2.pl daemon know when to process the files?  As it is now, no rrd files 
are generated.  collect2.pl is running, nagios is sending the data to 
/dev/shm/service-perfdata and then they are moved to 
/dev/shm/service-perfdata..  

my fifo version worked, it just had gaps.


thanks for your help

- Eric Aiken (Eric.Aiken)

- Eric Aiken (Eric.Aiken)

---
This thread is located in the archive at this URL:
http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi1[showUid]=7829


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] rrd gaps

2008-01-04 Thread Lars Stavholm
Gerd Mueller wrote:
> :-) Yes, many thanks to Peter Tuschy, who wrote this patch.
> 
> BTW: Today we put a "current" release on NagiosExchange. Hopefully this
> will be the next stable release. Zooming of graphs is the newest feature
> in this version.

I tried it and it works alright in the sense that the graphs
gets created, but unfortunately the graph icons shows up with
the red border and no graph. Clicking on it does however take
me to a good grahp, as per usual.

Also, the zoom function your talking about, where do I find it?

Cheers
/Lars

> Am Donnerstag, den 03.01.2008, 16:47 -0700 schrieb Brock Kuhse:
>> Likewise here.  Those gaps were driving me crazy, and switching the
>> interface to "file" made them go away (and made our clients happier).
>>
>> Thank you very much, Gerd.
>>
>> - Brock
>>
>> -Original Message-
>> From: [EMAIL PROTECTED]
>> [mailto:[EMAIL PROTECTED] On Behalf Of Lars
>> Stavholm
>> Sent: Thursday, January 03, 2008 4:42 PM
>> To: Gerd Mueller
>> Cc: Nagios Users Mailinglist
>> Subject: Re: [Nagios-users] rrd gaps
>>
>> 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: [EMAIL PROTECTED]
>>>> [mailto:[EMAIL PROTECTED] On Behalf Of Lars
>>>> Stavholm
>>>> Sent: Wednesday, January 02, 2008 7:06 AM
>>>>

Re: [Nagios-users] rrd gaps

2008-01-04 Thread Gerd Mueller
:-) Yes, many thanks to Peter Tuschy, who wrote this patch.

BTW: Today we put a "current" release on NagiosExchange. Hopefully this
will be the next stable release. Zooming of graphs is the newest feature
in this version.

Cheers,
Gerd

Am Donnerstag, den 03.01.2008, 16:47 -0700 schrieb Brock Kuhse:
> Likewise here.  Those gaps were driving me crazy, and switching the
> interface to "file" made them go away (and made our clients happier).
> 
> Thank you very much, Gerd.
> 
> - Brock
> 
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Lars
> Stavholm
> Sent: Thursday, January 03, 2008 4:42 PM
> To: Gerd Mueller
> Cc: Nagios Users Mailinglist
> Subject: Re: [Nagios-users] rrd gaps
> 
> 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: [EMAIL PROTECTED]
> >> [mailto:[EMAIL PROTECTED] On Behalf Of Lars
> >> Stavholm
> >> Sent: Wednesday, January 02, 2008 7:06 AM
> >> To: Mad Unix
> >> Cc: nagios-users@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 <[EMAIL PROTECTED]> wrote:
> >>>> Gerd Mueller wrote:
> >>>>> Hi Lars,
> >>>>>

Re: [Nagios-users] rrd gaps

2008-01-03 Thread Brock Kuhse
Likewise here.  Those gaps were driving me crazy, and switching the
interface to "file" made them go away (and made our clients happier).

Thank you very much, Gerd.

- Brock

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Lars
Stavholm
Sent: Thursday, January 03, 2008 4:42 PM
To: Gerd Mueller
Cc: Nagios Users Mailinglist
Subject: Re: [Nagios-users] rrd gaps

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: [EMAIL PROTECTED]
>> [mailto:[EMAIL PROTECTED] On Behalf Of Lars
>> Stavholm
>> Sent: Wednesday, January 02, 2008 7:06 AM
>> To: Mad Unix
>> Cc: nagios-users@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 <[EMAIL PROTECTED]> 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
>>

Re: [Nagios-users] rrd gaps

2008-01-03 Thread Lars Stavholm
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: [EMAIL PROTECTED]
>> [mailto:[EMAIL PROTECTED] On Behalf Of Lars
>> Stavholm
>> Sent: Wednesday, January 02, 2008 7:06 AM
>> To: Mad Unix
>> Cc: nagios-users@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 <[EMAIL PROTECTED]> 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,
>>&g

Re: [Nagios-users] rrd gaps

2008-01-03 Thread Lars Stavholm
Marcus Fleige wrote:
> Hi there,
> 
> here's my 2 cents about the gaps:
> 
> From my experience, gaps are normally caused by missing datasets over a
> period of time. RRD expects data within a time window defined in
> the "step" and "heartbeat" variables. If data doesn't arrive in this
> window, the value for the defined time frame is set to "NaN" (Not a
> number), resulting in not being displayed in the generated image.
> 
> Missing datasets are often caused by:
> 
> - Huge service latencies, e.g. if you got lots of services to be checked
> in a rather short period of time. (Got this with 3k services, which
> should be checked in a period of 2 minutes -> 25 Checks/second is quite
> a lot...)
> 
> - non-fitting service check intervals. If you check your services in a
> 15 minute interval, but your rrd files expect data every 5 minutes, only
> every third time frame will be filled, resulting in gaps.
> 
> Maybe this is of some use.

It is, it explains a lot. I'll do some adjustments
and tests and report back to this thread.

Thanks
/L


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


Re: [Nagios-users] rrd gaps

2008-01-03 Thread Gerd Mueller
Hi

>  From my experience, gaps are normally caused by missing datasets over a 
> period of time. 

Yes!

> Missing datasets are often caused by:
> 
> - Huge service latencies

That's why I recommend the new interface type. I prevents latencies (see
below).

> 
> - non-fitting service check intervals. 

NagiosGrapher takes care of this. No need for manuell actions.

Gerd


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


Re: [Nagios-users] rrd gaps

2008-01-03 Thread Gerd Mueller
It's not hard. Just use "make update". That should be enough ;-) Could
be that you have to remove old NagiosGrapher.pm File

Gerd

Am Donnerstag, den 03.01.2008, 10:50 -0500 schrieb Palle L Jensen:
> I am not using the most current version of Nagiosgrapher; I am using
> Nagiosgrapher 1.6.1-rc3. How hard is it to upgrade to the newest version?
> 
> Currently I am running below versions and packages from linadd.org, on Linux
> distro - Fedora Core 6.
> - 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
> 
> 
> Thanks,
> Palle
> 
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Gerd Müller
> Sent: Thursday, January 03, 2008 9:32 AM
> To: Palle L Jensen
> Cc: Nagios Users Mailinglist
> Subject: Re: [Nagios-users] rrd gaps
> 
> Which version of NagiosGrapher are you using? The file interface exists
> only in the newest version.
> 
> Gerd
> 
> Am Donnerstag, den 03.01.2008, 09:20 -0500 schrieb Palle L Jensen:
> > Gerd,
> > 
> > After making below changes as you suggested, I did a "pre-flight"
> > 
> > # nagios -v /etc/nagios/nagios.cfg
> > 
> > Nagios 2.9
> > Copyright (c) 1999-2007 Ethan Galstad (http://www.nagios.org) Last
> Modified:
> > 04-10-2007
> > License: GPL
> > 
> > Reading configuration data...
> > 
> > Running pre-flight check on configuration data...
> > 
> > Checking services...
> > Checked 101 services.
> > Checking hosts...
> > Checked 36 hosts.
> > Checking host groups...
> > Checked 6 host groups.
> > Checking service groups...
> > Checked 5 service groups.
> > Checking contacts...
> > Checked 1 contacts.
> > Checking contact groups...
> > Checked 1 contact groups.
> > Checking service escalations...
> > Checked 0 service escalations.
> > Checking service dependencies...
> > Checked 0 service dependencies.
> > Checking host escalations...
> > Checked 0 host escalations.
> > Checking host dependencies...
> > Checked 0 host dependencies.
> > Checking commands...
> > Checked 61 commands.
> > Checking time periods...
> > Checked 3 time periods.
> > Checking extended host info definitions...
> > Checked 36 extended host info definitions.
> > Checking extended service info definitions...
> > Checked 92 extended service info definitions.
> > Checking for circular paths between hosts...
> > Checking for circular host and service dependencies...
> > Checking global event handlers...
> > Checking obsessive compulsive processor commands...
> > Checking misc settings...
> > 
> > Total Warnings: 0
> > Total Errors:   0
> > 
> > Things look okay - No serious problems were detected during the pre-flight
> > check
> > 
> > And then a restart of Nagios and Nagiosgrapher, were Nagiosgrapher failed,
> > 
> > [EMAIL PROTECTED] /]# /etc/init.d/nagios restart
> > /etc/init.d/nagios: warning: nagios is not running
> > Shutting down nagios:  [  OK  ]
> > Starting nagios:   [  OK  ]
> > [EMAIL PROTECTED] /]# /etc/init.d/nagios restart
> > Shutting down nagios:  [  OK  ]
> > Starting nagios:   [  OK  ]
> > [EMAIL PROTECTED] /]# /etc/init.d/ngraph restart
> > Shutting down ngraph:  [  OK  ]
> > Starting ngraph: Use of uninitialized value in bitwise and (&) at
> > /usr/sbin/ngraph line 670.
> > No such signal: SIGfileparse(): need a valid pathname at
> > /usr/lib/perl5/vendor_perl/NagiosGrapher.pm line 1158
> > fileparse(): need a valid pathname at
> > /usr/lib/perl5/vendor_perl/NagiosGrapher.pm line 1158
> >[FAILED]
> > 
> > Do you have any advice?
> > 
> > Thanks,
> > Palle
> > 
> > -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On Behalf Of Gerd
> > Mueller
> > Sent: Thursday, January 03, 2008 4:53 AM
> > To: Nagios Users Mailinglist
> > Subject: Re: [Nagios-users] rrd gaps
> > 
> > Hi,
> > 
> > the old NagiosGrapher interfaces (network/pipe) can cause huge
> > latency :-(. Thanks to a patch we got there is 

Re: [Nagios-users] rrd gaps

2008-01-03 Thread Palle L Jensen

I am not using the most current version of Nagiosgrapher; I am using
Nagiosgrapher 1.6.1-rc3. How hard is it to upgrade to the newest version?

Currently I am running below versions and packages from linadd.org, on Linux
distro - Fedora Core 6.
- 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


Thanks,
Palle

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Gerd Müller
Sent: Thursday, January 03, 2008 9:32 AM
To: Palle L Jensen
Cc: Nagios Users Mailinglist
Subject: Re: [Nagios-users] rrd gaps

Which version of NagiosGrapher are you using? The file interface exists
only in the newest version.

Gerd

Am Donnerstag, den 03.01.2008, 09:20 -0500 schrieb Palle L Jensen:
> Gerd,
> 
> After making below changes as you suggested, I did a "pre-flight"
> 
> # nagios -v /etc/nagios/nagios.cfg
> 
> Nagios 2.9
> Copyright (c) 1999-2007 Ethan Galstad (http://www.nagios.org) Last
Modified:
> 04-10-2007
> License: GPL
> 
> Reading configuration data...
> 
> Running pre-flight check on configuration data...
> 
> Checking services...
> Checked 101 services.
> Checking hosts...
> Checked 36 hosts.
> Checking host groups...
> Checked 6 host groups.
> Checking service groups...
> Checked 5 service groups.
> Checking contacts...
> Checked 1 contacts.
> Checking contact groups...
> Checked 1 contact groups.
> Checking service escalations...
> Checked 0 service escalations.
> Checking service dependencies...
> Checked 0 service dependencies.
> Checking host escalations...
> Checked 0 host escalations.
> Checking host dependencies...
> Checked 0 host dependencies.
> Checking commands...
> Checked 61 commands.
> Checking time periods...
> Checked 3 time periods.
> Checking extended host info definitions...
> Checked 36 extended host info definitions.
> Checking extended service info definitions...
> Checked 92 extended service info definitions.
> Checking for circular paths between hosts...
> Checking for circular host and service dependencies...
> Checking global event handlers...
> Checking obsessive compulsive processor commands...
> Checking misc settings...
> 
> Total Warnings: 0
> Total Errors:   0
> 
> Things look okay - No serious problems were detected during the pre-flight
> check
> 
> And then a restart of Nagios and Nagiosgrapher, were Nagiosgrapher failed,
> 
> [EMAIL PROTECTED] /]# /etc/init.d/nagios restart
> /etc/init.d/nagios: warning: nagios is not running
> Shutting down nagios:  [  OK  ]
> Starting nagios:   [  OK  ]
> [EMAIL PROTECTED] /]# /etc/init.d/nagios restart
> Shutting down nagios:  [  OK  ]
> Starting nagios:   [  OK  ]
> [EMAIL PROTECTED] /]# /etc/init.d/ngraph restart
> Shutting down ngraph:  [  OK  ]
> Starting ngraph: Use of uninitialized value in bitwise and (&) at
> /usr/sbin/ngraph line 670.
> No such signal: SIGfileparse(): need a valid pathname at
> /usr/lib/perl5/vendor_perl/NagiosGrapher.pm line 1158
> fileparse(): need a valid pathname at
> /usr/lib/perl5/vendor_perl/NagiosGrapher.pm line 1158
>[FAILED]
> 
> Do you have any advice?
> 
> Thanks,
> Palle
> 
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Gerd
> Mueller
> Sent: Thursday, January 03, 2008 4:53 AM
> To: Nagios Users Mailinglist
> Subject: Re: [Nagios-users] rrd gaps
> 
> 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_inter

Re: [Nagios-users] rrd gaps

2008-01-03 Thread Marcus Fleige
Hi there,

here's my 2 cents about the gaps:

 From my experience, gaps are normally caused by missing datasets over a 
period of time. RRD expects data within a time window defined in
the "step" and "heartbeat" variables. If data doesn't arrive in this 
window, the value for the defined time frame is set to "NaN" (Not a 
number), resulting in not being displayed in the generated image.

Missing datasets are often caused by:

- Huge service latencies, e.g. if you got lots of services to be checked 
in a rather short period of time. (Got this with 3k services, which 
should be checked in a period of 2 minutes -> 25 Checks/second is quite 
a lot...)

- non-fitting service check intervals. If you check your services in a 
15 minute interval, but your rrd files expect data every 5 minutes, only 
every third time frame will be filled, resulting in gaps.

Maybe this is of some use.

Regards,

Marcus Fleige

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


Re: [Nagios-users] rrd gaps

2008-01-03 Thread Gerd Müller
Which version of NagiosGrapher are you using? The file interface exists
only in the newest version.

Gerd

Am Donnerstag, den 03.01.2008, 09:20 -0500 schrieb Palle L Jensen:
> Gerd,
> 
> After making below changes as you suggested, I did a "pre-flight"
> 
> # nagios -v /etc/nagios/nagios.cfg
> 
> Nagios 2.9
> Copyright (c) 1999-2007 Ethan Galstad (http://www.nagios.org) Last Modified:
> 04-10-2007
> License: GPL
> 
> Reading configuration data...
> 
> Running pre-flight check on configuration data...
> 
> Checking services...
> Checked 101 services.
> Checking hosts...
> Checked 36 hosts.
> Checking host groups...
> Checked 6 host groups.
> Checking service groups...
> Checked 5 service groups.
> Checking contacts...
> Checked 1 contacts.
> Checking contact groups...
> Checked 1 contact groups.
> Checking service escalations...
> Checked 0 service escalations.
> Checking service dependencies...
> Checked 0 service dependencies.
> Checking host escalations...
> Checked 0 host escalations.
> Checking host dependencies...
> Checked 0 host dependencies.
> Checking commands...
> Checked 61 commands.
> Checking time periods...
> Checked 3 time periods.
> Checking extended host info definitions...
> Checked 36 extended host info definitions.
> Checking extended service info definitions...
> Checked 92 extended service info definitions.
> Checking for circular paths between hosts...
> Checking for circular host and service dependencies...
> Checking global event handlers...
> Checking obsessive compulsive processor commands...
> Checking misc settings...
> 
> Total Warnings: 0
> Total Errors:   0
> 
> Things look okay - No serious problems were detected during the pre-flight
> check
> 
> And then a restart of Nagios and Nagiosgrapher, were Nagiosgrapher failed,
> 
> [EMAIL PROTECTED] /]# /etc/init.d/nagios restart
> /etc/init.d/nagios: warning: nagios is not running
> Shutting down nagios:  [  OK  ]
> Starting nagios:   [  OK  ]
> [EMAIL PROTECTED] /]# /etc/init.d/nagios restart
> Shutting down nagios:  [  OK  ]
> Starting nagios:   [  OK  ]
> [EMAIL PROTECTED] /]# /etc/init.d/ngraph restart
> Shutting down ngraph:  [  OK  ]
> Starting ngraph: Use of uninitialized value in bitwise and (&) at
> /usr/sbin/ngraph line 670.
> No such signal: SIGfileparse(): need a valid pathname at
> /usr/lib/perl5/vendor_perl/NagiosGrapher.pm line 1158
> fileparse(): need a valid pathname at
> /usr/lib/perl5/vendor_perl/NagiosGrapher.pm line 1158
>[FAILED]
> 
> Do you have any advice?
> 
> Thanks,
> Palle
> 
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Gerd
> Mueller
> Sent: Thursday, January 03, 2008 4:53 AM
> To: Nagios Users Mailinglist
> Subject: Re: [Nagios-users] rrd gaps
> 
> 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 

Re: [Nagios-users] rrd gaps

2008-01-03 Thread Palle L Jensen
Gerd,

After making below changes as you suggested, I did a "pre-flight"

# nagios -v /etc/nagios/nagios.cfg

Nagios 2.9
Copyright (c) 1999-2007 Ethan Galstad (http://www.nagios.org) Last Modified:
04-10-2007
License: GPL

Reading configuration data...

Running pre-flight check on configuration data...

Checking services...
Checked 101 services.
Checking hosts...
Checked 36 hosts.
Checking host groups...
Checked 6 host groups.
Checking service groups...
Checked 5 service groups.
Checking contacts...
Checked 1 contacts.
Checking contact groups...
Checked 1 contact groups.
Checking service escalations...
Checked 0 service escalations.
Checking service dependencies...
Checked 0 service dependencies.
Checking host escalations...
Checked 0 host escalations.
Checking host dependencies...
Checked 0 host dependencies.
Checking commands...
Checked 61 commands.
Checking time periods...
Checked 3 time periods.
Checking extended host info definitions...
Checked 36 extended host info definitions.
Checking extended service info definitions...
Checked 92 extended service info definitions.
Checking for circular paths between hosts...
Checking for circular host and service dependencies...
Checking global event handlers...
Checking obsessive compulsive processor commands...
Checking misc settings...

Total Warnings: 0
Total Errors:   0

Things look okay - No serious problems were detected during the pre-flight
check

And then a restart of Nagios and Nagiosgrapher, were Nagiosgrapher failed,

[EMAIL PROTECTED] /]# /etc/init.d/nagios restart
/etc/init.d/nagios: warning: nagios is not running
Shutting down nagios:  [  OK  ]
Starting nagios:   [  OK  ]
[EMAIL PROTECTED] /]# /etc/init.d/nagios restart
Shutting down nagios:  [  OK  ]
Starting nagios:   [  OK  ]
[EMAIL PROTECTED] /]# /etc/init.d/ngraph restart
Shutting down ngraph:  [  OK  ]
Starting ngraph: Use of uninitialized value in bitwise and (&) at
/usr/sbin/ngraph line 670.
No such signal: SIGfileparse(): need a valid pathname at
/usr/lib/perl5/vendor_perl/NagiosGrapher.pm line 1158
fileparse(): need a valid pathname at
/usr/lib/perl5/vendor_perl/NagiosGrapher.pm line 1158
   [FAILED]

Do you have any advice?

Thanks,
Palle

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Gerd
Mueller
Sent: Thursday, January 03, 2008 4:53 AM
To: Nagios Users Mailinglist
Subject: Re: [Nagios-users] rrd gaps

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
&g

Re: [Nagios-users] rrd gaps

2008-01-03 Thread Gerd Mueller
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: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Lars
> Stavholm
> Sent: Wednesday, January 02, 2008 7:06 AM
> To: Mad Unix
> Cc: nagios-users@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 <[EMAIL PROTECTED]> 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

Re: [Nagios-users] rrd gaps

2008-01-02 Thread 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: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Lars
Stavholm
Sent: Wednesday, January 02, 2008 7:06 AM
To: Mad Unix
Cc: nagios-users@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 <[EMAIL PROTECTED]> 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/vse012070mrt/direct/01/
>>>> ___ Nagios-users mailing
list Nagios-users@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/vse012070mrt/direct/01/
>> ___
>> Nagios-users mailing list
>> Nagios-users@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/vse012070mrt/direct/01/
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and

Re: [Nagios-users] rrd gaps

2008-01-02 Thread Lars Stavholm
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 <[EMAIL PROTECTED]> 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/vse012070mrt/direct/01/
 ___ Nagios-users mailing list 
 Nagios-users@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/vse012070mrt/direct/01/
>> ___
>> Nagios-users mailing list
>> Nagios-users@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/vse012070mrt/direct/01/
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] rrd gaps

2008-01-02 Thread Lars Stavholm
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/vse012070mrt/direct/01/
>> ___ Nagios-users mailing list 
>> Nagios-users@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/vse012070mrt/direct/01/
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] rrd gaps

2008-01-02 Thread Gerd Mueller
Hi Lars,

which interface are you using? And how big is your nagios' latency?

Cheers,

Gerd

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/vse012070mrt/direct/01/
> ___ Nagios-users mailing list 
> Nagios-users@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
-- 
Gerd Mueller  
Senior Consultant

NETWAYS GmbH | Deutschherrnstr. 47a | D-90429 Nürnberg 
Tel: +49 911 92885-0 | Fax: +49 911 92885-33 
GF: Julian Hein | AG Nürnberg HRB18461 
 
http://www.netways.de | [EMAIL PROTECTED] 

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

[Nagios-users] rrd gaps

2008-01-02 Thread 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/vse012070mrt/direct/01/___
Nagios-users mailing list
Nagios-users@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