|
|
| Author |
Message |
Alives Cacti User
Joined: 11 Jul 2005 Posts: 103
|
Posted: Mon Sep 26, 2005 3:01 pm Post subject: plethora of windows nsclient scripts |
|
|
This is a dump of all the templates i have made to run checks on my windows server environment. It uses a perl script to check against a windows machine running nsclient.
I just grouped all the templates into a host file. It is the standard windows 2000/xp name, so if you want to import it and preserve your original file, either back it up or rename it.
I have included the perl script to check as well.
I have also included the Perfmon template which is bascially what all these run off of.
Template list:
Windows - .NET CLR Exceptions - aspnet_wp - # of Exceps Thrown / sec
Windows - .NET CLR Memory - aspnet_wp - # Gen 0 Collections
Windows - .NET CLR Memory - aspnet_wp - # Gen 1 Collections
Windows - .NET CLR Memory - aspnet_wp - # Gen 2 Collections
Windows - .NET CLR Memory - aspnet_wp - % Time in GC
Windows - ASP - Errors During Script Runtime
Windows - ASP - Errors From Script Compilers
Windows - ASP - Request Wait Time
Windows - ASP - Requests Rejected
Windows - ASP - Sessions Current
Windows - ASP.NET - Application Restarts
Windows - ASP.NET - Request Execution Time
Windows - ASP.NET - Request Wait Time
Windows - ASP.NET - Requests Current
Windows - ASP.NET - Requests Rejected
Windows - ASP.NET - Worker Process Restarts
Windows - ASP.NET Applications - _LM_W3SVC_4_Root - Cache Total Entries
Windows - ASP.NET Applications - _LM_W3SVC_4_Root - Cache Total Hit Ratio
Windows - ASP.NET Applications - _LM_W3SVC_4_Root - Cache Total Turnover Rate
Windows - ASP.NET Applications - _LM_W3SVC_4_Root - Compilations Total
Windows - ASP.NET Applications - _LM_W3SVC_4_Root - Errors During Execution
Windows - ASP.NET Applications - _LM_W3SVC_4_Root - Errors During Preprocessing
Windows - ASP.NET Applications - _LM_W3SVC_4_Root - Errors Unhandled During Execution
Windows - ASP.NET Applications - _LM_W3SVC_4_Root - Pipeline Instance Count
Windows - CPU Load
Windows - Disk Usage
Windows - IIS - Current Connections
Windows - Memory - Page Faults/sec
Windows - Memory - Usage
Windows - Perfmon Data
Windows - PhysicalDisk - Disk Queue Length
Windows - Process - aspnet_wp - % Processor Time
Windows - Process - aspnet_wp - Handle Count
Windows - Process - aspnet_wp - Private Bytes
Windows - Process - aspnet_wp - Virtual Bytes
Windows - SQL - Connections
Windows - SQL - Lock Timeouts/sec
Windows - SQL - Lock Wait Time (ms)
Windows - TS - Active Sessions
| Description: |
|
 Download |
| Filename: |
Cacti-Windows-templates.zip |
| Filesize: |
34.52 KB |
| Downloaded: |
4871 Time(s) |
|
|
| Back to top |
|
 |
spoonman Cacti User
Joined: 03 May 2005 Posts: 260
|
Posted: Mon Oct 03, 2005 3:44 pm Post subject: |
|
|
You Da PIMP!
Awesome THX!!!!!
|
|
| Back to top |
|
 |
Alives Cacti User
Joined: 11 Jul 2005 Posts: 103
|
Posted: Mon Oct 03, 2005 4:45 pm Post subject: |
|
|
| ha thanks... you can use the perfmon template to query anything from perfmon...thats what most of those do...
|
|
| Back to top |
|
 |
s16pt
Joined: 12 Sep 2005 Posts: 17
|
Posted: Wed Nov 09, 2005 8:30 pm Post subject: |
|
|
How do I add a item to show processor queue length ? Need your help.
Thanks.
|
|
| Back to top |
|
 |
