|
From: Ben C. <be...@cl...> - 2004-06-20 08:27:11
|
Jon,
I think there is a problems with the format of your serviceperf.log.
You can see the FROM_UNIXTIME() which should be a number and not
EVAN-SWR-MDF-C. This file could definitely be corrupt, or the options
in your nagios.cfg are wrong. Can I suggest you look at the HOWTO for
details of the correct options in nagios.cfg, and, I am sorry to say,
delete your servicelog.cfg which is obviously not in a happy state.
Regards, Ben.
Jon Lyons wrote:
> Ben,
> I've upgraded to the latest version of perfparse,
> but somehow the serviceperf.log file keeps getting
> currupted with extra characters and then parfpase
> erros out;
> "INSERT INTO perfdata_service_raw (host_name,
> service_description, ctime, txt_data) VALUES
> ('PING','PING OK - Packet loss = 0%, RTA = 1.98
> ms',FROM_UNIXTIME(EVAN-SWR-MDF-C),'packet_loss=0%;10;20;0;100
> RTA=1.98ms;0;0.000000;;
>
> I have to edit/delete the log files to correct the
> problem. I think because nagios and perfpaese are
> trying to access the file at the same?(I've got a
> weird setup with NFS invovled so thats probably it).
>
> Also, I'm not seeing any data with my check_ping &
> check_ifstatus plugins, the graphs are blank, with 0 samples...
>
>
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Mail - Helps protect you from nasty viruses.
> http://promotions.yahoo.com/new_mail
>
|