From: Ben C. <bcl...@pe...> - 2005-02-07 09:21:15
|
Dear Alex, I will answer you in line: Alex Peeters wrote: > Question? > > my $performanceData = "duration=$responseTime s;$trendline;;; 'response > time'=$responseTime s;$trendline;;;"; > > DUMMY-T5 > Condenced View test > <http://asnmtap.citap.be/cgi-bin/perfparse.cgi?graph=1&host=DUMMY%2DT5&service=Condenced+View+test&metric=duration> > duration > 2005-02-06 17:34:00 > 1 > UP > <http://asnmtap.citap.be/cgi-bin/perfparse.cgi?graph=1&host=DUMMY%2DT5&service=Condenced+View+test&metric=response+time> > response time > 2005-02-06 17:32:00 > 1 > WARNING > > The responstime is alway the same in this test for ‘duration’ and > ‘response time, and sended at the same time > > 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 PP. This suggests one of the metrics failed. Check your drop file. I see you have a small error: You have: $performanceData = "duration=$responseTime s;$trendline;;; Should be: $performanceData = "duration=${responseTime}s;$trendline;;; No space between value and unit. This may help. > Question? > > *Administration* > > Administraion Menu > <http://asnmtap.citap.be/cgi-bin/perfparse.cgi?admin_menu=1> > > Is it not ‘Administration Menu’ ? Yes. I am dyslexic. Since my 'vi' has no spell checker, I relay on 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? > > > Is it possible to sea the results from the same host, service coming > from one raw data, into one graphics. Soon. My self and Yves have been arguing hard about the best way of doing this. Unfortunately we both have little time available. As soon as I can find a few days, this will be done. This will be completed like a shopping card. You will add metrics to your cart, then 'check out' and store a permanent template. This can then be used at any time to draw multiple metrics. Watch this space! > I mean, is it possible to have the results for ‘duration’ and ‘response > 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? > > The name ‘Host’ and ‘Service’ are the hard coded? > > This because into ASNMTAP, ‘Host’ means there ‘Plugin Group’ and > ‘Service’ means there ‘Plugin Title’ and if possible I want to change > these two names? Maybe you want to do a patch for us? Edit libpp_common.h and add: #define HOST_TITLE = _("Host"); #define SERVICE_TITLE = _("Title"); Then go through the code changing this. In your code you can change this to something else. If this is popular, this can become a configuration variable. > *A working version of PerfParse integrated into ASNMTAP:* > > * * > > *PerfParse facilitates the storage and analysis of binary performance > data produced by the Application Monitoring > <http://asnmtap.citap.be/cgi-bin/perfparse.cgi>* > > http://asnmtap.citap.be/asnmtap/nav/test/reports-index-cv.html > > http://asnmtap.citap.be/cgi-bin/perfparse.cgi Interesting! Please keep sending your ideas :) Regards, Ben Clewett. > > > > > > -----Original Message----- > *From:* Alex Peeters [mailto:ale...@ci...] > *Sent:* zondag 6 februari 2005 12:56 > *To:* 'bcl...@pe...' > *Cc:* 'gc...@pe...' > *Subject:* RE: Perfparse > > > > > > The idea is to replace: > > /opt/asnmtap/perfparse/bin/perfparse_nagios_pipe_command.pl > /opt/asnmtap/perfparse/var/var/perfdata-host.log "$TIMET$" "$HOSTNAME$" > "$OUTPUT$" "$PERFDATA$" > > > > > > with something like: > > /opt/asnmtap/perfparse/bin/ perfparse-pluginoutput2mysql > --pluginoutput "$TIMET$" "$HOSTNAME$" "$OUTPUT$" "$PERFDATA$" > > > > > > Hi Ben, > > > > Do you remember that i told you that is wanted to port perfparse to asnmtap, > > my application monitoring tool I’am writing. > > > > Now I have performance data support in it compatible with nagios. > > > > I will do my first test with perfparse-log2mysql, but my question is > > of that that is not possible to have a command perfparse-pluginoutput2mysql > > where perfparse-pluginoutput2mysql give me the possibility to write > > directly the output of my plugin into the database. > > > > With perfparse-log2mysql, I need to write the plugin output first into a > file, > > and then perfparse-log2mysql add these data to the database. > > > > perfparse-log2mysql - help > > -l, --serviceperf-log <string> : Input log source (from nagios or > perfparsed) > > > > The question is, can you moddify a version perfparse-log2mysql of where > I can give the plugin output as a parameter please: > > perfparse-pluginoutput2mysql > > -p, --pluginoutput <string> : pluginoutput (from nagios or perfparsed) > > > > > > *Application System Network Monitoring Tool Alex Peeters* > <http://asnmtap.citap.be/##> > > > > http://asnmtap.citap.be <http://asnmtap.citap.be/> > > > > -- Alex > > > > > > > > > > > -- > 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 > > > -- > 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 > > > -- > 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 > > > -- > 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 > > > -- > 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 > |