The previous Blog article ( http://www.neteye-blog.it/?p=1502 ) on how to implement a capacity view on the e-mail exchange on Microsoft Exchange servers works fine for international English servers. Due to the fact that the template makes use of system counters for the data backend, the remote system calls have to be adjusted for hosts installed in regional languages.
During my latest customer visits in Germany I experienced 2003 Servers installed in language and I took the occasion to translate the template for German counter objects. Due to the 2003 specific deeply-build in language specifications there arise some problems in simply translating the counter names for the check_nt call.
Due tue many special, non standard ASCII characters the check_nt call from remote does not succeed from our non Unicode system and I opted for the implementation of the counter call within the remote Microsoft system by calling it via NRPE.
Here comes the configuration for the NSClient++ we are using on the MS side. Edit the NSC.ini and add in the [NRPE Handlers] section those command definitions:
check_exch_submittedmsg=inject checkCounter “MSExchangeIS Postfach(_Total)Übermittelte Nachrichten” ShowAll
check_exch_sentmsg=inject checkCounter “MSExchangeIS Postfach(_Total)Gesendete Nachrichten” ShowAll
check_exch_deliveredmsg=inject checkCounter “MSExchangeIS Postfach(_Total)Übergebene Nachrichten” ShowAll
check_exch_sendqueuesize=inject checkCounter “MSExchangeIS Postfach(_Total)Größe der Sendewarteschlange” ShowAll
check_exch_deliveryqueuesize=inject checkCounter “MSExchangeIS Postfach(_Total)Größe der Empfangswarteschlange” ShowAll
For your convenience we have prepared a NSC.ini file already usable. Make sure to maintain the Unicode encoding and to reload the NSClient++ service !
Well, now we’re almost done. Copy the exchange07_de Perl script into your “scripts” folder of Cacti and then load the Host template for Microsoft Exchange DE cacti_host_template_exchange_de into Cacti and define your Device using this template. Enjoy !