Exchange 2003 RPC Information

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

Moderators: Moderators, Developers

Post Reply
Author
Message
DevilSun
Cacti User
Posts: 166
Joined: Fri Jul 16, 2004 1:59 pm
Location: Oregon

Exchange 2003 RPC Information

#1 Post by DevilSun » Mon Oct 18, 2004 11:27 am

This is another two parter...this first one is server reported RPC info.

It shows Peak RPC requests (since last reboot), RPC requests, and averaged RPC latency (thanks go out to someone who originally pointed me toward this graph but I forget who right now).

Usage:

Code: Select all

perl <path_cacti>/scripts/w32_exch_query_rpc.pl <hostname>
Tested on Exchange 2003 running on Windows 2003...
Attachments
screenshot.gif
Screenshot
screenshot.gif (7.38 KiB) Viewed 18280 times
cacti_graph_template_exchange_rpc_server.xml
Graph template
(13.43 KiB) Downloaded 1511 times
w32_exch_query_rpc.pl.txt
Perl script
(3.4 KiB) Downloaded 1406 times

DevilSun
Cacti User
Posts: 166
Joined: Fri Jul 16, 2004 1:59 pm
Location: Oregon

#2 Post by DevilSun » Mon Oct 18, 2004 11:30 am

Here's the second part, these are client reported RPC information...

Usage:

Code: Select all

perl <path_cacti>/scripts/w32_exch_query_client_rpc.pl <hostname>
Attachments
screen.gif
Screenshot
screen.gif (12.43 KiB) Viewed 18279 times
cacti_graph_template_exchange_rpc_client.xml
Graph template
(49.04 KiB) Downloaded 1241 times
w32_exch_query_client_rpc.pl.txt
Perl script
(3.7 KiB) Downloaded 1315 times

Sem
Posts: 29
Joined: Fri Mar 25, 2005 3:05 am
Contact:

#3 Post by Sem » Mon Oct 02, 2006 2:43 am

And data templates?

User avatar
adrianmarsh
Cacti User
Posts: 435
Joined: Wed Aug 17, 2005 8:51 am
Location: UK

#4 Post by adrianmarsh » Sat Oct 07, 2006 6:19 am

DTs are in the XML files..

Would this work from a Linux based Cacti? What Perl modules would be needed?

User avatar
Diggit2001
Cacti User
Posts: 163
Joined: Tue May 03, 2005 4:29 pm
Location: MD, US
Contact:

#5 Post by Diggit2001 » Mon Oct 09, 2006 7:37 am

I just adjusted all of this stuff to work with checknt, if anyone is interested. This is my first time posting any of this stuff, so please let me know if something is amiss.

Thanks
Attachments
exch_rpc_check_nt.zip
(12.91 KiB) Downloaded 904 times

User avatar
adrianmarsh
Cacti User
Posts: 435
Joined: Wed Aug 17, 2005 8:51 am
Location: UK

#6 Post by adrianmarsh » Wed Oct 11, 2006 5:06 am

Hi diggit - just tried them - so far so good...

padonker
Posts: 4
Joined: Wed Nov 29, 2006 5:59 am

#7 Post by padonker » Wed Nov 29, 2006 6:32 am

Hi, is it possible to use this to feed info to a linux cacti server? Mind you, I'm new to this and rather clueless
If there are resources on how to do this, please point me in the right direction. How do I authenticate to windows using this query?? The txt says that the user running this query should have rights on the win box
This question goes for all windows based queries as my cacti box is linux based

Tnx
Patrick

User avatar
adrianmarsh
Cacti User
Posts: 435
Joined: Wed Aug 17, 2005 8:51 am
Location: UK

#8 Post by adrianmarsh » Sat Jan 27, 2007 7:10 am

padonker,

Sorry - only just saw your post (quite old now)..

I guess maybe you've figured it out, but theres a windows part to nsclient, and a linux part. The perl script calls the linux client, which in turn polls the windows server, which in turn polls WMI, and returns the result.

Post Reply