WinXP-Win8, Win2000-Server 2012 x32/x64 Templates

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

Moderators: Developers, Moderators

Post Reply
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: WinXP/Vista/Win7/Win2000/Win2003/Win2008 Templates x32/x

Post by BSOD2600 »

G0dSmack:
Do you have an ETA when the next updated template package will be released? Importing your v9 release it into my 0.8.7g installation, I'm finding various bugs. I won't bother fixing them if you've already done so.

SNMP - Informant CPU Statistics
cpuAPCBypassesPerSe = not enabled or correctly assigned
cpuDPCBypassesPerSe = not enabled or correctly assigned

All Data Query Templates
Suggested Values - none present.

1) Why are all the graph/data source templates named W32 instead of something with SNMP informant? These aren't native Windows SNMP agent OIDs.
2) Considered naming the resource/snmp_query/ templates with something regarding the standard informant template to differentiate those who also have the other SNMP informant products installed?
3) Considered posting/maintaining this template package on http://docs.cacti.net/templates?
User avatar
G0dSmack
Cacti User
Posts: 85
Joined: Wed Nov 12, 2008 10:25 am
Contact:

Re: WinXP/Vista/Win7/Win2000/Win2003/Win2008 Templates x32/x

Post by G0dSmack »

BSOD2600 wrote:G0dSmack:
Do you have an ETA when the next updated template package will be released? Importing your v9 release it into my 0.8.7g installation, I'm finding various bugs. I won't bother fixing them if you've already done so.

SNMP - Informant CPU Statistics
cpuAPCBypassesPerSe = not enabled or correctly assigned
cpuDPCBypassesPerSe = not enabled or correctly assigned

All Data Query Templates
Suggested Values - none present.

1) Why are all the graph/data source templates named W32 instead of something with SNMP informant? These aren't native Windows SNMP agent OIDs.
2) Considered naming the resource/snmp_query/ templates with something regarding the standard informant template to differentiate those who also have the other SNMP informant products installed?
3) Considered posting/maintaining this template package on http://docs.cacti.net/templates?

I will be releasing a new version here soon and port back to G and see if you can get them to import correctly. And also work on getting them added to the link for templates as a good place to keep them.
@mrlesmithjr
http://everythingshouldbevirtual.com
User avatar
G0dSmack
Cacti User
Posts: 85
Joined: Wed Nov 12, 2008 10:25 am
Contact:

Re: WinXP/Vista/Win7/Win2000/Win2003/Win2008 Templates x32/x

Post by G0dSmack »

Ok here is an updated version. This is v10 exported from 0.8.7 g.... I have renamed some of the queries and etc to follow cacti naming standards...Enjoy....Let me know if you have any issues.
Attachments
Cacti_SNMP_Informant_Standard_Metrics_v10.zip
(41.47 KiB) Downloaded 1889 times
@mrlesmithjr
http://everythingshouldbevirtual.com
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: WinXP/Vista/Win7/Win2000/Win2003/Win2008 Templates x32/x

Post by BSOD2600 »

Few issues with v10.

Graph template - SNMP_Informant_Standard - Disk Statistics (Metrics)
AvgDiskSecPerRead is duplicated.
With the extra precision specified for the result, default graph width is too narrow; some is rendered off the graph.

Data Query - SNMP - Informant CPU Statistics
cpuAPCBypassesPerSe = not enabled or correctly assigned
cpuDPCBypassesPerSe = not enabled or correctly assigned

Graph template - SNMP_Informant_Standard - CPU Statistics
CPU Usage Threshold: - Why is this arbitrarily set at 85? Consider making this a user input field so its customizable per data source.

Graph template - SNMP_Informant_Standard - Memory Statistics (Paging)
With the extra precision specified for the result, default graph width is too narrow; some is rendered off the graph.

Graph template - SNMP_Informant_Standard - Memory Statistics (Usage)
With the extra precision specified for the result, default graph width is too narrow; some is rendered off the graph.
User avatar
G0dSmack
Cacti User
Posts: 85
Joined: Wed Nov 12, 2008 10:25 am
Contact:

Re: WinXP/Vista/Win7/Win2000/Win2003/Win2008 Templates x32/x

Post by G0dSmack »

BSOD2600 wrote:Few issues with v10.

Graph template - SNMP_Informant_Standard - Disk Statistics (Metrics)
AvgDiskSecPerRead is duplicated.
With the extra precision specified for the result, default graph width is too narrow; some is rendered off the graph.

Data Query - SNMP - Informant CPU Statistics
cpuAPCBypassesPerSe = not enabled or correctly assigned
cpuDPCBypassesPerSe = not enabled or correctly assigned

Graph template - SNMP_Informant_Standard - CPU Statistics
CPU Usage Threshold: - Why is this arbitrarily set at 85? Consider making this a user input field so its customizable per data source.

Graph template - SNMP_Informant_Standard - Memory Statistics (Paging)
With the extra precision specified for the result, default graph width is too narrow; some is rendered off the graph.

Graph template - SNMP_Informant_Standard - Memory Statistics (Usage)
With the extra precision specified for the result, default graph width is too narrow; some is rendered off the graph.

New version 11 to address these. Read the readme.txt file included for changes.
Attachments
Cacti_SNMP_Informant_Standard_Metrics_v11.zip
(42.03 KiB) Downloaded 1147 times
@mrlesmithjr
http://everythingshouldbevirtual.com
User avatar
G0dSmack
Cacti User
Posts: 85
Joined: Wed Nov 12, 2008 10:25 am
Contact:

Re: WinXP/Vista/Win7/Win2000/Win2003/Win2008 Templates x32/x

Post by G0dSmack »

Anyone else getting nan for APC and DPC Bypasses for CPU Statistics graph?
@mrlesmithjr
http://everythingshouldbevirtual.com
User avatar
G0dSmack
Cacti User
Posts: 85
Joined: Wed Nov 12, 2008 10:25 am
Contact:

Re: WinXP/Vista/Win7/Win2000/Win2003/Win2008 Templates x32/x

Post by G0dSmack »

Removed APC and DPC Bypasses for CPU Statistics. These are not working. Here is version 12 of the templates. Enjoy.@!
Attachments
Cacti_SNMP_Informant_Standard_Metrics_v12.zip
(41.9 KiB) Downloaded 7158 times
@mrlesmithjr
http://everythingshouldbevirtual.com
tosage
Cacti User
Posts: 164
Joined: Wed Jul 28, 2010 5:05 am
Location: France

Re: WinXP/Vista/Win7/Win2000/Win2003/Win2008 Templates x32/x

Post by tosage »

Thanks ! I try that :)
Cacti Version - 0.8.8a
Plugin Architecture - 3.1
Poller Type - spine
Server Info - Linux
Web Server - Apache/2.2.22 (Ubuntu)
PHP - 5.3.10-1ubuntu3.6 with Suhosin-Patch (cli)
MySQL - 5.5.29-0ubuntu0.12.04.2
RRDTool - 1.4.7
mtyler
Posts: 1
Joined: Mon Jan 23, 2012 2:23 pm

Re: WinXP/Vista/Win7/Win2000/Win2003/Win2008 Templates x32/x

Post by mtyler »

Is there any reason for the Disk stats query to truncate the "query_lDiskInstance" name to a certain amount of characters?
I have the templates installed and they are graphing and gathering data fine, but it is truncating the volume name.

The actual volume is called "D:DFSROOTSGroupsDataPTX", and it is seen during the Verbose query output and during the selection when creating the graphs, but when it actually creates the graph, the name is " Disk D:DFSROOTSUsers (Percent Usage) "

How the selection process sees it:
1.JPG
1.JPG (25.52 KiB) Viewed 11592 times


How the verbose sees it:
2.JPG
2.JPG (15.17 KiB) Viewed 11592 times
How it ends up being created :(:
4.JPG
4.JPG (13.25 KiB) Viewed 11592 times

I counted it and it drops off anything longer than 20 characters. I tried to expand the graph size from 700 to 800 thinking it may help, but to no avail.
I dug through the templates and data queries trying to get it to display the full name, tried to shorten the query string thinking it had a character limit, but nothing makes sense. I have about 10 volumes like this per host, so reading the graphs that all have the same name isn't too user friendly :(

Any ideas?
Attachments
3.JPG
3.JPG (10.5 KiB) Viewed 11592 times
c3226026
Cacti User
Posts: 87
Joined: Mon Jan 17, 2011 12:15 pm

Re: WinXP/Vista/Win7/Win2000/Win2003/Win2008 Templates x32/x

Post by c3226026 »

to G0dSmack,

In the V9 version we've :

<name>Daily (5 Minute Average)</name>
<x_files_factor>0.5</x_files_factor>
<steps>1</steps>
<rows>25920</rows>
<timespan>86400</timespan>
<cf_items>1|2|3|4</cf_items>

in the V12 version we've this :

<name>Daily (5 Minute Average)</name>
<x_files_factor>0.5</x_files_factor>
<steps>1</steps>
<rows>600</rows>
<timespan>86400</timespan>
<cf_items>1|3</cf_items>

is it normal ?

Thanks in advanced to confirm it.
b0fh
Posts: 32
Joined: Fri Jul 18, 2003 3:46 am

Re: WinXP/Vista/Win7/Win2000/Win2003/Win2008 Templates x32/x

Post by b0fh »

Hi!

I am using the template to monitor two Windows 2008 Server and one Windows 7 hosts with latest SNMP-Informant 1.6. It seems that the "network statistics" template is not working correctly. On both 2008 Server the graph shows "-nan" on "Bytes received/sec", and "-nan" for "bytes sent/sec" on the Windows 7 host. There is network traffic for the monitored direction, as "bytes total/sec" shows.

Any ideas?

Thanks!
Attachments
graph_image.php.png
graph_image.php.png (49.28 KiB) Viewed 11526 times
b0fh
Posts: 32
Joined: Fri Jul 18, 2003 3:46 am

Re: WinXP/Vista/Win7/Win2000/Win2003/Win2008 Templates x32/x

Post by b0fh »

Okay, I tracked this down to snmp-informant. The Table "netBytesReceivedPerSec" is empty on the host. Seems to be a snmp-informant issue, not cacti or the template.
jazzplr
Posts: 20
Joined: Thu Dec 01, 2011 8:54 am
Location: West Lafayette, Indiana

Re: WinXP/Vista/Win7/Win2000/Win2003/Win2008 Templates x32/x

Post by jazzplr »

After adding this (v.12) THold stopped triggering for any windows thresholds. I'm on Cacti 0.8.7h and THold 0.4.9. The only solution was to remove the Windows devices entirely and re-add them. Short of doing this to 40 servers I will have to revert my VM snapshot to before adding this template.
Mishoo80
Posts: 1
Joined: Wed Feb 01, 2012 5:20 am

Re: WinXP/Vista/Win7/Win2000/Win2003/Win2008 Templates x32/x

Post by Mishoo80 »

Hello,

Is there any way with SNMP Informant to get the IP address/alias of the network interface?
I have machines with 3 or 4 NW Interfaces and it would be nice to have for each graph an IP address in the title.
I tried to add in the xml file the oids from windows SNMP but of course that there is no correlation between the windows standard oid and the snmp informand oid :(
Also with snmpwalk I cannot find any other name than the network connection name

thanks!
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests