From: Tim W. <tim...@gm...> - 2004-11-19 09:26:02
|
The problem is not with nrpe, nrpe simply allows you to safely run nagios commands on other servers than the one nagios is running on, and transfer the output to nagios. You will need to check each and every server to see if the commands that nrpe runs on these servers output perfdata. so ... Step 1: check configuration files on the Nagios server and make a list of servers and the commands that nrpe runs on them. Step 2: on each of these servers, run the actual command (not nrpe) and check the output for perfdata. Step 3: upgrade the commands on each server if necessary. hope this helps. Tim On Fri, 19 Nov 2004 10:12:44 +0100 (CET), Yves Mettier <yme...@li...> wrote: > > > > >> Probably because your plugins don't output performance data ? I let Ben 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 gives > > 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$PERFDATA$\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=value1 key2=value2 > The performance data format is more complex than what I wrote. Read the docs. > But if you don't have something like "| key1=value1 key2=value2", the problem is the > plugin that cannot output performance data. Get the latest plugins on the > nagiosplug.sf.net CVS :) > > > > Yves > > -- > - 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/ - > > ------------------------------------------------------- > This SF.Net email is sponsored by: InterSystems CACHE > FREE OODBMS DOWNLOAD - A multidimensional database that combines > robust object and relational technologies, making it a perfect match > for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 > _______________________________________________ > Perfparse-users mailing list > Per...@li... > https://lists.sourceforge.net/lists/listinfo/perfparse-users > |