Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support
It is currently Mon May 21, 2012 8:41 am


ATTENTION: All users passwords have been cleared.
Please use the "Forgot Password" feature to reset your password.


All times are UTC - 5 hours




Post new topic Reply to topic  [ 52 posts ]  Go to page 1, 2, 3, 4  Next
Author Message
 Post subject: Exchange 2007 from Linux
PostPosted: Mon Jun 09, 2008 3:52 am 
Offline

Joined: Wed May 28, 2008 5:20 am
Posts: 24
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


Attachments:
Users.JPG
Users.JPG [ 45.01 KiB | Viewed 25948 times ]
SpamConfidenceLevel.JPG
SpamConfidenceLevel.JPG [ 75.67 KiB | Viewed 25948 times ]
SMTP.JPG
SMTP.JPG [ 42.29 KiB | Viewed 25948 times ]
Messages.JPG
Messages.JPG [ 57.32 KiB | Viewed 25948 times ]
Memory.JPG
Memory.JPG [ 46.28 KiB | Viewed 25949 times ]


Last edited by Sjoerd on Mon Jun 09, 2008 4:02 am, edited 1 time in total.
Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 09, 2008 3:55 am 
Offline

Joined: Wed May 28, 2008 5:20 am
Posts: 24
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)


Attachments:
exchange2007_messages.pl.txt [1.55 KiB]
Downloaded 1730 times
exchange2007_users.pl.txt [710 Bytes]
Downloaded 1730 times
exchange2007_spamconfidencelevel.pl.txt [2.07 KiB]
Downloaded 1035 times
exchange2007_SMTP_traffic.pl.txt [528 Bytes]
Downloaded 1330 times
exchange2007_memory.pl.txt [870 Bytes]
Downloaded 1157 times


Last edited by Sjoerd on Wed Nov 11, 2009 7:03 am, edited 2 times in total.
Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 09, 2008 3:57 am 
Offline

Joined: Wed May 28, 2008 5:20 am
Posts: 24
The data templates....


Attachments:
cacti_data_template_exchange_2007_-_users.xml [5.72 KiB]
Downloaded 1424 times
cacti_data_template_exchange_2007_-_spam_confidence_level.xml [12.5 KiB]
Downloaded 904 times
cacti_data_template_exchange_2007_-_smtp_traffic.xml [4.78 KiB]
Downloaded 1084 times
cacti_data_template_exchange_2007_-_messages.xml [8.77 KiB]
Downloaded 1132 times
cacti_data_template_exchange_2007_-_memory.xml [6.73 KiB]
Downloaded 1012 times
Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 09, 2008 3:58 am 
Offline

Joined: Wed May 28, 2008 5:20 am
Posts: 24
And the graph templates....


Attachments:
cacti_graph_template_exchange_2007_-_users.xml [15.62 KiB]
Downloaded 1119 times
cacti_graph_template_exchange_2007_-_spam_confidence_level.xml [45.78 KiB]
Downloaded 953 times
cacti_graph_template_exchange_2007_-_smtp_traffic.xml [13.03 KiB]
Downloaded 1028 times
cacti_graph_template_exchange_2007_-_messages.xml [29.71 KiB]
Downloaded 1046 times
cacti_graph_template_exchange_2007_-_memory.xml [19.62 KiB]
Downloaded 1005 times
Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 09, 2008 4:03 am 
Offline

Joined: Wed May 28, 2008 5:20 am
Posts: 24
And an other graph....


Attachments:
exchange2007_spamfilter.pl.txt [1.37 KiB]
Downloaded 682 times
SpamFilter.JPG
SpamFilter.JPG [ 57.81 KiB | Viewed 25947 times ]
cacti_data_template_exchange_2007_-_spam_filter.xml [8.67 KiB]
Downloaded 650 times
cacti_graph_template_exchange_2007_-_spam_filter.xml [29.51 KiB]
Downloaded 678 times


Last edited by Sjoerd on Wed Nov 11, 2009 7:03 am, edited 2 times in total.
Top
 Profile  
 
 Post subject:
PostPosted: Wed Jul 09, 2008 9:02 am 
Offline

Joined: Wed Jul 09, 2008 9:02 am
Posts: 1
Thank you very much for these!!!


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jul 09, 2008 9:54 am 
Offline
Cacti User

Joined: Fri Feb 16, 2007 11:37 am
Posts: 372
Location: Emeryville, CA
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

_________________
Cacti Version - 0.8.7b
Plugin Architecture - 2.2 Beta
Poller Type - CMD.php
Server Info - Linux 2.6.9-78.0.1.ELsmp
Web Server - Apache/2.0.52 (Red Hat)
PHP - 4.3.9
MySQL - 4.1.22
RRDTool - 1.2.23
SNMP - 5.1.2
Plugins
    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)


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jul 24, 2008 9:52 am 
Offline

Joined: Thu Feb 28, 2008 9:48 am
Posts: 3
anyone got these working?


i can't get them working at all ..

also i'm using nsclient++



Dan


Top
 Profile  
 
 Post subject:
PostPosted: Wed Aug 06, 2008 1:28 pm 
Offline

Joined: Thu Nov 17, 2005 2:14 pm
Posts: 9
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.


Top
 Profile  
 
 Post subject: Exchange Templates for Exchange 2007
PostPosted: Thu Aug 07, 2008 6:45 am 
Offline

Joined: Thu Aug 07, 2008 6:32 am
Posts: 1
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.


Top
 Profile  
 
 Post subject: Re: Exchange Templates for Exchange 2007
PostPosted: Thu Aug 07, 2008 10:01 am 
Offline

Joined: Thu Nov 17, 2005 2:14 pm
Posts: 9
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?


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 18, 2008 10:53 am 
Offline
Cacti User

Joined: Thu Jul 07, 2005 11:53 am
Posts: 50
Location: Mass, USA
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


Top
 Profile  
 
 Post subject:
PostPosted: Sat Nov 22, 2008 5:41 pm 
Offline

Joined: Thu Nov 20, 2008 10:30 am
Posts: 20
Anyone get these to work on Windows?


Top
 Profile  
 
 Post subject:
PostPosted: Fri Nov 28, 2008 3:27 pm 
Offline

Joined: Fri Nov 28, 2008 3:19 pm
Posts: 2
These work great - thank you for sharing them!

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.

Top
 Profile  
 
 Post subject:
PostPosted: Fri Nov 28, 2008 5:03 pm 
Offline

Joined: Fri Nov 28, 2008 3:19 pm
Posts: 2
* deleted redundant post *


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 52 posts ]  Go to page 1, 2, 3, 4  Next

All times are UTC - 5 hours


Who is online

Users browsing this forum: Google [Bot] and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group