From: Yves M. <yme...@li...> - 2004-11-19 09:12:49
|
>> Probably because your plugins don't output performance data ? I let Be= n or somebody >> else >> help you on that : I'm quite bad to help on that subject :) > So let me ask in this way: How do I generate performance data? My > current scripts for nrpe (add on for nagios for remote hosts) only give= s > me a human readable output. Maybe that's the _mistake_?! > > Maybe for your interest: this is the only addition I did to my > nagios-config-files: > define command{ > command_name process-service-perfdata > command_line /usr/bin/printf "%b" > "$TIMET$\t$HOSTNAME$\t$SERVICEDESC$\t$OUTPUT$\t$SERVICESTATE$\t$PERFDAT= A$\n" > | $USER2$/bin/perfparse-log2db -c $USER2$/etc/perfparse.cfg > } > Is this sufficient? I don't know if nrpe is able to generate performance data. But before checking that, run your plugins on the command line and check = the result. performance data are after the | character of the output : some output | key1=3Dvalue1 key2=3Dvalue2 The performance data format is more complex than what I wrote. Read the d= ocs. But if you don't have something like "| key1=3Dvalue1 key2=3Dvalue2", the= problem is the plugin that cannot output performance data. Get the latest plugins on the nagiosplug.sf.net CVS :) Yves --=20 - Homepage - http://ymettier.free.fr - http://www.logicacmg.com - - GPG key - http://ymettier.free.fr/gpg.txt - - Maitretarot - http://www.nongnu.org/maitretarot/ - - Perfparse - http://perfparse.sf.net/ - |