Monitoring Exchange 2003 from Linux Cacti
Moderators: Developers, Moderators
Monitoring Exchange 2003 from Linux Cacti
Hi guys,
After spending so much time trying to get this to work I felt like sharing my solution . This works perfect and it is based on the XML templates from this post: http://forums.cacti.net/viewtopic.php?t ... t=exchange - Thanks to DevilSun
I re-created all the Perl scripts for use with Nagios "check_nt" and I can now Monitor the following:
Connections, Delivery stats, Filtering, IMF.[/list]
Get the XML data/graph template from the post above!
After spending so much time trying to get this to work I felt like sharing my solution . This works perfect and it is based on the XML templates from this post: http://forums.cacti.net/viewtopic.php?t ... t=exchange - Thanks to DevilSun
I re-created all the Perl scripts for use with Nagios "check_nt" and I can now Monitor the following:
Connections, Delivery stats, Filtering, IMF.[/list]
Get the XML data/graph template from the post above!
- Attachments
-
- exchange_users_script.pl.txt
- (709 Bytes) Downloaded 4440 times
-
- exchange_emails_script.pl.txt
- (1.27 KiB) Downloaded 2936 times
-
- exchange_filters_script.pl.txt
- (3.8 KiB) Downloaded 2405 times
-
- exchange_imf_script.pl.txt
- (4.11 KiB) Downloaded 3546 times
¬¬ZeRoY¬¬
More details
Forgot to add, on the exchange side, I have NSClient Distrib-1.07.1 installed as a service, SNMP + WMI installed also.
I attached the full package this time with updated XML files. Enjoy,
I attached the full package this time with updated XML files. Enjoy,
- Attachments
-
- exchange_cacti.zip
- (25.49 KiB) Downloaded 4744 times
¬¬ZeRoY¬¬
Re: More details
What do you use for SNMP + WMI??zeroy wrote:Forgot to add, on the exchange side, I have NSClient Distrib-1.07.1 installed as a service, SNMP + WMI installed also.
I check templates and they import ok on my Cacti (0.8.6h) on ClarkConnect 3.2home.
What template caused the problem?
For the other question, SNMP + WMI are installed from Windows 2003 server Setup, see pic attached.
What template caused the problem?
For the other question, SNMP + WMI are installed from Windows 2003 server Setup, see pic attached.
- Attachments
-
- Installing SNMP + WMI on Windows 2003 Server
- SNMP.png (8.96 KiB) Viewed 77418 times
¬¬ZeRoY¬¬
Yeah that is it. Since your using a higher version cacti the XML hash is too high. I am reviewing this post to see if I can use the new XML somehow.
http://forums.cacti.net/viewtopic.php?t ... r+xml+hash
http://forums.cacti.net/viewtopic.php?t ... r+xml+hash
My XML templates are taken from these:
http://forums.cacti.net/viewtopic.php?t ... t=exchange
See if you can import those, if yes then all you have to change is the "Data Input Method". In there change the name of the Perl Script you are calling + remove the <instance> input field and also the <instance> after the Perl script path.
http://forums.cacti.net/viewtopic.php?t ... t=exchange
See if you can import those, if yes then all you have to change is the "Data Input Method". In there change the name of the Perl Script you are calling + remove the <instance> input field and also the <instance> after the Perl script path.
¬¬ZeRoY¬¬
Ok... Got the templates imported/installed - but graphs are all blank,.,.
Debugging the graphs gives (for instance):
Is there anything else I need to start on the Exchange server?[/code]
Debugging the graphs gives (for instance):
Code: Select all
RRDTool Command:
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="CRYUKE16EX1 - Exchange Connections" \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="Connections" \
--slope-mode \
DEF:a="/var/www/html/rra/cryuke16ex1_count_active_users_164.rrd":count_users:AVERAGE \
DEF:b="/var/www/html/rra/cryuke16ex1_count_active_users_164.rrd":count_active_users:AVERAGE \
AREA:a#005199:"Users" \
GPRINT:a:LAST:" Current\:%8.0lf" \
GPRINT:a:AVERAGE:"Average\:%8.0lf" \
GPRINT:a:MAX:"Maximum\:%8.0lf\n" \
LINE2:b#FF4105:"Active Users" \
GPRINT:b:LAST:"Current\:%8.0lf" \
GPRINT:b:AVERAGE:"Average\:%8.0lf" \
GPRINT:b:MAX:"Maximum\:%8.0lf\n"
RRDTool Says:
OK
No longer a n00by, probably, by now an 0ldby
Now Head of Technology at RSCH, back to the prickly subject of Monitorring....
Now Head of Technology at RSCH, back to the prickly subject of Monitorring....
Who is online
Users browsing this forum: No registered users and 1 guest