Monitoring Exchange 2003 from Linux Cacti

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

Moderators: Moderators, Developers

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

#31 Post by argon0 » Fri Feb 10, 2006 7:05 am

Hostname is the name of the exchange server (or IP address).
[size=50]No longer a n00by but[/size] not yet 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

#32 Post by scen » Fri Feb 10, 2006 7:45 am

ok
AND THE Instance Name ?

hope to get the exchange script working now

argon0
Cacti User
Posts: 443
Joined: Fri Mar 12, 2004 1:22 pm

#33 Post by argon0 » Fri Feb 10, 2006 7:53 am

Instance Name?

Can you post a screen shot?
[size=50]No longer a n00by but[/size] not yet 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

#34 Post by scen » Fri Feb 10, 2006 8:19 am

Please find pic
Attachments
exch.JPG
exch.JPG (77.79 KiB) Viewed 12606 times

argon0
Cacti User
Posts: 443
Joined: Fri Mar 12, 2004 1:22 pm

#35 Post by argon0 » Fri Feb 10, 2006 10:20 am

Ah, you are using the Filtering stats...

Hmm...

Sorry I have no idea!

Can't even see it when I look at the templates!
[size=50]No longer a n00by but[/size] not yet an 0ldby

Now Head of Technology at RSCH, back to the prickly subject of Monitorring....

argon0
Cacti User
Posts: 443
Joined: Fri Mar 12, 2004 1:22 pm

#36 Post by argon0 » Fri Feb 17, 2006 11:02 am

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 999 times
cacti_graph_template_exchange_delivery_statistics_v2a.xml
import this
(21.27 KiB) Downloaded 1077 times
[size=50]No longer a n00by but[/size] not yet 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

#37 Post by cshepherd » Sun Feb 19, 2006 1:34 am

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 12515 times

argon0
Cacti User
Posts: 443
Joined: Fri Mar 12, 2004 1:22 pm

#38 Post by argon0 » Mon Feb 20, 2006 5:17 am

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
[size=50]No longer a n00by but[/size] not yet an 0ldby

Now Head of Technology at RSCH, back to the prickly subject of Monitorring....

argon0
Cacti User
Posts: 443
Joined: Fri Mar 12, 2004 1:22 pm

#39 Post by argon0 » Tue Feb 21, 2006 8:02 am

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).
[size=50]No longer a n00by but[/size] not yet 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
Contact:

#40 Post by Tingram » Tue Feb 28, 2006 7:13 pm

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: 443
Joined: Fri Mar 12, 2004 1:22 pm

#41 Post by argon0 » Thu Mar 02, 2006 4:56 am

Yup - I've posted some instructions over on another thread - I'll go find it, and stick a link here...
[size=50]No longer a n00by but[/size] not yet an 0ldby

Now Head of Technology at RSCH, back to the prickly subject of Monitorring....

argon0
Cacti User
Posts: 443
Joined: Fri Mar 12, 2004 1:22 pm

#42 Post by argon0 » Thu Mar 02, 2006 5:18 am

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
[size=50]No longer a n00by but[/size] not yet 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

#43 Post by ihyln » Wed Mar 08, 2006 7:26 pm

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: 443
Joined: Fri Mar 12, 2004 1:22 pm

#44 Post by argon0 » Thu Mar 09, 2006 5:37 am

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
[size=50]No longer a n00by but[/size] not yet 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

#45 Post by cshepherd » Thu Mar 09, 2006 5:29 pm

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