Host template for Network Appliance storage arrays and more!
Moderators: Developers, Moderators
Host template for Network Appliance storage arrays and more!
Hi
I have put together a package of the work that I have done for Network Appliance systems. Network Appliance makes a number of products. This is for Network Appliance storage array filers, but it's a good place to start and put together definitive and uniform Network Appliance support for Cacti.
Graphs produced includes;
CPU Usage (Single CPU, not indexed)
CPU Interrupts (Single CPU, not indexed)
Storage Volume Usage for filers (indexed)
You will need to copy the netapp_volumes.xml file to "cacti/resource/snmp_queries/netapp_volumes.xml".
Import the cacti_host_template_network_appliance_host.xml. It includes necessary dependencies. This template was exported with Cacti v0.8.6b.
I have also included applicable MIBs.
If you wish to improve this for other Network Appliance devices, that would be great. Update it, test it, and post it. For work which is applicable, this work is public domain. Note that the MIBs are from Network Appliance.
Other Netapp links include...
http://forums.cacti.net/about3143.html
http://forums.cacti.net/about4785.html
http://forums.cacti.net/about3855.html
http://forums.cacti.net/about4785.html
http://forums.cacti.net/about336.html
I have put together a package of the work that I have done for Network Appliance systems. Network Appliance makes a number of products. This is for Network Appliance storage array filers, but it's a good place to start and put together definitive and uniform Network Appliance support for Cacti.
Graphs produced includes;
CPU Usage (Single CPU, not indexed)
CPU Interrupts (Single CPU, not indexed)
Storage Volume Usage for filers (indexed)
You will need to copy the netapp_volumes.xml file to "cacti/resource/snmp_queries/netapp_volumes.xml".
Import the cacti_host_template_network_appliance_host.xml. It includes necessary dependencies. This template was exported with Cacti v0.8.6b.
I have also included applicable MIBs.
If you wish to improve this for other Network Appliance devices, that would be great. Update it, test it, and post it. For work which is applicable, this work is public domain. Note that the MIBs are from Network Appliance.
Other Netapp links include...
http://forums.cacti.net/about3143.html
http://forums.cacti.net/about4785.html
http://forums.cacti.net/about3855.html
http://forums.cacti.net/about4785.html
http://forums.cacti.net/about336.html
- Attachments
-
- network_appliance_cacti.tar.gz
- (106.54 KiB) Downloaded 5570 times
I've got some templates of my own, CIFS ops, NFS ops, and Cache Age. I've been wanting volume usage, but hadn't gotten to that yet. I'll install your host template, attach my stuff and post it back out here. I might need until Thursday or so though, got a bunch of other stuff on my plate. Have you done anything yet to handle the weird OID's for the GigE interfaces (where you have to multiply the HiBits and add the LoBits?)
duckhead
duckhead
I am using rhis template but I see 2 problems
Please see the pic attached, you will see I am missing one graph.
2: when I run poller manually I see following error:
php /var/www/html/cacti/poller.php
OK u:0.00 s:0.01 r:2.03
OK u:0.00 s:0.01 r:2.03
OK u:0.00 s:0.01 r:2.03
Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: SNMPv2-SMI::enterprises.789.1.2.1.11.0
OK u:0.00 s:0.01 r:3.04
OK u:0.00 s:0.01 r:3.04
OK u:0.00 s:0.01 r:3.04
I have tried my best to see where this OID is in php scripts so that I can change to something else, But I can't find it.
So i am not sure what is the problem.
Will appreciate if you give me any idea.
I would also love to extend this template or create new one, to get status on Qtrees also, but since I don't know nothing about xml coding its bit hard for me to work on it,Still trying to see if I can come up with something.
Thanks
Jawed
Please see the pic attached, you will see I am missing one graph.
2: when I run poller manually I see following error:
php /var/www/html/cacti/poller.php
OK u:0.00 s:0.01 r:2.03
OK u:0.00 s:0.01 r:2.03
OK u:0.00 s:0.01 r:2.03
Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: SNMPv2-SMI::enterprises.789.1.2.1.11.0
OK u:0.00 s:0.01 r:3.04
OK u:0.00 s:0.01 r:3.04
OK u:0.00 s:0.01 r:3.04
I have tried my best to see where this OID is in php scripts so that I can change to something else, But I can't find it.
So i am not sure what is the problem.
Will appreciate if you give me any idea.
I would also love to extend this template or create new one, to get status on Qtrees also, but since I don't know nothing about xml coding its bit hard for me to work on it,Still trying to see if I can come up with something.
Thanks
Jawed
- Attachments
-
- filer-006.gif (12.1 KiB) Viewed 66165 times
its not hard..
Its not hard to create a .xml then crete a template out of it. I'll try to put together a template that will graph the netapp.. will update with you. Unless someone already did it already so i don't have to spend time looking for the OID indexes file..
MIBS netapp filers
Hi aboyz
here is a file attached.for MIB
here is a file attached.for MIB
- Attachments
-
- Network_Appliance_MIBs.rar
- (81.55 KiB) Downloaded 2298 times
trying to do nfsops
I'm trying to do mischighNfsOps high and low.
-bash-2.05b$ snmpwalk -v 1 -c public -m +NETWORK-APPLIANCE-MIB 10.0.0.1 .1.3.6.1.4.1.789.1.2.2.5
NETWORK-APPLIANCE-MIB::miscHighNfsOps.0 = Counter32: 23
-bash-2.05b$ snmpwalk -v 1 -c public -m +NETWORK-APPLIANCE-MIB 10.0.0.1 .1.3.6.1.4.1.789.1.2.2.6
NETWORK-APPLIANCE-MIB::miscLowNfsOps.0 = Counter32: 436521166
so what I got to do is combine the number into binary.
so 23 = 00000000000000000000000000010111 (binary) 32bit
so 436521166 = 00011010000001001100100011001110 (binary) 32bit
So I gotta combine them now.. to become 64bit. So something like this.
0000000000000000000000000001011100011010000001001100100011001110 (binary) 64 bit.
then convert it back to decimal which = 99220768974
So what I need is a program that take the low and high and combine them into one. Anyone know of a script that does that?
Thanks
-bash-2.05b$ snmpwalk -v 1 -c public -m +NETWORK-APPLIANCE-MIB 10.0.0.1 .1.3.6.1.4.1.789.1.2.2.5
NETWORK-APPLIANCE-MIB::miscHighNfsOps.0 = Counter32: 23
-bash-2.05b$ snmpwalk -v 1 -c public -m +NETWORK-APPLIANCE-MIB 10.0.0.1 .1.3.6.1.4.1.789.1.2.2.6
NETWORK-APPLIANCE-MIB::miscLowNfsOps.0 = Counter32: 436521166
so what I got to do is combine the number into binary.
so 23 = 00000000000000000000000000010111 (binary) 32bit
so 436521166 = 00011010000001001100100011001110 (binary) 32bit
So I gotta combine them now.. to become 64bit. So something like this.
0000000000000000000000000001011100011010000001001100100011001110 (binary) 64 bit.
then convert it back to decimal which = 99220768974
So what I need is a program that take the low and high and combine them into one. Anyone know of a script that does that?
Thanks
Some others scripts for Network Appliances
Some of us needed some Cache Age and CIFS/NFS operations graphs.
I made some and here is templates. I didn't tested CIFS part, but it _should_ work IMHO since this is same OID I have used on MRTG on another Netapp...
Enjoy and give some feed-back
I made some and here is templates. I didn't tested CIFS part, but it _should_ work IMHO since this is same OID I have used on MRTG on another Netapp...
Enjoy and give some feed-back
- Attachments
-
- cacti_netapp.zip
- (9.03 KiB) Downloaded 2557 times
-
- cache_age.png (30.91 KiB) Viewed 65429 times
-
- netapps_ops.png (34.54 KiB) Viewed 65429 times
- fmangeant
- Cacti Guru User
- Posts: 2345
- Joined: Fri Sep 19, 2003 8:36 am
- Location: Sophia-Antipolis, France
- Contact:
Re: Some others scripts for Network Appliances
Hikiw0r wrote:Enjoy and give some feed-back
thanks for these templates
But I think you exported the data templates with the fields "SNMP Community" and "SNMP Version" not empty...
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
Re: Some others scripts for Network Appliances
Oooopsfmangeant wrote:But I think you exported the data templates with the fields "SNMP Community" and "SNMP Version" not empty...
How can I export them without community and version ?
combine high and low
aboyz: I realize you probably already solved your combine high and low since this post is like a year later, but For future reference...
H(2^32)+L
or specifically
H(4294967296)+L
Where
H=high unsigned integer (2nd 32bits)
L=Low unsigned initeger (1st 32 bits)
No need to convert to binary at all
H(2^32)+L
or specifically
H(4294967296)+L
Where
H=high unsigned integer (2nd 32bits)
L=Low unsigned initeger (1st 32 bits)
No need to convert to binary at all
Who is online
Users browsing this forum: No registered users and 3 guests