- Community Home
- >
- Storage
- >
- HPE Nimble Storage
- >
- Array Setup and Networking
- >
- Nimble storage monitoring with check_mk or snmp
-
- Forums
-
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
- HPE Blog, Austria, Germany & Switzerland
- Blog HPE, France
- HPE Blog, Italy
- HPE Blog, Japan
- HPE Blog, Middle East
- HPE Blog, Russia
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
-
Blogs
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Blog, Latin America
- HPE Blog, Middle East
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
-
Information
- Community
- Welcome
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Tips and Tricks
- Resources
- Announcements
- Email us
- Feedback
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Aruba Airheads Community
- Enterprise.nxt
- HPE Dev Community
- Cloud28+ Community
- Marketplace
-
Forums
-
Blogs
-
Information
-
English
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
04-27-2016 02:45 AM
04-27-2016 02:45 AM
Hello together,
How can I monitor the nimble storage with check_mk?
Does exist an plugin for check_mk or is snmp only possible?
Can I query in snmp more than interfaces, for example volumes?
Best regards,
Manuel
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
05-04-2016 10:19 AM
05-04-2016 10:19 AM
Re: Nimble storage monitoring with check_mk or snmp
I would love to see an answer to this.
InfoSight is okay, but I would prefer to get that (and more) telemetry into check_mk where I can really work some magic on it.
Probably the only course is to write a custom check_mk snmp plugin. I haven't had time to look at the MIBs.
-P
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
05-09-2016 12:04 AM
05-09-2016 12:04 AM
Re: Nimble storage monitoring with check_mk or snmp
Hi Manual,
You can check all volumes on performance (IOps and stuff) and the overall performance of the Nimble itself.
I use Zabbix and I have never worked with check_mk, but with zabbix I can check all volumes, this oid: .1.3.6.1.4.1.37447.1.2.1.3.
In Zabbix you can create a discovery rule, which uses the result of this oid as an index to collect all other data, I'm not sure if check_mk can do that to, otherwise you can get all your volumes by running an snmpwalk and figure out which oid is which volume.
Hope it helps.
Rick.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
05-09-2016 10:07 PM
05-09-2016 10:07 PM
SolutionHi Manuel, This is the custom check that I did to monitor two nimble units I have with check_mk I have included a perfometer as well, hope that helps
#
# Nimble Volume Check (Supports inventory and performance data)
#
# Author: Rohan Fallon
#
# FileName: nimble
# Location: ~/local/share/check_mk/checks
# Usage: cmk --checks nimble -II your_nimble
#
#
nimble_default_values = (95.0, 98.0)
def inventory_nimble(info):
# Debug: lets see how the data we get looks like
# print info
# return []
inventory = []
for vol, state, connections, volsize, volusage in info:
if state == "1":
inventory.append( (vol, nimble_default_values) )
return inventory
def check_nimble(item, params, info):
# unpack check parameters
warn, crit = params
for vol, state, connections, volsize, volusage in info:
if vol == item:
if state == "1":
size_gb = int(volsize) / 1024.0
usage_gb = int(volusage) / 1024.0
usage_percent = float(volusage) / float(volsize) * 100.0
perfdata = [ ( "percent", usage_percent, warn, crit ) ]
if usage_percent > crit:
return (2, "Critical - Volume online - iSCSI Connections = " + connections + " - Size = " + str(size_gb) + "Gb - Usage = " + "{:6.2f}".format(usage_percent)+ "%", perfdata )
elif usage_percent > warn:
return (1, "Warn - Volume online - iSCSI Connections = " + connections + " - Size = " + str(size_gb) + "Gb - Usage = " + "{:6.2f}".format(usage_percent)+ "%" , perfdata)
else:
return (0, "OK - Volume online - iSCSI Connections = " + connections + " - Size = " + str(size_gb) + "Gb - Usage = " + "{:6.2f}".format(usage_percent)+ "%", perfdata)
else:
return (2, "CRITICAL - Volume %s offline " % vol)
return (3, "UNKNOWN - Volume not found")
check_info["nimble"] = {
'check_function': check_nimble,
'inventory_function': inventory_nimble,
'service_description': 'Nimble Volume %s',
'has_perfdata': True,
}
snmp_info["nimble"] = (".1.3.6.1.4.1.37447.1.2.1" , [ "3", "10", "11", "4", "6" ] )
Code for Perfometer
#
# Perf-o-meter for Nimble Volume Check
#
# Author: Rohan Fallon
#
# FileName: nimble.py
# Location: :~/local/share/check_mk/web/plugins/perfometer
# Note: "Service check command" is the key when registering in the perfometers dictionary
#
#
def perfometer_nimble(row, check_command, perf_data):
used = float(perf_data[0][1])
warn = float(perf_data[0][3])
crit = float(perf_data[0][4])
if used > crit:
color = "#ff0000"
elif used > warn:
color = "#ffff00"
else:
color = "#00ff00"
return "%.0f%%" % used, perfometer_linear(used, color)
perfometers['check_mk-nimble'] = perfometer_nimble
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
05-10-2016 08:05 AM
05-10-2016 08:05 AM
Re: Nimble storage monitoring with check_mk or snmp
Rick,
We also use Zabbix.
Would you be willing to share your template with me or upload it to zabbix share (Zabbix Share - Directory: Recently Added)
Andrew
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
05-11-2016 02:35 AM
05-11-2016 02:35 AM
Re: Nimble storage monitoring with check_mk or snmp
Sure thing: Zabbix Share - Nimble Storage
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
05-12-2016 08:39 AM
05-12-2016 08:39 AM
Re: Nimble storage monitoring with check_mk or snmp
This really helped us, thanks for sharing!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
05-12-2016 10:20 AM
05-12-2016 10:20 AM
Re: Nimble storage monitoring with check_mk or snmp
Thanks for sharing this Rohan!
FWIW, I had to change the usage_percent format strings to "{0:6.2f}" to get it to work with python 2.6.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
05-12-2016 11:49 AM
05-12-2016 11:49 AM
Re: Nimble storage monitoring with check_mk or snmp
Thanks Patrick,
Sorry for mucking you around, I will update my own checks, obviously a bit fast and loose when I did the first cut.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
05-12-2016 04:03 PM
05-12-2016 04:03 PM
Re: Nimble storage monitoring with check_mk or snmp
No worries. It was time well spent for me.
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2021 Hewlett Packard Enterprise Development LP