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

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

Moderators: Developers, Moderators

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

Post by G0dSmack »

Anyone found any issues with these? I am open to any ideas as well.
AngryClown
Posts: 3
Joined: Fri Dec 12, 2008 3:30 pm

suggestion for network template

Post by AngryClown »

The graph should include the IP address rather than the interface description. That would help distinguish between two ports on the same NIC.
AngryClown
Posts: 3
Joined: Fri Dec 12, 2008 3:30 pm

Post by AngryClown »

btw, Godsmack, awesome template!
wish0129
Posts: 3
Joined: Thu Dec 18, 2008 3:15 am

failed to generate rrd files.

Post by wish0129 »

Hi Godsmark,

Thank you for you templates. I met some problems when create the graphs. Below is the information in graph debug mode:

*****************************************************
RRDTool Command:

/usr/local/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="172.21.100.20 Network MS TCP Loopback (I/O)" \
--base=1000 \
--height=200 \
--width=600 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="Network (I/O)" \
--slope-mode \
--font TITLE:8: \
--font AXIS:8: \
--font LEGEND:10: \
--font UNIT:8: \
DEF:a="/usr/local/apache/htdocs/cacti/rra/172_21_100_20_netbytessentpersec_1451.rrd":netBytesSentPerSec:AVERAGE \
DEF:b="/usr/local/apache/htdocs/cacti/rra/172_21_100_20_netbytessentpersec_1451.rrd":netBytesRecPerSec:AVERAGE \
DEF:c="/usr/local/apache/htdocs/cacti/rra/172_21_100_20_netbytessentpersec_1451.rrd":netBytTotPerSec:AVERAGE \
DEF:d="/usr/local/apache/htdocs/cacti/rra/172_21_100_20_netbytessentpersec_1451.rrd":netOutQueueLength:AVERAGE \
DEF:e="/usr/local/apache/htdocs/cacti/rra/172_21_100_20_netbytessentpersec_1451.rrd":netCurBandwidth:AVERAGE \
CDEF:cdefa=a,8,* \
CDEF:cdefe=b,8,* \
CDEF:cdefi=c,8,* \
AREA:cdefa#0000FFFF:"Bytes Sent/Sec\:" \
GPRINT:cdefa:LAST:" Current\:%8.2lf %s" \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s\n" \
AREA:cdefe#00FF00FF:"Bytes Received/Sec\:":STACK \
GPRINT:cdefe:LAST:" Current\:%8.2lf %s" \
GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefe:MAX:"Maximum\:%8.2lf %s\n" \
LINE1:cdefi#F24AC8FF:"Bytes Total/Sec\:" \
GPRINT:cdefi:LAST:" Current\:%8.2lf %s" \
GPRINT:cdefi:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefi:MAX:"Maximum\:%8.2lf %s\n" \
LINE1:d#55D6D3FF:"Output Queue Length\:" \
GPRINT:d:LAST:"Current\:%8.0lf" \
GPRINT:d:AVERAGE:"Average\:%8.0lf" \
GPRINT:d:MAX:"Maximum\:%8.0lf\n" \
COMMENT:"Current Bandwidth\:" \
GPRINT:e:LAST:"Current\:%8.2lf %s" \
GPRINT:e:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:e:MAX:"Maximum\:%8.2lf %s\n" \
COMMENT:"Total Sent\: 0 bytes" \
COMMENT:"Total Received\: 0 bytes\n" \
COMMENT:"Fri 19 Dec 17\:30\:00 CST 2008 "
RRDTool Says:

ERROR: opening '/usr/local/apache/htdocs/cacti/rra/172_21_100_20_netbytessentpersec_1451.rrd': No such file or directory

*******************************************************

It seems the rrd files cannot generated normally.

Do you have any ideas? Thank you in advance.
AngryClown
Posts: 3
Joined: Fri Dec 12, 2008 3:30 pm

problem with disk percentage used graph

Post by AngryClown »

hmmm I have a weird issue. I'm watching stats on a mounted LUN, and every now and then the % read time bounces to 1300 or so. So now the vertical axis goes up to 1.5k%
Any idea how to fix that one?
User avatar
G0dSmack
Cacti User
Posts: 85
Joined: Wed Nov 12, 2008 10:25 am
Contact:

