|
From: Ben C. <Be...@cl...> - 2004-07-20 16:21:34
|
Darren,
You almost certainly have a bad serviceperf.log file.
The first column of this file should be a number. In your case it=20
contains a 'D'.
Can you check nagios.cfg against our documentation to ensure you have=20
the correct format defined for this file?
You may also have to delete this file. PerfParse does not seem to=20
understand it in it's current form.
If this is not the case, please let me know.
Regards, Ben.
Kemp, Darren wrote:
> Anyone have any idea why my unixtime is returning a D?
>=20
> =20
>=20
> I=92m still poking around, but it seems rather strange J
>=20
> =20
>=20
> bash-2.03# ./perfparse -r
>=20
> Filename: /usr/local/nagios/var/serviceperf.log
>=20
> File open at line 0 and ready to parse:
>=20
> 00:00:00 l 0 read 0 @ 0.0 l/sec. Met 0 @ NaN Met/l. Drop 0. "INSERT=20
> INTO perfdata_service_raw (host_name, service_description, ctime,=20
> txt_data) VALUES ('4.065000','0.820000',FROM_UNIXTIME(D),'PING OK -=20
> Packet loss =3D 0%, RTA =3D 32.00 ms')" failed:
>=20
> Unknown column 'D' in 'field list'
>=20
> bash-2.03#
>=20
> =20
>=20
> =20
>=20
> -dkk
>=20
|