From: John V. <lus...@gm...> - 2005-09-13 17:22:58
|
We've been using the perfparse pipe method successfully for over a year now= .=20 We're very happy with the whole setup. However I have a need where I need to create rrdtool style graphs with=20 multiple values. What I would like to do is monitor the pipe with an=20 external process and insert the data into an rrd file for creating these=20 graphs. I don't want to run another monitor and double the number of times = I=20 poll a server. I'm getting the data I need from Nagios just fine. From my own tests with creating a pipe and running two tail sessions agains= t=20 the pipe, only the last attached reader gets the data from the pipe. Is=20 there a safe way to from the perfparse pipe so that I don't interrupt=20 perfparse and cause missed perfomance data? This is probably more of a general Linux question but for some reason, the= =20 answer seems to be eluding me. Thanks. --=20 John E. Vincent lus...@gm... |
From: John C. <po...@ya...> - 2005-09-14 00:38:46
|
Perhaps you could use "tee"? I've not used it in your specific scenario, but maybe it will get you moving down a good path. Maybe some of the examples here will help http://www.cpqlinux.com/redirect.html HTH! -John --- John Vincent <lus...@gm...> wrote: > We've been using the perfparse pipe method > successfully for over a year now. > We're very happy with the whole setup. > > However I have a need where I need to create rrdtool > style graphs with > multiple values. What I would like to do is monitor > the pipe with an > external process and insert the data into an rrd > file for creating these > graphs. I don't want to run another monitor and > double the number of times I > poll a server. I'm getting the data I need from > Nagios just fine. > > From my own tests with creating a pipe and running > two tail sessions against > the pipe, only the last attached reader gets the > data from the pipe. Is > there a safe way to from the perfparse pipe so that > I don't interrupt > perfparse and cause missed perfomance data? > > This is probably more of a general Linux question > but for some reason, the > answer seems to be eluding me. > > Thanks. > > -- > John E. Vincent > lus...@gm... > __________________________________ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com |
From: Yves <yme...@pe...> - 2005-09-14 07:35:43
|
I have not worked on it for a long time, but I remember that I wrote the = stdout plugin for that. Try to load your favorite plugin and the stdout plugin. Then use the outp= ut of the stdout plugin to inject the data into your other program. Yves > Perhaps you could use "tee"? I've not used it in your > specific scenario, but maybe it will get you moving > down a good path. > > Maybe some of the examples here will help > http://www.cpqlinux.com/redirect.html > > HTH! > -John > > --- John Vincent <lus...@gm...> wrote: > >> We've been using the perfparse pipe method >> successfully for over a year now. >> We're very happy with the whole setup. >> >> However I have a need where I need to create rrdtool >> style graphs with >> multiple values. What I would like to do is monitor >> the pipe with an >> external process and insert the data into an rrd >> file for creating these >> graphs. I don't want to run another monitor and >> double the number of times I >> poll a server. I'm getting the data I need from >> Nagios just fine. >> >> From my own tests with creating a pipe and running >> two tail sessions against >> the pipe, only the last attached reader gets the >> data from the pipe. Is >> there a safe way to from the perfparse pipe so that >> I don't interrupt >> perfparse and cause missed perfomance data? >> >> This is probably more of a general Linux question >> but for some reason, the >> answer seems to be eluding me. >> >> Thanks. >> >> -- >> John E. Vincent >> lus...@gm... >> > > > > > __________________________________ > Yahoo! Mail - PC Magazine Editors' Choice 2005 > http://mail.yahoo.com > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. > Download it for free - -and be entered to win a 42" plasma tv or your v= ery > own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.p= hp > _______________________________________________ > Perfparse-users mailing list > Per...@li... > https://lists.sourceforge.net/lists/listinfo/perfparse-users > --=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/ - |