Disk IO (Host MIB) - help pls
Moderators: Developers, Moderators
Disk IO (Host MIB) - help pls
Hi,
I've been trying for some time to get the "Disk IO (Host MIB)" templates (http://docs.cacti.net/usertemplate:grap ... mib:diskio) to work but had no success. I'm new to the board but have some cacti experience, i.e., went through the online docs, installed/configured cacti, have the default graphs working, etc. etc. ... I also did the SNMP Walk Trough (http://docs.cacti.net/manual:087:3a_adv ... alkthrough) which was quite useful for the on-hands stuff but not enough to help me out in figuring out what's going wrong.
So to get to the point here's what's going on:
- I'm using Cacti Version 0.8.7d
- I installed the templates as per gandalf's instructions from where I got the templates in the first place, all goes well
- I try creating a graph for mysrv by selecting "Host MIB - Disk IO - Bytes per Second" and click on "Create" at the bottom of the page
- next I get the "Create Graph from 'Host MIB - Disk IO - Bytes per Second'" window and there I have following fields:
Name: |host_description| - Disk IO Bytes
Output Type ID: <blank>
Index Value: <blank>
Index Type: <blank>
Can some one please explain what values to put in Output Type ID, Index Value, and Index Type? I've seen this questions asked a bunch of times on the forum but no clear answer. Can someone please try to solve this mystery?
Thanks
TonyP
I've been trying for some time to get the "Disk IO (Host MIB)" templates (http://docs.cacti.net/usertemplate:grap ... mib:diskio) to work but had no success. I'm new to the board but have some cacti experience, i.e., went through the online docs, installed/configured cacti, have the default graphs working, etc. etc. ... I also did the SNMP Walk Trough (http://docs.cacti.net/manual:087:3a_adv ... alkthrough) which was quite useful for the on-hands stuff but not enough to help me out in figuring out what's going wrong.
So to get to the point here's what's going on:
- I'm using Cacti Version 0.8.7d
- I installed the templates as per gandalf's instructions from where I got the templates in the first place, all goes well
- I try creating a graph for mysrv by selecting "Host MIB - Disk IO - Bytes per Second" and click on "Create" at the bottom of the page
- next I get the "Create Graph from 'Host MIB - Disk IO - Bytes per Second'" window and there I have following fields:
Name: |host_description| - Disk IO Bytes
Output Type ID: <blank>
Index Value: <blank>
Index Type: <blank>
Can some one please explain what values to put in Output Type ID, Index Value, and Index Type? I've seen this questions asked a bunch of times on the forum but no clear answer. Can someone please try to solve this mystery?
Thanks
TonyP
you must create the graph through the 'create graphs for this host' link, from within a device in cacti. it will properly fill in those 3 fields.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Disk IO (Host MIB) - help pls
Yup, that's how I do it, use "Create Graphs for this Host" from the specific device page. But I still get blanks for Output Type ID, Index Value, and Index Type.
Just realized that there is no "Data Query" for this template. So I created one and associated it with the graph template. Should there have been one with the templates I imported?
After creating a "Data Query" and associating it with the "'Host MIB - Disk IO - Bytes per Second'" graph template, the "'Host MIB - Disk IO - Bytes per Second'" graph template no longer appears under the drop down for "Graph Templates" for "Create Graphs for this Host" but I can see the newly crated "Data Query" in the "Add Data Query:" drop down list under the "Associated Data Queries" for a device. If I add it I can then see the newly created data query under "Data Query" for "Create Graphs for this Host". I then select the the particular disk I want to graph for the host but the rrd file is not created by the poller. i.e. I get ERROR: opening '/www/cacti/rra/mysrv_disk_bytes_read_847.rrd': No such file or directory from the graph debug and in the apache log file... of course I waited consecutive polling cycles to make sure the poller takes effect.
This thing is eating me alive... can't drop it.... cause the graphs look awesome in the example.
Any hints/ideas on what's going on?
Thanks for the quick reply,
tonyp
Just realized that there is no "Data Query" for this template. So I created one and associated it with the graph template. Should there have been one with the templates I imported?
After creating a "Data Query" and associating it with the "'Host MIB - Disk IO - Bytes per Second'" graph template, the "'Host MIB - Disk IO - Bytes per Second'" graph template no longer appears under the drop down for "Graph Templates" for "Create Graphs for this Host" but I can see the newly crated "Data Query" in the "Add Data Query:" drop down list under the "Associated Data Queries" for a device. If I add it I can then see the newly created data query under "Data Query" for "Create Graphs for this Host". I then select the the particular disk I want to graph for the host but the rrd file is not created by the poller. i.e. I get ERROR: opening '/www/cacti/rra/mysrv_disk_bytes_read_847.rrd': No such file or directory from the graph debug and in the apache log file... of course I waited consecutive polling cycles to make sure the poller takes effect.
This thing is eating me alive... can't drop it.... cause the graphs look awesome in the example.
Any hints/ideas on what's going on?
Thanks for the quick reply,
tonyp
IMO, you should get your base cacti installation up and working first. Understand how things work. THEN start to play around with 3rd party templates/scripts and the plugin architecture.
that disk io should've come with templates/scripts -- all thats required.
The device you're trying to get this working on, do other cacti templates work with it?
that disk io should've come with templates/scripts -- all thats required.
The device you're trying to get this working on, do other cacti templates work with it?
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Disk IO (Host MIB) - help pls
I've had the base cacti installation up and working for over a year now, with 50 or so devices and using the standard templates that come with it, i.e. graphing mem, cpu, if, etc. Only now I'm getting into the nitty gritty of it now since I have to start monitoring disk I/O activity on some servers.
The problem I'm getting is with importing this particular template. If some one can tell me more about Output Type ID, Index Value, and Index Type, i.e. what they are used for, who/what populates them, how they relate to the MIB portion being queried, how does their data relate to the final graph, etc. I would really appreciate it. The online docs mention them but just by name, no other explanation is given.
If I know this then I can take on things from there.
Thanks.
PS: I got the graphs working, I had to manually create the Data Query and associate it with the Graph Template. Is this the typical process when importing graph templates or should the Data Query be contained within the Graph Template?
The problem I'm getting is with importing this particular template. If some one can tell me more about Output Type ID, Index Value, and Index Type, i.e. what they are used for, who/what populates them, how they relate to the MIB portion being queried, how does their data relate to the final graph, etc. I would really appreciate it. The online docs mention them but just by name, no other explanation is given.
If I know this then I can take on things from there.
Thanks.
PS: I got the graphs working, I had to manually create the Data Query and associate it with the Graph Template. Is this the typical process when importing graph templates or should the Data Query be contained within the Graph Template?
Disk IO (Host MIB) - help pls
I have no idea how the export was done. I simply imported it as per http://docs.cacti.net/usertemplate:grap ... mib:diskio so I presume it was gandalf that exported it.
I would really like to know more about Output Type ID, Index Value, and Index Type, i.e. what they are used for, who/what populates them, how they relate to the MIB portion being queried, how does their data relate to the final graph, etc. I would really appreciate it. The online docs mention them but just by name, no other explanation is given. Any pointers would really be appreciated....
Thanks for the quick reply.
I would really like to know more about Output Type ID, Index Value, and Index Type, i.e. what they are used for, who/what populates them, how they relate to the MIB portion being queried, how does their data relate to the final graph, etc. I would really appreciate it. The online docs mention them but just by name, no other explanation is given. Any pointers would really be appreciated....
Thanks for the quick reply.
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: Disk IO (Host MIB) - help pls
My fault. I did export graph templates which is wrong. Now I replaced the stuff by the correct Data Query. Please retry.tonypanta wrote:I have no idea how the export was done. I simply imported it as per http://docs.cacti.net/usertemplate:grap ... mib:diskio so I presume it was gandalf that exported it.
I would really like to know more about Output Type ID, Index Value, and Index Type, i.e. what they are used for, who/what populates them, how they relate to the MIB portion being queried, how does their data relate to the final graph, etc. I would really appreciate it. The online docs mention them but just by name, no other explanation is given. Any pointers would really be appreciated....
Thanks for the quick reply.
Reinhard
Re: Disk IO (Host MIB) - help pls
Currently the download page does not have a file available, and shows "template is broken due to export error". Will this be fixed soon? I'd like to implement this template. Thanks.
-
- Cacti User
- Posts: 54
- Joined: Fri Jun 24, 2005 10:16 am
-
- Cacti User
- Posts: 54
- Joined: Fri Jun 24, 2005 10:16 am
Re: Disk IO (Host MIB) - help pls
hmmm i'm on Version 0.8.7g
disk io bytes works fine...but transactions is not
i got it from http://docs.cacti.net/usertemplate:data:host_mib:diskio
and i did as the description said....but for some reason transactions graphs can't be created like the bytes graphs
any idea please?
disk io bytes works fine...but transactions is not
i got it from http://docs.cacti.net/usertemplate:data:host_mib:diskio
and i did as the description said....but for some reason transactions graphs can't be created like the bytes graphs
any idea please?
- Attachments
-
- 04.02.png (13.45 KiB) Viewed 5652 times
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: Disk IO (Host MIB) - help pls
Please see 2nd link of my sig to verify, that the target in question does respond to the OID that is requested for transactions.
R.
R.
Re: Disk IO (Host MIB) - help pls
i just didn't see the radio button to switch from bytes to transactions.... my badgandalf wrote:Please see 2nd link of my sig to verify, that the target in question does respond to the OID that is requested for transactions.
R.
but thanks for reply
Re: Disk IO (Host MIB) - help pls
aaah i just added transaction graph succesfully.....
now both (bytes/transactions) are NaN
i just checked for the OIDs cacti is using..
iso.3.6.1.4.1.2021.13.15.1.1.6.21 = No Such Instance currently exists at this OID
damn it
now both (bytes/transactions) are NaN
i just checked for the OIDs cacti is using..
iso.3.6.1.4.1.2021.13.15.1.1.6.21 = No Such Instance currently exists at this OID
damn it
Who is online
Users browsing this forum: No registered users and 0 guests