From: Kemp, D. <Dar...@xe...> - 2004-07-21 17:36:37
|
Eureka, I have graphs! For some reason my nagios binary wasn't happy, I verified it had been = built with -with-file-perfdata in config.status, and also verified it = was on in process info. (in fact I could see the perfdata in the details = for the appropriate services) With lack of any better ideas I recompiled = NAGIOS with the following: ./configure --with-nagios-user=3Dnagios --with-nagios-group=3Dnagios = --with-file-perfdata --with-perlcache And reinstalled the binary, now I was getting logfiles. However, you should make a note for 2.0a users, the proper syntax for = the perf data template is: xpdfile_host_perfdata_template=3D$TIMET$\t$HOSTNAME$\t$HOSTOUTPUT$\t$HOST= PERFDATA$ xpdfile_service_perfdata_template=3D$TIMET$\t$HOSTNAME$\t$SERVICEDESC$\t$= SERVICEOUTPUT$\t$SERVICEPERFDATA$ Thanks so much for everyones help, if you guys need a Solaris guinea pig = to test anything just drop me a note. -dkk -----Original Message----- From: Ben Clewett [mailto:Be...@cl...]=20 Sent: Wednesday, July 21, 2004 9:34 AM To: Kemp, Darren Cc: per...@li... Subject: Re: [Perfparse-users] Problems processing serviceperf.log Darren, Just to make sure: You have compiled Nagios to use the performance=20 method of 'file'? Eg, something like: ./configure --with-file-perfdata In my nagios.cfg I now have the following entries: #service_perfdata_command=3Dprocess-service-perfdata xpdfile_service_perfdata_file=3D/usr/local/nagios/var/serviceperf.log xpdfile_service_perfdata_template=3D$TIMET$\t$HOSTNAME$\t$SERVICEDESC$\t$= OUTPUT$\t$PERFDATA$ Please ensure similar entries are similar. Especially the last line=20 which must be identical. You should now have a file with performance data waiting for PerfParse = :) Ben Kemp, Darren wrote: > Just to clarify the directions, do the processing commands get > uncommented? > #host_perfdata_command=3Dprocess-host-perfdata > #service_perfdata_command=3Dprocess-service-perfdata >=20 > Without them I get no logs, and I've verified everything else in the > document is correct (again) >=20 > With these uncommented I get logs, but no graphs. Is there a DEBUG I = can > turn on to see if something funky is going on? >=20 > Thanks for your time. >=20 > -dkk >=20 >=20 > -----Original Message----- > From: Ben Clewett [mailto:Be...@cl...]=20 > Sent: Wednesday, July 21, 2004 9:04 AM > To: Kemp, Darren > Subject: Re: [Perfparse-users] Problems processing serviceperf.log >=20 > Kemp, Darren wrote: >=20 >>I have several hosts updated with the CVS plugins that do indeed have >=20 > the plugin data: >=20 >>OK - load average: 0.13, 0.20, >=20 > 0.21|load1=3D0.132813;15.000000;30.000000;0.000000 > load5=3D0.195313;10.000000;25.000000;0.000000 > load15=3D0.210938;5.000000;20.000000;0.000000 >=20 >>However, not *all* of my NRPE hosts have been updated to the new >=20 > plugins,=20 >=20 >>Will this make a difference? >=20 >=20 > If the plugin produces performance data, PerfParse with parse and = graph > it. >=20 > However, there is a stage between the plugin showing data and = PerfParse=20 > getting it. The same information must appear in the serviceperf.log=20 > file. Can you let this file develop for a while and check it to see=20 > whether there is performance data? >=20 > If there is not, then there are some pointers in the HOWTO on how to=20 > ensure Nagios logs this data. >=20 > Let me know how you get on. >=20 > Regards, Ben. >=20 >=20 >=20 >=20 > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_idG21&alloc_id=10040&op=CCk > _______________________________________________ > Perfparse-users mailing list > Per...@li... > https://lists.sourceforge.net/lists/listinfo/perfparse-users >=20 |