From: Ben C. <Be...@cl...> - 2004-07-09 10:10:16
|
Yves Mettier wrote: > A request has been requested ? Funny :) Excuse my English! You should see my French :) > Well, after reading the doc, I still don't get it. Where exactly do we get that value ? I think the line in nagios.cfg: xpdfile_service_perfdata_template=$TIMET$\t$HOSTNAME$\t$SERVICEDESC$\t$OUTPUT$\t$PERFDATA$ Should now be: xpdfile_service_perfdata_template=$TIMET$\t$HOSTNAME$\t$SERVICEDESC$\t$OUTPUT$\t$PERFDATA$\t$SERVICESTATE$ But this is untested. > Well... you can do basic support in 0.0.12 and people will not have to update their > database twice ? > 1/ add the field in the database > 2/ adapt the tools not to crash with this new field > 3/ update convert.c > > Then perfparse will feed the database with a default value. This makes work easier for > after. > > >>3. Changing perfparse to scan 'nagios.cfg' to check Nagios is using the >>correct format, and exit on error if not correct. >>4. Updating the raw data report to display this value. >>5. Including a 'configure' definition of where to expect the Nagios >>'etc' directory., default /usr/local/nagios/etc. > > > In 0.0.13 or after ? Definitely after 0.0.12. Depending on time, developer resources and other requirements, hopefully in next 2-3 releases. But as you say, to avoid too many database updates, I can add the field in the current release, 0.0.12. Ben |