Alives Cacti User
Joined: 11 Jul 2005 Posts: 103
|
Posted: Wed Nov 09, 2005 8:32 pm Post subject: |
|
|
| take a look at the data sources and you will see how they send the perf counter info to be checked. just duplicate a datasource and graph and set them up to check the new counter.
|
|
| Back to top |
|
 |
nduda78 Cacti User
Joined: 01 Mar 2005 Posts: 106
|
Posted: Thu Nov 10, 2005 9:46 am Post subject: |
|
|
| can you give me an example, step by tep how to add the perl script in cacti. I have them in the folder, and the template imported. I'm new.
|
|
| Back to top |
|
 |
spignataro
Joined: 07 Nov 2005 Posts: 41
|
Posted: Thu Nov 10, 2005 10:14 am Post subject: |
|
|
how do i get this to read off a server. If i have a Windows 2000 server I have to enable something. What do I enable. I have no problem monitoring my routers as it is just a simple string for the community. But what do you turn on or where is it on the windows box.
Thanks much for your help. O and thanks for the templates as this will be quite usefull for all our servers.
|
|
| Back to top |
|
 |
Alives Cacti User
Joined: 11 Jul 2005 Posts: 103
|
Posted: Thu Nov 10, 2005 11:12 am Post subject: |
|
|
Topic says NSClient...
http://nsclient.ready2run.nl/ <- nsclient official site
Its used for nagios to check windows servers from linux.
If you are running cacti on a windows host i would recommend you rewrite the scripts to use Win32::PerfMon module instead as it will be cleaner and more secure. Also you will have access to WMI.
|
|
| Back to top |
|
 |
Alives Cacti User
Joined: 11 Jul 2005 Posts: 103
|
Posted: Thu Nov 10, 2005 11:14 am Post subject: |
|
|
| nduda78 wrote: | | can you give me an example, step by tep how to add the perl script in cacti. I have them in the folder, and the template imported. I'm new. |
copy them to the cacti/scripts folder. I dont understand your question.
|
|
| Back to top |
|
 |
s16pt
Joined: 12 Sep 2005 Posts: 17
|
Posted: Sun Nov 13, 2005 9:30 pm Post subject: |
|
|
After I duplicate data source template ,graph template and host template and
modified some parameter.I got the graph as I want.
Thanks,
|
|
| Back to top |
|
 |
Alives Cacti User
Joined: 11 Jul 2005 Posts: 103
|
Posted: Sun Nov 13, 2005 10:05 pm Post subject: |
|
|
no problem.. congratulations!
post your new template for the community
|
|
| Back to top |
|
 |
cactus_jack
Joined: 11 Apr 2005 Posts: 29
|
Posted: Tue Nov 15, 2005 8:45 am Post subject: |
|
|
Would these work for Windows 2003 as well or have the wmi labels changed?
Vince
|
|
| Back to top |
|
 |
Alives Cacti User
Joined: 11 Jul 2005 Posts: 103
|
Posted: Tue Nov 15, 2005 9:40 am Post subject: |
|
|
| THESE ARE NSCLIENT SCRIPTS... please read
|
|
| Back to top |
|
 |
kghammond
Joined: 16 Nov 2005 Posts: 9
|
Posted: Wed Nov 16, 2005 5:37 pm Post subject: |
|
|
I am getting the following error trying to import the template in 0.86g
Error: XML: Cacti version does not exist.
I have searched for this error message and it says I should only get this if the template is from a newer version of Cacti, but I am running the latest version.
What am I missing?
|
|
| Back to top |
|
 |
Alives Cacti User
Joined: 11 Jul 2005 Posts: 103
|
Posted: Wed Nov 16, 2005 5:48 pm Post subject: |
|
|
| did you run the official patches too?
|
|
| Back to top |
|
 |
|