|
|
| Author |
Message |
Sjoerd
Joined: 28 May 2008 Posts: 7
|
Posted: Mon Jun 09, 2008 3:52 am Post subject: 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
| Description: |
|
| Filesize: |
45.01 KB |
| Viewed: |
4147 Time(s) |

|
| Description: |
|
| Filesize: |
75.67 KB |
| Viewed: |
4147 Time(s) |

|
| Description: |
|
| Filesize: |
42.29 KB |
| Viewed: |
4147 Time(s) |

|
| Description: |
|
| Filesize: |
57.32 KB |
| Viewed: |
4147 Time(s) |

|
| Description: |
|
| Filesize: |
46.28 KB |
| Viewed: |
4148 Time(s) |

|
Last edited by Sjoerd on Mon Jun 09, 2008 4:02 am; edited 1 time in total |
|
| Back to top |
|
 |
Sjoerd
Joined: 28 May 2008 Posts: 7
|
Posted: Mon Jun 09, 2008 3:55 am Post subject: |
|
|
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)
| Description: |
|
 Download |
| Filename: |
exchange2007_users.pl.txt |
| Filesize: |
710 Bytes |
| Downloaded: |
269 Time(s) |
| Description: |
|
 Download |
| Filename: |
exchange2007_spamconfidencelevel.pl.txt |
| Filesize: |
2.07 KB |
| Downloaded: |
152 Time(s) |
| Description: |
|
 Download |
| Filename: |
exchange2007_SMTP_traffic.pl.txt |
| Filesize: |
528 Bytes |
| Downloaded: |
154 Time(s) |
| Description: |
|
 Download |
| Filename: |
exchange2007_messages.pl.txt |
| Filesize: |
1.55 KB |
| Downloaded: |
157 Time(s) |
| Description: |
|
 Download |
| Filename: |
exchange2007_memory.pl.txt |
| Filesize: |
870 Bytes |
| Downloaded: |
141 Time(s) |
|
|
| Back to top |
|
 |
Sjoerd
Joined: 28 May 2008 Posts: 7
|
Posted: Mon Jun 09, 2008 3:57 am Post subject: |
|
|
The data templates....
| Description: |
|
 Download |
| Filename: |
cacti_data_template_exchange_2007_-_users.xml |
| Filesize: |
5.72 KB |
| Downloaded: |
179 Time(s) |
| Description: |
|
 Download |
| Filename: |
cacti_data_template_exchange_2007_-_spam_confidence_level.xml |
| Filesize: |
12.5 KB |
| Downloaded: |
116 Time(s) |
| Description: |
|
 Download |
| Filename: |
cacti_data_template_exchange_2007_-_smtp_traffic.xml |
| Filesize: |
4.78 KB |
| Downloaded: |
134 Time(s) |
| Description: |
|
 Download |
| Filename: |
cacti_data_template_exchange_2007_-_messages.xml |
| Filesize: |
8.77 KB |
| Downloaded: |
137 Time(s) |
| Description: |
|
 Download |
| Filename: |
cacti_data_template_exchange_2007_-_memory.xml |
| Filesize: |
6.73 KB |
| Downloaded: |
124 Time(s) |
|
|
| Back to top |
|
 |
Sjoerd
Joined: 28 May 2008 Posts: 7
|
Posted: Mon Jun 09, 2008 3:58 am Post subject: |
|
|
And the graph templates....
| Description: |
|
 Download |
| Filename: |
cacti_graph_template_exchange_2007_-_users.xml |
| Filesize: |
15.62 KB |
| Downloaded: |
134 Time(s) |
| Description: |
|
 Download |
| Filename: |
cacti_graph_template_exchange_2007_-_spam_confidence_level.xml |
| Filesize: |
45.78 KB |
| Downloaded: |
118 Time(s) |
| Description: |
|
 Download |
| Filename: |
cacti_graph_template_exchange_2007_-_smtp_traffic.xml |
| Filesize: |
13.03 KB |
| Downloaded: |
134 Time(s) |
| Description: |
|
 Download |
| Filename: |
cacti_graph_template_exchange_2007_-_messages.xml |
| Filesize: |
29.71 KB |
| Downloaded: |
130 Time(s) |
| Description: |
|
 Download |
| Filename: |
cacti_graph_template_exchange_2007_-_memory.xml |
| Filesize: |
19.62 KB |
| Downloaded: |
128 Time(s) |
|
|
| Back to top |
|
 |
Sjoerd
Joined: 28 May 2008 Posts: 7
|
Posted: Mon Jun 09, 2008 4:03 am Post subject: |
|
|
And an other graph....
| Description: |
|
| Filesize: |
57.81 KB |
| Viewed: |
4146 Time(s) |

|
| Description: |
|
 Download |
| Filename: |
exchange2007_spamfilter.pl.txt |
| Filesize: |
1.37 KB |
| Downloaded: |
111 Time(s) |
| Description: |
|
 Download |
| Filename: |
cacti_data_template_exchange_2007_-_spam_filter.xml |
| Filesize: |
8.67 KB |
| Downloaded: |
101 Time(s) |
| Description: |
|
 Download |
| Filename: |
cacti_graph_template_exchange_2007_-_spam_filter.xml |
| Filesize: |
29.51 KB |
| Downloaded: |
102 Time(s) |
|
|
| Back to top |
|
 |
anomaly
Joined: 09 Jul 2008 Posts: 1
|
Posted: Wed Jul 09, 2008 9:02 am Post subject: |
|
|
| Thank you very much for these!!!
|
|
| Back to top |
|
 |
apperrault Cacti User
Joined: 16 Feb 2007 Posts: 351 Location: Emeryville, CA
|
Posted: Wed Jul 09, 2008 9:54 am Post subject: |
|
|
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
|
|
| Back to top |
|
 |
DanW
Joined: 28 Feb 2008 Posts: 3
|
Posted: Thu Jul 24, 2008 9:52 am Post subject: |
|
|
anyone got these working?
i can't get them working at all ..
also i'm using nsclient++
Dan
|
|
| Back to top |
|
 |
beandip
Joined: 17 Nov 2005 Posts: 7
|
Posted: Wed Aug 06, 2008 1:28 pm Post subject: |
|
|
| DanW wrote: | anyone got these working?
i can't get them working at all ..
also i'm using nsclient++
|
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).
A BIG THANKS to Sjoerd for sharing your work.
|
|
| Back to top |
|
 |
papada
Joined: 07 Aug 2008 Posts: 1
|
Posted: Thu Aug 07, 2008 6:45 am Post subject: 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.
|
|
| Back to top |
|
 |
beandip
Joined: 17 Nov 2005 Posts: 7
|
Posted: Thu Aug 07, 2008 10:01 am Post subject: Re: Exchange Templates for Exchange 2007 |
|
|
| 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.
|
Don't know on the spam part as we use a third party product.
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?
|
|
| Back to top |
|
 |
kharford
Joined: 07 Jul 2005 Posts: 40 Location: Mass, USA
|
Posted: Thu Sep 18, 2008 10:53 am Post subject: |
|
|
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
|
|
| Back to top |
|
 |
|