Post by G0dSmack »

This was the way I had the templates. I originally had them only reporting up to 100% usage, but this is not always true when disks are always getting hammered. So I changed them to show true percentages, but it does make the vertical axis go way up. Did you figure out how to make them work better for you? I have been away from here for a while, but I am still using these templates. I just moved to CactiEZ .6 and imported the templates and started going again.
User avatar
G0dSmack
Cacti User
Posts: 85
Joined: Wed Nov 12, 2008 10:25 am
Contact:

Post by G0dSmack »

I have actually gone back on what I mentioned in the previous post. I have changed to only show up to 100% usage on disks. The issue is that Windows will report unreliable disk % usage. You can verify by using perfmon.
User avatar
G0dSmack
Cacti User
Posts: 85
Joined: Wed Nov 12, 2008 10:25 am
Contact:

Post by G0dSmack »

Here are the latest templates I am using.
Attachments
Cacti.zip
(38.63 KiB) Downloaded 3268 times
User avatar
G0dSmack
Cacti User
Posts: 85
Joined: Wed Nov 12, 2008 10:25 am
Contact:

Post by G0dSmack »

copy all 5 snmp_informant_*.xml files to <cacti root>/resource/snmp_queries folder on your cacti box. Import all 5 cacti_data_query_snmp*.xml files within cacti console under import templates.
dklima
Posts: 8
Joined: Wed Aug 13, 2008 5:15 pm

Post by dklima »

When I try to import the templates I got the following error:

Code: Select all

Error: XML: Hash version does not exist.
dklima
Posts: 8
Joined: Wed Aug 13, 2008 5:15 pm

Post by dklima »

I used the old one, and now I got this result:

Code: Select all

Data Query Debug Information
+ Running data query [23].
+ Found type = '3' [snmp query].
+ Found data query XML file at '/var/www/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'
+ Located input field 'cpuInstance' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.4.1.9600.1.1.5.1.1'
+ Found item [cpuInstance='No more variables left in this MIB View (It is past the end of the MIB tree)'] index: 1.3.6.1.4.1.9600.1.1.5.1.1 [from value]
+ Found data query XML file at '/var/www/cacti/resource/snmp_queries/snmp_informant_cpu.xml'
+ Found data query XML file at '/var/www/cacti/resource/snmp_queries/snmp_informant_cpu.xml'
+ Found data query XML file at '/var/www/cacti/resource/snmp_queries/snmp_informant_cpu.xml'
+ Found data query XML file at '/var/www/cacti/resource/snmp_queries/snmp_informant_cpu.xml'
Attachments
graph_image.php.png
graph_image.php.png (32.64 KiB) Viewed 18717 times
neroZ
Posts: 3
Joined: Mon Mar 16, 2009 5:08 am

Post by neroZ »

dklima wrote:When I try to import the templates I got the following error:

Code: Select all

Error: XML: Hash version does not exist.
Same problem here... Cacti 0.8.7b
neroZ
Posts: 3
Joined: Mon Mar 16, 2009 5:08 am

Post by neroZ »

neroZ wrote:
dklima wrote:When I try to import the templates I got the following error:

Code: Select all

Error: XML: Hash version does not exist.
Same problem here... Cacti 0.8.7b
Solved by upgrading to 0.8.7d.

Now it is another issue....

Code: Select all

ERROR: opening '/usr/home/cacti/rra/10_0_12_12_yosh_515.rrd': No such file or directory 
Looks like .rrd files aren't generated...
ahtshun83
Cacti User
Posts: 95
Joined: Wed Feb 25, 2009 12:23 am

Post by ahtshun83 »

hi godsmack,

i tried to import the xml files using cacti console but nothing happen..

may i know where will the imported file located?

can u provide a basic guide on how to use/create a template to pull data?I am interested in memory usage..coz linux memory usage template display wrong memory..

thank you!!!
User avatar
claymen
Cacti User
Posts: 259
Joined: Mon Aug 18, 2008 4:30 am
Location: Australia
Contact:

Post by claymen »

G0dSmack wrote:Anyone found any issues with these? I am open to any ideas as well.
I like the look of the graph templates. I may have to borrow some of the ideas and port them to use WMI :)
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests