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

OS definition problems #12295

Closed
VORyabchevsky opened this issue Nov 4, 2020 · 2 comments
Closed

OS definition problems #12295

VORyabchevsky opened this issue Nov 4, 2020 · 2 comments

Comments

@VORyabchevsky
Copy link

Hi!

I have a case to add some Eltex devices e.g. MES23xx and MES21xx and cannot define OS.
I've started asking about this problem in community and get recommendations to ask here.
I haven't find prepared .yaml files for this, so I made my one like in instruction (https://docs.librenms.org/Developing/os/Initial-Detection/)

Here is file I've created (both of them "eltex-mes2324p.yaml"):
at includes/definitions/:

    os: eltex-mes2324p
    type: network
    icon: eltex
    over:
        - { graph: device_bits, text: 'Device Traffic' }
        - { graph: device_processor, text: 'CPU Usage' }
        - { graph: device_mempool, text: 'Memory Usage' }
    mib_dir: eltex
    bad_ifXEntry:
        - 'Eltex 2324P'
    discovery:
        - sysObjectID:
            - .1.3.6.1.4.1.35265.1.92
        - sysDescr
            -  'MES2324'

and at includes/definitions/discovery/:

    mib: RADLAN-DEVICEPARAMS-MIB
    modules:
        os:
            version:
                - 1.3.6.1.4.1.89.2.4
            serial:
                - .1.3.6.1.4.1.89.2.11.1

So, it not working:) If I call ./discovery.php -d -h -m 'os' I see


    | MES2324P AC 28-port 1G/10G Managed Switch with 24 POE+ ports | .1.3.6.1.4.1.35265.1.92 |  
    SNMP['/usr/bin/snmpget' '-v3' '-l' 'authPriv' '-n' "" '-a' 'SHA' '-A' 'PASSWORD' '-u' 'USER' '-x' 'DES' '-X' 'PASSWORD' '-Oqv' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/eltex:/opt/librenms/mibs/arris' 'udp:HOSTNAME:161' '.1.3.6.1.4.1.1166.1.621.14.2.0']
    No Such Object available on this agent at this OID  
      
    SNMP['/usr/bin/snmpget' '-v3' '-l' 'authPriv' '-n' "" '-a' 'SHA' '-A' 'PASSWORD' '-u' 'USER' '-x' 'DES' '-X' 'PASSWORD' '-Oqv' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/eltex' 'udp:HOSTNAME:161' '.1.3.6.1.4.1.8072.1.3.2.3.1.2.6.100.105.115.116.114.111']
    No Such Object available on this agent at this OID  
      
    Attempting to initialize OS: eltex-mes2324p  
    OS initialized as Generic  
    OS:  (eltex-mes2324p)

What should I do to solve this porblem?

@murrant
Copy link
Member

murrant commented Nov 4, 2020

This issue has been mentioned on LibreNMS Community. There might be relevant details there:

https://community.librenms.org/t/os-definition-problems/13863/5

@murrant
Copy link
Member

murrant commented Nov 4, 2020

Please create a pull request instead. :)

@murrant murrant closed this as completed Nov 4, 2020
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