Products
Applications
Support
Company
How To Buy
Skip to main content (Press Enter).
Sign in
Skip auxiliary navigation (Press Enter).
Register
Skip main navigation (Press Enter).
Toggle navigation
Home
Communities
All Communities
Application Networking and Security
Carbon Black
Enterprise Software
Mainframe Software
Symantec Enterprise
Tanzu
VMware {code}
VMware Cloud Foundation
Blogs
All Blogs
Enterprise Software
Mainframe Software
Symantec Enterprise
VMware
Events
VMware Explore 2025
All Events
Enterprise Software
Mainframe Software
Symantec Enterprise
VMware Cloud Foundation Events
Water Cooler
Betas
Flings
Education
Groups
Enterprise Software
Mainframe Software
Symantec Enterprise
VMware
Members
VMware vSphere
View Only
Community Home
Threads
703K
Library
2.7K
Blogs
0
Events
0
Members
100K
Back to discussions
Expand all
|
Collapse all
sort by most recent
sort by thread
Auto discover software RAID devices
agelwarg_hyperi
Mar 29, 2008 03:01 AM
I have written a plugin to monitor software raid devices in Linux (/dev/md0, etc.). It will track availability ...
agelwarg_hyperi
Mar 31, 2008 11:52 PM
I guess the more general question is, how do I auto-discover platform services? Should I add ...
1.
Auto discover software RAID devices
Recommend
agelwarg_hyperi
Posted Mar 29, 2008 03:01 AM
Reply
Reply Privately
Options Dropdown
I have written a plugin to monitor software raid devices in Linux (/dev/md0, etc.). It will track availability (ok, warning, critical), as well as metrics such as rebuild percentage, failed devices, etc. The plugin itself uses a fairly simple perl script, parsing the output of mdadm --detail <device>. As it stands, I can manually add a platform service for "Linux Software RAID Device" for each device, and when I add more than one, an auto-group is created. This all works as I want it to, indicators show up, etc.
However, I need help with the auto-discovery / auto-inventory. I can't grasp how this part works, and am not sure which document explains it easily. My goal is that as long as the plugin is installed, the next time auto-discovery runs on an agent, auto-inventory will detect all software raid devices so I can easily "Add to inventory" from the dashboard.
Is there a similar example that could help?
BTW, I suppose this could be modeled as a SW RAID server + SW RAID DEVICE services, but I see it more as a platform service. Any thoughts on this?
2.
RE: Auto discover software RAID devices
Recommend
agelwarg_hyperi
Posted Mar 31, 2008 11:52 PM
Reply
Reply Privately
Options Dropdown
I guess the more general question is, how do I auto-discover
platform
services?
Should I add to the "system" plugin? Or should I extend ServerDetector and implement AutoServerDetector. In this case, what do I do with getServerResources...i.e., is there a special "Platform" type for server.setType()? How about for server.setName()?
×
New Best Answer
This thread already has a best answer. Would you like to mark this message as the new best answer?
Copyright 2024. All rights reserved.
Powered by Higher Logic