Giter Club home page Giter Club logo

Comments (14)

riskersen avatar riskersen commented on September 3, 2024

Hi Marcus,

i could imagine that some of the OIDs are the same. If not, check what is possible to monitor and try to add them to the code.

Based on former opinions, my fortigate plugin can be extended quite easy. :-)

But nevertheless, let me know if you need help.

Regards
Oliver

from monitoring.

MarcusCaepio avatar MarcusCaepio commented on September 3, 2024

Hi Oli,
happy new year! :)
The Plugin Version 1.7.0 gives me the error: UNKNOWN: OID .1.3.6.1.4.1.12356.101.4.1.1.0 does not exist

I have uploaded the MIBs, but had to rename them from .mib to .txt to upload them.
On Plugin Version 1.7.3 I have more problems, which I will describe in a new issue.

FORTINET-CORE-MIB.txt
FORTINET-FORTIADC-MIB.txt

from monitoring.

riskersen avatar riskersen commented on September 3, 2024

Hi Marcus,

i just checked the MIB files and some features can be implemented quite easy, like CPU and MEM Usage, but there are other things which aren't implementable without having such system.

Regarding warnings, could you please try my new version 1.7.4 ?

Thanks a lot

Regards
Oliver

from monitoring.

MarcusCaepio avatar MarcusCaepio commented on September 3, 2024

Hi Olli,
thanks for feedback. Will test the new version today.
Which things do you think are not implementable?
As I have access to this device, it would be a pleasure to work together with you to extend the plugin. I'm not a programmer, but I can test new versions and can give feedback or adjust OIDs in the plugin. Similar, I helped in extend Nagstamon by Henri Wahl to be useable in Icinga2 in the past.

from monitoring.

MarcusCaepio avatar MarcusCaepio commented on September 3, 2024

Hey Olli,
is 1.7.4 already pulled? Code says, it's 1.7.2 again.

from monitoring.

riskersen avatar riskersen commented on September 3, 2024

Indeed..it's okay now.

Could you please provide me the beginning of the serial number? It should be 2 or 3 characters, like FAZ/FG/...

from monitoring.

MarcusCaepio avatar MarcusCaepio commented on September 3, 2024

1.7.4 looks good so far.
the serial number is FAD... i think it stands for Forti Adc.

from monitoring.

riskersen avatar riskersen commented on September 3, 2024

Okay, perfect. Thanks for the feedback.

With that, i was able to prepare first checks for FortiADC, so could you please test them?

In the meantime, i need some more input from you, regarding SNMP:

Could you please do snmpwalks on these OIDs ?

HA: .1.3.6.1.4.1.12356.112.2
Virtual server: .1.3.6.1.4.1.12356.112.3
Hardware: .1.3.6.1.4.1.12356.112.6
Security: .1.3.6.1.4.1.12356.112.7
Application: .1.3.6.1.4.1.12356.112.8
300D: .1.3.6.1.4.1.12356.112.100.302

from monitoring.

MarcusCaepio avatar MarcusCaepio commented on September 3, 2024

I just finished editing my fork of your repo and will create a pull request with a lots of OIDs.
What exactly do you need of "Applications"? Because there is very very much info in this subtree.

from monitoring.

riskersen avatar riskersen commented on September 3, 2024

Thanks for the contribution. Your changes have been merged.

For the other important OIDs, I need some samples. Could you provide sample output for the mentioned ones?

from monitoring.

MarcusCaepio avatar MarcusCaepio commented on September 3, 2024

For sure, already have one sample.
I think it's important to have a check for pools and its members.
There is a table with called Name fadcRSTable with the OID .1.3.6.1.4.1.12356.112.8.1.3.
I will attach an example output of its content.
Here we need to count the pool members based on the column 2 ( fadcPoolName). Then a check if a member is disableb or not healthy (column 3 + 4) in reference to a value in % for the warning / critical thresholds, e.g. 50% of pool members not available -> warning, 75% not available -> critical.

pooltable.xlsx

from monitoring.

MarcusCaepio avatar MarcusCaepio commented on September 3, 2024

Hi Oli,
I know have a ADC HA Cluster avilable for testing.
Do you want to implement some HA State Checks so I will test them and give feedback? :)

Regards,

Marcus

from monitoring.

MarcusCaepio avatar MarcusCaepio commented on September 3, 2024

Hi Oli,
would it be possible to implement a pool check for fortiadc? There is a table in the MIBS where every index of a server is assigned to a pool and a status if it's enabled or disabled and if it's healthy or unheallthy. So basically the check should get a poolname, then it has to search and count this poolname in the table, substract the disabled ones, compare the healthy/unhealthy states, generate a value in % and compare it against thresholds which are also given in %.
If you have the time and will to implement this, I can surely give you the MIB infos. Just let me know

Regards,
Marcus

from monitoring.

MarcusCaepio avatar MarcusCaepio commented on September 3, 2024

I am not working with Forti Devices anymore. So I cannot help here unfortunately.

from monitoring.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.