Exchange 2007 from Linux
Moderators: Developers, Moderators
Exchange 2007 from Linux
Couldn’t find any templates for exchange 2007, so I build some myself, based on other templates found in this forum (Thnx DAP & DevilSun)
These templates uses the nagios client, so this version works on linux. It’s build on CactiEZ. Maybe you should change the location to your check_nt binary in the script.
Also, don’t forget to install the NSClient
These templates uses the nagios client, so this version works on linux. It’s build on CactiEZ. Maybe you should change the location to your check_nt binary in the script.
Also, don’t forget to install the NSClient
- Attachments
-
- Memory.JPG (46.28 KiB) Viewed 36378 times
-
- Messages.JPG (57.32 KiB) Viewed 36377 times
-
- SMTP.JPG (42.29 KiB) Viewed 36377 times
-
- SpamConfidenceLevel.JPG (75.67 KiB) Viewed 36377 times
-
- Users.JPG (45.01 KiB) Viewed 36377 times
Last edited by Sjoerd on Mon Jun 09, 2008 4:02 am, edited 1 time in total.
Check the localtion where your check_nt binary is located, and change it in the script
Here are the scripts. Put these in your <cacti dir>\scripts folder.
Rename to *.pl extension (ie, remove the .txt extension)
Here are the scripts. Put these in your <cacti dir>\scripts folder.
Rename to *.pl extension (ie, remove the .txt extension)
- Attachments
-
- exchange2007_memory.pl.txt
- (870 Bytes) Downloaded 1882 times
-
- exchange2007_messages.pl.txt
- (1.55 KiB) Downloaded 2572 times
-
- exchange2007_SMTP_traffic.pl.txt
- (528 Bytes) Downloaded 1899 times
-
- exchange2007_spamconfidencelevel.pl.txt
- (2.07 KiB) Downloaded 1674 times
-
- exchange2007_users.pl.txt
- (710 Bytes) Downloaded 2335 times
Last edited by Sjoerd on Wed Nov 11, 2009 7:03 am, edited 2 times in total.
The data templates....
- Attachments
-
- cacti_data_template_exchange_2007_-_memory.xml
- (6.73 KiB) Downloaded 1532 times
-
- cacti_data_template_exchange_2007_-_messages.xml
- (8.77 KiB) Downloaded 1811 times
-
- cacti_data_template_exchange_2007_-_smtp_traffic.xml
- (4.78 KiB) Downloaded 1632 times
-
- cacti_data_template_exchange_2007_-_spam_confidence_level.xml
- (12.5 KiB) Downloaded 1538 times
-
- cacti_data_template_exchange_2007_-_users.xml
- (5.72 KiB) Downloaded 2168 times
And the graph templates....
- Attachments
-
- cacti_graph_template_exchange_2007_-_memory.xml
- (19.62 KiB) Downloaded 1526 times
-
- cacti_graph_template_exchange_2007_-_messages.xml
- (29.71 KiB) Downloaded 1587 times
-
- cacti_graph_template_exchange_2007_-_smtp_traffic.xml
- (13.03 KiB) Downloaded 1596 times
-
- cacti_graph_template_exchange_2007_-_spam_confidence_level.xml
- (45.78 KiB) Downloaded 1509 times
-
- cacti_graph_template_exchange_2007_-_users.xml
- (15.62 KiB) Downloaded 1796 times
And an other graph....
- Attachments
-
- cacti_graph_template_exchange_2007_-_spam_filter.xml
- (29.51 KiB) Downloaded 1256 times
-
- cacti_data_template_exchange_2007_-_spam_filter.xml
- (8.67 KiB) Downloaded 1195 times
-
- exchange2007_spamfilter.pl.txt
- (1.37 KiB) Downloaded 1053 times
-
- SpamFilter.JPG (57.81 KiB) Viewed 36379 times
Last edited by Sjoerd on Wed Nov 11, 2009 7:03 am, edited 2 times in total.
-
- Cacti User
- Posts: 379
- Joined: Fri Feb 16, 2007 11:37 am
- Location: Emeryville, CA
- Contact:
would it be possible for someone to port these to a Windows cacti system? We recently upgraded to Exchange 2007, and i miss my Exchange graphs.
thanks in Advance.
app
thanks in Advance.
app
[b]Cacti Version[/b] - 0.8.7b
[b]Plugin Architecture[/b] - 2.2 Beta
[b]Poller Type[/b] - CMD.php
[b]Server Info[/b] - Linux 2.6.9-78.0.1.ELsmp
[b]Web Server[/b] - Apache/2.0.52 (Red Hat)
[b]PHP[/b] - 4.3.9
[b]MySQL[/b] - 4.1.22
[b]RRDTool[/b] - 1.2.23
[b]SNMP[/b] - 5.1.2
[b]Plugins[/b][list]Global Plugin Settings (settings - v0.5)
SuperLinks (superlinks - v0.72)
Host Info (hostinfo - v0.2)
Report Creator (reports - v0.3)
Update Checker (update - v0.4)
Realtime for Cacti (realtime - v0.35)
Cacti Log View (clog - v1.1)
RRD File Cleaner (rrdclean - v0.36)
Network Discovery (discovery - v0.9)
Uptime (uptime - v0.4)[/list]
[b]Plugin Architecture[/b] - 2.2 Beta
[b]Poller Type[/b] - CMD.php
[b]Server Info[/b] - Linux 2.6.9-78.0.1.ELsmp
[b]Web Server[/b] - Apache/2.0.52 (Red Hat)
[b]PHP[/b] - 4.3.9
[b]MySQL[/b] - 4.1.22
[b]RRDTool[/b] - 1.2.23
[b]SNMP[/b] - 5.1.2
[b]Plugins[/b][list]Global Plugin Settings (settings - v0.5)
SuperLinks (superlinks - v0.72)
Host Info (hostinfo - v0.2)
Report Creator (reports - v0.3)
Update Checker (update - v0.4)
Realtime for Cacti (realtime - v0.35)
Cacti Log View (clog - v1.1)
RRD File Cleaner (rrdclean - v0.36)
Network Discovery (discovery - v0.9)
Uptime (uptime - v0.4)[/list]
Got them working. Don't forget to edit the .pl files for the path to your check_nt. There is also a typo in exchange2007_messages.pl file (incorrect single quote).DanW wrote:anyone got these working?
i can't get them working at all ..
also i'm using nsclient++
A BIG THANKS to Sjoerd for sharing your work.
Exchange Templates for Exchange 2007
God bless you man. Thanks a lot. Can´t wait for more scripts for Exchange 2007.
Two questions ... The Spam filters must be placed até the Edge Transport or the Hub Transport role of the exchange ? The memory template must be placed where ? Mine is showing only 0s.
#I´m using NSClient++, is there any problem ?
Thanks and advance and congratulations for the really good work.
Two questions ... The Spam filters must be placed até the Edge Transport or the Hub Transport role of the exchange ? The memory template must be placed where ? Mine is showing only 0s.
#I´m using NSClient++, is there any problem ?
Thanks and advance and congratulations for the really good work.
Re: Exchange Templates for Exchange 2007
Don't know on the spam part as we use a third party product.papada wrote:God bless you man. Thanks a lot. Can´t wait for more scripts for Exchange 2007.
Two questions ... The Spam filters must be placed até the Edge Transport or the Hub Transport role of the exchange ? The memory template must be placed where ? Mine is showing only 0s.
My memory graph is reading 0 too. I have not been able to figure out why. When I manually run the perl script I get results back and everything looks correct.
Sjoerd are you still around? Any ideas?
Hi All,
Running 0.8.7b on CentOS 5.1
Having issues with all these templates, no data being displayed in graphs. Just nan's, any ideas??
I can run the scripts on the command line with no issues on data collection.
/usr/bin/perl /var/www/html/cacti-0.8.7b/scripts/exchange2007_messages.pl xxx.xxx.xxx.xxx IS_MsgsSent:8116 IS_MsgsDelivered:54613 IS_MsgsSubmitted:8816 SMTP_MsgsReceived:0
SMTP_MsgsSent:0 SMTP_MsgsSubmitted:0
/usr/bin/perl /var/www/html/cacti-0.8.7b/scripts/exchange2007_memory.pl xxx.xxx.xxx.xxx mba:77645672 cba:65965576 mvba:66912256 cvba:60489728
09/18/2008 11:42:04 AM - SPINE: Poller[0] Host[790] DS[24227] SCRIPT: /usr/bin/perl /var/www/html/cacti-0.8.7b/scripts/exchange2007_memory.pl , output: U
09/18/2008 11:42:04 AM - SPINE: Poller[0] Host[790] DS[24227] WARNING: Result from SCRIPT not valid. Partial Result: ...
09/18/2008 11:42:04 AM - SPINE: Poller[0] Host[790] DEBUG: The POPEN returned the following File Descriptor 6
09/18/2008 11:42:04 AM - SPINE: Poller[0] Host[790] DS[24226] SCRIPT: /usr/bin/perl /var/www/html/cacti-0.8.7b/scripts/exchange2007_messages.pl , output: U
09/18/2008 11:42:04 AM - SPINE: Poller[0] Host[790] DS[24226] WARNING: Result from SCRIPT not valid. Partial Result: ...
09/18/2008 11:42:04 AM - SPINE: Poller[0] Host[790] DEBUG: The POPEN returned the following File Descriptor 6
Any help would be much appreciated.
Thanks
Ken
Running 0.8.7b on CentOS 5.1
Having issues with all these templates, no data being displayed in graphs. Just nan's, any ideas??
I can run the scripts on the command line with no issues on data collection.
/usr/bin/perl /var/www/html/cacti-0.8.7b/scripts/exchange2007_messages.pl xxx.xxx.xxx.xxx IS_MsgsSent:8116 IS_MsgsDelivered:54613 IS_MsgsSubmitted:8816 SMTP_MsgsReceived:0
SMTP_MsgsSent:0 SMTP_MsgsSubmitted:0
/usr/bin/perl /var/www/html/cacti-0.8.7b/scripts/exchange2007_memory.pl xxx.xxx.xxx.xxx mba:77645672 cba:65965576 mvba:66912256 cvba:60489728
09/18/2008 11:42:04 AM - SPINE: Poller[0] Host[790] DS[24227] SCRIPT: /usr/bin/perl /var/www/html/cacti-0.8.7b/scripts/exchange2007_memory.pl , output: U
09/18/2008 11:42:04 AM - SPINE: Poller[0] Host[790] DS[24227] WARNING: Result from SCRIPT not valid. Partial Result: ...
09/18/2008 11:42:04 AM - SPINE: Poller[0] Host[790] DEBUG: The POPEN returned the following File Descriptor 6
09/18/2008 11:42:04 AM - SPINE: Poller[0] Host[790] DS[24226] SCRIPT: /usr/bin/perl /var/www/html/cacti-0.8.7b/scripts/exchange2007_messages.pl , output: U
09/18/2008 11:42:04 AM - SPINE: Poller[0] Host[790] DS[24226] WARNING: Result from SCRIPT not valid. Partial Result: ...
09/18/2008 11:42:04 AM - SPINE: Poller[0] Host[790] DEBUG: The POPEN returned the following File Descriptor 6
Any help would be much appreciated.
Thanks
Ken
These work great - thank you for sharing them!
A few notes:
A few notes:
- *Works fine with Exchange 2007 on Windows Server 2008, just don't forget to open the proper firewall port for NSClient++
*Use the x64 version of NSClient++ (the i386 version will not install on Server 2008 anyway)
*Check data ports - they need to be the same in the scripts, NSClient and the Windows Advanced Firewall
*For the memory graph: Each variable in the Data Template needs to have its Maximum Value upped to something like 100 million. With 8gb of server memory, the default was waaay too low.
*The SMTP_traffic data input method needed a little adjusting for case sensitivity, but that may have been my bad typing when creating the script.
Last edited by petegala on Fri Nov 28, 2008 5:04 pm, edited 1 time in total.
Who is online
Users browsing this forum: No registered users and 8 guests