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: [email protected]; [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 > step 60 > 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_name process-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_name process-service-perfdata-file > command_line mv /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 [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
