Hi Hugo, Thanks for the reply I am also facing the same issue.
As per you suggestion I have gone through the archieve and found one big thread regarding Nagios graph gap. https://sourceforge.net/mailarchive/message.php?msg_id=007301c84e20$4def [EMAIL PROTECTED] In the thread the working solution as per people is but when I went through the it then found We need to make change in ngraph.ncfg but in current nagiosgraph there is no such file. Pls guide how to solve graph this gap issue. In my machine heartbeat is 600 sec and perf_file_iterval is 60 sec. thanks ================================================== 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 =20 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=3Dprocess-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$ } ================================================== Thanks & Regards Novin Jaiswal Ishi Systems Inc. 201-521-3155(Direct) 732-318-8156(Cell) -----Original Message----- From: Hugo van der Kooij [mailto:[EMAIL PROTECTED] Sent: Sunday, November 30, 2008 2:44 AM To: Nagios Users Mailinglist Subject: Re: [Nagios-users] Nagiosgraph graphs have gaps -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Steve Burton wrote: > Hi, > > I have nagios 3.0.4 running on FreeBSD and I'm using nagiosgraph to > generate rrd's on the data. I'm visualizing the data with both > nagiosgraph and drraw. > > My problem is that the graphs have gaps so I guessing that the rrd's > are not being updated. I'm concentrating on just one service for > debugging and I've run the plugin (which I wrote) from the > command-line many times for a local server and I haven't seen it fail > to connect or report or to time out. It is as though nagios is not > checking the service within the heartbeat of the rrd's in question. I > have set the service check interval to 5 minutes, which I believe to > be the default nagiosgraph step time and the heartbeat is set to the > nagiosgraph default of 600 seconds. > > Can anyone advise me if if this is likely to be the problem and if not > how I can diagnose what is actually going on? I have put a diagnose on the mailinglist for something that is either the same problem or something similar. The problem is that nagios can send several commands into the pipe at once and the other end will only pick up one of them. So the RRD info is not written. The work around is not to allow Nagios to run things in parallel. But it will severly limit the amount of hosts and services one can check with Nagios. This should have been fixed by using the file interface instead of the named pipe. The file interface was introduced about a year ago or even longer back. Please check the mailinglist archives for more details. 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. Nid wyf yn y swyddfa ar hyn o bryd. Anfonwch unrhyw waith i'w gyfieithu. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iD8DBQFJMkQ7BvzDRVjxmYERAvbnAJ437P/4IPK4y2+YRsNdbVvHaqhj6wCePfVN 8qFj5i9wvSodNJCwjlLjUo8= =ymW7 -----END PGP SIGNATURE----- ------------------------------------------------------------------------ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list [email protected] 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list [email protected] 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
