From: Alex P. <ale...@ci...> - 2005-02-07 17:04:08
|
Hi Ben, #define HOST_TITLE =3D _("Host"); #define SERVICE_TITLE =3D _("Title"); or do you mean #define HOST_TITLE =3D _("Host"); #define SERVICE_TITLE =3D _("Service"); The first part is easy to do, but there are also al lot: The next are clear, this is text: --------------------------------- showHeader(_("Deletion Policies for Hosts"), ""); printf(" <td align=3Dcenter>%s<b>Host</b></font></td>\n", FONT); printf(" %s: \n",_("Select Host")); showHeader(_("Mark Host for complete deletion."), ""); printf(" %s%s", FONT,_("<b>Note:</b> Host and Host Data will be = deleted when\n" printf(" <b>%s</b><br>\n",_("Edit a Host Group List")); printf(" <a href=3D\"%s?add_amend_host_group=3D1\">%s</a>\n", = sProgName, _("Edit Host Groups")); printf(" %s\n",_("Select Host Group:")); printf(" %s\n",_("Add new Host to Group:")); printf(" <b>%s</b><br>\n", _("Host List")); ... Is this text or not? -------------------- sHost =3D strdup(scgi("host")); sService =3D strdup(scgi("service")); -- Alex -----Original Message----- From: Ben Clewett [mailto:bcl...@pe...]=20 Sent: maandag 7 februari 2005 10:19 To: ale...@ci... Cc: bcl...@pe...; gc...@pe...; per...@li... Subject: Re: Perfparse Dear Alex, I will answer you in line: Alex Peeters wrote: > Question? >=20 > my $performanceData =3D "duration=3D$responseTime s;$trendline;;; = 'response=20 > time'=3D$responseTime s;$trendline;;;"; >=20 > DUMMY-T5=20 > Condenced View test=20 > <http://asnmtap.citap.be/cgi-bin/perfparse.cgi?graph=3D1&host=3DDUMMY%2DT= 5&servi ce=3DCondenced+View+test&metric=3Dduration> > duration=20 > 2005-02-06 17:34:00=20 > 1=20 > UP=20 > <http://asnmtap.citap.be/cgi-bin/perfparse.cgi?graph=3D1&host=3DDUMMY%2DT= 5&servi ce=3DCondenced+View+test&metric=3Dresponse+time> > response time=20 > 2005-02-06 17:32:00=20 > 1=20 > WARNING=20 >=20 > The responstime is alway the same in this test for =91duration=92 and=20 > =91response time, and sended at the same time >=20 > Why do I sea into PerfParse 2 different times 17:34 and 17:32 ? The times reflect the last time in which a valid result was parsed into=20 PP. This suggests one of the metrics failed. Check your drop file. I see you have a small error: You have: $performanceData =3D "duration=3D$responseTime = s;$trendline;;; Should be: $performanceData =3D = "duration=3D${responseTime}s;$trendline;;; No space between value and unit. This may help. > Question? >=20 > *Administration* >=20 > Administraion Menu=20 > <http://asnmtap.citap.be/cgi-bin/perfparse.cgi?admin_menu=3D1> >=20 > Is it not =91Administration Menu=92 ? Yes. I am dyslexic. Since my 'vi' has no spell checker, I relay on=20 kind people such as your self pointing these out. This will be fixed as = soon as I have an excuse to release another version :) > Question? > =20 >=20 > Is it possible to sea the results from the same host, service coming=20 > from one raw data, into one graphics. Soon. My self and Yves have been arguing hard about the best way of=20 doing this. Unfortunately we both have little time available. As soon=20 as I can find a few days, this will be done. This will be completed like a shopping card. You will add metrics to=20 your cart, then 'check out' and store a permanent template. This can=20 then be used at any time to draw multiple metrics. Watch this space! > I mean, is it possible to have the results for =91duration=92 and = =91response=20 > time into the same graphic? The scaling may not show anything useful in this case, you will see only = the shape of the lines on the graph. But, yes, this will be possible. > Question? >=20 > The name =91Host=92 and =91Service=92 are the hard coded? >=20 > This because into ASNMTAP, =91Host=92 means there =91Plugin Group=92 = and=20 > =91Service=92 means there =91Plugin Title=92 and if possible I want to = change=20 > these two names? Maybe you want to do a patch for us? Edit libpp_common.h and add: #define HOST_TITLE =3D _("Host"); #define SERVICE_TITLE =3D _("Title"); Then go through the code changing this. In your code you can change=20 this to something else. If this is popular, this can become a=20 configuration variable. > *A working version of PerfParse integrated into ASNMTAP:* >=20 > * * >=20 > *PerfParse facilitates the storage and analysis of binary performance=20 > data produced by the Application Monitoring=20 > <http://asnmtap.citap.be/cgi-bin/perfparse.cgi>* >=20 > http://asnmtap.citap.be/asnmtap/nav/test/reports-index-cv.html >=20 > http://asnmtap.citap.be/cgi-bin/perfparse.cgi Interesting! Please keep sending your ideas :) Regards, Ben Clewett. >=20 > =20 >=20 > =20 >=20 > -----Original Message----- > *From:* Alex Peeters [mailto:ale...@ci...] > *Sent:* zondag 6 februari 2005 12:56 > *To:* 'bcl...@pe...' > *Cc:* 'gc...@pe...' > *Subject:* RE: Perfparse >=20 > =20 >=20 > =20 >=20 > The idea is to replace: >=20 > /opt/asnmtap/perfparse/bin/perfparse_nagios_pipe_command.pl =20 > /opt/asnmtap/perfparse/var/var/perfdata-host.log "$TIMET$" = "$HOSTNAME$"=20 > "$OUTPUT$" "$PERFDATA$" >=20 > =20 >=20 > =20 >=20 > with something like: >=20 > /opt/asnmtap/perfparse/bin/ perfparse-pluginoutput2mysql =20 > --pluginoutput "$TIMET$" "$HOSTNAME$" "$OUTPUT$" "$PERFDATA$" >=20 > =20 >=20 > =20 >=20 > Hi Ben, >=20 > =20 >=20 > Do you remember that i told you that is wanted to port perfparse to asnmtap, >=20 > my application monitoring tool I=92am writing. >=20 > =20 >=20 > Now I have performance data support in it compatible with nagios. >=20 > =20 >=20 > I will do my first test with perfparse-log2mysql, but my question is >=20 > of that that is not possible to have a command perfparse-pluginoutput2mysql >=20 > where perfparse-pluginoutput2mysql give me the possibility to write >=20 > directly the output of my plugin into the database. >=20 > =20 >=20 > With perfparse-log2mysql, I need to write the plugin output first into = a=20 > file, >=20 > and then perfparse-log2mysql add these data to the database. >=20 > =20 >=20 > perfparse-log2mysql - help >=20 > -l, --serviceperf-log <string> : Input log source (from nagios or=20 > perfparsed) >=20 > =20 >=20 > The question is, can you moddify a version perfparse-log2mysql of = where=20 > I can give the plugin output as a parameter please: >=20 > perfparse-pluginoutput2mysql >=20 > -p, --pluginoutput <string> : pluginoutput (from nagios or = perfparsed) >=20 > =20 >=20 > =20 >=20 > *Application System Network Monitoring Tool Alex Peeters*=20 > <http://asnmtap.citap.be/##> >=20 > =20 >=20 > http://asnmtap.citap.be <http://asnmtap.citap.be/> >=20 > =20 >=20 > -- Alex >=20 > =20 >=20 > =09 >=20 > =20 >=20 > =20 >=20 >=20 > -- > No virus found in this outgoing message. > Checked by AVG Anti-Virus. > Version: 7.0.300 / Virus Database: 265.8.5 - Release Date: 3/02/2005 >=20 >=20 > -- > No virus found in this outgoing message. > Checked by AVG Anti-Virus. > Version: 7.0.300 / Virus Database: 265.8.5 - Release Date: 3/02/2005 >=20 >=20 > -- > No virus found in this outgoing message. > Checked by AVG Anti-Virus. > Version: 7.0.300 / Virus Database: 265.8.5 - Release Date: 3/02/2005 >=20 >=20 > -- > No virus found in this outgoing message. > Checked by AVG Anti-Virus. > Version: 7.0.300 / Virus Database: 265.8.5 - Release Date: 3/02/2005 >=20 >=20 > -- > No virus found in this outgoing message. > Checked by AVG Anti-Virus. > Version: 7.0.300 / Virus Database: 265.8.5 - Release Date: 3/02/2005 >=20 --=20 No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.8.5 - Release Date: 3/02/2005 =20 --=20 No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.8.5 - Release Date: 3/02/2005 =20 |