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

Update MIBs (Palo Alto, Fortinet, Stormshield) #228

Open
matthieu-ca opened this issue Jul 3, 2024 · 3 comments
Open

Update MIBs (Palo Alto, Fortinet, Stormshield) #228

matthieu-ca opened this issue Jul 3, 2024 · 3 comments

Comments

@matthieu-ca
Copy link

Hi,

I didn't find any information to update mibs myself.
I sent you the following MIBs necessary for the new version.

Actually, for example, the Palo Alto MiB isn't able to show the hardware status, the connected equipment …
If you have time, I would be interested to update MiB myself in the future, if it is possible.
Thks

mib_stormshield.zip

mib_fortinet.zip
pan-10-2-snmp-mib-modules(4).zip

@matthieu-ca
Copy link
Author

I find a way to manage the upload of MIB in Netdisco. But with these new ones, nothing much change.
I provide Stormshield MIB but I still get my stormshield router as "enterprises.11256.2.0" in Netdisco

@JeroenvIS
Copy link
Member

Simply adding MIBs has no effect on Netdisco; MIBs are only used when specifically referenced by an appropriate device class in SNMP::Info. I haven't checked yet, but my guess is that a new device class for "Stormshield" is needed in SNMP::Info.

@matthieu-ca
Copy link
Author

Indeed lask week I understand that point so I have created a Stormshield.pm (subclasses) for this device.
It's work in some way.

Stormshield.zip

Now I have the vendor in Netdisco but not all the information.
Moreover, I have this error when I run that command "docker-compose run netdisco-do show -DIII -S -d 10.19.226.1 -e vendor" even if I have correctly import the mib directory in netdisco/netdisco-mibs.

[1] 2024-07-08 13:15:21 debug [10.19.226.1:161] try_connect with v: 3, t: 0.2, r: 0, class: SNMP::Info::Layer7::Stormshield, comm:
[1] 2024-07-08 13:15:21 debug Can't locate SNMP/Info/Layer7/Stormshield.pm in @inc (you may need to install the SNMP::Info::Layer7::Stormshield module) (@inc entries checked: /home/netdisco/perl5/lib/perl5/auto/share/dist/App-Netdisco/lib /home/netdisco/nd-site-local/lib /home/netdisco/perl5/lib /home/netdisco/perl5/bin/lib /home/netdisco/perl5/lib/perl5/5.38.2/x86_64-linux-thread-multi /home/netdisco/perl5/lib/perl5/5.38.2 /home/netdisco/perl5/lib/perl5/x86_64-linux-thread-multi /home/netdisco/perl5/lib/perl5 /usr/local/lib/perl5/site_perl /usr/local/share/perl5/site_perl /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl /usr/share/perl5/core_perl) at /usr/share/perl5/core_perl/Module/Load.pm line 78.

If u have any clues
thks

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

No branches or pull requests

2 participants