Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


plethora of windows nsclient scripts
Goto page 1, 2, 3, 4, 5  Next
 
Post new topic   Reply to topic    Cacti Forum Index -> Scripts and Templates
Author Message
Alives
Cacti User


Joined: 11 Jul 2005
Posts: 103

PostPosted: Mon Sep 26, 2005 3:01 pm    Post subject: plethora of windows nsclient scripts Reply with quote

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



Cacti-Windows-templates.zip
 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

PostPosted: Mon Oct 03, 2005 3:44 pm    Post subject: Reply with quote

You Da PIMP!

Awesome THX!!!!!
Back to top
Alives
Cacti User


Joined: 11 Jul 2005
Posts: 103

PostPosted: Mon Oct 03, 2005 4:45 pm    Post subject: Reply with quote

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

PostPosted: Wed Nov 09, 2005 8:30 pm    Post subject: Reply with quote

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

PostPosted: Wed Nov 09, 2005 8:32 pm    Post subject: Reply with quote

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

PostPosted: Thu Nov 10, 2005 9:46 am    Post subject: Reply with quote

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

PostPosted: Thu Nov 10, 2005 10:14 am    Post subject: Reply with quote

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

PostPosted: Thu Nov 10, 2005 11:12 am    Post subject: Reply with quote

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

PostPosted: Thu Nov 10, 2005 11:14 am    Post subject: Reply with quote

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

PostPosted: Sun Nov 13, 2005 9:30 pm    Post subject: Reply with quote

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

PostPosted: Sun Nov 13, 2005 10:05 pm    Post subject: Reply with quote

no problem.. congratulations!

post your new template for the community
Back to top
cactus_jack



Joined: 11 Apr 2005
Posts: 29

PostPosted: Tue Nov 15, 2005 8:45 am    Post subject: Reply with quote

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

PostPosted: Tue Nov 15, 2005 9:40 am    Post subject: Reply with quote

THESE ARE NSCLIENT SCRIPTS... please read
Back to top
kghammond



Joined: 16 Nov 2005
Posts: 9

PostPosted: Wed Nov 16, 2005 5:37 pm    Post subject: Reply with quote

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

PostPosted: Wed Nov 16, 2005 5:48 pm    Post subject: Reply with quote

did you run the official patches too?
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Scripts and Templates All times are GMT - 5 Hours
Goto page 1, 2, 3, 4, 5  Next
Page 1 of 5

 



Powered by phpBB © 2001, 2005 phpBB Group