Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Sun Apr 21, 2019 9:17 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 73 posts ]  Go to page 1, 2, 3, 4, 5  Next
Author Message
 Post subject: plethora of windows nsclient scripts
PostPosted: Mon Sep 26, 2005 3:01 pm 
Offline
Cacti User

Joined: Mon Jul 11, 2005 11:39 am
Posts: 103
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


Attachments:
Cacti-Windows-templates.zip [34.52 KiB]
Downloaded 7936 times
Top
 Profile  
 
 Post subject:
PostPosted: Mon Oct 03, 2005 3:44 pm 
Offline
Cacti User

Joined: Tue May 03, 2005 8:54 am
Posts: 298
Location: GA
You Da PIMP!

Awesome THX!!!!!


Top
 Profile  
 
 Post subject:
PostPosted: Mon Oct 03, 2005 4:45 pm 
Offline
Cacti User

Joined: Mon Jul 11, 2005 11:39 am
Posts: 103
ha thanks... you can use the perfmon template to query anything from perfmon...thats what most of those do...


Top
 Profile  
 
 Post subject:
PostPosted: Wed Nov 09, 2005 8:30 pm 
Offline

Joined: Mon Sep 12, 2005 12:03 am
Posts: 17
How do I add a item to show processor queue length ? Need your help.
Thanks.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Nov 09, 2005 8:32 pm 
Offline
Cacti User

Joined: Mon Jul 11, 2005 11:39 am
Posts: 103
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.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Nov 10, 2005 9:46 am 
Offline
Cacti User

Joined: Tue Mar 01, 2005 11:26 am
Posts: 106
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.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Nov 10, 2005 10:14 am 
Offline

Joined: Mon Nov 07, 2005 11:21 pm
Posts: 41
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.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Nov 10, 2005 11:12 am 
Offline
Cacti User

Joined: Mon Jul 11, 2005 11:39 am
Posts: 103
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.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Nov 10, 2005 11:14 am 
Offline
Cacti User

Joined: Mon Jul 11, 2005 11:39 am
Posts: 103
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.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Nov 13, 2005 9:30 pm 
Offline

Joined: Mon Sep 12, 2005 12:03 am
Posts: 17
After I duplicate data source template ,graph template and host template and
modified some parameter.I got the graph as I want.

Thanks,


Top
 Profile  
 
 Post subject:
PostPosted: Sun Nov 13, 2005 10:05 pm 
Offline
Cacti User

Joined: Mon Jul 11, 2005 11:39 am
Posts: 103
no problem.. congratulations!

post your new template for the community


Top
 Profile  
 
 Post subject:
PostPosted: Tue Nov 15, 2005 8:45 am 
Offline

Joined: Mon Apr 11, 2005 9:31 am
Posts: 29
Would these work for Windows 2003 as well or have the wmi labels changed?

Vince


Top
 Profile  
 
 Post subject:
PostPosted: Tue Nov 15, 2005 9:40 am 
Offline
Cacti User

Joined: Mon Jul 11, 2005 11:39 am
Posts: 103
THESE ARE NSCLIENT SCRIPTS... please read


Top
 Profile  
 
 Post subject:
PostPosted: Wed Nov 16, 2005 5:37 pm 
Offline

Joined: Wed Nov 16, 2005 5:36 pm
Posts: 9
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?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Nov 16, 2005 5:48 pm 
Offline
Cacti User

Joined: Mon Jul 11, 2005 11:39 am
Posts: 103
did you run the official patches too?


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

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 2 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