netapp space available query template
Moderators: Developers, Moderators
netapp space available query template
Just a quick one I did to query the space free on the netapp, per volume. Have fun.
- Attachments
-
- cacti_data_template_netapp_data_template.xml
- import this
- (8.33 KiB) Downloaded 3053 times
-
- cacti_graph_template_netapp_percent_used.xml
- import this
- (12.22 KiB) Downloaded 3255 times
-
- cacti_graph_template_netapp_space_detail.xml
- import this
- (17.05 KiB) Downloaded 3103 times
-
- cacti_data_query_netapp.xml
- import this
- (24.15 KiB) Downloaded 3460 times
-
- netapp.xml
- This goes in your resource/snmp_queries directory.
- (1.48 KiB) Downloaded 4362 times
- AndyStewart
- Cacti User
- Posts: 102
- Joined: Thu Sep 29, 2005 5:21 am
- Location: Edinburgh, Scotland
I'm getting the following error trying to create the graphs on this?
all files copied and imported as stated above, but when i come to click on create graphs, the following happens when i select the volumes to graph:
all files copied and imported as stated above, but when i come to click on create graphs, the following happens when i select the volumes to graph:
Notice: Undefined index: sgg_16 in c:\apache\htdocs\cacti\graphs_new.php on line 71
Notice: Undefined index: sgg_16 in c:\apache\htdocs\cacti\graphs_new.php on line 71
Notice: Undefined index: sgg_16 in c:\apache\htdocs\cacti\graphs_new.php on line 71
Notice: Undefined index: sgg_16 in c:\apache\htdocs\cacti\graphs_new.php on line 71
Warning: Cannot modify header information - headers already sent by (output started at c:\apache\htdocs\cacti\graphs_new.php:71) in c:\apache\htdocs\cacti\graphs_new.php on line 322
I don't care if the glass is half full or half empty, i want to know, who's been drinking my pint!!!
[size=75][Windows 2003 & IIS6] [Cacti 0.8.7b] [ActivePerl 5.8.8.817] [MySql 5.0.19] [NetSNMP 5.2.1.2-1] [PHP 5.1.2] [RRDTool 1.2.11]
[Plugins: PluginArchitecture, Monitor, Discovery, Threshold, Update, Reports, Manage, RealTime][/size]
[size=75][Windows 2003 & IIS6] [Cacti 0.8.7b] [ActivePerl 5.8.8.817] [MySql 5.0.19] [NetSNMP 5.2.1.2-1] [PHP 5.1.2] [RRDTool 1.2.11]
[Plugins: PluginArchitecture, Monitor, Discovery, Threshold, Update, Reports, Manage, RealTime][/size]
- AndyStewart
- Cacti User
- Posts: 102
- Joined: Thu Sep 29, 2005 5:21 am
- Location: Edinburgh, Scotland
NetApp Volumes in Data Query section - checked - Successfully located XML file
Running Verbose Query on Device screen under "Associated Data Queries" - NetApp Volumes
4 volumes listed:
/vol1/vol2/
/vol1/vol2/.snapshot
/vol1/vol1/
/vol1/vol1/.snapshot
Click any one or more of them, and click create, and the error appears:
Running Verbose Query on Device screen under "Associated Data Queries" - NetApp Volumes
On Create Graphs Screen, listed under Data Query [NetApp - Volumes]+ Running data query [16].
+ Found type = '3' [snmp query].
+ Found data query XML file at 'E:/Inetpub/wwwroot/cacti/resource/snmp_queries/netapp-volumes.xml'
+ XML file parsed ok.
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.4.1.789.1.5.4.1'
+ Located input field 'dfIndex' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.4.1.789.1.5.4.1.1'
+ Found item [dfIndex='1'] index: 1 [from value]
+ Found item [dfIndex='2'] index: 2 [from value]
+ Found item [dfIndex='3'] index: 3 [from value]
+ Found item [dfIndex='4'] index: 4 [from value]
+ Located input field 'dfMountedOn' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.4.1.789.1.5.4.1.2'
+ Found item [dfMountedOn='/vol/vol2/'] index: 1 [from value]
+ Found item [dfMountedOn='/vol/vol2/.snapshot'] index: 2 [from value]
+ Found item [dfMountedOn='/vol/vol1/'] index: 3 [from value]
+ Found item [dfMountedOn='/vol/vol1/.snapshot'] index: 4 [from value]
+ Found data query XML file at 'E:/Inetpub/wwwroot/cacti/resource/snmp_queries/netapp-volumes.xml'
+ Found data query XML file at 'E:/Inetpub/wwwroot/cacti/resource/snmp_queries/netapp-volumes.xml'
+ Found data query XML file at 'E:/Inetpub/wwwroot/cacti/resource/snmp_queries/netapp-volumes.xml'
4 volumes listed:
/vol1/vol2/
/vol1/vol2/.snapshot
/vol1/vol1/
/vol1/vol1/.snapshot
Click any one or more of them, and click create, and the error appears:
Notice: Undefined index: sgg_16 in E:\Inetpub\wwwroot\cacti\graphs_new.php on line 71
Warning: Cannot modify header information - headers already sent by (output started at E:\Inetpub\wwwroot\cacti\graphs_new.php:71) in E:\Inetpub\wwwroot\cacti\graphs_new.php on line 322
I don't care if the glass is half full or half empty, i want to know, who's been drinking my pint!!!
[size=75][Windows 2003 & IIS6] [Cacti 0.8.7b] [ActivePerl 5.8.8.817] [MySql 5.0.19] [NetSNMP 5.2.1.2-1] [PHP 5.1.2] [RRDTool 1.2.11]
[Plugins: PluginArchitecture, Monitor, Discovery, Threshold, Update, Reports, Manage, RealTime][/size]
[size=75][Windows 2003 & IIS6] [Cacti 0.8.7b] [ActivePerl 5.8.8.817] [MySql 5.0.19] [NetSNMP 5.2.1.2-1] [PHP 5.1.2] [RRDTool 1.2.11]
[Plugins: PluginArchitecture, Monitor, Discovery, Threshold, Update, Reports, Manage, RealTime][/size]
- AndyStewart
- Cacti User
- Posts: 102
- Joined: Thu Sep 29, 2005 5:21 am
- Location: Edinburgh, Scotland
/bump - anyone come across this anywhere?
I REALLY need to get the NetApp disk space graphs working ...
I REALLY need to get the NetApp disk space graphs working ...
I don't care if the glass is half full or half empty, i want to know, who's been drinking my pint!!!
[size=75][Windows 2003 & IIS6] [Cacti 0.8.7b] [ActivePerl 5.8.8.817] [MySql 5.0.19] [NetSNMP 5.2.1.2-1] [PHP 5.1.2] [RRDTool 1.2.11]
[Plugins: PluginArchitecture, Monitor, Discovery, Threshold, Update, Reports, Manage, RealTime][/size]
[size=75][Windows 2003 & IIS6] [Cacti 0.8.7b] [ActivePerl 5.8.8.817] [MySql 5.0.19] [NetSNMP 5.2.1.2-1] [PHP 5.1.2] [RRDTool 1.2.11]
[Plugins: PluginArchitecture, Monitor, Discovery, Threshold, Update, Reports, Manage, RealTime][/size]
- AndyStewart
- Cacti User
- Posts: 102
- Joined: Thu Sep 29, 2005 5:21 am
- Location: Edinburgh, Scotland
nvm - got it sorted...
I don't care if the glass is half full or half empty, i want to know, who's been drinking my pint!!!
[size=75][Windows 2003 & IIS6] [Cacti 0.8.7b] [ActivePerl 5.8.8.817] [MySql 5.0.19] [NetSNMP 5.2.1.2-1] [PHP 5.1.2] [RRDTool 1.2.11]
[Plugins: PluginArchitecture, Monitor, Discovery, Threshold, Update, Reports, Manage, RealTime][/size]
[size=75][Windows 2003 & IIS6] [Cacti 0.8.7b] [ActivePerl 5.8.8.817] [MySql 5.0.19] [NetSNMP 5.2.1.2-1] [PHP 5.1.2] [RRDTool 1.2.11]
[Plugins: PluginArchitecture, Monitor, Discovery, Threshold, Update, Reports, Manage, RealTime][/size]
-
- Posts: 3
- Joined: Thu Nov 30, 2006 2:12 pm
Graphing titles getting truncated
I have several volumes and some of them have the 1st 14 characters the same in their volume name, so when they are graphed it seems the |query_dfMountedOn| is getting truncated in the graphing title so you don't know which volume is which.
Anyone else having this issue, and do you know how to solve it?
Thanks.
Anyone else having this issue, and do you know how to solve it?
Thanks.
-
- Posts: 8
- Joined: Tue Dec 05, 2006 8:15 pm
-
- Posts: 3
- Joined: Thu Nov 30, 2006 2:12 pm
-
- Posts: 8
- Joined: Tue Dec 05, 2006 8:15 pm
shawncsmith,
great! that worked. thanks.
another weird thing i'm noticing is that the size reported in the graph is not 100% accurate. the Used, Avail and Total is off by anywhere between 6GB to 12GB.
a 'df' on the netapp matches (in KB) the output of the snmpwalk against the OIDs in the netapp.xml file but the graphs for all volumes are off.
can't figure out how the graphs are calculating the Used, Avail and Total values for the graphs.
do you know?
great! that worked. thanks.
another weird thing i'm noticing is that the size reported in the graph is not 100% accurate. the Used, Avail and Total is off by anywhere between 6GB to 12GB.
a 'df' on the netapp matches (in KB) the output of the snmpwalk against the OIDs in the netapp.xml file but the graphs for all volumes are off.
can't figure out how the graphs are calculating the Used, Avail and Total values for the graphs.
do you know?
-
- Posts: 3
- Joined: Thu Nov 30, 2006 2:12 pm
Where are you looking at the values. If you are looking at the filer at-a-glance and are trying to convert those values into GB or TB you may be off.
Look at the values that show up in the volume/manage in the naadmin page.
Those will show you values in GB or TB and should be spot on with what is showing up in your graph.
It all comes down to the 1024.
Look at the values that show up in the volume/manage in the naadmin page.
Those will show you values in GB or TB and should be spot on with what is showing up in your graph.
It all comes down to the 1024.
Re: Graphing titles getting truncated
I'm seeing this same issue - has anyone got a fix for it?shawncsmith wrote:I have several volumes and some of them have the 1st 14 characters the same in their volume name, so when they are graphed it seems the |query_dfMountedOn| is getting truncated in the graphing title so you don't know which volume is which.
Anyone else having this issue, and do you know how to solve it?
Thanks.
(Sorry to bump an old thread.).
-
- Posts: 2
- Joined: Wed May 19, 2010 6:07 am
Hi,
I'm also having troubles with the graphs displaying mb instead of gb and gb instead of tb....
I've looked in the graph template to find a multiplier or similar, only thing i can find is base which was set to 1000 i changed this to 1024 with no luck (yes i recreated graphs and data sources).
any help will be er, helpful
FYI: i'm running the latest version of cacti..
Other than the obvious prob, these templates are awesome man!
I'm also having troubles with the graphs displaying mb instead of gb and gb instead of tb....
I've looked in the graph template to find a multiplier or similar, only thing i can find is base which was set to 1000 i changed this to 1024 with no luck (yes i recreated graphs and data sources).
any help will be er, helpful
FYI: i'm running the latest version of cacti..
Other than the obvious prob, these templates are awesome man!
-
- Posts: 2
- Joined: Wed May 19, 2010 6:07 am
Who is online
Users browsing this forum: No registered users and 2 guests