From: <Mat...@ka...> - 2005-02-22 08:50:19
|
per...@li... schrieb am 22.02.2005 09:42:37: > Hi, > > I use Nagios 1.2, MySQL 4.0.22 on a Gentoo-Box. > > I do this in nagios.cfg: > > cfg_file=/usr/nagios/etc/nagios_perfparse.cfg > process_performance_data=1 > host_perfdata_command=process-host-perfdata > service_perfdata_command=process-service-perfdata > > in /usr/nagios/etc/nagios_perfparse.cfg: > > define command{ > command_name process-service-perfdata > command_line $USER2$/bin/perfparse_nagios_pipe_command.pl > /var/nagios/perfdata-service.log "$TIMET$" "$HOSTNAME$" "$SERVICEDESC$" > "$OUTPUT$" "$SERVICESTATE$" "$PERFDATA$" > } > > The $USER2$ is added an points to: "/usr/nagios" > > In /usr/nagios/etc/perfparse.cfg: > > Service_Log = "|/var/nagios/perfdata-service.log" > Use_Storage_Mysql = "yes" > > I created a mysql database and a user with the correct rights and put this > in the perfparse.cfg. > > The file /var/nagios/perfdata-service.log grows and grows but all I found in > the database are the Hosts. I think the Pipe-To-PerfParse is the right for > me. > > Can anybody help me with storage the data? what did I wrong with the config? > > thx mate! > Oliver > Hi Oliver, did you start perfparsed? I think perfparsed is still missing in the docs. matthias |