Windows Processor

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

Moderators: Moderators, Developers

Post Reply
Author
Message
Lit
Posts: 14
Joined: Thu Aug 26, 2004 4:19 pm
Location: Ireland

Windows Processor

#1 Post by Lit » Thu Aug 26, 2004 6:05 pm

Needs the standard SNMP Informant agent from http://www.snmp-informant.com/



% DPC Time
% Interrupt Time
% Privileged Time
% Processor Time
% User Time


First time own graph so......
Attachments
cacti_data_query_lit_nfo_std_processor_percents.xml
(27.07 KiB) Downloaded 3712 times
cacti_data_template_lit_nfo_std_processor_percents.xml
(8.95 KiB) Downloaded 3570 times
cacti_graph_template_lit_nfo_std_processor.xml
(24.05 KiB) Downloaded 4367 times

mduran
Posts: 8
Joined: Tue Jul 27, 2004 4:05 pm
Location: Rosario, Argentina
Contact:

I can´t

#2 Post by mduran » Tue Aug 31, 2004 12:41 pm

I can´t import the templates!!!

could you try to post again ?

Tnks

Lit
Posts: 14
Joined: Thu Aug 26, 2004 4:19 pm
Location: Ireland

Exported Graph Template

#3 Post by Lit » Wed Sep 01, 2004 5:15 pm

Exported Graph Template including dependencies
Attachments
cacti_graph_template_lit_nfo_std_processor_percents.xml
(23.75 KiB) Downloaded 3121 times

balint

missing

#4 Post by balint » Thu Sep 02, 2004 7:25 am

Hi! thanks for all, BUT
'cacti-home'/resource/snmp_queries/Lit_Cacti_NFO_STD_Processor.xml
file is missing!

Can you post it to here?

Lit
Posts: 14
Joined: Thu Aug 26, 2004 4:19 pm
Location: Ireland

Query

#5 Post by Lit » Thu Sep 02, 2004 8:01 am

Try this.
Attachments
Lit_Cacti_NFO_STD_Processor.xml
(1.38 KiB) Downloaded 3188 times

DevilSun
Cacti User
Posts: 166
Joined: Fri Jul 16, 2004 1:59 pm
Location: Oregon

#6 Post by DevilSun » Fri Sep 03, 2004 12:02 pm

Could you post a screenshot of the graph please Lit? Good job.

Guest

Screenshot

#7 Post by Guest » Fri Sep 03, 2004 7:50 pm

Processor Graph
Attachments
ScreenHunter_001.jpg
ScreenHunter_001.jpg (67.93 KiB) Viewed 46818 times

Guest

Consolidation of Processor Graphs - SNMP

#8 Post by Guest » Fri Sep 17, 2004 4:10 pm

Added a graph for the Total CPU breakdown.

Requirements

http://www.snmp-informant.com/
(Work Standard Version - Ver 1.3 - problems with 1.2)

Notes on SNMP Informant

SNMP Informant will not install on Windows 95, 98, Me or Windows NT, or any derivative of Linux or Unix. It is designed for Windows 2000, XP and 2003.


Copy
Lit_Cacti_NFO_STD_Processor.xml TO ......\cacti\resource\snmp_queries

Copy Lit_Cacti_NFO_STD_Processor_Total.xml TO .......\cacti\resource\snmp_queries

Import
cacti_data_query_lit_nfo_std_processor_percents.xml
cacti_data_query_lit_nfo_std_processor_percents_total.xml
Attachments
cacti_data_query_lit_nfo_std_processor_percents.xml
(26.82 KiB) Downloaded 2968 times
Lit_Cacti_NFO_STD_Processor.xml
(1.39 KiB) Downloaded 3093 times
Processor.gif
Processor.gif (119.27 KiB) Viewed 46653 times

Lit
Posts: 14
Joined: Thu Aug 26, 2004 4:19 pm
Location: Ireland

#9 Post by Lit » Fri Sep 17, 2004 4:19 pm

Total Cpu Graph

WMI Processor details : - WMI W32 CPU (any number of processors) Perl Script via WMI
Attachments
Lit_Cacti_NFO_STD_Processor_Total.xml
(1.5 KiB) Downloaded 2611 times
cacti_data_query_lit_nfo_std_processor_percents_total.xml
(26.84 KiB) Downloaded 2938 times

law
Posts: 9
Joined: Mon Jul 24, 2006 8:25 pm

Problem with win cpu graph - no data

#10 Post by law » Sun Jul 30, 2006 9:59 pm

I can't c any data in my graph. Any idea what is happening?? Attached a copy of my screen capture. It only shows a blank chart even though i followed the sample template here.
Attachments
win-cpu.jpg
win-cpu.jpg (45.42 KiB) Viewed 44003 times

ritter6281
Posts: 11
Joined: Fri Sep 30, 2005 5:12 pm
Location: Madison, WI

Lit_Cacti_NFO_STD_Processor.xml won't import

#11 Post by ritter6281 » Mon Aug 07, 2006 2:28 pm

Lit_Cacti_NFO_STD_Processor.xml will not import into 0.8.6h. when I try to manually copy and past, I get an import error.

padonker
Posts: 4
Joined: Wed Nov 29, 2006 5:59 am

#12 Post by padonker » Wed Nov 29, 2006 6:26 am

Hi, is it possible to use this to feed info to a linux cacti server? Mind you, I'm new to this and rather clueless
If there are resources on how to do this, please point me in the right direction.
This question goes for all windows based queries as my cacti box is linux based

Tnx
Patrick

GMADSON
Posts: 1
Joined: Wed Sep 09, 2009 7:10 am

Why it doesn´t work ? ...

#13 Post by GMADSON » Wed Sep 09, 2009 8:39 am

Hi, my english is very poor, but i will try ... :D ,

I install:
* the standard SNMP Informant agent
* Lit_NFO_Std_Memory_Pages tamplate (works fine)
* Lit_NFO_Std_Processor_Percents (doesnt work )

But, the Lit_NFO_Std_Processor_Percents doesn´t works.

I import this tamplates:
cacti_data_query_lit_nfo_std_processor_percents.xml
cacti_data_query_lit_nfo_std_processor_percents_total.xml
cacti_data_template_lit_nfo_std_processor_percents.xml
cacti_graph_template_lit_nfo_std_processor.xml
cacti_graph_template_lit_nfo_std_processor_percents.xml

and I copy to /srv/www/cacti/resource/snmp_queries:
Lit_Cacti_NFO_STD_Processor.xml
Lit_Cacti_NFO_STD_Processor_Total.xml

more information: the memory template works with SNMPv1 or SNMPv2, SNMP UDP port 161m and SNMP Timeout 500

When i import cacti_graph_template_lit_nfo_std_processor_percents.xml, i get one error:

Graph Template

[success] Lit_NFO_Std_Processor_Percents [update]
...
+ Found Dependency: (Data Template Item) cpuPrivileged
+ Found Dependency: (Data Template Item) cpuUser
+ Unmet Dependency: (Data Template Item)

DEBUB:

