-
Notifications
You must be signed in to change notification settings - Fork 9
Is it possible to import device modules with this code? #48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Yeah modules aren't included. Last time we had to include more data, it didn't take too much effort. We can probably take a look in a week or so depending on our work load. |
I'm mainly monitoring microwave radio systems, generally they're a chassis with N amount of line card slots that can have various types of modules installed into them, my current Icinga configuration I'm using a $host.vars.slot_type to specify what type of line card module is installed into each slot and then using apply rules to apply the correct checks. Additionally monitoring various DC -48v power systems that again have various slots and different slot configurations depending on what module is installed. |
@dhooper6430 do you have an idea on how you want to use modules in your configuration? I ask because there are 2 ways this can be handled off the top of my head Object import to a
|
is
What happens if there is more then once card of they same type? It seems to me there could be a need for more uniqueness here. Have a read of the way I implemented interfaces, that seems like a pattern I could reproduce but importantly it only includes a unique interface name + information for specific custom fields, no other interface information is pulled in and I'm not sure if with modules it would be appropriate to import other module information in as well. |
Hi,
I've been attempting to get this running in my environment, I can't figure out how I can import into Icinga what modules are installed into various slots of networking equipment, within netbox I have devices configured with various module-bays, I then have specific checks within Icinga that target those module types.
Is it just not possible yet?
(I can't see anywhere in the code where /dcim/modules is looked at)
The text was updated successfully, but these errors were encountered: