Главная Блог boba zabbix, zabbix_sender, windows & utf-8
28.11.2012 06:07:11
zabbix, zabbix_sender, windows & utf-8

суть в том, что в zabbix zabbix_sender под *nix может послать русские значения в items, а под windows нет. ниже небольшой патчик. и это при заявке всесторонней поддержки unicode еще с 1.8.

-int zabbix_main(int argc, char **argv)
+int main(int argc, char **argv)
 
+#ifdef WIN32
+ int wmain (int argc, wchar_t *wargv[]) {
+ char **argv;
+ int ret;
+ int i;
+
+ if ((argv = calloc(argc+1, sizeof(char*))) == NULL)
+ return 1;
+ for (i = 0; i < argc; i++){
+ int n = WideCharToMultiByte (CP_UTF8, 0, wargv[i], -1, NULL, 0, NULL, NULL);
+ argv[i] = malloc (n);
+ WideCharToMultiByte (CP_UTF8, 0, wargv[i], -1, argv[i], n, NULL, NULL);
+ }
+ ret = zabbix_main(argc, argv);
+
+ for (i=0; i < argc; i++ ){
+ free (argv[i]);
+ }
+ free(argv);
+ return ret;
+ }
+#else
+ int main (int argc, char *argv[]) {
+ return zabbix_main(argc, argv);
+ }
+#endif
 




29.11.1999 19:00:00
sdf
The simple style of the rolex replica watch is often not as complex mechanical rolex replica uk watches pleasing charm, but simply that its style is equally intriguing. Simple style rolex replica uk like the spring rain, and silent, can cause the infinite daydream and fun people. Today we recommend three men's watch, and everyone together to taste the charm of hublot replica simplicity.

answer
 
29.11.1999 19:00:00
sdf
The simple style of the rolex replica watch is often not as complex mechanical rolex replica uk watches pleasing charm, but simply that its style is equally intriguing. Simple style rolex replica uk like the spring rain, and silent, can cause the infinite daydream and fun people. Today we recommend three men's watch, and everyone together to taste the charm of hublot replica simplicity.

answer
 
29.11.1999 19:00:00
sdf
The simple style of the rolex replica watch is often not as complex mechanical rolex replica uk watches pleasing charm, but simply that its style is equally intriguing. Simple style rolex replica uk like the spring rain, and silent, can cause the infinite daydream and fun people. Today we recommend three men's watch, and everyone together to taste the charm of hublot replica simplicity.

answer
 
29.11.1999 19:00:00
sdf
The simple style of the rolex replica watch is often not as complex mechanical rolex replica uk watches pleasing charm, but simply that its style is equally intriguing. Simple style rolex replica uk like the spring rain, and silent, can cause the infinite daydream and fun people. Today we recommend three men's watch, and everyone together to taste the charm of hublot replica simplicity.

answer
 
13.07.2016 02:15:13
xiaojack
Chilcot: Why we awning our aerial to the facts We like to anticipate that we accord our behavior to the evidence. Afterwards all, isn't this the authentication of rationality? If admonition comes forth which reveals we should change our minds, we do.Or do we?Consider an experiment, area hermes replica two groups were recruited. One accumulation was adamantly in favour of basic punishment. They had able animosity on the issue, and had about backed the policy. The added accumulation were adamantly against, abashed by "state-sanctioned murder".These groups were again showed two dossiers. Each of these dossiers were impressive. They marshalled well christian louboutin replica -researched evidence. But here's the thing. The aboriginal abstracts aggregate all the affirmation in favour of basic punishment. The additional aggregate all the affirmation against.Now you ability accept that, confronted by this adverse evidence, the two groups would accept assured that basic abuse is a circuitous accountable with arguments on both sides. You cartier replica uk ability accept accepted them to accept confused a little afterpiece in their views. In fact, the adverse happened - they became added polarised.When asked about their attitudes afterwards, those in favour of basic abuse said they were afflicted with the abstracts citation affirmation in bandage with their views.

answer
 
