|
|
| 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 |
ajeskey Cacti User
Joined: 28 Mar 2005 Posts: 93 Location: Boston, MA
|
Posted: Thu Aug 18, 2005 1:27 pm Post subject: |
|
|
I am using a similar setup. I export fine with IE.
When you said you were exporting to the browser and it was IE i figured you were getting cought by the IE "-" trap. But it looks like you have cleaned all of that up.
Just for giggles could you export them as a whole and not by each file. and try exporting them in to the cacti window... who knows what IE is doing to the formatting to f'it up
|
|
| Back to top |
|
 |
Rodre
Joined: 22 Jul 2005 Posts: 29
|
Posted: Thu Aug 18, 2005 1:36 pm Post subject: |
|
|
Yes I am aware of the IE "-" formatting. Here is the file all in one, give it a try and let me know what happens. Thanks.
--Download removed - please download from initial post for version control--
Last edited by Rodre on Thu Aug 18, 2005 5:17 pm; edited 1 time in total |
|
| Back to top |
|
 |
ajeskey Cacti User
Joined: 28 Mar 2005 Posts: 93 Location: Boston, MA
|
Posted: Thu Aug 18, 2005 1:37 pm Post subject: |
|
|
Worked like a champ
Thanks!
|
|
| Back to top |
|
 |
Rodre
Joined: 22 Jul 2005 Posts: 29
|
Posted: Thu Aug 18, 2005 1:53 pm Post subject: |
|
|
Funny, I did that before and no luck. I am in the process of splitting out the device reads/writes from the bytes read/written graph and creating a load average graph.
Paul, can you please try and download the above template and see what happens? But before you do that can you delete the graphs from the hosts, and delete all the other templates as well? If this works I will post the others today. Thanks.
~Rodre
|
|
| Back to top |
|
 |
paulbeard206 Cacti User
Joined: 30 Jul 2005 Posts: 106
|
Posted: Fri Aug 19, 2005 4:24 pm Post subject: well, I don't want to say "there's your problem" . |
|
|
but you're using Internet Exploder, so I could be right.
Try Firefox and see if it makes a difference.
|
|
| Back to top |
|
 |
Rodre
Joined: 22 Jul 2005 Posts: 29
|
Posted: Fri Aug 26, 2005 4:48 pm Post subject: |
|
|
Paul,
Did you ever get this going?
~Rodre
|
|
| Back to top |
|
 |
ichoudhury
Joined: 31 May 2005 Posts: 46
|
Posted: Thu Sep 01, 2005 1:58 am Post subject: |
|
|
I followed your instruction exactly, but not getting anything...
I think some reason Device Input Method is not coming correctly. I updated by hand and put the path to net-snmp_devio.xml but may not have the Input Fields correctly.
Would you please take a screenshot of that and post it here?
|
|
| Back to top |
|
 |
Rodre
Joined: 22 Jul 2005 Posts: 29
|
Posted: Thu Sep 01, 2005 11:09 am Post subject: |
|
|
Hi Paul,
The full path in the "XML Path" text box should be "<path_cacti>/resource/snmp_queries/net-snmp_devio.xml" (without the quotes).
| Description: |
| Console -> Data Queries -> (Edit) |
|
| Filesize: |
71.36 KB |
| Viewed: |
11190 Time(s) |

|
|
|
| Back to top |
|
 |
Rodre
Joined: 22 Jul 2005 Posts: 29
|
Posted: Thu Sep 01, 2005 11:15 am Post subject: |
|
|
Graph templates:
ucd/net - Device I/O - Bytes Read/Written
ucd/net - Device I/O - Load Averages
ucd/net - Device I/O - Reads/Writes
| Description: |
| ucd/net - Device I/O - Bytes Read/Written |
|
| Filesize: |
101.2 KB |
| Viewed: |
11189 Time(s) |

|
| Description: |
| ucd/net - Device I/O - Load Averages |
|
| Filesize: |
94.98 KB |
| Viewed: |
11189 Time(s) |

|
| Description: |
| ucd/net - Device I/O - Reads/Writes |
|
| Filesize: |
95.39 KB |
| Viewed: |
11189 Time(s) |

