For the capacity management it is of interest to monitor the development of performance values over a longer time distance within graphs.
Today we will offer the community a collection of templates to monitor the load of a Microsoft Exchange 2007 server infrastructure.
This template is made up of an data import file for Cacti version 0.8.x importable directly from the web front-end. The other file ( exchange07.pl ) has to be placed in your cacti home in the folder scripts/
Advice: Don’t forget to edit the path to your local check_nt binary and the path for the comunication!
Graphs for number of connections and mail exchange statistics:Graphs for RPC statistics and SMTP queues:Graphs for the optional SPAM filter service activity:Download:
Cacti importable host “Exchange 2007” template and script: Exchange07_CactiTempl_01
Import the XML vai Import feature from webCopy the Perl script to ./cacti/scripts/exchange07.pl
After my graduation in Applied Computer Science at the Free University of Bolzano I decided to start my professional career outside the province. With a bit of good timing and good luck I went into the booming IT-Dept. of Geox in the shoe district of Montebelluna, where I realized how a big IT infrastructure has to grow and adapt to quickly changing requirements. During this experience I had also the nice possibility to travel the world, while setting up the various production and retail areas of this company. Arrived at Würth Phoenix I started developing on our monitoring solution NetEye. Today, in my position as Consulting an Project Manager I am continuously heading to implement our solutions to meet the expectation of your enterprise customers.
Author
Patrick Zambelli
After my graduation in Applied Computer Science at the Free University of Bolzano I decided to start my professional career outside the province. With a bit of good timing and good luck I went into the booming IT-Dept. of Geox in the shoe district of Montebelluna, where I realized how a big IT infrastructure has to grow and adapt to quickly changing requirements. During this experience I had also the nice possibility to travel the world, while setting up the various production and retail areas of this company. Arrived at Würth Phoenix I started developing on our monitoring solution NetEye. Today, in my position as Consulting an Project Manager I am continuously heading to implement our solutions to meet the expectation of your enterprise customers.
The new version of WÜRTHPHOENIX NetEye has been released. Among the various newly introduced modules, one of the most significant features is Real User Monitoring. The Real User Monitoring is an innovative approach that checks the availability, reliability and response time Read More
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 Read More
Great looking script and template. Could you please elaborate what you mean when you said, under advice, “and the path for the comunication!”
my check_nt path is correct (it is the same as in the script), but I am not sure what you mean by the path for communication.
When I import the template and put the .pl in the ./cact/scripts/ folder and create a device with this template, cacti just says “data not being graphed”
you did right, you have just to set the path in the exchange07.pl in row 8 to your current check_nt path.
I would suggest to enable you cacti log to debug level and read in the log file the results from the poller.
As a next step try to run the check_nt command with the Counter values manually. The read counter values easily readable from within the perl script.
With some fiddling I’ve been able to get all of these working with the exception of the delivery statistics. Looking in the poller log its not getting any data, but when I run the script from the command line it returns as expected. Any thoughts?
Could you please explain where to find Check_NT directory. I am not able to find it in my Ubuntu box. Secondly should we change Line 30 my$CheckNTPath=’/usr/lib/nagios/plugins/’ because it says Nagios. Should I change it to a specific Cacti directory?
Hi martin,
the plugin comunicates to the remote Windows server via NSC++ agent ( http://www.nsclient.org/nscp/wiki/NSClientServer ). This agent is the requirement to be able to access the COUTER value of the Exchange server.
The counter part to call this agent is the “check_nt” binary that has to be placed on your cacti host.
Thanks for the script.
I have installed on my CactiEZ to monitor the Exchange 2010 SP1 (installed NSclient x64). But I didn’t get any result on the graphs. Once I try to run command manually, I got the message below (all values are 0)
Great looking script and template. Could you please elaborate what you mean when you said, under advice, “and the path for the comunication!”
my check_nt path is correct (it is the same as in the script), but I am not sure what you mean by the path for communication.
When I import the template and put the .pl in the ./cact/scripts/ folder and create a device with this template, cacti just says “data not being graphed”
any suggestions?
Hello Charles,
you did right, you have just to set the path in the exchange07.pl in row 8 to your current check_nt path.
I would suggest to enable you cacti log to debug level and read in the log file the results from the poller.
As a next step try to run the check_nt command with the Counter values manually. The read counter values easily readable from within the perl script.
best regards,
patrick
It appears this is for Naggios on Linux???? I’m pretty new to this, but where is the “check_NT” path for Cacti on Windows?
With some fiddling I’ve been able to get all of these working with the exception of the delivery statistics. Looking in the poller log its not getting any data, but when I run the script from the command line it returns as expected. Any thoughts?
Could you please explain where to find Check_NT directory. I am not able to find it in my Ubuntu box. Secondly should we change Line 30 my$CheckNTPath=’/usr/lib/nagios/plugins/’ because it says Nagios. Should I change it to a specific Cacti directory?
Hi martin,
the plugin comunicates to the remote Windows server via NSC++ agent ( http://www.nsclient.org/nscp/wiki/NSClientServer ). This agent is the requirement to be able to access the COUTER value of the Exchange server.
The counter part to call this agent is the “check_nt” binary that has to be placed on your cacti host.
Dear Patrick,
Thanks for the script.
I have installed on my CactiEZ to monitor the Exchange 2010 SP1 (installed NSclient x64). But I didn’t get any result on the graphs. Once I try to run command manually, I got the message below (all values are 0)
[root@vnpdc-nms01 ~]# /usr/bin/perl /var/www/html/scripts/exchange07.pl -H 192.168.1.3 -c connections
UserCount:0 ActiveUserCount:0 ActiveConn:0
Could you please help on this? Where is my wrong?
Thank you in advance,
Minh