13.07.2016 02:18:57
xiaojack
Police shootings: Louisiana and Minnesota protests abreast baking point In Baton Rouge, it's not acrimony they feel. It's rage.The humans actuality aloft their choir in prayer, in chants and in song at the afterlife of Alton Sterling. At one point during a demonstration, they bankrupt into replica handbags uk agitated dancing to a boot assumption bandage while singing "Free the People" This is grieving, Louisiana style.The contest in Dallas accept not adapted this arrangement of circadian protests. But it has accustomed association leaders abeyance for thought. How do they approach this charge to air their grievances with the badge afterwards it breaking into violence?On chanel replica Saturday hundreds of humans marched through the streets to the arty Louisiana State Capitol Building. The men stood on the accomplish - clenched fists aloft high. The apparent atramentous ability salute.State Representative Patricia Smith, one of the organisers, told me: "We are praying that it stays peaceful here. We fabricated it through addition day. We've had a few christian louboutin replica arrests, but none of them were absolutely violent."We are allurement our adolescent humans and those from out of boondocks to account our wishes and the wishes of Alton Sterling's family, that there is no added action in Baton Rouge."

answer
 
16.08.2016 07:07:27
ylxtp1314
"Daytona" is alike with the chase clue circuits and is gucci replica handbags actual acclaimed through out the Grand Prix world. It is aswell the name of a Rolex watch, and aswell referred to as the "Oyster Professional Cosmography". chanel replica This watch has become the best of abounding a antagonism disciplinarian and has becoming the tag of getting the "racing driver's choice" due to affidavit actually accurate and justified.The Daytona Rolex was advised to admeasurement time delayed and account the boilerplate acceleration in a race. The Daytona mulberry replica handbags aswell boasts of a ambit additional duke and the minute and hour "totalizators" that can be activated by advance buttons. The bezel is aswell adapted to act as a tachometer. A new watch was launched in 1991 amalgam the acme movement. It had beyond dials and an close clue with allegory colors. Dials were black, white and albino backgrounds with "Daytona" in red.Titan watches are not just accepted in India. The 32 countries it is exported to, accept acclaimed its adherence to excellence. hermes replica handbags Titan bend has absolutely put the Titan cast on the all-around map and affected Titan watches the apple over.

answer
 
31.08.2016 03:49:21
boydiao
<a title="Longchamp replica"href="http://www.longchamphandbags.co.uk"><strong>Longchamp replica</strong></a>

answer
 
24.12.2016 07:06:25
joeychen
Outside of mulberry replica reviews work, Luo biggest hobby is haunted Chongqing major luxury counters. "To visit several times a week, counter attendants know me." Chongqing is not only counter, every city, Luo first thing to do is to stroll the store counter.No encounter some domestic products, Luo will find a professional buyers from abroad. From entry to the present, the light of his own pocket to buy it took three to five hundred thousand.In addition to keep authentic often "learn", but also luxury appraiser and an endless stream of fake "blows." "We will regularly examine some domestic manufacturing fake base, various grades of goods will go to research, or even to some of the boutiques, find purchasing on the web, buy some back to see their work."In Luo opinion, a good luxury appraisers, except for the brand to have enough understanding, with a strong knowledge base, a large number of chanel outlet physical experience, but also "Know thyself", and constantly learn new counterfeiting technology.Over the years, the handbags Luo personally touched no less than 20 000, each brand, each model features bags and he learned the information content of the cross confirmed the accumulated into a huge "knowledge base." And that is a luxury appraisers this career, "settle down" in the present.Usually when shopping, often unconsciously looked Luo passers bag, what brand, what type, it is true, this habit has been infiltrated into every appraisers bones. In May this year, Luo also get the "n-word" authoritative third-party appraisal luxury platform China Certification & Inspection Group luxury appraisers issued with a certificate of ability. The first batch of more than 30 participants by only six, Roger is one of longchamp handbags outlet the only people in Chongqing.

answer
 
20.06.2017 02:31:13
ad
In recent years, the [url=http://www.hotswisswatches.co.uk]rolex replica[/url] watch industry has never stopped retro. Excellent and full of classic retro temperament [url=http://www.channel-ferries.co.uk]replica hublot[/url] watch popular again, make friends too busy to attend to all table become a fashion trend. Vintage [url=http://www.replicawatchesonline.co.uk]swiss replica watches[/url], is the brand watches the classic heritage, and the modern aesthetic needs of the fusion is. "Timeless" their style has a story, with the design to make them more in line with the modern pile [url=http://www.expowatches.co.uk]replica watches[/url] expectations.

answer
 
Answer this post
Name:

E-mail:

  Enter text shown in left:
 



 


  • 2016 (2)
  • 2012 (5)
  • 2011 (2)
  • 2010 (17)
  • 2009 (18)
  • 2008 (20)