From: James T. <ja...@nt...> - 2007-03-02 21:47:47
|
Hi i just installed perfparse so that i can use it with oreon. Problem is after i install it it doesn't see any of the nagios host groups i have or hosts. Here's how i installed everything from scratch. Went to Nagios-2.7 ./configure --enable-embedded-perl --with-perlcache --disable-statuswrl --with-default-perfdata make all make install make install-config make install-init make install-commandcmd that installed everything in /usr/local/nagios got perf parse .105.6 ./configure --prefix=/usr/local/nagios --with-imagedir=/usr/local/nagios/share/images/ --with-cgidir=/usr/local/nagios/sbin --with-http_image_path=/nagios/images make make install cat mysql_create.sql | mysql -u root -p nagios double checked the table to make sure everything was there. changed the perfparse.sh.example to perfparse.sh and perfparse.cfg.example to perfparse.cfg commented couple lines outta misccommand.cfg went to nagios.cfg cfg_file=/usr/local/nagios/etc/nagios_perfparse.cfg process_performance_data=1 host_perfdata_ command=process-host-perfdata service_ perfdata_command=process-service-perfdata nagios_perfparse.cfg define command{ command_name process-service-perfdata command_line $USER2$/bin/perfparse_nagios_pipe_command.pl $USER2$/var/perfdata-service.log "$TIMET$" "$HOSTNAME$" "$SERVICEDESC$" "$OUTPUT$" "$SERVICESTATE$" "$PERFDATA$" } I set the db name and host name and all that good stuff and make sure it can at least get in. I logged into the webpage and it's there and everything. restarted nagios with it embedded on the menu I go there to see statistics on servers but it doesn't list any. Help? |