From: Yves <yme...@pe...> - 2005-02-07 13:20:57
|
Alex, The following hack by Ben is a quick hack. Do it when you want to change = something yourself and when you don't want to spend too much time on it. Besides this, there is a mistake. The quick hack should be this : #define HOST_TITLE (_("Host")) #define SERVICE_TITLE (_("Title")) (and I have not tested if it works that way; I'm sure that is does not wo= rk the other way :) Yves >> The name =91Host=92 and =91Service=92 are the hard coded? >> >> This because into ASNMTAP, =91Host=92 means there =91Plugin Group=92 a= nd >> =91Service=92 means there =91Plugin Title=92 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 =3D _("Host"); > #define SERVICE_TITLE =3D _("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 as= nmtap, >> >> my application monitoring tool I=92am 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-pluginoutput2= mysql >> >> 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 wher= e >> I can give the plugin output as a parameter please: >> >> perfparse-pluginoutput2mysql >> >> -p, --pluginoutput <string> : pluginoutput (from nagios or perfpar= sed) >> >> >> >> >> >> *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 >> > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > 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/ - |