From: Kemp, D. <Dar...@xe...> - 2005-02-08 19:04:11
|
Certainly. As I said I am using the periodic nagios log parse. Nagios was compiled as so: ./configure --disable-statuswrl --enable-embedded-perl --with-perlcache = --with-file-perfdata --with-command-group=3Dnagcmd These lines were added to NAGIOS.cfg: xpdfile_host_perfdata_file=3D/usr/local/nagios/var/hostperf.log xpdfile_host_perfdata_template=3D$TIMET$\t$HOSTNAME$\t$HOSTOUTPUT$\t$HOST= PERFDATA$ xpdfile_service_perfdata_file=3D/usr/local/nagios/var/serviceperf.log xpdfile_service_perfdata_template=3D$TIMET$\t$HOSTNAME$\t$SERVICEDESC$\t$= SERVICEOUTPUT$\t$SERVICESTATE$\t$SERVICEPERFDATA$ (note they have been slightly modified for Nagios 2.0 syntax) I should note if I change the format to "host_perfdata_file" it does = start making a file. What is the signifigance of the "xpdfile"? -dkk -----Original Message----- From: Ben Clewett [mailto:ben...@ww...]=20 Sent: Tuesday, February 08, 2005 12:32 PM To: Kemp, Darren; per...@li... Subject: Re: [Perfparse-users] log files not created. Hi Darren, I need to know what method you are using. In the documentation it talks = about several different method. For instance 'Pipe to Perfparse'.=20 You mension looking for the serviceperf.log file, this is method = 'Periodic Nagios Log Parse'. If this is the case, please check you have completed = all tasks in: http://perfparse.sourceforge.net/docs.php#AEN58 http://perfparse.sourceforge.net/docs.php#AEN261 Let me know and we can go from there, Ben. On Tue, 8 Feb 2005 11:37:21 -0500, Kemp, Darren wrote > I have gone through the install guide for perfparse and set=20 > everything up for the periodic nagios log parse. >=20 > However after adding the new lines to nagios.cfg (xpdfile etc) and > commenting the old host and service perfdata lines, I am not getting > *any* hostperf or serviceperf logs being created. Permissions are=20 > fine.=20 >=20 > What am I missing? >=20 > Thanks >=20 > -dkk >=20 > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real = users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_ide95&alloc_id=14396&op=CCk > _______________________________________________ > Perfparse-users mailing list > Per...@li... > https://lists.sourceforge.net/lists/listinfo/perfparse-users -- PerfParse Project (http://www.perfparse.org) |
From: Kemp, D. <Dar...@xe...> - 2005-02-08 19:23:09
|
When the xpdfile is left off, the serviceperf log starts to look like = this: [SERVICEPERFDATA] 1107889636 rocdicc02 LOAD 0.212 = 0.120 OK - load average: 0.00, 0.00, 0.01 = load1=3D0.000000;15.000000;30.000000;0.000 000 load5=3D0.003906;10.000000;25.000000;0.000000 = load15=3D0.011719;5.000000;10.0000 00;0.000000 Which appears to be right except the extra first column. -dkk -----Original Message----- From: per...@li... = [mailto:per...@li...] On Behalf Of Kemp, = Darren Sent: Tuesday, February 08, 2005 2:03 PM To: bcl...@pe...; per...@li... Subject: RE: [Perfparse-users] log files not created. Certainly. As I said I am using the periodic nagios log parse. Nagios was compiled as so: ./configure --disable-statuswrl --enable-embedded-perl --with-perlcache = --with-file-perfdata --with-command-group=3Dnagcmd These lines were added to NAGIOS.cfg: xpdfile_host_perfdata_file=3D/usr/local/nagios/var/hostperf.log xpdfile_host_perfdata_template=3D$TIMET$\t$HOSTNAME$\t$HOSTOUTPUT$\t$HOST= PERFDATA$ xpdfile_service_perfdata_file=3D/usr/local/nagios/var/serviceperf.log xpdfile_service_perfdata_template=3D$TIMET$\t$HOSTNAME$\t$SERVICEDESC$\t$= SERVICEOUTPUT$\t$SERVICESTATE$\t$SERVICEPERFDATA$ (note they have been slightly modified for Nagios 2.0 syntax) I should note if I change the format to "host_perfdata_file" it does = start making a file. What is the signifigance of the "xpdfile"? -dkk -----Original Message----- From: Ben Clewett [mailto:ben...@ww...]=20 Sent: Tuesday, February 08, 2005 12:32 PM To: Kemp, Darren; per...@li... Subject: Re: [Perfparse-users] log files not created. Hi Darren, I need to know what method you are using. In the documentation it talks = about several different method. For instance 'Pipe to Perfparse'.=20 You mension looking for the serviceperf.log file, this is method = 'Periodic Nagios Log Parse'. If this is the case, please check you have completed = all tasks in: http://perfparse.sourceforge.net/docs.php#AEN58 http://perfparse.sourceforge.net/docs.php#AEN261 Let me know and we can go from there, Ben. On Tue, 8 Feb 2005 11:37:21 -0500, Kemp, Darren wrote > I have gone through the install guide for perfparse and set=20 > everything up for the periodic nagios log parse. >=20 > However after adding the new lines to nagios.cfg (xpdfile etc) and > commenting the old host and service perfdata lines, I am not getting > *any* hostperf or serviceperf logs being created. Permissions are=20 > fine.=20 >=20 > What am I missing? >=20 > Thanks >=20 > -dkk >=20 > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real = users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_ide95&alloc_id=14396&op=CCk > _______________________________________________ > Perfparse-users mailing list > Per...@li... > https://lists.sourceforge.net/lists/listinfo/perfparse-users -- PerfParse Project (http://www.perfparse.org) ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id=14396&op=3Dick _______________________________________________ Perfparse-users mailing list Per...@li... https://lists.sourceforge.net/lists/listinfo/perfparse-users |
From: Ben C. <ben...@ww...> - 2005-02-08 21:19:23
|
Darren, On Tue, 8 Feb 2005 14:22:18 -0500, Kemp, Darren wrote > When the xpdfile is left off, the serviceperf log starts to look=20 > like this: [SERVICEPERFDATA] 1107889636 rocdicc02 =20 > LOAD 0.212 0.120 OK - load average: 0.00, 0.00, 0.01 =20 load1=3D0.000000;15.000000;30.000000;0.000 > 000 load5=3D0.003906;10.000000;25.000000;0.000000 load15=3D0.011719;5.0= 00000;10.0000 > 00;0.000000 >=20 > Which appears to be right except the extra first column. By the first coloum do you mean the [SERVICEPERFDATA] or the 1107889636? = =20 If the [...], this looks like an unfortunate debug from Nagios source cod= e.=20 This should be a simple fix. If the large number, this is correct. This= is the number of seconds since 1970. Best of luck with the rest, Ben. >=20 > -dkk >=20 > -----Original Message----- > From: per...@li... [mailto:perfparse- > use...@li...] On Behalf Of Kemp, Darren Sent:=20 > Tuesday, February 08, 2005 2:03 PM To: bcl...@pe...;=20 > per...@li... Subject: RE: [Perfparse-users]=20 > log files not created. >=20 > Certainly. > As I said I am using the periodic nagios log parse. >=20 > Nagios was compiled as so: >=20 > ./configure --disable-statuswrl --enable-embedded-perl --with- > perlcache --with-file-perfdata --with-command-group=3Dnagcmd >=20 > These lines were added to NAGIOS.cfg: > xpdfile_host_perfdata_file=3D/usr/local/nagios/var/hostperf.log > xpdfile_host_perfdata_template=3D$TIMET$\t$HOSTNAME$\t$HOSTOUTPUT$\t$HO= STPERFDATA$ > xpdfile_service_perfdata_file=3D/usr/local/nagios/var/serviceperf.log > xpdfile_service_perfdata_template=3D$TIMET$\t$HOSTNAME$\t$SERVICEDESC$\t$= SERVICEOUTPUT$\t$SERVICESTATE$\t$SERVICEPERFDATA$ >=20 > (note they have been slightly modified for Nagios 2.0 syntax) >=20 > I should note if I change the format to "host_perfdata_file" it does=20 > start making a file. What is the signifigance of the "xpdfile"? >=20 > -dkk >=20 > -----Original Message----- > From: Ben Clewett [mailto:ben...@ww...]=20 > Sent: Tuesday, February 08, 2005 12:32 PM > To: Kemp, Darren; per...@li... > Subject: Re: [Perfparse-users] log files not created. >=20 > Hi Darren, >=20 > I need to know what method you are using. In the documentation it=20 > talks about several different method. For instance 'Pipe to=20 > Perfparse'.=20 >=20 > You mension looking for the serviceperf.log file, this is method 'Perio= dic > Nagios Log Parse'. If this is the case, please check you have=20 > completed all tasks in: >=20 > http://perfparse.sourceforge.net/docs.php#AEN58 > http://perfparse.sourceforge.net/docs.php#AEN261 >=20 > Let me know and we can go from there, >=20 > Ben. >=20 > On Tue, 8 Feb 2005 11:37:21 -0500, Kemp, Darren wrote > > I have gone through the install guide for perfparse and set=20 > > everything up for the periodic nagios log parse. > >=20 > > However after adding the new lines to nagios.cfg (xpdfile etc) and > > commenting the old host and service perfdata lines, I am not getting > > *any* hostperf or serviceperf logs being created. Permissions are=20 > > fine.=20 > >=20 > > What am I missing? > >=20 > > Thanks > >=20 > > -dkk > >=20 > > ------------------------------------------------------- > > SF email is sponsored by - The IT Product Guide > > Read honest & candid reviews on hundreds of IT Products from real use= rs. > > Discover which products truly live up to the hype. Start reading now. > > http://ads.osdn.com/?ad_ide95&alloc_id=14396&op=CCk > > _______________________________________________ > > Perfparse-users mailing list > > Per...@li... > > https://lists.sourceforge.net/lists/listinfo/perfparse-users >=20 > -- > PerfParse Project (http://www.perfparse.org) >=20 > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_ide95&alloc_id=14396&op=3Dick > _______________________________________________ > Perfparse-users mailing list > Per...@li... > https://lists.sourceforge.net/lists/listinfo/perfparse-users -- PerfParse Project (http://www.perfparse.org) |
From: Ben C. <ben...@ww...> - 2005-02-08 21:09:42
|
Darren, On Tue, 8 Feb 2005 14:02:49 -0500, Kemp, Darren wrote > As I said I am using the periodic nagios log parse. Sorry, I missed that. This used to be called 'Method 1', it seems I am e= asily confused! If you'll forgive me... > Nagios was compiled as so: >=20 > ./configure --disable-statuswrl --enable-embedded-perl --with- > perlcache --with-file-perfdata --with-command-group=3Dnagcmd >=20 > These lines were added to NAGIOS.cfg: > xpdfile_host_perfdata_file=3D/usr/local/nagios/var/hostperf.log > xpdfile_host_perfdata_template=3D$TIMET$\t$HOSTNAME$\t$HOSTOUTPUT$\t$HO= STPERFDATA$ > xpdfile_service_perfdata_file=3D/usr/local/nagios/var/serviceperf.log > xpdfile_service_perfdata_template=3D$TIMET$\t$HOSTNAME$\t$SERVICEDESC$\t$= SERVICEOUTPUT$\t$SERVICESTATE$\t$SERVICEPERFDATA$ >=20 > (note they have been slightly modified for Nagios 2.0 syntax) >=20 > I should note if I change the format to "host_perfdata_file" it does=20 > start making a file. What is the signifigance of the "xpdfile"? I don't use Nagios 2. There may be somebody on this list who does and ca= n give better advise. If there isn't then you are looking at a new port for PerfParse and this method. It seems like you have found some significant differences betwee= n the two versions. I am glad to see you are nearly there. May I please ask you document the differences between Nagios 1.2 and Nagios 2, so that we can update our documentaion. I don't know what the xpd stands for. Possibly eXternal Performance Dump= ? If you find out, let me know :) Best of luck with getting this method working, Ben. >=20 > -dkk >=20 > -----Original Message----- > From: Ben Clewett [mailto:ben...@ww...]=20 > Sent: Tuesday, February 08, 2005 12:32 PM > To: Kemp, Darren; per...@li... > Subject: Re: [Perfparse-users] log files not created. >=20 > Hi Darren, >=20 > I need to know what method you are using. In the documentation it=20 > talks about several different method. For instance 'Pipe to=20 > Perfparse'.=20 >=20 > You mension looking for the serviceperf.log file, this is method 'Perio= dic > Nagios Log Parse'. If this is the case, please check you have=20 > completed all tasks in: >=20 > http://perfparse.sourceforge.net/docs.php#AEN58 > http://perfparse.sourceforge.net/docs.php#AEN261 >=20 > Let me know and we can go from there, >=20 > Ben. >=20 > On Tue, 8 Feb 2005 11:37:21 -0500, Kemp, Darren wrote > > I have gone through the install guide for perfparse and set=20 > > everything up for the periodic nagios log parse. > >=20 > > However after adding the new lines to nagios.cfg (xpdfile etc) and > > commenting the old host and service perfdata lines, I am not getting > > *any* hostperf or serviceperf logs being created. Permissions are=20 > > fine.=20 > >=20 > > What am I missing? > >=20 > > Thanks > >=20 > > -dkk > >=20 > > ------------------------------------------------------- > > SF email is sponsored by - The IT Product Guide > > Read honest & candid reviews on hundreds of IT Products from real use= rs. > > Discover which products truly live up to the hype. Start reading now. > > http://ads.osdn.com/?ad_ide95&alloc_id=14396&op=CCk > > _______________________________________________ > > Perfparse-users mailing list > > Per...@li... > > https://lists.sourceforge.net/lists/listinfo/perfparse-users >=20 > -- > PerfParse Project (http://www.perfparse.org) -- PerfParse Project (http://www.perfparse.org) |