From: Ben C. <Be...@cl...> - 2004-05-27 16:19:02
|
Could be the one! Yes, this is set to '1' in my parent table. Best of luck.... Ben Cook, Garry wrote: > Marcelo, > As Ben is aware, I'm currently seeing the same problem that I think you > are having. I'm not sure, as I have not seen your original message. > The good news is, I think I've finally stumbled upon the solution! > Unfortunately, I don't have time to test it right now, but here is what > I've found: > > In the services.cfg, there is a directive in the service definitions > called 'process_perf_data'. I found this in the main 'generic-service' > template. Unfortunately, I've created my own template services and did > not include this in some of them, which is probably the source of my > issue. I'm going to test it now, but was so excited about the prospect > of finally finding a solution, I figured I would tell you guys right away. > > Good Luck! > -g > > -----Original Message----- > *From:* per...@li... on behalf of Ben > Clewett > *Sent:* Thu 5/27/2004 2:09 AM > *To:* per...@li... > *Cc:* > *Subject:* [Perfparse-users] No data in serviceperf.log file. > > Marcelo, > > Thanks for the information. > > First, can I suggest you upgrade perfparse to the latest version, 0.05. > The version you have has a memory problems. > > More importantly, your nagios is not producing performance data. Can > you please check for me: > > 1. You are using the latest Nagios, 1.2. > > 2. You are using the latest nagios plugins. Only these produce > performance data. You can check this by running one, like 'check_disk'. > If you have performance data, this should reply: > > DISK OK - free space: / 8089 MB (22%); /boot 35 MB (76%) | > /=8089MB;33312;35163;0;37014 /boot=34MB;40;42;0;45 > > You can see the performance data beyond the '|'. > > 3. You have compiled nagios with the option to produce performance data. > Using the '--with-file-perfdata'. Ie: > > ./configure --with-file-perfdata > > 4. Set the permissions on the servicelog file as -rw-rw-r-- ie: > $ chmod 664 serviceperf.log > > 5. Check 'nagios.cfg', ensure you have these lines somewhere: > > process_performance_data=1 > xpdfile_host_perfdata_file=/usr/local/nagios/var/hostperf.log > xpdfile_host_perfdata_template=$TIMET$\t$HOSTNAME$\t$OUTPUT$\t$PERFDATA$ > xpdfile_service_perfdata_file=/usr/local/nagios/var/serviceperf.log > xpdfile_service_perfdata_template=$TIMET$\t$HOSTNAME$\t$SERVICEDESC$\t$OUTPUT$\t$PERFDATA$ > > Regard, Ben > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: Oracle 10g > Get certified on the hottest thing ever to hit the market... Oracle 10g. > Take an Oracle 10g class now, and we'll give you the exam FREE. > http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click > <http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click> > _______________________________________________ > Perfparse-users mailing list > Per...@li... > https://lists.sourceforge.net/lists/listinfo/perfparse-users > |