From: Sz Z <zsz...@pr...> - 2004-08-18 12:49:24
|
Hi All, I've compiled and installed the latest release of perfparse (0.99.08) in a gentoo box. I've created the table structure by mysql_create.sql. Nagios generate performace log into serviceperf.log and hostperf.log. gentoo bin # cat /var/nagios/serviceperf.log 1092831013 fs PING PING OK - Packet loss = 0%, RTA = 0.38 ms 1092831063 info_1175/u21 PING PING OK - Packet loss = 0%, RTA = 116.02 ms 1092831083 info_1175/u5 PING PING OK - Packet loss = 0%, RTA = 69.46 ms My problem is the follow: Perfparse insert nothing to mysql database. gentoo bin # ./perfparse -r Filename: /var/nagios/serviceperf.log File open at line 0 and ready to parse: +---------------------------+ +---------------------------+ | Time: 00:00:00 | | New Hosts: 0 | | Line in file: 0 | | New Services: 0 | | Lines Read: 0 | | New Metrics: 0 | | Rate: (line/sec) 0.00 | | Values Recorded: 0 | | Metric/line: 0.00 | | Lines Dropped: 0 | | SQL Queries: 30 | | Deleted Records: 0 | +---------------------------+ +---------------------------+ I've read the FAQ and mailing list archive too, but unfourtunately I wasn't able to find the solution. Can anybody help me? Thanks, Zoli |