RRDTool Command:
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="TESTE - XXX_XXX_XXX_XXX - CPU Utilization" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="percent" \
--slope-mode \
DEF:a="/srv/www/cacti/rra/teste_XXX_XXX_XXX_XXX_cpuuser_713.rrd":cpuProcessor:AVERAGE \
DEF:b="/srv/www/cacti/rra/teste_XXX_XXX_XXX_XXX_cpuuser_713.rrd":cpuInterrupt:AVERAGE \
DEF:c="/srv/www/cacti/rra/teste_XXX_XXX_XXX_XXX_cpuuser_713.rrd":cpuDPC:AVERAGE \
DEF:d="/srv/www/cacti/rra/teste_XXX_XXX_XXX_XXX_cpuuser_713.rrd":cpuPrivileged:AVERAGE \
DEF:e="/srv/www/cacti/rra/teste_XXX_XXX_XXX_XXX_cpuuser_713.rrd":cpuUser:AVERAGE \
AREA:a#CDCFC4:"Processor" \
GPRINT:a:LAST:" Current\:%8.0lf" \
GPRINT:a:AVERAGE:"Average\:%8.0lf" \
GPRINT:a:MAX:"Max\:%8.0lf\n" \
LINE1:b#dd0000:"Interrupt" \
GPRINT:b:LAST:" Current\:%8.0lf" \
GPRINT:b:AVERAGE:"Average\:%8.0lf" \
GPRINT:b:MAX:"Max\:%8.0lf\n" \
LINE1:c#862F2F:"DPC" \
GPRINT:c:LAST:" Current\:%8.0lf" \
GPRINT:c:AVERAGE:"Average\:%8.0lf" \
GPRINT:c:MAX:"Max\:%8.0lf\n" \
LINE1:d#4444FF:"Privileged" \
GPRINT:d:LAST:"Current\:%8.0lf" \
GPRINT:d:AVERAGE:"Average\:%8.0lf" \
GPRINT:d:MAX:"Max\:%8.0lf\n" \
LINE2:e#FFF200:"User" \
GPRINT:e:LAST:" Current\:%8.0lf" \
GPRINT:e:AVERAGE:"Average\:%8.0lf" \
GPRINT:e:MAX:"Max\:%8.0lf\n" \
COMMENT:"\n" \
COMMENT:"COMMENT\: Last Updated\: Tue 08 Sep 14\:20\:07 BRT 2009\n"


RRDTool Says:
ERROR: opening '/srv/www/cacti/rra/teste_XXX_XXX_XXX_XXX_cpuuser_713.rrd': No such file or direc


----------------------------------------------------------------------


RRDTool Command:
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="TESTE - XXX_XXX_XXX_XXX - Memory Pages Per Sec" \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="Pages Sec" \
--slope-mode \
DEF:a="/srv/www/cacti/rra/teste_XXX_XXX_XXX_XXX_mempagespersec_712.rrd":memPagesPerSec:AVERAGE \
DEF:b="/srv/www/cacti/rra/teste_XXX_XXX_XXX_XXX_mempagefaultspersec_709.rrd":memPageFaultsPerSec:AVERAGE \
DEF:c="/srv/www/cacti/rra/teste_XXX_XXX_XXX_XXX_mempagesinputpersec_710.rrd":memPagesInputPerSec:AVERAGE \
DEF:d="/srv/www/cacti/rra/teste_XXX_XXX_XXX_XXX_mempagesoutputperse_711.rrd":memPagesOutputPerSe:AVERAGE \
LINE2:a#005199:"PagesPerSec" \
GPRINT:a:LAST:" Current\:%8.2lf %s" \
GPRINT:a:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:a:MAX:"Maximum\:%8.2lf %s\n" \
LINE2:b#35962B:"PagesFaultsPerSec" \
GPRINT:b:LAST:"Current\:%8.2lf %s" \
GPRINT:b:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:b:MAX:"Maximum\:%8.2lf %s\n" \
LINE2:c#8F005C:"PagesInputPerSec" \
GPRINT:c:LAST:" Current\:%8.2lf %s" \
GPRINT:c:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:c:MAX:"Maximum\:%8.2lf %s\n" \
LINE2:d#FFF200:"PagesOutputPerSec" \
GPRINT:d:LAST:"Current\:%8.2lf %s" \
GPRINT:d:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:d:MAX:"Maximum\:%8.2lf %s\n" \
COMMENT:"\n" \
COMMENT:"Last Updated\: Tue 08 Sep 14\:30\:15 BRT 2009"

RRDTool Says:
OK

---------

Whats is wrong ?

Thanks for help!

cskp12
Posts: 21
Joined: Thu Jun 18, 2009 8:52 pm

#14 Post by cskp12 » Fri Sep 11, 2009 2:59 am

becase standard SNMP Informant agent is not to support win2k8 sp2
,how do you fix this issue for template
thx for post

Post Reply