From: Yves <yme...@pe...> - 2005-02-18 18:01:30
|
Eduardo, your mail is excellent. I'm sorry to answer too short. I hope so= me will answer longer. My answer is short because I don't know much at nagios-2.X; However, I know that with nagios-2.X, you can compile it to write the per= fdata directly to a pipe. So you don't need perfparse_nagios_pipe_command.pl. When you compile nagios, I see that you use --with-default-perfdata. Isn'= t there another option to use the pipe ? > <SHELL>./configure --prefix=3D/opt/nagios \ > --with-template-objects \ > --with-template-extinfo \ > --with-init-dir=3D/etc/rc.d/init.d/ \ > --with-default-status \ > --with-default-comments \ > --with-default-retention \ > --with-default-downtime \ > --with-default-perfdata \ > --with-nagios-user=3Dnagios \ > --with-nagios-group=3Dnagios \ > --with-gd-inc=3D/opt/local/include \ > --with-gd-lib=3D/opt/local/lib I saw that command twice in your mail. This is probably why nagios compla= ins. > command_name process-service-perfdata > <SHELL>/opt/nagios/bin/nagios -v /opt/nagios/etc/nagios.cfg > Error: Command 'process-service-perfdata' has already been defined > Error: Could not register command (config file > '/opt/nagios/etc/nagios_perfparse.cfg', starting on line 19) I won't help you more on that because the solution is different : configu= re your nagios-2.X to write directly to a pipe. Don't use process-service-perfdat= a :) Those who use nagios-2.X, please help Eduardo because both Ben and I are = using nagios-1.2. Eduardo or anybody else, could you write a document on how to best instal= l nagios+perfparse when nagios is 2.0 ? 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://www.perfparse.org/ - |