From: Yves <yme...@pe...> - 2005-02-18 17:52:00
|
Alex, there were a lot of mails (and a problem on my mailbox is that they= are duplicate...) Ben and I subscribe to per...@li... so you can answer= to only the list. Do you subscribe to perfparse-devel-int too ? So I'm not sure about what you found yourself and what is still a problem= . I just noticed this: #if defined USE_SOURCE_NAGIOS ... #elseif defined USE_SOURCE_ASNMTAP ... #endif It should work better than #ifdef :) Could you write a new mail with what is working, what is still not workin= g and what you would like us to give our opinion ? :) Yves (lost with so many mails :) > #ifdef USE_SOURCE_NAGIOS > /* > #define KEYWORD_APPLICATION N_("Nagios") > #define KEYWORD_HOST N_("Host") > #define KEYWORD_SERVICE N_("Title") > #elseif USE_SOURCE_ASNMTAP > */ > #define KEYWORD_APPLICATION N_("ASNMTAP") > #define KEYWORD_HOST N_("Plugin") > #define KEYWORD_SERVICE N_("Unique Key") > #endif > > > #ifdef USE_SOURCE_NAGIOS > /* > printf(" %s%s", FONT,_("<b>Note:</b> Host and Host Data > will be deleted when\n" > " <font fact=3D\"Courier\">perfparse-db-purge</font> is > next run.\n" > " Please dissable performance data in Nagios for any > hosts you wish to delete.\n" > " Otherwise hosts will be regenerated on next import of > data from that host.")); > #elseif USE_SOURCE_ASNMTAP > */ > printf(" %s%s", FONT,_("<b>Note:</b> Plugin and Plugin > Data will be deleted when\n" > " <font fact=3D\"Courier\">perfparse-db-purge</font> is > next run.\n" > " Please dissable performance data in ASNMTAP for any > Plugins you wish to delete.\n" > " Otherwise plugins will be regenerated on next import of > data from that plugin.")); > #endif > > > > This means that #ifdef USE_SOURCE_NAGIOS works but that the problem is = with > USE_SOURCE_ASNMTAP --=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/ - |