From: Tong Y. <To...@in...> - 2005-02-10 10:16:20
|
Thanks. Just want to say that someone posted a link to a document on = installing Perfparse with the pipe method and I followed the = instructions contained there and it works perfectly. So if anyone is = having problems they should have a look at that link. It was posted = within the last two days I believe. The subject line is Good = Documentation or something similar. =20 And someone posted that they are getting perfdata written to the = perfdata-service.log in the form of $ signs. I would guess that you are = using Nagios 2.0.. The variables $PERFDATA$ and one other has changed = to $SERVICEPERFDATA$ and so forth.. Check out the documentation for = Nagios 2.0 or the sample config files. One of them contains the changes = made to the variables. ________________________________ From: per...@li... on behalf of Yves Sent: Thu 2/10/2005 12:50 AM To: per...@li... Subject: Re: [Perfparse-users] Perparse Method 4 (pipe) > I have read through the documentation and groups and got it working, = but > I need to manually run ./perfparsed before the service-perfdata.log = file > is created by nagios. Is this by design? If you are running nagios-1.2, yes, this is by design. Perfparsed reads from a pipe, and creates it if necessary. If you run = nagios-1.2 before, it will write to whatever the file is, and if it does not exist, write a = new file. If the design was to run perfparsed after nagios, you would loose the = data written in that file, or have perfparsed block because of that regular file. Yves -- - Homepage - http://ymettier.free.fr - http://www.logicacmg.com - - GPG key - http://ymettier.free.fr/gpg.txt - - Maitretarot - http://www.nongnu.org/maitretarot/ - - Perfparse - 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: Tong Y. <To...@in...> - 2005-02-10 19:39:17
|
Here is my config for my nagios_perfparse.cfg. I only use the = process-service one because I have no need to graph host data. For the = host one, instead of adding SERVICE you add HOST to each variable. I = have only tested this with a few plugins (check_load check_disk) but it = seems to work for those and I am able to get a graph back. As I add-in = more checks I will let you know if I run into any problems. define command{ command_name process-service-perfdata command_line = /usr/local/nagios/bin/perfparse_nagios_pipe_command.pl = /usr/local/nagios/var/perfdata-service.log "$TIMET$" "$HOSTNAME$" = "$SERVICEDESC$" "$SERVICEOUTPUT$" "$SERVICESTATE$" "$SERVICEPERFDATA$" }=20 -----Original Message----- From: Ben Clewett [mailto:bcl...@pe...]=20 Sent: Thursday, February 10, 2005 2:22 AM To: Tong Young Cc: yme...@pe...; per...@li... Subject: Re: [Perfparse-users] Perparse Method 4 (pipe) The document you mention I believe is: http://wiki.perfparse.org/tiki-index.php?page=3DBuildingMethod4Example Supplied kindly by Alex Peeters. If you have found this useful, I'll link this from our FAQ. Thanks for the advise on Nagios 2.x. PerfParse is not 'officially' able = to read this, but only because I don't use Nagios 2.x and I have yet to = get back comments about how this works. I am after any such comments in order to update our documentation, so = thanks for your observations. Would you have a tested example of a = configuration? Regards, Ben. Tong Young wrote: > Thanks. Just want to say that someone posted a link to a document on = installing Perfparse with the pipe method and I followed the = instructions contained there and it works perfectly. So if anyone is = having problems they should have a look at that link. It was posted = within the last two days I believe. The subject line is Good = Documentation or something similar. > =20 > And someone posted that they are getting perfdata written to the = perfdata-service.log in the form of $ signs. I would guess that you are = using Nagios 2.0.. The variables $PERFDATA$ and one other has changed = to $SERVICEPERFDATA$ and so forth.. Check out the documentation for = Nagios 2.0 or the sample config files. One of them contains the changes = made to the variables. >=20 > ________________________________ >=20 > From: per...@li... on behalf of Yves > Sent: Thu 2/10/2005 12:50 AM > To: per...@li... > Subject: Re: [Perfparse-users] Perparse Method 4 (pipe) >=20 >=20 >=20 >=20 >=20 >>I have read through the documentation and groups and got it working,=20 >>but I need to manually run ./perfparsed before the=20 >>service-perfdata.log file is created by nagios. Is this by design? >=20 >=20 >=20 > If you are running nagios-1.2, yes, this is by design. > Perfparsed reads from a pipe, and creates it if necessary. If you run=20 > nagios-1.2 before, it will write to whatever the file is, and if it = does not exist, write a new file. > If the design was to run perfparsed after nagios, you would loose the=20 > data written in that file, or have perfparsed block because of that = regular file. >=20 > Yves >=20 > -- > - Homepage - http://ymettier.free.fr - http://www.logicacmg.com - > - GPG key - http://ymettier.free.fr/gpg.txt - > - Maitretarot - http://www.nongnu.org/maitretarot/ - > - Perfparse - http://www.perfparse.org/ - >=20 >=20 >=20 > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide Read honest & candid=20 > 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 >=20 >=20 >=20 >=20 > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide Read honest & candid=20 > 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 >=20 |
From: Ben C. <bcl...@pe...> - 2005-02-10 10:24:19
|
The document you mention I believe is: http://wiki.perfparse.org/tiki-index.php?page=BuildingMethod4Example Supplied kindly by Alex Peeters. If you have found this useful, I'll link this from our FAQ. Thanks for the advise on Nagios 2.x. PerfParse is not 'officially' able to read this, but only because I don't use Nagios 2.x and I have yet to get back comments about how this works. I am after any such comments in order to update our documentation, so thanks for your observations. Would you have a tested example of a configuration? Regards, Ben. Tong Young wrote: > Thanks. Just want to say that someone posted a link to a document on installing Perfparse with the pipe method and I followed the instructions contained there and it works perfectly. So if anyone is having problems they should have a look at that link. It was posted within the last two days I believe. The subject line is Good Documentation or something similar. > > And someone posted that they are getting perfdata written to the perfdata-service.log in the form of $ signs. I would guess that you are using Nagios 2.0.. The variables $PERFDATA$ and one other has changed to $SERVICEPERFDATA$ and so forth.. Check out the documentation for Nagios 2.0 or the sample config files. One of them contains the changes made to the variables. > > ________________________________ > > From: per...@li... on behalf of Yves > Sent: Thu 2/10/2005 12:50 AM > To: per...@li... > Subject: Re: [Perfparse-users] Perparse Method 4 (pipe) > > > > > >>I have read through the documentation and groups and got it working, but >>I need to manually run ./perfparsed before the service-perfdata.log file >>is created by nagios. Is this by design? > > > > If you are running nagios-1.2, yes, this is by design. > Perfparsed reads from a pipe, and creates it if necessary. If you run nagios-1.2 before, > it will write to whatever the file is, and if it does not exist, write a new file. > If the design was to run perfparsed after nagios, you would loose the data written in > that file, or have perfparsed block because of that regular file. > > Yves > > -- > - Homepage - http://ymettier.free.fr - http://www.logicacmg.com - > - GPG key - http://ymettier.free.fr/gpg.txt - > - Maitretarot - http://www.nongnu.org/maitretarot/ - > - Perfparse - 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_id396&op=ick > _______________________________________________ > Perfparse-users mailing list > Per...@li... > https://lists.sourceforge.net/lists/listinfo/perfparse-users > > > > > ------------------------------------------------------- > 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_id396&opÌk > _______________________________________________ > Perfparse-users mailing list > Per...@li... > https://lists.sourceforge.net/lists/listinfo/perfparse-users > |
From: Arnar T. <ar...@ca...> - 2005-05-04 10:08:21
|
Ok I'm trying to follow that link to building method 4 http://wiki.perfparse.org/tiki-index.php?page=BuildingMethod4Example but getting "page not found" from wiki have you moved it or something ??????? On Thu, 2005-02-10 at 10:22, Ben Clewett wrote: > The document you mention I believe is: > > http://wiki.perfparse.org/tiki-index.php?page=BuildingMethod4Example > > Supplied kindly by Alex Peeters. > > If you have found this useful, I'll link this from our FAQ. > > Thanks for the advise on Nagios 2.x. PerfParse is not 'officially' able > to read this, but only because I don't use Nagios 2.x and I have yet to > get back comments about how this works. > > I am after any such comments in order to update our documentation, so > thanks for your observations. Would you have a tested example of a > configuration? > > Regards, > > Ben. > > > Tong Young wrote: > > Thanks. Just want to say that someone posted a link to a document on installing Perfparse with the pipe method and I followed the instructions contained there and it works perfectly. So if anyone is having problems they should have a look at that link. It was posted within the last two days I believe. The subject line is Good Documentation or something similar. > > > > And someone posted that they are getting perfdata written to the perfdata-service.log in the form of $ signs. I would guess that you are using Nagios 2.0.. The variables $PERFDATA$ and one other has changed to $SERVICEPERFDATA$ and so forth.. Check out the documentation for Nagios 2.0 or the sample config files. One of them contains the changes made to the variables. > > > > ________________________________ > > > > From: per...@li... on behalf of Yves > > Sent: Thu 2/10/2005 12:50 AM > > To: per...@li... > > Subject: Re: [Perfparse-users] Perparse Method 4 (pipe) > > > > > > > > > > > >>I have read through the documentation and groups and got it working, but > >>I need to manually run ./perfparsed before the service-perfdata.log file > >>is created by nagios. Is this by design? > > > > > > > > If you are running nagios-1.2, yes, this is by design. > > Perfparsed reads from a pipe, and creates it if necessary. If you run nagios-1.2 before, > > it will write to whatever the file is, and if it does not exist, write a new file. > > If the design was to run perfparsed after nagios, you would loose the data written in > > that file, or have perfparsed block because of that regular file. > > > > Yves > > > > -- > > - Homepage - http://ymettier.free.fr - http://www.logicacmg.com - > > - GPG key - http://ymettier.free.fr/gpg.txt - > > - Maitretarot - http://www.nongnu.org/maitretarot/ - > > - Perfparse - 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_id396&op=ick > > _______________________________________________ > > Perfparse-users mailing list > > Per...@li... > > https://lists.sourceforge.net/lists/listinfo/perfparse-users > > > > > > > > > > ------------------------------------------------------- > > 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_id396&opÌk > > _______________________________________________ > > Perfparse-users mailing list > > Per...@li... > > https://lists.sourceforge.net/lists/listinfo/perfparse-users > > > > > ------------------------------------------------------- > 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_id=6595&alloc_id=14396&op=click > _______________________________________________ > Perfparse-users mailing list > Per...@li... > https://lists.sourceforge.net/lists/listinfo/perfparse-users -- Kveðja Arnar Þórarinsson Tölvunarfræðingur Kerfisdeild Sími : 569 4289 GSM : 861 2871 ---------------------- Flugmálastjórn Íslands Reykjavíkurflugvöllur 121 Reykjavík http://www.caa.is ---------------------- |
From: Yves M. <yme...@li...> - 2005-05-04 12:29:09
|
> Ok I'm trying to follow that link to building method 4 > http://wiki.perfparse.org/tiki-index.php?page=3DBuildingMethod4Example > but getting "page not found" from wiki > > have you moved it or something ??????? Moved :) http://wiki.perfparse.org/tiki-index.php?page=3DExample+for+configuration= +with+a+pipe The title is more clear now :) Yves --=20 - Homepage - http://ymettier.free.fr - http://www.logicacmg.com - - GPG key - http://ymettier.free.fr/gpg.txt - - Maitretarot - http://www.nongnu.org/maitretarot/ - - Perfparse - http://www.perfparse.org/ - |