You can subscribe to this list here.
2004 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(12) |
Jun
(56) |
Jul
(68) |
Aug
(141) |
Sep
(82) |
Oct
(76) |
Nov
(115) |
Dec
(74) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2005 |
Jan
(65) |
Feb
(113) |
Mar
(82) |
Apr
(37) |
May
(44) |
Jun
(22) |
Jul
(12) |
Aug
(3) |
Sep
(17) |
Oct
(11) |
Nov
(23) |
Dec
(1) |
2006 |
Jan
(1) |
Feb
(9) |
Mar
(6) |
Apr
(12) |
May
(10) |
Jun
(23) |
Jul
(1) |
Aug
(4) |
Sep
(3) |
Oct
(4) |
Nov
(6) |
Dec
(15) |
2007 |
Jan
(17) |
Feb
(14) |
Mar
(20) |
Apr
(7) |
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
(5) |
Oct
(1) |
Nov
|
Dec
(2) |
2008 |
Jan
|
Feb
|
Mar
(2) |
Apr
(2) |
May
(6) |
Jun
(5) |
Jul
(13) |
Aug
(2) |
Sep
(16) |
Oct
|
Nov
|
Dec
|
2010 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Flo G. <fl...@bi...> - 2005-04-20 13:39:26
|
Here: http://nagiosplug.sourceforge.net/developer-guidelines.html#AEN142 is defined: multiple metrics have to be separated by spaces not ",". If=20 the metric name contains spaces, then the metric name has to be enclosed=20 by single quotes. Wrong: ram_used=3D246156;;;0;255136,swap_used=3D7392;416045;468050;0;520056 Right: ram_used=3D246156;;;0;255136 swap_used=3D7392;416045;468050;0;520056 Did this Syntax change? I don't think so. Flo On Wed, 20 Apr 2005, [iso-8859-2] Miko=B3aj Wi=B6niewski wrote: > Hi all, > I'm testing right now the nagios-2.0b3 and perfparse-0.105.6 with > Patrick Proy's snmp plugins. >> From plugin check_snmp_mem I receive following performance data: > > ./check_snmp_mem.pl -H x.x.x.x -C public -f -w 0,80 -c 0,90 > > Ram : 96%, Swap : 1% : ; OK | > ram_used=3D246156;;;0;255136,swap_used=3D7392;416045;468050;0;520056 > > But perfparse show only: > Host: X=09Service:=09MEMORY LOAD=09=09Metric:=09ram_used > > What I have to do to draw swap_used also ? > > The same problem i have with other plugins: > > ./check_snmp_load.pl -H x.x.x.x -C public -I -w 50,50,50 -c 90,90,90 -f > CPU : 1 0 0 : OK | > load_5_sec=3D1%;50;90,load_1_min=3D0%;50;90,load_5_min=3D0%;50;90 > > There is no load_1_min and load_5_min with this host & service. > > mikus > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: New Crystal Reports XI. > Version 11 adds new functionality designed to reduce time involved in > creating, integrating, and deploying reporting solutions. Free runtime in= fo, > new features, or free trial, at: http://www.businessobjects.com/devxi/728 > _______________________________________________ > Perfparse-users mailing list > Per...@li... > https://lists.sourceforge.net/lists/listinfo/perfparse-users > |
From: <m.w...@au...> - 2005-04-20 12:50:22
|
Hi all, I'm testing right now the nagios-2.0b3 and perfparse-0.105.6 with Patrick Proy's snmp plugins. From plugin check_snmp_mem I receive following performance data: ./check_snmp_mem.pl -H x.x.x.x -C public -f -w 0,80 -c 0,90 Ram : 96%, Swap : 1% : ; OK | ram_used=246156;;;0;255136,swap_used=7392;416045;468050;0;520056 But perfparse show only: Host: X Service: MEMORY LOAD Metric: ram_used What I have to do to draw swap_used also ? The same problem i have with other plugins: ./check_snmp_load.pl -H x.x.x.x -C public -I -w 50,50,50 -c 90,90,90 -f CPU : 1 0 0 : OK | load_5_sec=1%;50;90,load_1_min=0%;50;90,load_5_min=0%;50;90 There is no load_1_min and load_5_min with this host & service. mikus |
From: Flo G. <fl...@bi...> - 2005-04-20 09:02:29
|
I don't know what you plan to do, but only for displaying the image you=20 don't need php nor curl nor the header() thing. Display the image with a=20 html page including a image: <img src=3D'http://nagtst01/nagios/cgi-bin/perfchart.png?host=3Doma3a001&..= =2E'> If you plan to cache images or want to copy the images automatically, then= =20 it would be best to call the binary perfchart.png via cron or commandline= =20 and write the output in a file: Set the query string as apache would do: export QUERY_STRING=3D"host=3Dbvba1&service=3DCPU+Load&metric=3Dload15&se= lect_line=3D1&s_val=3D1&s_smo=3D0&s_war=3D1&s_cri=3D1&s_sta=3D1&g_sigma=3D1= 4.000000&timeperiod=3Dr&reltime=3D00%3A00&reldays=3D1" execute the cgi: ./perfchart.png > /tmp/test.png This file then includes the http header. Usually 3 lines. These can be=20 stripped with some shell script: L=3D`wc -l /tmp/test.png|awk '{print $1}'` tail -n $((L-2)) /tmp/test.png > /tmp/test_stripped.png Probably there will be one time a option that surpresses the header=20 output. Flo On Mon, 18 Apr 2005 nu...@ts... wrote: > I was going to try to write something that did that but I'm having > problems with my syntax. I was going to use PHP. I copied one of the > URLs created in perfparse and was trying to have the image displayed. I > have two problems. First, the password has to be sent again. Secondly, > the output is a bunch of garbage. I am new to PHP and I'm willing to hel= p > write something. Let me know what you guys think? > > #### HTML Page #### > <html > > <head> > <title>PerfParse Performance Page</title> > </head> > <body> > <?php > header("Content-type: image/png"); > header("Content-Disposition: inline; "); > $curl_handle=3Dcurl_init(); > curl_setopt($curl_handle,CURLOPT_URL,'http://nagtst01/nagios/cgi-bin/perf= chart.png?host=3Doma3a001&service=3DOS+%2D+Load+Average&metric=3Dload1&sele= ct_line=3D1&s_val=3D0&s_smo=3D1&s_war=3D1&s_cri=3D1&s_sta=3D1&g_sigma=3D14.= 000000&size=3D585x300&output=3DHistogram&timeperiod=3Dr&reltime=3D00%3A00&r= eldays=3D1&title=3DHost+%27oma3a002%27+++Service+%27OS+%2D+Load+Average%27+= ++Metric+%27load1%27'); > curl_setopt($curl_handle,CURLOPT_USERPWD,'nagios:nagios'); > curl_exec($curl_handle); > curl_close($curl_handle); > ?> > </body> > </html> > #### endo of HTML Page #### > > If the developers were going to write something...then I will step aside. > > > > > schnitzel meister <sch...@gm...> > 18-Apr-2005 04:30 AM > Please respond to > schnitzel meister <sch...@gm...> > > > To > "nu...@ts..." <nu...@ts...> > cc > Ben Clewett <bcl...@pe...>, > per...@li... > Subject > Re: [Perfparse-users] PerfParse Graphs > > > > > > > Nagiosgraph-style graph icons on the main page would be good too, > leading to a page where you select which of the metrics for the > service you want to view. > > On 4/14/05, nu...@ts... <nu...@ts...> wrote: >> >> In the meantime, has anyone created a CGI program that will generate >> multiple graphs per URL page. This is a different approach than having > all >> of them in the same graph. >> >> I'm guessing that a program could generate similar graphs like > nagiosgraph. >> Nagiosgraph has a graph for the day, week and by the year. Has anyone >> attempted that yet? >> >> I do like perfparse better. >> >> >> >> >> Ben Clewett <bcl...@pe...> >> >> 14-Apr-2005 10:18 AM >> >> To schnitzel meister <sch...@gm...> >> >> cc "nu...@ts..." <nu...@ts...>, >> per...@li... >> >> Subject Re: [Perfparse-users] PerfParse Graphs >> >> >> >> >> >> Schnitzel, >> >> This ability was planned from the start. Various starts on this > problem >> have been made. This problem is complicated by several issues. One of > >> which is a major re-write to the graph drawing program, or replacement >> by GnuPlot. >> >> This was planned in great detail by my self and Yves. Unfortunately >> neither of us have the time to complete this at this time. >> >> The product will one day have a 'Shopping Cart' where the user can >> select a collection of metrics. This collection will be stored in the >> database and could be selected to graph in the same way a single metric > >> is selected. >> >> This collection graph will not show the warn, critical. Just a single >> line for each metric in various colours. The scale of which will be >> from one of three options: >> - By comparison of absolute value. Eg, for disk space. >> - By comparison of the Max/Min of each metric as a percentage. Eg, >> server load and user count. >> - By best-fit, were largest value for each plot in range =3D 100%. >> >> The analysis of this problem also showed where some good abstraction >> points can be built into the software. Eg, for extraction of a data > set >> as a memory structure for any use. >> >> So this is a large task. Requiring database work, mathematical work, >> graphical work, and hard-core programming. >> >> When we have resources, this is a problem we will attack as soon as we > can. >> >> Regards, >> >> Ben >> >> schnitzel meister wrote: >> > Multiple services on one graph would be great. >> > >> > There was something about this on the wiki >> > http://tinyurl.com/46nm8 >> > >> > On 4/14/05, nu...@ts... <nu...@ts...> wrote: >> > >> >> >> >>To my knowledge, a service can have only one extended information > URL. >> If >> >>you use the perfParse URL for a service it shows one graph. >> >> >> >>Has anyone created or know how to have that URL pull up more than one >> graph? >> >>* On the same page show a different view of the same data. 1 year, 1 >> month, >> >>1 day, etc. >> >>* On the same page show all the services performance data in a > separate >> >>graph. >> >> e.g. Disk space may have more than one >> >>'label'=3Dvalue[UOM];[warn];[crit];[min];[max] for each >> >>filesystem >> >> >> >>Steve >> >>Nagios 2.x >> >>FedoreCore3 >> > >> > >> > >> > ------------------------------------------------------- >> > 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 >> > >> >> >> > > |
From: Steve G. <st...@ls...> - 2005-04-18 20:14:20
|
On Mon, Apr 18, 2005 at 11:30:30AM +0200, schnitzel meister wrote: > Nagiosgraph-style graph icons on the main page would be good too, > leading to a page where you select which of the metrics for the > service you want to view. FWIW, I've set the following for 'icon_image' in the Nagios hostextinfo stanza: icon_image redhat.gif' border="0" width=20 height=20><A TARGET="_blank" HREF="/cgi-bin/perfparse.cgi?select_metric=1&host_name=myhost" BORDER="0"><img src='/nagios/images/graph.png Yes, that's all one line. The game being played is to fit into the HTML being generated by nagios. The first icon ("redhat.gif", in the example) is just to show the OS of the host. We then close out the (unshown, generated by Nagios) IMG tag, and then add a new link to the perfparse CGI, setting the host name and bringing up the metric selection list. I use the 'graph.png' img as my link "text", and the Nagios CGI will close the tag. (The links and filenames will need to be adjusted to your particular installation, of course. I chose to do this on per host basis, you could use the serviceextinfo stanza and do it on per service basis, probably. Steve -- "Outlook not so good." That magic 8-ball knows everything! I'll ask about Exchange Server next. -- (Stolen from the net) |
From: <nu...@ts...> - 2005-04-18 16:19:57
|
I was going to try to write something that did that but I'm having=20 problems with my syntax. I was going to use PHP. I copied one of the=20 URLs created in perfparse and was trying to have the image displayed. I=20 have two problems. First, the password has to be sent again. Secondly,=20 the output is a bunch of garbage. I am new to PHP and I'm willing to help = write something. Let me know what you guys think? #### HTML Page #### <html > <head> <title>PerfParse Performance Page</title> </head> <body> <?php header("Content-type: image/png"); header("Content-Disposition: inline; "); $curl=5Fhandle=3Dcurl=5Finit(); curl=5Fsetopt($curl=5Fhandle,CURLOPT=5FURL,'http://nagtst01/nagios/cgi-bin/= perfchart.png?host=3Doma3a001&service=3DOS+%2D+Load+Average&metric=3Dload1&= select=5Fline=3D1&s=5Fval=3D0&s=5Fsmo=3D1&s=5Fwar=3D1&s=5Fcri=3D1&s=5Fsta= =3D1&g=5Fsigma=3D14.000000&size=3D585x300&output=3DHistogram&timeperiod=3Dr= &reltime=3D00%3A00&reldays=3D1&title=3DHost+%27oma3a002%27+++Service+%27OS+= %2D+Load+Average%27+++Metric+%27load1%27'); curl=5Fsetopt($curl=5Fhandle,CURLOPT=5FUSERPWD,'nagios:nagios'); curl=5Fexec($curl=5Fhandle); curl=5Fclose($curl=5Fhandle); ?> </body> </html> #### endo of HTML Page #### If the developers were going to write something...then I will step aside. =20 schnitzel meister <sch...@gm...>=20 18-Apr-2005 04:30 AM Please respond to schnitzel meister <sch...@gm...> To "nu...@ts..." <nu...@ts...> cc Ben Clewett <bcl...@pe...>,=20 per...@li... Subject Re: [Perfparse-users] PerfParse Graphs Nagiosgraph-style graph icons on the main page would be good too, leading to a page where you select which of the metrics for the service you want to view. On 4/14/05, nu...@ts... <nu...@ts...> wrote: >=20 > In the meantime, has anyone created a CGI program that will generate > multiple graphs per URL page. This is a different approach than having=20 all > of them in the same graph.=20 >=20 > I'm guessing that a program could generate similar graphs like=20 nagiosgraph. > Nagiosgraph has a graph for the day, week and by the year. Has anyone > attempted that yet?=20 >=20 > I do like perfparse better.=20 >=20 >=20 >=20 >=20 > Ben Clewett <bcl...@pe...>=20 >=20 > 14-Apr-2005 10:18 AM=20 >=20 > To schnitzel meister <sch...@gm...>=20 >=20 > cc "nu...@ts..." <nu...@ts...>, > per...@li...=20 >=20 > Subject Re: [Perfparse-users] PerfParse Graphs=20 >=20 >=20 >=20 >=20 >=20 > Schnitzel, >=20 > This ability was planned from the start. Various starts on this=20 problem=20 > have been made. This problem is complicated by several issues. One of = > which is a major re-write to the graph drawing program, or replacement=20 > by GnuPlot. >=20 > This was planned in great detail by my self and Yves. Unfortunately=20 > neither of us have the time to complete this at this time. >=20 > The product will one day have a 'Shopping Cart' where the user can=20 > select a collection of metrics. This collection will be stored in the=20 > database and could be selected to graph in the same way a single metric = > is selected. >=20 > This collection graph will not show the warn, critical. Just a single=20 > line for each metric in various colours. The scale of which will be=20 > from one of three options: > - By comparison of absolute value. Eg, for disk space. > - By comparison of the Max/Min of each metric as a percentage. Eg,=20 > server load and user count. > - By best-fit, were largest value for each plot in range =3D 100%. >=20 > The analysis of this problem also showed where some good abstraction=20 > points can be built into the software. Eg, for extraction of a data=20 set=20 > as a memory structure for any use. >=20 > So this is a large task. Requiring database work, mathematical work,=20 > graphical work, and hard-core programming. >=20 > When we have resources, this is a problem we will attack as soon as we=20 can. >=20 > Regards, >=20 > Ben >=20 > schnitzel meister wrote: > > Multiple services on one graph would be great. > >=20 > > There was something about this on the wiki > > http://tinyurl.com/46nm8 > >=20 > > On 4/14/05, nu...@ts... <nu...@ts...> wrote: > >=20 > >>=20 > >>To my knowledge, a service can have only one extended information=20 URL.=20 > If > >>you use the perfParse URL for a service it shows one graph.=20 > >>=20 > >>Has anyone created or know how to have that URL pull up more than one > graph? > >>* On the same page show a different view of the same data. 1 year, 1 > month, > >>1 day, etc.=20 > >>* On the same page show all the services performance data in a=20 separate > >>graph.=20 > >> e.g. Disk space may have more than one > >>'label'=3Dvalue[UOM];[warn];[crit];[min];[max] for each > >>filesystem=20 > >>=20 > >>Steve=20 > >>Nagios 2.x=20 > >>FedoreCore3 > >=20 > >=20 > >=20 > > ------------------------------------------------------- > > SF email is sponsored by - The IT Product Guide > > Read honest & candid reviews on hundreds of IT Products from real=20 users. > > Discover which products truly live up to the hype. Start reading now. > > http://ads.osdn.com/?ad=5Fide95&alloc=5Fid=14396&op=CCk > > =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F > > Perfparse-users mailing list > > Per...@li... > > > https://lists.sourceforge.net/lists/listinfo/perfparse-users > >=20 >=20 >=20 > |
From: schnitzel m. <sch...@gm...> - 2005-04-18 09:30:38
|
Nagiosgraph-style graph icons on the main page would be good too, leading to a page where you select which of the metrics for the service you want to view. On 4/14/05, nu...@ts... <nu...@ts...> wrote: > =20 > In the meantime, has anyone created a CGI program that will generate > multiple graphs per URL page. This is a different approach than having a= ll > of them in the same graph.=20 > =20 > I'm guessing that a program could generate similar graphs like nagiosgrap= h. > Nagiosgraph has a graph for the day, week and by the year. Has anyone > attempted that yet?=20 > =20 > I do like perfparse better.=20 > =20 > =20 > =20 > =20 > Ben Clewett <bcl...@pe...>=20 >=20 > 14-Apr-2005 10:18 AM=20 > =20 > To schnitzel meister <sch...@gm...>=20 > =20 > cc "nu...@ts..." <nu...@ts...>, > per...@li...=20 > =20 > Subject Re: [Perfparse-users] PerfParse Graphs=20 > =20 > =20 > =20 > =20 > =20 > Schnitzel, > =20 > This ability was planned from the start. Various starts on this problem= =20 > have been made. This problem is complicated by several issues. One of= =20 > which is a major re-write to the graph drawing program, or replacement= =20 > by GnuPlot. > =20 > This was planned in great detail by my self and Yves. Unfortunately=20 > neither of us have the time to complete this at this time. > =20 > The product will one day have a 'Shopping Cart' where the user can=20 > select a collection of metrics. This collection will be stored in the= =20 > database and could be selected to graph in the same way a single metric= =20 > is selected. > =20 > This collection graph will not show the warn, critical. Just a single= =20 > line for each metric in various colours. The scale of which will be=20 > from one of three options: > - By comparison of absolute value. Eg, for disk space. > - By comparison of the Max/Min of each metric as a percentage. Eg,=20 > server load and user count. > - By best-fit, were largest value for each plot in range =3D 100%. > =20 > The analysis of this problem also showed where some good abstraction=20 > points can be built into the software. Eg, for extraction of a data set= =20 > as a memory structure for any use. > =20 > So this is a large task. Requiring database work, mathematical work,=20 > graphical work, and hard-core programming. > =20 > When we have resources, this is a problem we will attack as soon as we c= an. > =20 > Regards, > =20 > Ben > =20 > schnitzel meister wrote: > > Multiple services on one graph would be great. > >=20 > > There was something about this on the wiki > > http://tinyurl.com/46nm8 > >=20 > > On 4/14/05, nu...@ts... <nu...@ts...> wrote: > >=20 > >>=20 > >>To my knowledge, a service can have only one extended information URL.= =20 > If > >>you use the perfParse URL for a service it shows one graph.=20 > >>=20 > >>Has anyone created or know how to have that URL pull up more than one > graph? > >>* On the same page show a different view of the same data. 1 year, 1 > month, > >>1 day, etc.=20 > >>* On the same page show all the services performance data in a separa= te > >>graph.=20 > >> e.g. Disk space may have more than one > >>'label'=3Dvalue[UOM];[warn];[crit];[min];[max] for each > >>filesystem=20 > >>=20 > >>Steve=20 > >>Nagios 2.x=20 > >>FedoreCore3 > >=20 > >=20 > >=20 > > ------------------------------------------------------- > > SF email is sponsored by - The IT Product Guide > > Read honest & candid reviews on hundreds of IT Products from real user= s. > > 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 > =20 > =20 > |
From: schnitzel m. <sch...@gm...> - 2005-04-18 09:29:18
|
Great! Thanks for the reply. On 4/14/05, Ben Clewett <bcl...@pe...> wrote: > Schnitzel, >=20 > This ability was planned from the start. Various starts on this problem > have been made. This problem is complicated by several issues. One of > which is a major re-write to the graph drawing program, or replacement > by GnuPlot. >=20 > This was planned in great detail by my self and Yves. Unfortunately > neither of us have the time to complete this at this time. >=20 > The product will one day have a 'Shopping Cart' where the user can > select a collection of metrics. This collection will be stored in the > database and could be selected to graph in the same way a single metric > is selected. >=20 > This collection graph will not show the warn, critical. Just a single > line for each metric in various colours. The scale of which will be > from one of three options: > - By comparison of absolute value. Eg, for disk space. > - By comparison of the Max/Min of each metric as a percentage. Eg, > server load and user count. > - By best-fit, were largest value for each plot in range =3D 100%. >=20 > The analysis of this problem also showed where some good abstraction > points can be built into the software. Eg, for extraction of a data set > as a memory structure for any use. >=20 > So this is a large task. Requiring database work, mathematical work, > graphical work, and hard-core programming. >=20 > When we have resources, this is a problem we will attack as soon as we ca= n. >=20 > Regards, >=20 > Ben >=20 > schnitzel meister wrote: > > Multiple services on one graph would be great. > > > > There was something about this on the wiki > > http://tinyurl.com/46nm8 > > > > On 4/14/05, nu...@ts... <nu...@ts...> wrote: > > > >> > >>To my knowledge, a service can have only one extended information URL. = If > >>you use the perfParse URL for a service it shows one graph. > >> > >>Has anyone created or know how to have that URL pull up more than one g= raph? > >>* On the same page show a different view of the same data. 1 year, 1 m= onth, > >>1 day, etc. > >>* On the same page show all the services performance data in a separat= e > >>graph. > >> e.g. Disk space may have more than one > >>'label'=3Dvalue[UOM];[warn];[crit];[min];[max] for each > >>filesystem > >> > >>Steve > >>Nagios 2.x > >>FedoreCore3 > > > > > > > > ------------------------------------------------------- > > 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 > > >=20 > |
From: <nu...@ts...> - 2005-04-14 15:26:42
|
In the meantime, has anyone created a CGI program that will generate=20 multiple graphs per URL page. This is a different approach than having=20 all of them in the same graph. I'm guessing that a program could generate similar graphs like=20 nagiosgraph. Nagiosgraph has a graph for the day, week and by the year.=20 Has anyone attempted that yet? I do like perfparse better. Ben Clewett <bcl...@pe...>=20 14-Apr-2005 10:18 AM To schnitzel meister <sch...@gm...> cc "nu...@ts..." <nu...@ts...>,=20 per...@li... Subject Re: [Perfparse-users] PerfParse Graphs Schnitzel, This ability was planned from the start. Various starts on this problem=20 have been made. This problem is complicated by several issues. One of=20 which is a major re-write to the graph drawing program, or replacement=20 by GnuPlot. This was planned in great detail by my self and Yves. Unfortunately=20 neither of us have the time to complete this at this time. The product will one day have a 'Shopping Cart' where the user can=20 select a collection of metrics. This collection will be stored in the=20 database and could be selected to graph in the same way a single metric=20 is selected. This collection graph will not show the warn, critical. Just a single=20 line for each metric in various colours. The scale of which will be=20 from one of three options: - By comparison of absolute value. Eg, for disk space. - By comparison of the Max/Min of each metric as a percentage. Eg,=20 server load and user count. - By best-fit, were largest value for each plot in range =3D 100%. The analysis of this problem also showed where some good abstraction=20 points can be built into the software. Eg, for extraction of a data set=20 as a memory structure for any use. So this is a large task. Requiring database work, mathematical work,=20 graphical work, and hard-core programming. When we have resources, this is a problem we will attack as soon as we=20 can. Regards, Ben schnitzel meister wrote: > Multiple services on one graph would be great. >=20 > There was something about this on the wiki > http://tinyurl.com/46nm8 >=20 > On 4/14/05, nu...@ts... <nu...@ts...> wrote: >=20 >>=20 >>To my knowledge, a service can have only one extended information URL.=20 If >>you use the perfParse URL for a service it shows one graph.=20 >>=20 >>Has anyone created or know how to have that URL pull up more than one=20 graph? >>* On the same page show a different view of the same data. 1 year, 1=20 month, >>1 day, etc.=20 >>* On the same page show all the services performance data in a separate >>graph.=20 >> e.g. Disk space may have more than one >>'label'=3Dvalue[UOM];[warn];[crit];[min];[max] for each >>filesystem=20 >>=20 >>Steve=20 >>Nagios 2.x=20 >>FedoreCore3 >=20 >=20 >=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=5Fide95&alloc=5Fid=14396&op=CCk > =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F > Perfparse-users mailing list > Per...@li... > https://lists.sourceforge.net/lists/listinfo/perfparse-users >=20 |
From: Ben C. <bcl...@pe...> - 2005-04-14 15:18:52
|
Schnitzel, This ability was planned from the start. Various starts on this problem have been made. This problem is complicated by several issues. One of which is a major re-write to the graph drawing program, or replacement by GnuPlot. This was planned in great detail by my self and Yves. Unfortunately neither of us have the time to complete this at this time. The product will one day have a 'Shopping Cart' where the user can select a collection of metrics. This collection will be stored in the database and could be selected to graph in the same way a single metric is selected. This collection graph will not show the warn, critical. Just a single line for each metric in various colours. The scale of which will be from one of three options: - By comparison of absolute value. Eg, for disk space. - By comparison of the Max/Min of each metric as a percentage. Eg, server load and user count. - By best-fit, were largest value for each plot in range = 100%. The analysis of this problem also showed where some good abstraction points can be built into the software. Eg, for extraction of a data set as a memory structure for any use. So this is a large task. Requiring database work, mathematical work, graphical work, and hard-core programming. When we have resources, this is a problem we will attack as soon as we can. Regards, Ben schnitzel meister wrote: > Multiple services on one graph would be great. > > There was something about this on the wiki > http://tinyurl.com/46nm8 > > On 4/14/05, nu...@ts... <nu...@ts...> wrote: > >> >>To my knowledge, a service can have only one extended information URL. If >>you use the perfParse URL for a service it shows one graph. >> >>Has anyone created or know how to have that URL pull up more than one graph? >>* On the same page show a different view of the same data. 1 year, 1 month, >>1 day, etc. >>* On the same page show all the services performance data in a separate >>graph. >> e.g. Disk space may have more than one >>'label'=value[UOM];[warn];[crit];[min];[max] for each >>filesystem >> >>Steve >>Nagios 2.x >>FedoreCore3 > > > > ------------------------------------------------------- > 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: schnitzel m. <sch...@gm...> - 2005-04-14 14:51:26
|
Multiple services on one graph would be great. There was something about this on the wiki http://tinyurl.com/46nm8 On 4/14/05, nu...@ts... <nu...@ts...> wrote: > =20 > To my knowledge, a service can have only one extended information URL. I= f > you use the perfParse URL for a service it shows one graph.=20 > =20 > Has anyone created or know how to have that URL pull up more than one gra= ph? > * On the same page show a different view of the same data. 1 year, 1 mon= th, > 1 day, etc.=20 > * On the same page show all the services performance data in a separate > graph.=20 > e.g. Disk space may have more than one > 'label'=3Dvalue[UOM];[warn];[crit];[min];[max] for each > filesystem=20 > =20 > Steve=20 > Nagios 2.x=20 > FedoreCore3 |
From: <nu...@ts...> - 2005-04-14 14:16:21
|
To my knowledge, a service can have only one extended information URL. If you use the perfParse URL for a service it shows one graph. Has anyone created or know how to have that URL pull up more than one graph? * On the same page show a different view of the same data. 1 year, 1 month, 1 day, etc. * On the same page show all the services performance data in a separate graph. e.g. Disk space may have more than one 'label'=value[UOM];[warn];[crit];[min];[max] for each filesystem Steve Nagios 2.x FedoreCore3 |
From: Yves <yme...@pe...> - 2005-04-14 13:49:24
|
>> > now I've tested Nagios 2.0b3 but now I have a problem. With nagios-2.0, you should try to enable the new pipe feature of nagios. 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/ - |
From: Jessica H. <Je...@gm...> - 2005-04-14 12:22:37
|
version 1.4 Now I've activated the perfdata output from nagios (!!!) to perfdata-service.log The nagios_perfparse.cfg is outcommitet completly and I've changes the datafile template in the nagios.cfg. now the right data is in my log but, the log isn't cleaned regularly, so that there are more than one value. And here is a free line at the beginning of the output. :-( so this doesn't work... :-( > Which version of the plugins are you using? > > On 4/14/05, Jessica Holle <Je...@gm...> wrote: > > Hi, > > > > now I've tested Nagios 2.0b3 but now I have a problem. > > > > I've installed PerfParse and all works, but when I look into my > > perfdata-service.log, the entry looks so: > > > > nagios@rzvlabwks:/usr/local/nagios/var> less perfdata-service.log > > 1113470964 rzvlabwks PING $ OK $ > > > > Why look it so? where are the values? > > > > Can somebody help? > > > > Jessica > > > > -- > > +++ GMX - Die erste Adresse für Mail, Message, More +++ > > > > 1 GB Mailbox bereits in GMX FreeMail http://www.gmx.net/de/go/mail > > > > ------------------------------------------------------- > > 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 > > > > > ------------------------------------------------------- > 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. -- +++ NEU: GMX DSL_Flatrate! Schon ab 14,99 EUR/Monat! +++ GMX Garantie: Surfen ohne Tempo-Limit! http://www.gmx.net/de/go/dsl |
From: schnitzel m. <sch...@gm...> - 2005-04-14 12:15:48
|
Which version of the plugins are you using? On 4/14/05, Jessica Holle <Je...@gm...> wrote: > Hi, >=20 > now I've tested Nagios 2.0b3 but now I have a problem. >=20 > I've installed PerfParse and all works, but when I look into my > perfdata-service.log, the entry looks so: >=20 > nagios@rzvlabwks:/usr/local/nagios/var> less perfdata-service.log > 1113470964 rzvlabwks PING $ OK $ >=20 > Why look it so? where are the values? >=20 > Can somebody help? >=20 > Jessica >=20 > -- > +++ GMX - Die erste Adresse f=FCr Mail, Message, More +++ >=20 > 1 GB Mailbox bereits in GMX FreeMail http://www.gmx.net/de/go/mail >=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_id=3D6595&alloc_id=3D14396&op=3Dclick > _______________________________________________ > Perfparse-users mailing list > Per...@li... > https://lists.sourceforge.net/lists/listinfo/perfparse-users > |
From: Jessica H. <Je...@gm...> - 2005-04-14 09:31:48
|
Hi, now I've tested Nagios 2.0b3 but now I have a problem. I've installed PerfParse and all works, but when I look into my perfdata-service.log, the entry looks so: nagios@rzvlabwks:/usr/local/nagios/var> less perfdata-service.log 1113470964 rzvlabwks PING $ OK $ Why look it so? where are the values? Can somebody help? Jessica -- +++ GMX - Die erste Adresse für Mail, Message, More +++ 1 GB Mailbox bereits in GMX FreeMail http://www.gmx.net/de/go/mail |
From: Ben C. <bcl...@pe...> - 2005-04-11 19:26:00
|
Hi Richard, This is exactly why PP was developed, so I hope we can help you. You may want to select a date format. See the MySQL manual for date format. My Office 2000 does not understand 'YYYY-MM-DD hh:mm:ss'. Use your local format. See DATE_FORMAT here: http://dev.mysql.com/doc/mysql/en/date-and-time-functions.html You now have a choice of two tables. One for plugin output with one record for each sample. The other is for performance data. There may be zero, one or many performance lines for each raw output. A LEFT OUTER JOIN will be required to get all data. I don't have a PP DB to hand, but belive the tables are: perfdata_metric_bin perfdata_raw use 'EXPLAIN TABLE t' where t is your table to get the fields avaiable. Look at the above manual for syntax, but you'll need something like: echo "SELECT DATE_FORMAT(cdata, "..."), text, state, ... FROM perfdata_raw LEFT OUTER JOIN perfdata_raw JOIN perfdata_metric_bin ON perfdata_raw.ctime = perfdata_metric_bin.ctime WHERE .... " | mysql -u user -ppassword -d database -H host > file_for_input_to_excel However, to make your life easy, you may want to use a tool to get the data. Like phpAdmin. Hope this is of some help, let us know where you get to. Ben Ric...@eq... wrote: > Hi All, > My management has requested that I put together a report from the data > gathered by PerfParse into an Excel spreadsheet. I have the PHP script > that can generate Excel using the PEAR plugin > "Spreadsheet_Excel_Writer." But I am not very good at SQL and was hoping > I could find an SQL query that would suit my needs. What I want to do is > have an SQL query that when given a server / service will request: > > 1. Date / Time > 2. Performance Data > 3. State > 4. Output from the plugin. > What I need is an SQL Query that will output like this: "2005-04-11 > 07:30:00","13","0","USERS OK - 13 users currently logged in" Could you > assist with the correct SQL query? Thanks, > > > Richard Masci > (OSS/I&S/CAS)Network Facing Tools > > ------------------------------------------------------- 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 |
From: <Ric...@eq...> - 2005-04-11 15:53:12
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <HTML> <HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"> <META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7036.0"> <TITLE>SQL Command</TITLE> </HEAD> <BODY> <!-- Converted from text/rtf format --> <P><FONT SIZE=2 FACE="Arial">Hi All,</FONT><FONT FACE="Times New Roman"> </FONT> <BR><FONT SIZE=2 FACE="Arial">My management has requested that I put together a report from the data gathered by PerfParse into an Excel spreadsheet. I have the PHP script that can generate Excel using the PEAR plugin "Spreadsheet_Excel_Writer." But I am not very good at SQL and was hoping I could find an SQL query that would suit my needs. What I want to do is have an SQL query that when given a server / service will request:</FONT><FONT FACE="Times New Roman"> </FONT></P> <P><FONT SIZE=2 FACE="Arial">1. Date / Time</FONT><FONT FACE="Times New Roman"> </FONT> <BR><FONT SIZE=2 FACE="Arial">2. Performance Data</FONT><FONT FACE="Times New Roman"> </FONT> <BR><FONT SIZE=2 FACE="Arial">3. State</FONT><FONT FACE="Times New Roman"> </FONT> <BR><FONT SIZE=2 FACE="Arial">4. Output from the plugin.</FONT><FONT FACE="Times New Roman"> </FONT> <BR><FONT FACE="Times New Roman">What I need is an SQL Query that will output</FONT><FONT SIZE=2 FACE="Arial"> like this:</FONT><FONT FACE="Times New Roman"></FONT> <FONT SIZE=2 FACE="Arial">"2005-04-11 07:30:00","13","0","USERS OK - 13 users currently logged in"</FONT><FONT FACE="Times New Roman"></FONT> <FONT SIZE=2 FACE="Arial">Could you assist with the correct SQL query?</FONT><FONT FACE="Times New Roman"></FONT> <FONT SIZE=2 FACE="Arial">Thanks,</FONT><FONT FACE="Times New Roman"> </FONT></P> <BR> <P><FONT SIZE=2 FACE="Bitstream Vera Sans">Richard Masci<BR> (OSS/I&S/CAS)Network Facing Tools<BR> </FONT> </P> </BODY> </HTML> |
From: Yves <yme...@pe...> - 2005-04-08 11:53:18
|
> I wrote a little shell script, which you can simply add to your crontab= . > Needs a little handwork though, but is pretty simple to handle I think. Thanks Philip, I put it on the wiki : http://wiki.perfparse.org/tiki-index.php?page=3Dautomatic+reports+with+pe= rfparse I also added a new category, that I called "scripts". If you have more scripts... Well, I don't know if this is the best place, but at least, it's there :) 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/ - |
From: Sand P. <Phi...@sy...> - 2005-04-08 09:45:21
|
> > Hi all, > > > > I'm planning to generate some perfparse graphs and then automatically > send them to our > > customers. Has anyone done this before and could give me a hint, how to > automatically > > generate the graphs, and save them to disk? > > I know this "URL to create this graph:" thing, but how can I > automatically save this > > generated graph? >=20 > You can also save graphs. I have never used that feature and I don't know > if you can use > it for your need. >=20 > You have "URL to create this graph:" : use wget or curl to save that graph > into a file. > Then use the file... :) > About curl, if you plan to develop in C (or maybe other languages) your > tool to send > graphs to your customers, you can use libcurl. Thanks for your help! I wrote a little shell script, which you can simply add to your crontab. Needs a little handwork though, but is pretty simple to handle I think. ------------------------------------------------------------------------ - #!/bin/sh # Modify the Variables for your prupose # needs curl and uuencode installed SYSDATE=3D$(date +%Y%m%d) #Path to save the png Files LOGPATH=3D/usr/local/nagios/var #Filename for png Files, sysdate will add a simple timestamp after each file FILENAME1=3D$(echo OBDUDFS1_USERDISK_$SYSDATE.png) # Subject Line for mail SUBJECT1=3D$(echo "XXXXXXXXX -" $SYSDATE) #recipients (comma seperated for multiple reciepients) RECIPIENTS=3Dy...@yo...,yoursecondemail # optional, if your nagios needs http authentication USERNAME=3Dyouruser PASSWORD=3Dyourpassword # URL, which is postet by perfparse PERFPARSEURL=3Dhttps://yournagiosserver.xyz/nagios/cgi-bin/perfchart.png?= w hatsoever ##### nothing needs to be changed below ##### # get graph with curl curl -k -u $USERNAME:$PASSWORD -o $LOGPATH/$FILENAME1 "$PERFPARSEURL" #send the image uuencode $LOGPATH/$FILENAME1 $FILENAME1 | mail -s "$SUBJECT1" $RECIPIENTS ------------------------------------------------------------------------ ---- Hope this helps someone Philipp |
From: Yves <yme...@pe...> - 2005-04-08 08:04:38
|
When users say they have a compilation problem on solaris and when I see = lines like this : /usr/local/mysql/lib/libmysqlclient.a(client.o) I say that I have no idea, and that maybe the libmysqlclient.a file is br= oken and they should install their own mysql (compile from the sources). They never ans= wer back so I don't know if it the good solution or if they just stop trying to compile= perfparse. To you, I will say the same : try to compile mysql from the sources, and = then, for perfparse, try again. Yves > Hello, > I am currently trying to compile perfparse 0.105.6 on a new Solaris > 10 box. I currently have this version working on a Gentoo box with no > problems, but am running into many problems with this Solaris install. > Initially I had issues with options selected by the configure script > for the MYSQL_CFLAGS variable in the MakeFiles. I compared this to > the Makefiles on my Gentoo system and saw that they were completely > different. I decided to remove all flags so that I am left with: > > MYSQL_CFLAGS =3D -I/usr/local/mysql/include > > This got me further. Next I had to correct the path to MYSQL_LIBS, > which brings me to where I am stuck. Going through the make output, > all looks well until I get here: > > gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/mysql/include > -I../libpp_mysql -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include > -I.. -I../libpp_common -I../libnagios_perfdata_parser > -DLOCALEDIR=3D\"/opt/nagios/share/locale\" -g -O2 -Wall -MT > libpp_storage_mysql_la-libstorage.lo -MD -MP -MF > .deps/libpp_storage_mysql_la-libstorage.Tpo -c libstorage.c -fPIC > -DPIC -o .libs/libpp_storage_mysql_la-libstorage.o > gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/mysql/include > -I../libpp_mysql -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include > -I.. -I../libpp_common -I../libnagios_perfdata_parser > -DLOCALEDIR=3D\"/opt/nagios/share/locale\" -g -O2 -Wall -MT > libpp_storage_mysql_la-libstorage.lo -MD -MP -MF > .deps/libpp_storage_mysql_la-libstorage.Tpo -c libstorage.c -o > libpp_storage_mysql_la-libstorage.o >/dev/null 2>&1 > /bin/bash ../libtool --tag=3DCC --mode=3Dlink gcc -g -O2 -Wall -o > libpp_storage_mysql.la -rpath /opt/nagios/lib -module > libpp_storage_mysql_la-storage_mysql.lo > libpp_storage_mysql_la-libstorage.lo -L/usr/local/mysql/lib > -lmysqlclient -lz -lcrypt -lnsl -lm -L../libpp_mysql -lpp_mysql -lnsl > -lm -lsocket > gcc -shared -Wl,-h -Wl,libpp_storage_mysql.so.0 -o > .libs/libpp_storage_mysql.so.0.0.0 > .libs/libpp_storage_mysql_la-storage_mysql.o > .libs/libpp_storage_mysql_la-libstorage.o > -R/opt/src/perfparse-0.105.6/libpp_mysql/.libs -R/opt/nagios/lib > -L/usr/local/mysql/lib -lmysqlclient -lz -lcrypt > -L/opt/src/perfparse-0.105.6/libpp_mysql > /opt/src/perfparse-0.105.6/libpp_mysql/.libs/libpp_mysql.so -lnsl -lm > -lsocket -lc > Text relocation remains referenced > against symbol offset in file > .data1 0x6d6 > /usr/local/mysql/lib/libmysqlclient.a(client.o) > .rodata1 0x6e2 > /usr/local/mysql/lib/libmysqlclient.a(client.o) > option_types 0x77c > /usr/local/mysql/lib/libmysqlclient.a(client.o) > .text 0x79a > /usr/local/mysql/lib/libmysqlclient.a(client.o) > .data1 0x8a4 > /usr/local/mysql/lib/libmysqlclient.a(client.o) > .rodata1 0x9c5 > /usr/local/mysql/lib/libmysqlclient.a(client.o) > .text 0x9e4 > /usr/local/mysql/lib/libmysqlclient.a(client.o) > .text 0x9e8 > /usr/local/mysql/lib/libmysqlclient.a(client.o) > .text 0x9ec > /usr/local/mysql/lib/libmysqlclient.a(client.o) > .text 0x9f0 > /usr/local/mysql/lib/libmysqlclient.a(client.o) > --snip--- > > place here hundreds of lines roughly the same as the previous 10 > > --snip-- > fileno 0x31 > /usr/local/mysql/lib/libmysqlclient.a(my_fopen.o) > fileno 0x5e > /usr/local/mysql/lib/libmysqlclient.a(my_fopen.o) > fileno 0x7e > /usr/local/mysql/lib/libmysqlclient.a(my_fopen.o) > fileno 0xfa > /usr/local/mysql/lib/libmysqlclient.a(my_fopen.o) > fclose 0x104 > /usr/local/mysql/lib/libmysqlclient.a(my_fopen.o) > fdopen 0x1ad > /usr/local/mysql/lib/libmysqlclient.a(my_fopen.o) > ld: fatal: relocations remain against allocatable but non-writable sect= ions > collect2: ld returned 1 exit status > *** Error code 1 > make: Fatal error: Command failed for target `libpp_storage_mysql.la' > Current working directory /opt/src/perfparse-0.105.6/modules > *** Error code 1 > The following command caused the error: > set fnord $MAKEFLAGS; amf=3D$2; \ > dot_seen=3Dno; \ > target=3D`echo all-recursive | sed s/-recursive//`; \ > list=3D'intl m4 libnagios_perfdata_parser libpp_common libpp_mysql > modules perfparse db_tools cgi images config contrib po scripts'; for > subdir in $list; do \ > echo "Making $target in $subdir"; \ > if test "$subdir" =3D "."; then \ > dot_seen=3Dyes; \ > local_target=3D"$target-am"; \ > else \ > local_target=3D"$target"; \ > fi; \ > (cd $subdir && make $local_target) \ > || case "$amf" in *=3D*) exit 1;; *k*) fail=3Dyes;; *) exit 1;; esac= ; \ > done; \ > if test "$dot_seen" =3D "no"; then \ > make "$target-am" || exit 1; \ > fi; test -z "$fail" > make: Fatal error: Command failed for target `all-recursive' > Current working directory /opt/src/perfparse-0.105.6 > *** Error code 1 > make: Fatal error: Command failed for target `all' > > I am currently using gcc from the Solaris companion cd > > nagios4# gcc -v > Reading specs from /opt/sfw/lib/gcc/i386-pc-solaris2.10/3.4.2/specs > Configured with: ../gcc-3.4.2/configure --prefix=3D/opt/sfw > --with-ld=3D/usr/ccs/bin/ld --with-gnu-as --with-as=3D/opt/sfw/bin/gas > --enable-shared --disable-libgcj > Thread model: posix > gcc version 3.4.2 > > > If i have done something previously to cause this I will gladly go > back to the Makefile created by the configure script and post the > issues it has. Thanks for any input at all. > > -Zac Israel > > > ------------------------------------------------------- > 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=3D6595&alloc_id=3D14396&op=3Dclick > _______________________________________________ > 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/ - |
From: Ricardo D. M. <ric...@gm...> - 2005-04-07 22:36:17
|
Hi I thought it could be interesting to you guys to know that my solution for nagios in high availability environments was accepted as a paper (strangeley :) ) at IADIS international virtual conference about Informatics (http://www.iadis.org/multi2005/Program_MULTI2005.htm - check the 14th of April). The work is also available in www.nagios.org/docs/ I am telling you this because Perfparse is part of the solution. Regards --=20 Ricardo David Martins ___________________________________________________________________________= __________________________ AVISO Esta mensagem (incluindo quaisquer anexos) pode conter informa=E7=E3o confidencial para uso exclusivo do destinat=E1rio. Se n=E3o for o destinat=E1rio pretendido, n=E3o dever=E1 usar, distribuir ou copiar este e-mail. Se recebeu esta mensagem por engano, por favor informe o emissor e elimine-a imediatamente. Obrigado. DISCLAIMER This e-mail (including any attachments) may contain confidential information for exclusive use of its recipient. If you are not the intended recipient you must not use, distribute or copy this e-mail. If you have received this e-mail in error please notify the sender and delete it immediately. Thank You. ___________________________________________________________________________= __________________________ |
From: Zac <spd...@gm...> - 2005-04-07 18:10:23
|
Hello, I am currently trying to compile perfparse 0.105.6 on a new Solaris 10 box. I currently have this version working on a Gentoo box with no problems, but am running into many problems with this Solaris install. Initially I had issues with options selected by the configure script for the MYSQL_CFLAGS variable in the MakeFiles. I compared this to the Makefiles on my Gentoo system and saw that they were completely different. I decided to remove all flags so that I am left with: MYSQL_CFLAGS = -I/usr/local/mysql/include This got me further. Next I had to correct the path to MYSQL_LIBS, which brings me to where I am stuck. Going through the make output, all looks well until I get here: gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/mysql/include -I../libpp_mysql -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I.. -I../libpp_common -I../libnagios_perfdata_parser -DLOCALEDIR=\"/opt/nagios/share/locale\" -g -O2 -Wall -MT libpp_storage_mysql_la-libstorage.lo -MD -MP -MF .deps/libpp_storage_mysql_la-libstorage.Tpo -c libstorage.c -fPIC -DPIC -o .libs/libpp_storage_mysql_la-libstorage.o gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/mysql/include -I../libpp_mysql -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I.. -I../libpp_common -I../libnagios_perfdata_parser -DLOCALEDIR=\"/opt/nagios/share/locale\" -g -O2 -Wall -MT libpp_storage_mysql_la-libstorage.lo -MD -MP -MF .deps/libpp_storage_mysql_la-libstorage.Tpo -c libstorage.c -o libpp_storage_mysql_la-libstorage.o >/dev/null 2>&1 /bin/bash ../libtool --tag=CC --mode=link gcc -g -O2 -Wall -o libpp_storage_mysql.la -rpath /opt/nagios/lib -module libpp_storage_mysql_la-storage_mysql.lo libpp_storage_mysql_la-libstorage.lo -L/usr/local/mysql/lib -lmysqlclient -lz -lcrypt -lnsl -lm -L../libpp_mysql -lpp_mysql -lnsl -lm -lsocket gcc -shared -Wl,-h -Wl,libpp_storage_mysql.so.0 -o .libs/libpp_storage_mysql.so.0.0.0 .libs/libpp_storage_mysql_la-storage_mysql.o .libs/libpp_storage_mysql_la-libstorage.o -R/opt/src/perfparse-0.105.6/libpp_mysql/.libs -R/opt/nagios/lib -L/usr/local/mysql/lib -lmysqlclient -lz -lcrypt -L/opt/src/perfparse-0.105.6/libpp_mysql /opt/src/perfparse-0.105.6/libpp_mysql/.libs/libpp_mysql.so -lnsl -lm -lsocket -lc Text relocation remains referenced against symbol offset in file .data1 0x6d6 /usr/local/mysql/lib/libmysqlclient.a(client.o) .rodata1 0x6e2 /usr/local/mysql/lib/libmysqlclient.a(client.o) option_types 0x77c /usr/local/mysql/lib/libmysqlclient.a(client.o) .text 0x79a /usr/local/mysql/lib/libmysqlclient.a(client.o) .data1 0x8a4 /usr/local/mysql/lib/libmysqlclient.a(client.o) .rodata1 0x9c5 /usr/local/mysql/lib/libmysqlclient.a(client.o) .text 0x9e4 /usr/local/mysql/lib/libmysqlclient.a(client.o) .text 0x9e8 /usr/local/mysql/lib/libmysqlclient.a(client.o) .text 0x9ec /usr/local/mysql/lib/libmysqlclient.a(client.o) .text 0x9f0 /usr/local/mysql/lib/libmysqlclient.a(client.o) --snip--- place here hundreds of lines roughly the same as the previous 10 --snip-- fileno 0x31 /usr/local/mysql/lib/libmysqlclient.a(my_fopen.o) fileno 0x5e /usr/local/mysql/lib/libmysqlclient.a(my_fopen.o) fileno 0x7e /usr/local/mysql/lib/libmysqlclient.a(my_fopen.o) fileno 0xfa /usr/local/mysql/lib/libmysqlclient.a(my_fopen.o) fclose 0x104 /usr/local/mysql/lib/libmysqlclient.a(my_fopen.o) fdopen 0x1ad /usr/local/mysql/lib/libmysqlclient.a(my_fopen.o) ld: fatal: relocations remain against allocatable but non-writable sections collect2: ld returned 1 exit status *** Error code 1 make: Fatal error: Command failed for target `libpp_storage_mysql.la' Current working directory /opt/src/perfparse-0.105.6/modules *** Error code 1 The following command caused the error: set fnord $MAKEFLAGS; amf=$2; \ dot_seen=no; \ target=`echo all-recursive | sed s/-recursive//`; \ list='intl m4 libnagios_perfdata_parser libpp_common libpp_mysql modules perfparse db_tools cgi images config contrib po scripts'; for subdir in $list; do \ echo "Making $target in $subdir"; \ if test "$subdir" = "."; then \ dot_seen=yes; \ local_target="$target-am"; \ else \ local_target="$target"; \ fi; \ (cd $subdir && make $local_target) \ || case "$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ done; \ if test "$dot_seen" = "no"; then \ make "$target-am" || exit 1; \ fi; test -z "$fail" make: Fatal error: Command failed for target `all-recursive' Current working directory /opt/src/perfparse-0.105.6 *** Error code 1 make: Fatal error: Command failed for target `all' I am currently using gcc from the Solaris companion cd nagios4# gcc -v Reading specs from /opt/sfw/lib/gcc/i386-pc-solaris2.10/3.4.2/specs Configured with: ../gcc-3.4.2/configure --prefix=/opt/sfw --with-ld=/usr/ccs/bin/ld --with-gnu-as --with-as=/opt/sfw/bin/gas --enable-shared --disable-libgcj Thread model: posix gcc version 3.4.2 If i have done something previously to cause this I will gladly go back to the Makefile created by the configure script and post the issues it has. Thanks for any input at all. -Zac Israel |
From: Yves <yme...@pe...> - 2005-04-07 15:04:53
|
> Hi all, > > I'm planning to generate some perfparse graphs and then automatically s= end them to our > customers. Has anyone done this before and could give me a hint, how to= automatically > generate the graphs, and save them to disk? > I know this "URL to create this graph:" thing, but how can I automatica= lly save this > generated graph? You can also save graphs. I have never used that feature and I don't know= if you can use it for your need. You have "URL to create this graph:" : use wget or curl to save that grap= h into a file. Then use the file... :) About curl, if you plan to develop in C (or maybe other languages) your t= ool to send graphs to your customers, you can use libcurl. 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/ - |
From: Sand P. <Phi...@sy...> - 2005-04-07 14:46:28
|
Hi all, I'm planning to generate some perfparse graphs and then automatically = send them to our customers. Has anyone done this before and could give = me a hint, how to automatically generate the graphs, and save them to = disk? I know this "URL to create this graph:" thing, but how can I = automatically save this generated graph? Thanks in advance! Philipp _____________________________ Philipp Sand OC-CC-TEC-SYS SYCOR GmbH Heinrich-von-Stephan-Stra=DFe 1-5 D - 37073 G=F6ttingen Telefon +49 (0) 551 - 490 - 0 Telefax +49 (0) 551 - 490 - 232468 phi...@sy... www.sycor.de ------------------------------------------------ |
From: <wk-...@pe...> - 2005-04-07 14:46:06
|
snmp performance How do i get performance from snmp ? Thanks (:twisted:) |