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

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

Moderators: Developers, Moderators

Post Reply
tbe
Posts: 1
Joined: Tue Jan 26, 2010 6:03 am

Post by tbe »

Hi G0dSmack,
I imported the Version 9 of your templates. Everything works except "W32 - Network Statistics" template.

When I check the Graph Management in Debug mode I see the following error.

Code: Select all

RRDTool Says:

ERROR: opening '/usr/share/cacti/rra/de00tsea_netoutqueuelength_6250.rrd': No such file or directory
In the Datasource section I see the following in the debug mode:

Code: Select all

/usr/bin/rrdtool create \
/usr/share/cacti/rra/de00tsea_netoutqueuelength_6250.rrd \
--step 60  \
DS:netBytesRecPerSec:GAUGE:120:0:U \
DS:netBytesSentPerSec:GAUGE:120:0:U \
DS:netBytTotPerSec:GAUGE:120:0:U \
DS:netCurBandwidth:GAUGE:120:0:U \
DS:netOutQueueLength:GAUGE:120:0:U \
RRA:AVERAGE:0.5:1:500 \
RRA:AVERAGE:0.5:1:500 \
RRA:AVERAGE:0.5:1:600 \
RRA:AVERAGE:0.5:6:700 \
RRA:AVERAGE:0.5:24:775 \
RRA:AVERAGE:0.5:288:797 \
RRA:MIN:0.5:1:500 \
RRA:MIN:0.5:1:600 \
RRA:MIN:0.5:6:700 \
RRA:MIN:0.5:24:775 \
RRA:MIN:0.5:288:797 \
RRA:MAX:0.5:1:500 \
RRA:MAX:0.5:1:500 \
RRA:MAX:0.5:1:600 \
RRA:MAX:0.5:6:700 \
RRA:MAX:0.5:24:775 \
RRA:MAX:0.5:288:797 \
RRA:LAST:0.5:1:500 \
RRA:LAST:0.5:1:600 \
RRA:LAST:0.5:6:700 \
RRA:LAST:0.5:24:775 \
RRA:LAST:0.5:288:797
The file /usr/share/cacti/rra/de00tsea_netoutqueuelength_6250.rrd doesn't exists.

Again: All other parts of your template (and several more) are working without any problem...

Do you have any idea why ?

System: cacti 0.8.7e, CentOS 5.4

Bye
tbe
User avatar
G0dSmack
Cacti User
Posts: 85
Joined: Wed Nov 12, 2008 10:25 am
Contact:

Post by G0dSmack »

Did you get this working?
denyingthetruth
Posts: 23
Joined: Wed May 26, 2010 9:13 pm

Post by denyingthetruth »

mr godsmack.
i think your disk statistic graph doesn't show the total space of each drive.
they just show the free space. and i just need the standard disk statistic that shows the used space,free space,and total space. but the default snmp mounted partition doesn't work on my cacti, can you help me on this please.
im a complete nubie on this.
i use cacti 0.8.7e on centos 5.2 and want to monitor windows server 2003.

thx.
DWAyotte
Posts: 32
Joined: Wed Mar 28, 2007 1:37 pm

Post by DWAyotte »

denyingthetruth - what does your verbose query look like?
denyingthetruth
Posts: 23
Joined: Wed May 26, 2010 9:13 pm

Post by denyingthetruth »

DWAyotte wrote:denyingthetruth - what does your verbose query look like?
this is my verbose query of snmp - get mounted partitions

Code: Select all

+ Running data query [24].
+ Found type = '6 '[script query].
+ Found data query XML file at '/usr/local/cacti/resource/script_server/host_disk.xml'
+ XML file parsed ok.
+ Executing script for list of indexes '/usr/bin/php -q /usr/local/cacti/scripts/ss_host_disk.php 192.168.50.25 23 2:161:500:public:::::: index'
+ Executing script query '/usr/bin/php -q /usr/local/cacti/scripts/ss_host_disk.php 192.168.50.25 23 2:161:500:public:::::: query index'
+ Executing script query '/usr/bin/php -q /usr/local/cacti/scripts/ss_host_disk.php 192.168.50.25 23 2:161:500:public:::::: query description'
+ Executing script query '/usr/bin/php -q /usr/local/cacti/scripts/ss_host_disk.php 192.168.50.25 23 2:161:500:public:::::: query sau'
+ Found data query XML file at '/usr/local/cacti/resource/script_server/host_disk.xml'
+ Found data query XML file at '/usr/local/cacti/resource/script_server/host_disk.xml'
+ Found data query XML file at '/usr/local/cacti/resource/script_server/host_disk.xml'

and this is the result after adding the data queries.
1) SNMP - Get Mounted Partitions (Verbose Query) Uptime Goes Backwards Success [0 Items, 0 Rows]

I don't know why the snmp get mounted partition doesn't work.

please help.
thanks.
ultramedecine
Posts: 1
Joined: Mon May 24, 2010 9:43 am

Post by ultramedecine »

Very nice :D
User avatar
sumsum
Cacti User
Posts: 68
Joined: Mon Apr 26, 2004 7:18 am
Location: Switzerland
Contact:

Post by sumsum »

hello

I'm using Version 0.8.7e on a linux box. using your amazing templates for monitoring win7 32bit seams to work. but gathering snmp from a win7 64bit causes problems.

The Verbose query shows on win 64bit :

Code: Select all

+ Running data query [12].
+ Found type = '3' [snmp query].
+ Found data query XML file at '/usr/share/cacti-0.8.7e/resource/snmp_queries/snmp_informant_cpu.xml'
+ XML file parsed ok.
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.4.1.9600.1.1.5.1'
+ No SNMP data returned
+ Found data query XML file at '/usr/share/cacti-0.8.7e/resource/snmp_queries/snmp_informant_cpu.xml'
+ Found data query XML file at '/usr/share/cacti-0.8.7e/resource/snmp_queries/snmp_informant_cpu.xml'
+ Found data query XML file at '/usr/share/cacti-0.8.7e/resource/snmp_queries/snmp_informant_cpu.xml'
No SNMP data returned seams to be the key message. May I missed something on the 64bit machine ?
thanx for any hint
tom
http://www.lounge-radio.com/
dave6850
Posts: 2
Joined: Tue Jun 15, 2010 3:20 am

Multi Cpu Graph for Microsoft Windows Machines

Post by dave6850 »

Here some CPU graphs templates for Microsoft Windows machines.

This script and graphs works well on Cacti Linux machine.

Just put it in the cacti/scripts path.

And import the xml files.
Attachments
cacti_graph_template_host_mib_-_cpu_load_1.xml
1 CPU graph template for Microsoft Windows machines
(9.25 KiB) Downloaded 1140 times
cacti_graph_template_host_mib_-_cpu_load_2.xml
2 CPUs graph template for Microsoft Windows machines
(12.47 KiB) Downloaded 1297 times
cacti_graph_template_host_mib_-_cpu_load_4.xml
4 CPUs graph template for Microsoft Windows machines
(19.37 KiB) Downloaded 1434 times
cacti_graph_template_host_mib_-_cpu_load_8.xml
8 CPUs graph template for Microsoft Windows machines
(33.4 KiB) Downloaded 1440 times
host_mib_cpu.sh
shell script to get cpu usage for Microsoft Windows machines
(253 Bytes) Downloaded 1407 times
Last edited by dave6850 on Tue Jun 15, 2010 3:42 am, edited 1 time in total.
dave6850
Posts: 2
Joined: Tue Jun 15, 2010 3:20 am

Post by dave6850 »

further cpu graphs for Microsoft Windows machines
Attachments
cacti_graph_template_host_mib_-_cpu_load_12.xml
12 CPUs graph template for Microsoft Windows machines
(47.22 KiB) Downloaded 1038 times
cacti_graph_template_host_mib_-_cpu_load_16.xml
16 CPUs graph template for Microsoft Windows machines
(60.8 KiB) Downloaded 1399 times
User avatar
G0dSmack
Cacti User
Posts: 85
Joined: Wed Nov 12, 2008 10:25 am
Contact:

New version of Cacti

Post by G0dSmack »

I will be testing these templates on the newest version of cacti. Once I have confirmed that they work I will update the versions here for everyone.
tosage
Cacti User
Posts: 164
Joined: Wed Jul 28, 2010 5:05 am
Location: France

Post by tosage »

Hall all,

In my cacti 0.8.7d i have the message :

Error: XML: Hash version does not exist.

I don't know why ? Help :roll:

Thanks :wink:
jay
Cacti User
Posts: 390
Joined: Wed Aug 31, 2005 8:55 am
Location: Bristol, England

Post by jay »

It must be due to the version of Cacti you are running and the version these templates were imported from. I think they were imported from version E so you will need that at a minimum.
Cacti Version 0.8.7e, Spine 0.8.7e, Apache 2.2.15, Mysql 5.0.88, PHP 5.2.13, RRDTool 1.2.30, NET-SNMP 5.5
Quad Core AMD Opteron Processor 2384, 2.70Ghz, 2GB RAM , 1 CPU used
Windows Server 2003 (X64), VMWARE ESX
Plugins: Aggregate 0.75

SYSTEM STATS: Time:12.5140 Method:spine Processes:2 Threads:15 Hosts:400 HostsPerProcess:200 DataSources:2909 RRDsProcessed:1384
BlackBurn
Posts: 17
Joined: Tue Jul 20, 2010 6:23 am
Location: Netherlands
Contact:

Re: New version of Cacti

Post by BlackBurn »

G0dSmack wrote:I will be testing these templates on the newest version of cacti. Once I have confirmed that they work I will update the versions here for everyone.
Is it due the latest version of Cacti 0.8.7g that the templates version 9 don't seem to work?

When I try a query, I get no results returned.

Code: Select all

+ Running data query [11].
+ Found type = '3' [snmp query].
+ Found data query XML file at '/usr/share/cacti/resource/snmp_queries/snmp_informant_cpu.xml'
+ XML file parsed ok.
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.4.1.9600.1.1.5.1'
+ No SNMP data returned
+ Found data query XML file at '/usr/share/cacti/resource/snmp_queries/snmp_informant_cpu.xml'
+ Found data query XML file at '/usr/share/cacti/resource/snmp_queries/snmp_informant_cpu.xml'
+ Found data query XML file at '/usr/share/cacti/resource/snmp_queries/snmp_informant_cpu.xml'
The machine I'm trying works with the default Windows host template.

Anyone a suggestion?

thanks in advance.
skneo
Posts: 16
Joined: Thu Jun 10, 2010 7:41 am

Post by skneo »

Have you Install snmp_informant on the Host ?

The Templates works fine with 0.8.7g
BlackBurn
Posts: 17
Joined: Tue Jul 20, 2010 6:23 am
Location: Netherlands
Contact:

Post by BlackBurn »

skneo wrote:Have you Install snmp_informant on the Host ?

The Templates works fine with 0.8.7g
Whoops.. missed the part of the snmp_informant :oops:

thx
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest