From: Flo G. <fl...@bi...> - 2005-02-09 10:00:23
|
Hi, what is the ASNMTAP tool? A nagios clone? Just curious. You talk about performance problems with nagios. I had them too with snmp checks. But since i use snmppd (snmp proxy daemon) http://bubble.nsys.by/projects/snmppd/ all problems are gone. About translation things: I'm not familiar with gettext(), but is it good to translate single words? I think we always have to use complete sentences in translations. Examples: english: Segmentation fault german word by word: Segmentierung Fehler german contextual: Speicherzugriffsfehler Sometimes verbs and nouns are not at the same place after translation, and some languages are strange: Indonesian don't have time information in verbs ("do", "did", "have done", "will do") but in additional words. Sonds like "do yesterday", "do tomorrow", "do soon", ... Flo On Wed, 9 Feb 2005, Ben Clewett wrote: > Alex, > > You have some good ideas and I can see you are keen to get going. > > You suggestion about flags in the configure sounds like the correct option. > > Before you do too much work, I am keen to have some feedback from other users. > As I said, the current method you use will break translation and make > re-translation harder. > > Eg, to translate: "Show all Hosts below" is easy. > To translate three isolated strings: " below", "Hosts" & "Show all " may > result in a bad translation. > > To break the current translations requires a very good reason, as this is the > work of many people. :) > > If you can wait a short while for the opinion of other users, this would be > adventagious. > > But your work is very important as you will force the development of PerfParse > into a more generic tool, which can be applied to more than just Nagios data. > So your patch and other work in time, will be extremely useful and definitely > result in a better product. > > Regards, Ben. > > > > > On Tue, 8 Feb 2005 23:02:08 +0100, Alex Peeters wrote >> Hi, >> >> I like a non-destructive method. >> >> The example: >> #ifdef USE_NAGIOS >> _("Host"); >> #elsif USE_ASNMTAP >> _("Plugin"); >> #endif >> >> is al lot of work. >> >> The idea from Yves, by using constants definitions into libpp_common.h >> >> #if ENABLE_ASNMTAP >> #define APPLICATION_TITLE (_("ASNMTAP")) >> #define HOST_TITLE (_("Plugin")) >> #define SERVICE_TITLE (_("Unique Key")) >> #define RAW_REPORT_TITLE (_("Raw ASNMTAP Plugin Report")) >> #define MARK_DELETION_TITLE (_("Mark Plugin for complete deletion.")) >> #define DELETION_POLICIES_TITLE (_("Deletion Policies for Plugins")) #endif >> >> #if ENABLE_NAGIOS >> #define APPLICATION_TITLE (_("Nagios")) >> #define HOST_TITLE (_("Host")) >> #define SERVICE_TITLE (_("Title")) >> #define RAW_REPORT_TITLE (_("Raw Nagios Host Report")) >> #define MARK_DELETION_TITLE (_("Mark Host for complete deletion.")) >> #define DELETION_POLICIES_TITLE (_("Deletion Policies for Hosts")) >> #endif >> >> is less destructive. >> >>> I very much want to use your system. >>> Possibly you can let us know a little more about it? >> The data coming from the plugins is Nagios compatible. I use Nagios for >> for monitoring system and network compontents. But from the moment a >> test takes more then 10 sec, Nagios can't be used anymore? >> >> ASNMTAP can run Nagios or ASNMTAP Nagios compatible plugins. >> >> These plugins that simulate a users for a whole application. >> >> That can be cactus, ftp servers (with up and downloading from files), >> setting up a ras connection to test it, testing a phone central, >> testing the sending and receiving from emails, receiving from xml emails >> with the status from test done by other processes, to report >> problems, ... >> >>> Although some user may want to use both systems :) >> >> I also use both Nagios and ASNMTAP onto the same server. I dit >> compile it 2 times. One time normally, and one time with >> >> --prefix=/opt/asnmtap/perfparse --with-imagedir=/opt/asnmtap/htmlroot/img/ >> --with-cgidir=/opt/asnmtap/htmlroot/cgi-bin >> --with-http_image_path=/asnmtap/img >> >> Is it possible to have the final patch into your next release, >> so that I don't need to change every time there is a new release? >> >> May i make also a version of the 'Perfparse addon for Nagios' >> picture, 'Perfparse addon for ASNMTAP'? >> >> Now I compile with: >> >> ./configure --prefix=/opt/asnmtap/perfparse >> --with-imagedir=/opt/asnmtap/htmlroot/img/ >> --with-cgidir=/opt/asnmtap/htmlroot/cgi-bin >> --with-http_image_path=/asnmtap/img >> to compile perfparse. >> >> Is it possible to have one parameters: >> >> ./configure--enable-asnmtap >> >> but where for the nagios users because of the >> --enable-nagios (default) parameters nothings change!!! >> >> so that it automatically compiles with the next default parameters: >> >> --prefix=/opt/asnmtap/perfparse --with-imagedir=/opt/asnmtap/htmlroot/img/ >> --with-cgidir=/opt/asnmtap/htmlroot/cgi-bin >> --with-http_image_path=/asnmtap/img >> >> and where then in libpp_common.h >> >> #if ENABLE_ASNMTAP >> #define APPLICATION_TITLE (_("ASNMTAP")) >> #define HOST_TITLE (_("Plugin")) >> #define SERVICE_TITLE (_("Unique Key")) >> #define RAW_REPORT_TITLE (_("Raw ASNMTAP Plugin Report")) >> #define MARK_DELETION_TITLE (_("Mark Plugin for complete deletion.")) >> #define DELETION_POLICIES_TITLE (_("Deletion Policies for Plugins")) #endif >> >> #if ENABLE_NAGIOS >> #define APPLICATION_TITLE (_("Nagios")) >> #define HOST_TITLE (_("Host")) >> #define SERVICE_TITLE (_("Title")) >> #define RAW_REPORT_TITLE (_("Raw Nagios Host Report")) >> #define MARK_DELETION_TITLE (_("Mark Host for complete deletion.")) >> #define DELETION_POLICIES_TITLE (_("Deletion Policies for Hosts")) #endif >> >> and where then the 'Perfparse addon for ASNMTAP' pictures are copied >> during install instead of the 'Perfparse addon for Nagios' pictures >> >> -- Alex Peeters >> >> -----Original Message----- >> From: Ben Clewett [mailto:ben...@ww...] >> Sent: dinsdag 8 februari 2005 22:34 >> To: ale...@ci...; per...@li... >> Cc: ale...@sm... >> Subject: Re: Perfparse 2005 02 09, the one hase the correct patch >> >> Alex, >> >> This looks like an interesting piece of work. >> >> I think now we need to discuss with the other members where we take this. >> >> We can continue with this method but break the current translation. >> Or do something else. For this there are lots of other people who >> need to comment :) >> >> I very much want to use your system. Possibly you can let us know a >> little more about it? >> >> We have to work out the best way of making PerfParse generic to any data >> gathering system. If breaking the translation is the best way for >> the greater good, then so be it. Otherwise, we must be open to >> other non-destructive methods. >> >> It occurs to me that this may work well: >> >> #ifdef USE_NAGIOS >> _("Host"); >> #elsif USE_DARREN_KEMP_SYSTEM >> _("Plugin"); >> #endif >> >> Although some user may want to use both systems :) >> >> I am sorry I have only just thought if this way. >> >> But as I said, I think other members need to comment now. >> >> I have moved this discussion to per...@li... >> where this discussion is more appropriate. >> >> Ben. >> >> On Tue, 8 Feb 2005 19:43:51 +0100, Alex Peeters wrote >>> Hi Ben, >>> >>> I have attached a file with the patch and modified file into it. >>> >>> The patch have been created with: >>> >>> diff -u perfparse-0.105.5-asnmtap/libpp_common/ >>> perfparse-0.105.5/libpp_common/ > perfparse -patch-commom >>> >>> diff -u perfparse-0.105.5-asnmtap/cgi/ perfparse-0.105.5/cgi > perfparse >>> -patch-cgi >>> >>> -- Alex >>> >>> >>> >>> -- >>> No virus found in this outgoing message. >>> Checked by AVG Anti-Virus. >>> Version: 7.0.300 / Virus Database: 265.8.6 - Release Date: 7/02/2005 >> >> -- >> PerfParse Project (http://www.perfparse.org) >> >> -- >> No virus found in this incoming message. >> Checked by AVG Anti-Virus. >> Version: 7.0.300 / Virus Database: 265.8.6 - Release Date: 7/02/2005 >> >> >> -- >> No virus found in this outgoing message. >> Checked by AVG Anti-Virus. >> Version: 7.0.300 / Virus Database: 265.8.6 - Release Date: 7/02/2005 > > > > -- > PerfParse Project (http://www.perfparse.org) > > > ------------------------------------------------------- > 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-devel-int mailing list > Per...@li... > https://lists.sourceforge.net/lists/listinfo/perfparse-devel-int > |