Skip to content
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

Contribution: miscellaneous models #3156

Open
marmack95 opened this issue May 6, 2024 · 4 comments
Open

Contribution: miscellaneous models #3156

marmack95 opened this issue May 6, 2024 · 4 comments
Assignees

Comments

@marmack95
Copy link

marmack95 commented May 6, 2024

Hello,

to complete the models i already publish here: SonicOS 4.x, Synology Nas, Vmware ESXi.

You will find here some others models that could be usefull to community:

  • eaton: Eaton with Gigabit Network Card 2.x (UPS Device / ssh)
  • eatonold: Eaton with ConnectUPS Web/SNMP Card V4.38 (UPS Device / telnet)
  • dlinkcam: D'link IP Cam DCS-2230 (IP Cam / http)
  • dellme4: Dell EMC PowerVault ME4024 (SAN / ssh) -> it's have stability problems, even with lastest firmware.. i'm still trying to find a solution.

3 samples of extended models:

  • HP Comware switch (comware model)
  • Huawei Switch (vrp model)
  • Sonicwall firewall (sonicos model)

dellme4.txt (ssh)
dlinkcam.txt
eaton.txt
eatonold.txt
extended_hp.txt
extended_huawei.txt
extended_sonicos.txt

@marmack95
Copy link
Author

Dell advice to script using HTTP API for Dell EMC PowerVault ME4024.
Dell give an example in python here: it's a little bit complicated for me.

@marmack95
Copy link
Author

I was able to wrote a model for Dell EMC PowerVault ME4024 which use the HTTP API.

I'm inspired from:

  • the panos_api.rb model
  • a python-to-ruby online converter to convert Dell sample code documentation.

I choose to use JSON (with indentation) and not XML.
I don't notice stability problem.

dellme4.txt (https api)

@robertcheramy
Copy link
Collaborator

If you think your models can be integrated in Oxidized, please make a PR: https://github.com/ytti/oxidized/blob/master/CONTRIBUTING.md#how-to-contribute-content
Also consider becoming a model maintainer for them:
https://github.com/ytti/oxidized/blob/master/CONTRIBUTING.md#model-maintainers

If you just want your contribution to be posted here for users to see them (no integration in Oxidized), I would close the issue.

@marmack95
Copy link
Author

As explain in other issue, I'm sorry I'm not familiar with Git/Github/Ruby: create models for oxidized was my first experience with ruby.
And as I will change of job this year, I will not be able to maintain all my contributions.

If you let this issue open, i will maybe add 2 others models (i'm looking for a way to backup Dell Drac and Canon Printer with Oxidized). And i would like to wrote a FAQ.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants