[prometheus-users] Re: Synology NAS Details Dashboard

2024-09-30 Thread 'Brian Candler' via Prometheus Users
First, make sure you can reproduce the existing generator.yml -> snmp.yml using the Makefile to download MIBs. You should be able to reproduce exactly what the supplied snmp.yml has. Once you have that working, then try your own generator.yml and compare the generated snmp.yml. Drilling down th

[prometheus-users] Re: Synology NAS Details Dashboard

2024-09-30 Thread Mitchell Laframboise
I just used this command and successfully return the right oid snmptranslate -On -m /usr/share/snmp/mibs/SYNOLOGY-RAID-MIB.mib -IR raidTotalSize so I don't get it On Monday, September 30, 2024 at 10:41:33 AM UTC-4 Mitchell Laframboise wrote: > here is the contents of the Synology raid mib fil

[prometheus-users] Re: Synology NAS Details Dashboard

2024-09-30 Thread Mitchell Laframboise
here is the contents of the Synology raid mib file SYNOLOGY-RAID-MIB DEFINITIONS ::= BEGIN IMPORTS OBJECT-GROUP, MODULE-COMPLIANCE FROM SNMPv2-CONF enterprises, MODULE-IDENTITY, OBJECT-TYPE, Integer32, Counter64 FROM SNMPv2-SMI; synoRaid MODULE-IDENTITY LAST-UPDATED "20130911Z" ORGAN

[prometheus-users] Re: Synology NAS Details Dashboard

2024-09-30 Thread 'Brian Candler' via Prometheus Users
I mean the MIB files consumed by generator. On Monday 30 September 2024 at 14:41:14 UTC+1 Mitchell Laframboise wrote: > I know the mib is working because when I do an snmpwalk i get the > following output. > > ~/snmp_exporter/generator$ snmpwalk -v2c -c public *.*.*.* > 1.3.6.1.4.1.6574.3 > SNM

[prometheus-users] Re: Synology NAS Details Dashboard

2024-09-30 Thread Mitchell Laframboise
I know the mib is working because when I do an snmpwalk i get the following output. ~/snmp_exporter/generator$ snmpwalk -v2c -c public *.*.*.* 1.3.6.1.4.1.6574.3 SNMPv2-SMI::enterprises.6574.3.1.1.1.0 = INTEGER: 0 SNMPv2-SMI::enterprises.6574.3.1.1.1.1 = INTEGER: 1 SNMPv2-SMI::enterprises.6574.3

[prometheus-users] Re: Synology NAS Details Dashboard

2024-09-30 Thread Mitchell Laframboise
Thank you for the explanations... I've checked the mibs and that metric is included as an object along with others like raidFreeSize that are also not being included in the generated snmp.yml I'm using the latest verison of snmp-exporter 0.26.0 Im wondering if the generator is broken? On Monda

[prometheus-users] Re: Synology NAS Details Dashboard

2024-09-30 Thread 'Brian Candler' via Prometheus Users
> Since the generator.yml has that metric in overrides, shouldn't it be generated? No. Overrides only change how a metric is rendered; if there's no matching metric in the MIB then there's nothing to override. On Monday 30 September 2024 at 13:45:57 UTC+1 Brian Candler wrote: > > I looked at t

[prometheus-users] Re: Synology NAS Details Dashboard

2024-09-30 Thread 'Brian Candler' via Prometheus Users
> I looked at the sample snmp.yml from Github that I assume is generated from the default generator.yml and I see that the "raidTotalSize" metric is included, but when I check my snmp.yml that metric isn't included. Either something is different in your generator.yml, or something is different

[prometheus-users] Re: Synology NAS Details Dashboard

2024-09-30 Thread Mitchell Laframboise
>From the generator.yml I posted do you know why the snmp.yml didn't include that metric? Since the generator.yml has that metric in overrides, shouldn't it be generated? On Monday, September 30, 2024 at 8:39:30 AM UTC-4 Mitchell Laframboise wrote: > I looked at the sample snmp.yml from Githu

[prometheus-users] Re: Synology NAS Details Dashboard

2024-09-30 Thread Mitchell Laframboise
I looked at the sample snmp.yml from Github that I assume is generated from the default generator.yml and I see that the "raidTotalSize" metric is included, but when I check my snmp.yml that metric isn't included. So I edited the snmp.yml to include that metric and now Prometheus is scraping t

[prometheus-users] Re: Synology NAS Details Dashboard

2024-09-30 Thread 'Brian Candler' via Prometheus Users
I can't see what you're looking at, because: 1. You've shown your generator.yml, but you've not shown the snmp.yml output that generator creates. 2. You've not said how the output snmp.yml is different from the supplied snmp.yml 3. You've not said what version of snmp_exporter you're using, so I