FYI, I just checked in a change to the generator that makes missing MIB
files a lot more obvious.
https://github.com/prometheus/snmp_exporter/pull/1167
If you pull latest main and build the generator it will try and tell you
exactly which MIB modules are missing from the mibs directories.
We're
Hello Alex
Thanks for looking into it. I really appreciate that.
I am able to generate the oids now. I wasn't aware that I need to make sure
of this file as well "A10-COMMON-MIB.txt" which is the root file
Thanks again
On Sat, May 4, 2024 at 9:13 PM Alexander Wilke
wrote:
> Needed Mibs:
>
Needed Mibs:
root@ubiquiti:/opt/prometheus/snmp_exporter/generator/mibs_a10# ls -la
insgesamt 272
drwxr-xr-x 2 root root 91 4. Mai 22:07 .
drwxrwxr-x 8 root root332 4. Mai 22:07 ..
*-rw-r--r-- 1 root root 261898 15. Jun 2022 A10-AX-MIB.mib-rw-r--r-- 1
root root 4572 15. Jun 2022
yeah tried without oids but still the same result.
just to double check.
The correct way is to clone the generator repo, add the custom mib to the
mibs dir and run the make generate cmd to generate the executable generator
file and then run ./generator generate to run the generator.
not sure
Try this instead of oid
axSysMemory
axSysCpu
Mehran Saeed schrieb am Mittwoch, 1. Mai 2024 um 12:42:06 UTC+2:
> Just wondering if this format correct for the generator.yml as in is this
> how mibs or defined
>
> auths:
> public_v1:
> version: 1
> public_v2:
> version: 2
>
>
>
Just wondering if this format correct for the generator.yml as in is this
how mibs or defined
auths:
public_v1:
version: 1
public_v2:
version: 2
prometheus_v3:
username: user
password: pwd
auth_protocol: SHA
priv_protocol: AES
security_level: authPriv
Yes correct thats the one
On Sun, Apr 28, 2024 at 5:43 PM Alexander Wilke
wrote:
> Is this MIB in the MIBs folder?
> https://www.circitor.fr/Mibs/Mib/A/A10-AX-MIB.mib
>
> Mehran Saeed schrieb am Samstag, 27. April 2024 um 21:08:54 UTC+2:
>
>> Thanks for responding.
>>
>> below are the two MIBs
Is this MIB in the MIBs folder?
https://www.circitor.fr/Mibs/Mib/A/A10-AX-MIB.mib
Mehran Saeed schrieb am Samstag, 27. April 2024 um 21:08:54 UTC+2:
> Thanks for responding.
>
> below are the two MIBs for memory I am trying to use:
>
> memory usage: 1.3.6.1.4.1.22610.2.4.1.2.2
>
> Field Name :
Thanks for responding.
below are the two MIBs for memory I am trying to use:
memory usage: 1.3.6.1.4.1.22610.2.4.1.2.2
Field Name : axSysMemoryUsage
Field Type: Integer32
Field Status : current
Description : The usage memory(KB).
OID : 1.3.6.1.4.1.22610.2.4.1.2.2
memory total:
I should really make the parse errors warning print in all caps with colors
or something.
Or maybe just fail if there is too many.
On Sat, Apr 27, 2024, 11:22 Alexander Wilke wrote:
> You probably do not have alle required mibs in the folder.
> Please Post the MIBs which you want to use and
You probably do not have alle required mibs in the folder.
Please Post the MIBs which you want to use and the generator command you
used.
PS:
On top of all MIBs there are comments Like IMPORT which describes which
other MIBs are needed.
Fürther use MIBv2 with names instead OIDs. Put the Name in
yes sure
below are the logs whilst generating
```
MIBDIRS='mibs' ./generator --fail-on-parse-errors generate
ts=2024-04-27T17:34:02.776Z caller=net_snmp.go:175 level=info msg="Loading
MIBs" from=mibs
ts=2024-04-27T17:34:03.011Z caller=main.go:124 level=warn msg="NetSNMP
reported parse error(s)"
Hello
I am trying to generate snmp.yml from generator but it fails. its for a10
load balancers as I needed extra mibs for CPU and memory. below is the
generator.yml config.
I have added the mib file into the correct mib directory as well.
```
---
auths:
public_v1:
version: 1
13 matches
Mail list logo