Monitoring Exchange 2003 from Linux Cacti

Templates, scripts for templates, scripts and requests for templates.

Moderators: Developers, Moderators

Post Reply
argon0
Cacti User
Posts: 460
Joined: Fri Mar 12, 2004 1:22 pm

Post by argon0 »

Hostname is the name of the exchange server (or IP address).
No longer a n00by, probably, by now an 0ldby

Now Head of Technology at RSCH, back to the prickly subject of Monitorring....
scen
Posts: 5
Joined: Thu Feb 02, 2006 4:03 am

Post by scen »

ok
AND THE Instance Name ?

hope to get the exchange script working now
argon0
Cacti User
Posts: 460
Joined: Fri Mar 12, 2004 1:22 pm

Post by argon0 »

Instance Name?

Can you post a screen shot?
No longer a n00by, probably, by now an 0ldby

Now Head of Technology at RSCH, back to the prickly subject of Monitorring....
scen
Posts: 5
Joined: Thu Feb 02, 2006 4:03 am

Post by scen »

Please find pic
Attachments
exch.JPG
exch.JPG (77.79 KiB) Viewed 13903 times
argon0
Cacti User
Posts: 460
Joined: Fri Mar 12, 2004 1:22 pm

Post by argon0 »

Ah, you are using the Filtering stats...

Hmm...

Sorry I have no idea!

Can't even see it when I look at the templates!
No longer a n00by, probably, by now an 0ldby

Now Head of Technology at RSCH, back to the prickly subject of Monitorring....
argon0
Cacti User
Posts: 460
Joined: Fri Mar 12, 2004 1:22 pm

Post by argon0 »

OK, I now know what was wrong with the original templates, or at least two of them.

The Exchange Connections graph was only showing the Active users.

I have more than 100 users... so I needed to change the data template so that it had a maximim of 0 (rather than 100) That is change Exchange - I.S. Stats so that the data source count_users had 0 as its maximum..

The other graph I was having problems with is the Exchange - Mailbox Performance graph...

I'm not entirely sure what was wrong with this one, but I've changed the script so there is no space at the beginning of the data, and put all the Data Sources on the same line (rather that spread out which is unneccesary). I've also made sure that none of the data sources have a maximum value, and it now works, SO i've included the new template below. Along with the script.

Put the script in with your other scripts (in CactiEZ this is /var/www/html/scripts) make sure its got the same owner and permissions as your other scripts (in CactiEZ the apache user MUST be able to execute it). Import the xml code, and away you go...
Attachments
exchange_emails_scriptv2.zip
Unzip and Put in your scripts directory
(494 Bytes) Downloaded 1124 times
cacti_graph_template_exchange_delivery_statistics_v2a.xml
import this
(21.27 KiB) Downloaded 1217 times
No longer a n00by, probably, by now an 0ldby

Now Head of Technology at RSCH, back to the prickly subject of Monitorring....
cshepherd
Posts: 37
Joined: Thu Jan 05, 2006 10:21 pm
Location: Australia

Post by cshepherd »

All graphs installed and working a treat on a mix off Win2k/2k3 servers and Exchange2k/2k3. Thanks!

Only question I've got is why is the Delivery Statistics graph appearing bigger than all the rest?
Attachments
exchange.jpg
exchange.jpg (68.94 KiB) Viewed 13812 times
argon0
Cacti User
Posts: 460
Joined: Fri Mar 12, 2004 1:22 pm

Post by argon0 »

That's cos I wanted it larger on my installation, and forgot to revert back to the standard before exporting it...

Goto graph templates.. Goto "Exchange - Delivery Statistics"

Towards the bottom you will see a "graph template" section. In that section there are the relevant entries:

Height (currently set at 180, standard is 120) & Width (currently set at 750, standard is 500). Change them back to the defaults and your graph will appear smaller.

Argon0
No longer a n00by, probably, by now an 0ldby

Now Head of Technology at RSCH, back to the prickly subject of Monitorring....
argon0
Cacti User
Posts: 460
Joined: Fri Mar 12, 2004 1:22 pm

Post by argon0 »

Now need to rewrite the query, etc. to get average delivery per minute over 5 minutes rather than point in time average delivered... (if that makes sense).
No longer a n00by, probably, by now an 0ldby

Now Head of Technology at RSCH, back to the prickly subject of Monitorring....
Tingram
Posts: 1
Joined: Tue Feb 28, 2006 7:09 pm
Location: Jacksonville, FL

Post by Tingram »

I'm new to this forum, But as much as i research im unable to locate a detailed tutorial on the setup and configuration for a 2003 Server , with Exchange. My setup is a linux Cacti server.

I have tryed to duplicate and research various ways to graph the Exchange server, im only able to monitor the typical SNMP information.

I have installed NSclient on the server and the Cacti system, to the best of my abilities , if someone could take the time.

Please specify the exact software that is needed to be installed, and the ways to test the applications are working.

I would be very much appreiciated.
Thanks in advance for any assistance.
argon0
Cacti User
Posts: 460
Joined: Fri Mar 12, 2004 1:22 pm

Post by argon0 »

Yup - I've posted some instructions over on another thread - I'll go find it, and stick a link here...
No longer a n00by, probably, by now an 0ldby

Now Head of Technology at RSCH, back to the prickly subject of Monitorring....
argon0
Cacti User
Posts: 460
Joined: Fri Mar 12, 2004 1:22 pm

Post by argon0 »

Oops can't find them so I'll paraphrase here:

Go Get NSClient:
http://nsclient.ready2run.nl/

It contains BOTH the windows executable (Nagios Agent service) AND the Linux binary.

Follow the instructions in the readme to install the windows component.

Then (using winscp, or Webmin's Upload tool, or whatever tool you possess to upload files) put the check_nt binary into the Cacti Scripts directory.

Check_nt has to be executable by the Cacti User (in CactiEZ this is Apache - I think - well it works if Apache is the owner and can Execute the binary).

Then you are ready to use the templates posted above.

Argon0
No longer a n00by, probably, by now an 0ldby

Now Head of Technology at RSCH, back to the prickly subject of Monitorring....
ihyln
Posts: 20
Joined: Mon Mar 06, 2006 9:47 pm

Post by ihyln »

I can get SNMP working on the win2k3 box but the graph is empty as well. I have nsclient running + WMI (I have cacti and exchange on the same box)
argon0
Cacti User
Posts: 460
Joined: Fri Mar 12, 2004 1:22 pm

Post by argon0 »

Ah....

AFAIK the check_nt binary ONLY works on Linux.

The NSCLIENT templates and scripts are designed to gather Windows Performance data FROM Linux machines....

Argon0
No longer a n00by, probably, by now an 0ldby

Now Head of Technology at RSCH, back to the prickly subject of Monitorring....
cshepherd
Posts: 37
Joined: Thu Jan 05, 2006 10:21 pm
Location: Australia

Post by cshepherd »

Is it possible to get the total emails sent/received etc in the past 5 mins rather than the average at the time of the poll?
Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests