|
|
| Would you or your company pay someone to create more graph templates? |
| Yes |
|
16% |
[ 14 ] |
| No |
|
33% |
[ 28 ] |
| Maybe |
|
27% |
[ 23 ] |
| You suck for even asking |
|
22% |
[ 19 ] |
|
| Total Votes : 84 |
|
| Author |
Message |
natrlhy
Joined: 14 Mar 2007 Posts: 5
|
Posted: Fri Mar 30, 2007 1:39 pm Post subject: |
|
|
| mr.Scamp wrote: | What data do i have to input in the fields on the picture below to get it working?
In what field do i have to type the disk`s name such as hda or ad0? |
I get the same thing on a Solaris host I'm trying to monitor the Disk I/O. The cacti server supports php-snmp...
EDIT: I downloaded the diskio.tgz files provided by gandalf and they were imported successfully.
I can now add ucd/net - Device I/O as a Associated Data Queries for my Solaris host, but now I am realizing that Solaris 9 might not support the diskio module. Is this correct? |
|
| Back to top |
|
 |
bithajcsar
Joined: 22 Aug 2007 Posts: 1
|
Posted: Wed Aug 22, 2007 6:49 am Post subject: Data Query does not show up |
|
|
Hi,
I think I did everything like advised, but the data query does not show up in the list. Therefore I can not create graphs.
I use 0.8.6i
Please help to find the error.
Bithajcsar |
|
| Back to top |
|
 |
exploit-soget
Joined: 23 Jan 2007 Posts: 40
|
Posted: Wed Nov 21, 2007 8:54 am Post subject: |
|
|
I have no data for this template and when i tried to verbose query i have this :
+ Running data query [10].
+ Found type = '3' [snmp query].
+ Found data query XML file at '/var/www/html/resource/snmp_queries/net-snmp_devio.xml'
+ XML file parsed ok.
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.4.1.2021.13.15.1.1.1'
+ No SNMP data returned
+ Found data query XML file at '/var/www/html/resource/snmp_queries/net-snmp_devio.xml'
+ Found data query XML file at '/var/www/html/resource/snmp_queries/net-snmp_devio.xml'
+ Found data query XML file at '/var/www/html/resource/snmp_queries/net-snmp_devio.xml'
Can you help me ? |
|
| Back to top |
|
 |
RCK
Joined: 26 Jan 2007 Posts: 40
|
|
| Back to top |
|
 |
MagnaChef Cacti User
Joined: 25 Nov 2003 Posts: 154 Location: Buffalo, NY
|
Posted: Fri Jan 18, 2008 3:44 pm Post subject: |
|
|
For some reason, I am only seeing the first 20 diskIODevice. Is this something with the Cacti frontend, or is it something with the query?
cacti-0.8.7a-1
CentOS 4.4
Thanks! |
|
| Back to top |
|
 |
MagnaChef Cacti User
Joined: 25 Nov 2003 Posts: 154 Location: Buffalo, NY
|
Posted: Fri Jan 18, 2008 3:51 pm Post subject: |
|
|
| Nevermind, I see the issue (just need to hit the "next" button) |
|
| Back to top |
|
 |
karias Cacti User
Joined: 25 Oct 2006 Posts: 55
|
Posted: Wed Feb 13, 2008 10:34 am Post subject: |
|
|
| natrlhy wrote: | | mr.Scamp wrote: | What data do i have to input in the fields on the picture below to get it working?
In what field do i have to type the disk`s name such as hda or ad0? |
I get the same thing on a Solaris host I'm trying to monitor the Disk I/O. The cacti server supports php-snmp...
EDIT: I downloaded the diskio.tgz files provided by gandalf and they were imported successfully.
I can now add ucd/net - Device I/O as a Associated Data Queries for my Solaris host, but now I am realizing that Solaris 9 might not support the diskio module. Is this correct? |
Ditto to these 2....what should be put in the blanks? |
|
| Back to top |
|
 |
feld
Joined: 21 Feb 2008 Posts: 3
|
Posted: Fri Feb 22, 2008 6:49 pm Post subject: |
|
|
when I go to create a graph what do I put for index type, index value, and output type id?
I'm also having a hard time figuring out which ones are my fiber SAN luns. I think it's the ssd's because there is some ssds for the luns in the /devices/scsi_vhci? (I'm on Solaris).
Here's some (hopefully) helpful info.
| Code: |
UCD-DISKIO-MIB::diskIOIndex.1 = INTEGER: 1
UCD-DISKIO-MIB::diskIOIndex.2 = INTEGER: 2
UCD-DISKIO-MIB::diskIOIndex.3 = INTEGER: 3
UCD-DISKIO-MIB::diskIOIndex.4 = INTEGER: 4
UCD-DISKIO-MIB::diskIOIndex.5 = INTEGER: 5
UCD-DISKIO-MIB::diskIOIndex.6 = INTEGER: 6
UCD-DISKIO-MIB::diskIOIndex.7 = INTEGER: 7
UCD-DISKIO-MIB::diskIOIndex.8 = INTEGER: 8
UCD-DISKIO-MIB::diskIOIndex.9 = INTEGER: 9
UCD-DISKIO-MIB::diskIOIndex.10 = INTEGER: 10
UCD-DISKIO-MIB::diskIOIndex.11 = INTEGER: 11
UCD-DISKIO-MIB::diskIOIndex.12 = INTEGER: 12
UCD-DISKIO-MIB::diskIOIndex.13 = INTEGER: 13
UCD-DISKIO-MIB::diskIODevice.1 = STRING: sd15
UCD-DISKIO-MIB::diskIODevice.2 = STRING: sd16
UCD-DISKIO-MIB::diskIODevice.3 = STRING: md10
UCD-DISKIO-MIB::diskIODevice.4 = STRING: md20
UCD-DISKIO-MIB::diskIODevice.5 = STRING: md0
UCD-DISKIO-MIB::diskIODevice.6 = STRING: ssd7
UCD-DISKIO-MIB::diskIODevice.7 = STRING: ssd3
UCD-DISKIO-MIB::diskIODevice.8 = STRING: ssd4
UCD-DISKIO-MIB::diskIODevice.9 = STRING: ssd5
UCD-DISKIO-MIB::diskIODevice.10 = STRING: ssd6
UCD-DISKIO-MIB::diskIODevice.11 = STRING: md11
UCD-DISKIO-MIB::diskIODevice.12 = STRING: md21
UCD-DISKIO-MIB::diskIODevice.13 = STRING: md1
UCD-DISKIO-MIB::diskIONRead.1 = Counter32: 747038936
UCD-DISKIO-MIB::diskIONRead.2 = Counter32: 750989261
UCD-DISKIO-MIB::diskIONRead.3 = Counter32: 744883712
UCD-DISKIO-MIB::diskIONRead.4 = Counter32: 750830080
UCD-DISKIO-MIB::diskIONRead.5 = Counter32: 1495713792
UCD-DISKIO-MIB::diskIONRead.6 = Counter32: 362508712
UCD-DISKIO-MIB::diskIONRead.7 = Counter32: 3432272
UCD-DISKIO-MIB::diskIONRead.8 = Counter32: 2683681616
UCD-DISKIO-MIB::diskIONRead.9 = Counter32: 2911893988
UCD-DISKIO-MIB::diskIONRead.10 = Counter32: 3187868348
UCD-DISKIO-MIB::diskIONRead.11 = Counter32: 0
UCD-DISKIO-MIB::diskIONRead.12 = Counter32: 8192
UCD-DISKIO-MIB::diskIONRead.13 = Counter32: 8192
UCD-DISKIO-MIB::diskIONWritten.1 = Counter32: 1003999232
UCD-DISKIO-MIB::diskIONWritten.2 = Counter32: 980625408
UCD-DISKIO-MIB::diskIONWritten.3 = Counter32: 980591616
UCD-DISKIO-MIB::diskIONWritten.4 = Counter32: 980591616
UCD-DISKIO-MIB::diskIONWritten.5 = Counter32: 980591616
UCD-DISKIO-MIB::diskIONWritten.6 = Counter32: 371173888
UCD-DISKIO-MIB::diskIONWritten.7 = Counter32: 181182464
UCD-DISKIO-MIB::diskIONWritten.8 = Counter32: 3755909632
UCD-DISKIO-MIB::diskIONWritten.9 = Counter32: 3486520320
UCD-DISKIO-MIB::diskIONWritten.10 = Counter32: 3335225856
UCD-DISKIO-MIB::diskIONWritten.11 = Counter32: 0
UCD-DISKIO-MIB::diskIONWritten.12 = Counter32: 0
UCD-DISKIO-MIB::diskIONWritten.13 = Counter32: 0
UCD-DISKIO-MIB::diskIOReads.1 = Counter32: 66043
UCD-DISKIO-MIB::diskIOReads.2 = Counter32: 65746
UCD-DISKIO-MIB::diskIOReads.3 = Counter32: 63573
UCD-DISKIO-MIB::diskIOReads.4 = Counter32: 63572
UCD-DISKIO-MIB::diskIOReads.5 = Counter32: 127145
UCD-DISKIO-MIB::diskIOReads.6 = Counter32: 25243
UCD-DISKIO-MIB::diskIOReads.7 = Counter32: 91
UCD-DISKIO-MIB::diskIOReads.8 = Counter32: 152085
UCD-DISKIO-MIB::diskIOReads.9 = Counter32: 28193
UCD-DISKIO-MIB::diskIOReads.10 = Counter32: 9797904
UCD-DISKIO-MIB::diskIOReads.11 = Counter32: 0
UCD-DISKIO-MIB::diskIOReads.12 = Counter32: 1
UCD-DISKIO-MIB::diskIOReads.13 = Counter32: 1
UCD-DISKIO-MIB::diskIOWrites.1 = Counter32: 189148
UCD-DISKIO-MIB::diskIOWrites.2 = Counter32: 146860
UCD-DISKIO-MIB::diskIOWrites.3 = Counter32: 141802
UCD-DISKIO-MIB::diskIOWrites.4 = Counter32: 141802
UCD-DISKIO-MIB::diskIOWrites.5 = Counter32: 141802
UCD-DISKIO-MIB::diskIOWrites.6 = Counter32: 7471
UCD-DISKIO-MIB::diskIOWrites.7 = Counter32: 1923
UCD-DISKIO-MIB::diskIOWrites.8 = Counter32: 326839
UCD-DISKIO-MIB::diskIOWrites.9 = Counter32: 3000845
UCD-DISKIO-MIB::diskIOWrites.10 = Counter32: 15089283
UCD-DISKIO-MIB::diskIOWrites.11 = Counter32: 0
UCD-DISKIO-MIB::diskIOWrites.12 = Counter32: 0
UCD-DISKIO-MIB::diskIOWrites.13 = Counter32: 0
|
| Code: |
# ls
ssd@g000b08001d001967 ssd@g000b08001d001967:g,raw ssd@g000b08001f001967:f ssd@g000b080020001967:d,raw ssd@g000b080021001967:c
ssd@g000b08001d001967:a ssd@g000b08001d001967:wd ssd@g000b08001f001967:f,raw ssd@g000b080020001967:e ssd@g000b080021001967:c,raw
ssd@g000b08001d001967:a,raw ssd@g000b08001d001967:wd,raw ssd@g000b08001f001967:g ssd@g000b080020001967:e,raw ssd@g000b080021001967:d
ssd@g000b08001d001967:b ssd@g000b08001f001967 ssd@g000b08001f001967:g,raw ssd@g000b080020001967:f ssd@g000b080021001967:d,raw
ssd@g000b08001d001967:b,raw ssd@g000b08001f001967:a ssd@g000b08001f001967:wd ssd@g000b080020001967:f,raw ssd@g000b080021001967:e
ssd@g000b08001d001967:c ssd@g000b08001f001967:a,raw ssd@g000b08001f001967:wd,raw ssd@g000b080020001967:g ssd@g000b080021001967:e,raw
ssd@g000b08001d001967:c,raw ssd@g000b08001f001967:b ssd@g000b080020001967 ssd@g000b080020001967:g,raw ssd@g000b080021001967:f
ssd@g000b08001d001967:d ssd@g000b08001f001967:b,raw ssd@g000b080020001967:a ssd@g000b080020001967:wd ssd@g000b080021001967:f,raw
ssd@g000b08001d001967:d,raw ssd@g000b08001f001967:c ssd@g000b080020001967:a,raw ssd@g000b080020001967:wd,raw ssd@g000b080021001967:g
ssd@g000b08001d001967:e ssd@g000b08001f001967:c,raw ssd@g000b080020001967:b ssd@g000b080021001967 ssd@g000b080021001967:g,raw
ssd@g000b08001d001967:e,raw ssd@g000b08001f001967:d ssd@g000b080020001967:b,raw ssd@g000b080021001967:a ssd@g000b080021001967:wd
ssd@g000b08001d001967:f ssd@g000b08001f001967:d,raw ssd@g000b080020001967:c ssd@g000b080021001967:a,raw ssd@g000b080021001967:wd,raw
ssd@g000b08001d001967:f,raw ssd@g000b08001f001967:e ssd@g000b080020001967:c,raw ssd@g000b080021001967:b
ssd@g000b08001d001967:g ssd@g000b08001f001967:e,raw ssd@g000b080020001967:d ssd@g000b080021001967:b,raw
|
| Code: |
# format
Searching for disks...done
AVAILABLE DISK SELECTIONS:
0. c0t0d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
/pci@1c,600000/scsi@2/sd@0,0
1. c0t1d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
/pci@1c,600000/scsi@2/sd@1,0
2. c3t000B08001D001967d0 <Pillar-Axiom 300-0000-20.25GB>
/scsi_vhci/ssd@g000b08001d001967
3. c3t000B08001F001967d0 <Pillar-Axiom 300-0000-100.23GB>
/scsi_vhci/ssd@g000b08001f001967
4. c3t000B080020001967d0 <Pillar-Axiom 300-0000-100.23GB>
/scsi_vhci/ssd@g000b080020001967
5. c3t000B080021001967d0 <Pillar-Axiom 300-0000-50.24GB>
/scsi_vhci/ssd@g000b080021001967
Specify disk (enter its number):
|
Thanks! |
|
| Back to top |
|
 |
mvip
Joined: 21 Jun 2007 Posts: 4
|
Posted: Fri Feb 22, 2008 10:13 pm Post subject: |
|
|
Did anyone manage to get this working on any recent version of Cacti?
I followed the steps in the initial instructions, but can only manage to get "Bytes Read/Written" to work. I'm running on a FreeBSD 6.2 machine and I can successfully manage top pull the information with snmptable and snmpwalk
| Quote: | snmptable -v1 -c public 127.0.0.1 diskIOTable
SNMP table: UCD-DISKIO-MIB::diskIOTable
diskIOIndex diskIODevice diskIONRead diskIONWritten diskIOReads diskIOWrites diskIOLA1 diskIOLA5 diskIOLA15 diskIONReadX diskIONWrittenX
1 ad0 1655573504 3524749312 177486 214412 4 4 5 ? ? |
| Quote: | snmpwalk -v1 -c public 127.0.0.1 1.3.6.1.4.1.2021.13.15
UCD-DISKIO-MIB::diskIOIndex.1 = INTEGER: 1
UCD-DISKIO-MIB::diskIODevice.1 = STRING: ad0
UCD-DISKIO-MIB::diskIONRead.1 = Counter32: 1655582208
UCD-DISKIO-MIB::diskIONWritten.1 = Counter32: 3525361664
UCD-DISKIO-MIB::diskIOReads.1 = Counter32: 177487
UCD-DISKIO-MIB::diskIOWrites.1 = Counter32: 214445
UCD-DISKIO-MIB::diskIOLA1.1 = INTEGER: 5
UCD-DISKIO-MIB::diskIOLA5.1 = INTEGER: 4
UCD-DISKIO-MIB::diskIOLA15.1 = INTEGER: 5
|
If I do the debugging within Cacti, I receive the following information:
| Quote: | Data Source Debug
/usr/local/bin/rrdtool create \
/usr/local/share/cacti/rra/server.net_device_writes_95.rrd \
--step 300 \
DS:Device_Reads:COUNTER:600:0:U \
DS:Bytes_Read:COUNTER:600:0:U \
DS:Bytes_Written:COUNTER:600:0:U \
DS:Device_Writes:COUNTER:600:0:U \
DS:1Min_LoadAvg:GAUGE:600:0:100 \
DS:5Min_LoadAvg:GAUGE:600:0:100 \
DS:15Min_LoadAvg:GAUGE:600:0:100 \
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: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 \ |
As far as I can tell, it seems like I receive enough information to do the graphs.
Anyone got a clue why the other two graphs fail to appear? I'm running Cacti 0.8.7b. |
|
| Back to top |
|
 |
feld
Joined: 21 Feb 2008 Posts: 3
|
Posted: Mon Feb 25, 2008 11:06 am Post subject: |
|
|
| mvip wrote: | Did anyone manage to get this working on any recent version of Cacti?
|
be kind and answer my question a post above and I'll be glad to get back to you immediately with the results of whether it functions or not.  |
|
| Back to top |
|
 |
doughairfield
Joined: 20 Feb 2008 Posts: 7
|
Posted: Mon Mar 17, 2008 3:11 pm Post subject: Not drawing graphs for Device I/O Reads/Writes and Load Ave. |
|
|
Almost everything is working great for the Disk I/O template with the exception of 2 of the 3 graphs, Device I/O Reads/Writes and Load Average. I did a debug output of the Read/Writes graph and noticed the
ERROR: the RRD does not contain an RRA matching the chosen CF
At the bottom, any ideas on how to fix that?
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-60 \
--title="file002 - Device I/O - Reads/Writes sda" \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="Reads/Writes" \
--slope-mode \
--font TITLE:12: \
--font AXIS:8: \
--font LEGEND:10: \
--font UNIT:8: \
DEF:a="/usr/local/apache2/htdocs/cacti/rra/file002_device_reads_1083.rrd":Device_Reads:LAST \
DEF:b="/usr/local/apache2/htdocs/cacti/rra/file002_device_reads_1083.rrd":Device_Reads:MAX \
DEF:c="/usr/local/apache2/htdocs/cacti/rra/file002_device_reads_1083.rrd":Device_Writes:LAST \
DEF:d="/usr/local/apache2/htdocs/cacti/rra/file002_device_reads_1083.rrd":Device_Writes:MAX \
LINE1:a#0000FFFF:"Device Reads\:" \
GPRINT:a:LAST:" Last\:%8.0lf" \
GPRINT:b:MIN:"Minimum\:%8.0lf" \
GPRINT:b:AVERAGE:"Average\:%8.0lf" \
GPRINT:b:MAX:"Maximum\:%8.0lf\n" \
LINE1:c#FF0000FF:"Device Writes\:" \
GPRINT:c:LAST:"Last\:%8.0lf" \
GPRINT:d:MIN:"Minumum\:%8.0lf" \
GPRINT:d:AVERAGE:"Average\:%8.0lf" \
GPRINT:d:MAX:"Maximum\:%8.0lf\n"
RRDTool Says:
ERROR: the RRD does not contain an RRA matching the chosen CF |
|
| Back to top |
|
 |
tracky2007
Joined: 27 Dec 2007 Posts: 20
|
Posted: Mon Mar 17, 2008 10:57 pm Post subject: |
|
|
how to make cacti support php snmp?
i got same problem above~~~cacti need me to input indexID、outputID.......
i use cacti0.86j |
|
| Back to top |
|
 |
tracky2007
Joined: 27 Dec 2007 Posts: 20
|
Posted: Tue Mar 18, 2008 5:27 am Post subject: |
|
|
problem has been solved!
thank everybody here~~~ |
|
| Back to top |
|
 |
gpetme
Joined: 28 Mar 2007 Posts: 22
|
Posted: Thu Apr 10, 2008 5:34 pm Post subject: |
|
|
I have witnessed the same problem with 2 of the 3 graphs not working, and displaying the following error when you turn on graph debug mode:
ERROR: the RRD does not contain an RRA matching the chosen CF
I got these two other graphs to work by changing the graph template to use AVERAGE rather than LAST on the AREA and STACK components.
This issue is discussed at more depth here:
http://forums.cacti.net/viewtopic.php?t=3686
Hope this helps.
Greg |
|
| Back to top |
|
 |
krpaum
Joined: 21 Apr 2008 Posts: 13
|
Posted: Wed Apr 23, 2008 5:09 am Post subject: |
|
|
When i create graph for device. The page is asking me to fill these value.
what should i fill in output typeID, index value and index type |
|
| Back to top |
|
 |
|