|
|
|
| Back to top |
|
 |
ichoudhury
Joined: 31 May 2005 Posts: 46
|
Posted: Fri Sep 02, 2005 9:29 am Post subject: |
|
|
Thank you
After copying (by hand) what you have posted, this is what I am seeing
Data Query Debug Information
+ Running data query [11].
+ Found type = '3' [snmp query].
+ Found data query XML file at 'E:\cacti/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 'E:\cacti/resource/snmp_queries/net-snmp_devio.xml'
+ Found data query XML file at 'E:\cacti/resource/snmp_queries/net-snmp_devio.xml'
+ Found data query XML file at 'E:\cacti/resource/snmp_queries/net-snmp_devio.xml'
Also seeing this error msg during Graph creation
| Quote: | Data Query [ucd/net - Get Device I/O]
This data query returned 0 rows, perhaps there was a problem executing this data query. You can run this data query in debug mode to get more information. |
and debug mode shows exactly what you are seeing above. Could my OID is not correct?
|
|
| Back to top |
|
 |
Rodre
Joined: 22 Jul 2005 Posts: 29
|
Posted: Fri Sep 02, 2005 11:22 am Post subject: |
|
|
What happens if you run from a command shell on the Cacti Host:
| Code: | | snmpwalk -v 2c host-ip -c community-name.1.3.6.1.4.1.2021.13.15 |
Replace host-ip with the ip address of the target host or localhost if you are running the command on the target host and replace community-name with the read community of the target host i.e:public
do you see UCD-DISKIO-MIB::diskIO related stuff?
~Rodre
|
|
| Back to top |
|
 |
ichoudhury
Joined: 31 May 2005 Posts: 46
|
Posted: Tue Sep 06, 2005 8:05 am Post subject: |
|
|
The format you suggested wasn't working for me. It was keep saying I didn't specify the community name. But the following format did take the command but returned not what I hopped to see...
snmpwalk -v 2c -c <community> <IP_Address> 1 .1.3.6.1.4.1.2021.13.15
UCD-SNMP-MIB::ucdExperimental.15 = No more variables left in this MIB View (It i
s past the end of the MIB tree)
I am using the 5.2.1.2 under w32 environment (installed via Windows installer provided by net-snmp.
|
|
| Back to top |
|
 |
Rodre
Joined: 22 Jul 2005 Posts: 29
|
Posted: Tue Sep 06, 2005 12:00 pm Post subject: |
|
|
I only tested these graphs under Linux, and some others have used them with BSD, but I am not sure if it will work under net-snmp/win32. I am currently on IRC and have posed the question to the developers and am waiting a response, which I will post here. In the meantime I was looking at your snmpwalk posted above, and it appears that your OID is incorrect:
"1 .1.3.6.1.4.1.2021.13.15" as apposed to ".1.3.6.1.4.1.2021.13.15" (extra "1" and a space in the beginning). Can you try walking the correct OID, or is this just a typo?
~Rodre
|
|
| Back to top |
|
 |
Rodre
Joined: 22 Jul 2005 Posts: 29
|
Posted: Tue Sep 06, 2005 12:44 pm Post subject: |
|
|
This is the outcome of my conversation with the net-snmp developers:
| Quote: | > Does net-snmp v5.2.1.2 under win32 support the DiskIO OIDs? (.1.3.6.1.4.1.2021.13.15)
<rstory> i don't think so.. windows support is limited...
> any idea how I can find out for sure? I don't have a windows box setup with net-snmp...
<rstory> I see no windows code in diskio.c
> thanks for your help
|
So it looks like it isn't supported under net-snmp/win32, sorry.
~Rodre[/quote]
|
|
| Back to top |
|
 |
ichoudhury
Joined: 31 May 2005 Posts: 46
|
Posted: Tue Sep 06, 2005 1:05 pm Post subject: |
|
|
Above should explain how I feel... ..Kidding aside, Thank you very much for investigating and hopefully WMI will come in handy in this regard if snmp doesn't.
|
|
| Back to top |
|
 |
|