Re: [prometheus-users] SNMP EXPORTER GENERATOR ERRORS

2024-09-09 Thread 'Brian Candler' via Prometheus Users
I strongly advise you to use node_exporter rather than snmpd for collecting metrics from Linux hosts, unless there's something you can't get any other way (keepalived VRRP might be one example). By "snmpd.conf ... access control" you might be asking how to create SNMPv2 communities and SNMPv3 u

Re: [prometheus-users] SNMP EXPORTER GENERATOR ERRORS

2024-09-09 Thread Mitchell Laframboise
Thank you. I ended up just downloading the mibs from mibbrowser.online, they had them all. But then I had a problem with SNMPv2-PDU that I couldn't figure out so I just replaced it with a good copy. Do you know how to edit the snmpd.conf file? The access control part is kind of confusing

Re: [prometheus-users] SNMP EXPORTER GENERATOR ERRORS

2024-09-09 Thread 'Brian Candler' via Prometheus Users
> msg="Loading MIBs" from=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf If you do that, then it's your responsibility to download the mibs you need. "apt-get snmp-mibs-downloader" on Ubuntu/Debian will get a bunch, but I don't know if you'll have all

Re: [prometheus-users] SNMP EXPORTER GENERATOR ERRORS

2024-09-09 Thread Mitchell Laframboise
Yes I did read it, I just never had to do this last time I set this up. On Monday, September 9, 2024 at 8:33:48 AM UTC-4 Ben Kochie wrote: > Did you read the error messages? > > Your MIBDIRS are missing a number of MIBs in order to satisfy all the > requirements. > > Either find the missing MI

Re: [prometheus-users] SNMP EXPORTER GENERATOR ERRORS

2024-09-09 Thread Ben Kochie
Did you read the error messages? Your MIBDIRS are missing a number of MIBs in order to satisfy all the requirements. Either find the missing MIBs, or set the `MIBDIRS` env var to point at the generator example "mibs" dir that is created with `make mibs`. On Mon, Sep 9, 2024 at 1:50 PM Mitchell L

[prometheus-users] SNMP EXPORTER GENERATOR ERRORS

2024-09-09 Thread Mitchell Laframboise
I am trying to generate an snmp.yml and have removed all sections from the generator.yml except for if-mib and I'm getting all these parse errors and I don't know why. ./generator parse_errors ts=2024-09-09T11:22:12.963Z caller=net_snmp.go:175 level=info msg="Loading MIBs" from=$HOME/.snmp/mib

[prometheus-users] snmp exporter trying to generate snmp config for ups

2024-08-08 Thread Alex Veso
Hello, I'm currently trying to generate a config for some eaton ups'es. I have following two mibs: https://mibbrowser.online/mibdb_search.php?mib=EATON-SENSOR-MIB https://mibbrowser.online/mibdb_search.php?mib=XUPS-MIB I need everything temperature and humidity available. I tried it with somethi

[prometheus-users] SNMP Exporter - Gathering MAC and IP per port

2024-07-18 Thread Matthew Koch
I am working on a project to gather the MAC address and IP which is on a specific port on a network switch. I've been able to gather this information with the below SNMP config but the challenge is the MAC address comes back against the physical port index and the IPs come back against the VLAN

Re: [prometheus-users] SNMP Exporter - MessPC Ethernetbox - Configuration

2024-06-14 Thread Ben Kochie
The thing you want to do is use the snmp_exporter generator. This will correctly parse the MIB and produce a valid snmp_exporter module config. Something like this works: modules: ethernetbox: walk: - version - location - sensorTable lookups: - source_indexes: [sensorinde

[prometheus-users] SNMP Exporter - MessPC

2024-06-14 Thread Alex Veso
Hello all, Can somebody help me out to parse a MIB file for MessPC EthernetBox. https://messpc.de/MIB/betternetworks_ethernetbox.mib I tried to build the config myself, but I'm not able to get all information as expected. Many thanks in advance! -- You received this message because you are su

[prometheus-users] SNMP Exporter - MessPC Ethernetbox - Configuration

2024-06-14 Thread Alex Veso
Hello, I have to setup a config to scrape the metrics from an MessPC EthernetBox. Those devices are pretty old and doesn't support SNMP-systemgroups due to storage limitations (don't know what this means, that's what their support told me). I attached the result of an snmp walk (snmp_walk.txt).

Re: [prometheus-users] SNMP exporter

2024-06-13 Thread Alexander Wilke
Please share your generator.yml you used and the Output of the Generator command which will build the snmp.yml. Please share the MIBs you used. Share the Generator command you used with all Flags. In short the Workflow is. 1.) collect all needed MIBv2 and all their dependent MIBs. 2.) Put all T

Re: [prometheus-users] SNMP exporter

2024-06-12 Thread BHARATH KUMAR
Can anyone share the documentation or help me out to view the metrics of GM200 device in Prometheus UI. I am not able to see the metrics in Prometheus. On Wednesday 12 June 2024 at 11:20:24 UTC+5:30 BHARATH KUMAR wrote: > I have the OID's list.. Once I find the OID list where should I add th

Re: [prometheus-users] SNMP exporter

2024-06-11 Thread BHARATH KUMAR
I have the OID's list.. Once I find the OID list where should I add those? and Did the generator needed for this? On Wed, 12 Jun 2024 at 11:02, Ben Kochie wrote: > You need to find out from your vendor what OIDs/MIBs are useful for the > "GM200 device". > > On Wed, Jun 12, 2024 at 6:53 AM BHARAT

Re: [prometheus-users] SNMP exporter

2024-06-11 Thread Ben Kochie
You need to find out from your vendor what OIDs/MIBs are useful for the "GM200 device". On Wed, Jun 12, 2024 at 6:53 AM BHARATH KUMAR wrote: > Hello All, > > I have two servers A and B. server A is a GM200 device where SNMP agent is > enabled and nothing is installed there. > > And in server B I

[prometheus-users] SNMP exporter

2024-06-11 Thread BHARATH KUMAR
Hello All, I have two servers A and B. server A is a GM200 device where SNMP agent is enabled and nothing is installed there. And in server B I installed SNMP exporter and Prometheus and I want to add the SNMP agent details in server to monitor the cpu usage and temperature of the server A.

Re: [prometheus-users] snmp generator.yml fails error err="cannot find oid '1.22610.2.4.1.2.2' to walk

2024-05-06 Thread Ben Kochie
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

Re: [prometheus-users] snmp generator.yml fails error err="cannot find oid '1.22610.2.4.1.2.2' to walk

2024-05-06 Thread Mehran Saeed
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: > root

Re: [prometheus-users] snmp generator.yml fails error err="cannot find oid '1.22610.2.4.1.2.2' to walk

2024-05-04 Thread Alexander Wilke
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 A10

Re: [prometheus-users] snmp generator.yml fails error err="cannot find oid '1.22610.2.4.1.2.2' to walk

2024-05-04 Thread Mehran Saeed
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 what

Re: [prometheus-users] snmp generator.yml fails error err="cannot find oid '1.22610.2.4.1.2.2' to walk

2024-05-03 Thread Alexander Wilke
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 > > > p

Re: [prometheus-users] snmp generator.yml fails error err="cannot find oid '1.22610.2.4.1.2.2' to walk

2024-05-01 Thread Mehran Saeed
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 priv

Re: [prometheus-users] snmp generator.yml fails error err="cannot find oid '1.22610.2.4.1.2.2' to walk

2024-04-29 Thread Mehran Saeed
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 f

Re: [prometheus-users] snmp generator.yml fails error err="cannot find oid '1.22610.2.4.1.2.2' to walk

2024-04-28 Thread Alexander Wilke
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 : a

Re: [prometheus-users] snmp generator.yml fails error err="cannot find oid '1.22610.2.4.1.2.2' to walk

2024-04-27 Thread Mehran Saeed
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: 1.3.6.1.4.

Re: [prometheus-users] snmp generator.yml fails error err="cannot find oid '1.22610.2.4.1.2.2' to walk

2024-04-27 Thread Ben Kochie
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 the

Re: [prometheus-users] snmp generator.yml fails error err="cannot find oid '1.22610.2.4.1.2.2' to walk

2024-04-27 Thread Alexander Wilke
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

Re: [prometheus-users] snmp generator.yml fails error err="cannot find oid '1.22610.2.4.1.2.2' to walk

2024-04-27 Thread Mehran Saeed
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)" er

[prometheus-users] snmp generator.yml fails error err="cannot find oid '1.22610.2.4.1.2.2' to walk

2024-04-27 Thread Mehran Saeed
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 public_v2

Re: [prometheus-users] [snmp-exporter] when will --config.expand-environment-variables be available?

2024-03-26 Thread Ben Kochie
This feature is not required for PCI-DSS. There are many users of snmp_exporter who have PCI-DSS compliance and do not need it. On Tue, Mar 19, 2024 at 4:55 PM ohey...@gmail.com wrote: > Hi, > > > looking for this feature "--config.expand-environment-variables" to get > PCI-DSS compliance config

[prometheus-users] [snmp-exporter] when will --config.expand-environment-variables be available?

2024-03-19 Thread ohey...@gmail.com
Hi, looking for this feature "--config.expand-environment-variables" to get PCI-DSS compliance configs. Any idea, when it will be available? Thanks a lot and regards, Olaf -- You received this message because you are subscribed to the Google Groups "Prometheus Users" group. To unsubscribe f

Re: [prometheus-users] snmp exporter & snmpv3

2024-01-20 Thread 'Brian Candler' via Prometheus Users
> If you have a working SNMP.yml thrn Just add this at the top of the File But indented and nested under the "auths" key. > f you use Cisco devices you have to use > AES-128C or AES-256C That is not true. You can use "AES" as normal, or you can use "AES192C" or "AES256C". There is no "AES-128C

Re: [prometheus-users] snmp exporter & snmpv3

2024-01-20 Thread Alexander Wilke
If you have a working SNMP.yml thrn Just add this at the top of the File CustomName: version: 3 security_level: authPriv username: "username" auth_protocol: SHA password: 'password' priv_protocol: AES The "CustomName" is what you use in Prometheus.yml as auth Module. If yo

Re: [prometheus-users] snmp exporter & snmpv3

2024-01-18 Thread jin lukexjin
So,If I want to use SNMP v3,I need regenerator snmp.yml,I can not edit the default snmp.yml,yes? In generator.xml auth part, v1 ,v2c,v3 all is there ok? 在2017年12月18日星期一 UTC+8 01:49:24 写道: > On 17 December 2017 at 17:44, wrote: > >> Thanks. Do you know how I can pass the username and password f

Re: [prometheus-users] SNMP lookup not working

2023-11-20 Thread Ben Kochie
Yea, the `main` Docker image has issues with being behind release, there's an open PR to fix it. On Tue, Nov 21, 2023 at 7:38 AM Elliott Balsley wrote: > Nice, that sounds like it might fix it. I’m running the docker image > prom/snmp-agent:main which was published 2 days ago. But I don’t know w

Re: [prometheus-users] SNMP lookup not working

2023-11-20 Thread 'Elliott Balsley' via Prometheus Users
Nice, that sounds like it might fix it. I’m running the docker image prom/snmp-agent:main which was published 2 days ago. But I don’t know which commit that refers to. I read the description of this new patch: first attempt to match the lookup node so that the OID matches that of the metric in al

Re: [prometheus-users] SNMP lookup not working

2023-11-20 Thread Ben Kochie
Have you updated your generator recently? We added a patch that tries to use OIDs closer to the original index first. See: https://github.com/prometheus/snmp_exporter/pull/828 There's also now support for multiple files in the exporter, as well as different input filenames in the generator. You c

Re: [prometheus-users] SNMP lookup not working

2023-11-20 Thread 'Elliott Balsley' via Prometheus Users
Aha! I found the problem by looking closer at the generated snmp.yml. This PDU manufacturer OID is *1418*. I have another MIB installed from a different manufacturer *1718* which also has an OID called outletName. So the generator config I shared before actually produces incorrect snmp.yml as be

[prometheus-users] SNMP lookup not working

2023-11-20 Thread 'Elliott Balsley' via Prometheus Users
I'm trying to configure snmp-exporter with a PDU, using a lookup to label each outlet with its human-readable name (outletName) by referencing its outletIndex. But when I try to do this, the outletName label is an empty string. Is there something wrong with my generator config? Example: *

[prometheus-users] SNMP Exporter issue - Server returned HTTP status 400 Bad Request

2023-11-12 Thread Andy White
Hello, Could anyone help this issue regarding SNMP Exporter: *server returned HTTP status 400 Bad Request* https://www.reddit.com/r/grafana/comments/17s6uvh/snmp_exporter_server_returned_http_status_400_bad/ I'm just trying to scrape 2 OIDs using SNMP_Exporter, but something isn't working as

[prometheus-users] SNMP exporter for HP servers using Prometheus

2023-10-30 Thread Simona Badea
Hello all, I'm trying to retrieve information from some HP gen 9 servers using prometheus and displaying them in grafana. Besides iLO method, is there any other way I could get processor/memory/power supply information? I'm not able to install any other application due to security reasons. Tha

[prometheus-users] snmp exporter - snmp v3 error - wrong digest

2023-05-31 Thread Artyom Ivanov
Hello everyone! We got some snmp devices monitored via snmp v3. Infa: snmp exporter version v0.21.0 snmp.yml = ... version: 3 max_repetitions: 5 retries: 3 timeout: 5s auth: security_level: authPriv username: monitor password: password auth_protocol: SHA priv_proto

[prometheus-users] snmp-exporter session to much,can not responds

2023-05-16 Thread 工作使用
I want to use snmp-exporter to get the information in the fortigate firewall - name: fgIpSessIndex oid: 1.3.6.1.4.1.12356.101.11.2.1.1.1 but after I press it, it will be on the page loading, there is no relevant response, but I use snmpwalk to test, he will get a lot of sessions and will not st

[prometheus-users] Snmp-exporter use fortigate mib oid to get - name: fgIpSessIndex oid: 1.3.6.1.4.1.12356.101.11.2.1.1.1 question

2023-05-16 Thread 工作使用
I want to use snmp-exporter to get the information in the fortigate firewall - name: fgIpSessIndex oid: 1.3.6.1.4.1.12356.101.11.2.1.1.1 but after I press it, it will be on the page loading, there is no relevant response, but I use snmpwalk to test, he will get a lot of sessions and will not st

[prometheus-users] SNMP Exporter not getting all information of my switch

2023-04-08 Thread sambhaji khune
Hi, I have to monitore the switch with OID--1.3.6.1.4.1.31258.3.2.10, i am building snmp.yml file using generator. but show me error device not found. so please help me. -- You received this message because you are subscribed to the Google Groups "Prometheus Users" group. To unsubscribe from t

[prometheus-users] snmp alert rules

2023-02-09 Thread Hemedi Salim
Hi everyone! I was looking at how I can set and create an alert rule, I have rules set but I recently found out that that rules only apply to node-exporter metrics and not to SNMP devices(switches). am looking to monitor:- Port throughput IN Port throughput OUT clock synchronization temperature

[prometheus-users] Snmp Exporter - scrape timeout for Huawei Core Router which has more than 3000 interfaces

2022-11-26 Thread Umut Cokbilir
Hi All, I've tried different timeout interval like 10s, 1m, 5m and max_repetitions like 25, 20, 10 but I couldn't solve the problem. What should I use prometheus scrape interval, snmp_exporter timeout interval and max_repetitions? Debug: ts=2022-11-26T07:53:11.587Z caller=scrape.go:1343 level

[prometheus-users] Snmp Exporter - scrape timeout for Huawei Core Router which has more than 3000 interfaces

2022-11-25 Thread Umut Cokbilir
Hi All, I've tried different timeout interval like 10s, 1m, 5m and max_repetitions like 25, 20, 10 but I couldn't solve the problem. What should I use prometheus scrape interval, snmp_exporter timeout interval and max_repetitions? Debug: ts=2022-11-26T07:53:11.587Z caller=scrape.go:1343 level=

[prometheus-users] SNMP Exporter showing UNKNOWN module

2022-11-20 Thread Aliff Ashraf
HI all, Appreciate if anyone can help or leave an input. As per title my SNMP exporter state is DOWN and when clicked it is showing unknown with error "server returned HTTP status 400 Bad Request". I tried to capture snmp to my router (target 192.168.1.253) for testing but it seems not worki

[prometheus-users] SNMP exporter for GHE

2022-10-23 Thread karthik b.v.n.s
HI ALL, Can someone please guide me in setting up snmp_exporter for scraping metrics from GHE for monitoring in prometheus. If any steps or documentation please kindly share Thanks in Advance -- You received this message because you are subscribed to the Google Groups "Prometheus Users" grou

[prometheus-users] SNMP without MIBS?

2021-11-25 Thread Raphael Konno
Hi, I have a question that might seem silly, but I think this is the best place to get it out, what happens if I try to capture information from a device via SNMP without the MIBS of that device? I'm trying to monitor a Fortigate firewall, however there are some MIBS for these devices, however

[prometheus-users] snmp-exporter Upgrade 0.19 to 0.20 nil pointer exception, if device is not reachable

2021-08-31 Thread ohey...@gmail.com
Hi, I just did an upgrade from prom/snmp-exporter:v0.19.0 to prom/snmp-exporter:v0.20.0 and now I get a stack trace for devices, which are not reachable. Any idea why? First time tests with 0.20.0 release. This didn't happen with the 0.19.0 release. Regards, Olaf ``` level=info ts=2021-08-3

[prometheus-users] SNMP Exporter not working after configuration

2021-08-26 Thread jivraj rathore
Hi Team, I configured snmp exporter on prometheus. SNMP exporter not retrieving ay metrics and showing error "server returned request 400" Please help me out in fixing the issue. Regards, Jivraj Singh -- You received this message because you are subscribed to the Google Groups "Prometheus Us

[prometheus-users] SNMP Exporter Scrapes Successfully But Does Not Return Walked Metrics

2021-07-19 Thread Nolan Crooks
Hi there, I'm having trouble getting the snmp_exporter working with my Prometheus instances. I have successfully built and am running the exporter across my instances, and have configured it as follows using the generator

[prometheus-users] snmp exporter not working

2021-05-16 Thread Jason Prouty
when I connect to my exporter I get Unknown module 'if_mib' I can runsnmp walk against my devices buth When I add them to promethues I get server returned HTTP status 400 Bad Request I am a bit confused of what to look at next to see where that issue is -- You received this message because

Re: [prometheus-users] SNMP error-Please Help

2021-04-10 Thread Venkatesh Goud
Hi All, what I understand is that increasing the scrape interval to switch resolves this problem. could you all please increase the scrape interval to more example 60 seconds and check? On Tuesday, April 6, 2021 at 7:39:15 PM UTC+5:30 msdr...@gmail.com wrote: > I am still having the same and l

[prometheus-users] SNMP - HP Switch CPU Usage Error - Error Generating config netsnmp err="cannot find oid'1.3.6.1.4.1.25506.2.6.1.1.1.1.6.' to walk" - Need Hel

2021-04-10 Thread Venkatesh Goud
Hi All, Trying to monitor the HP Switch CPU Usage metric scrapping (OID and module mentioned below); We are not able to generate the snmp configuration file while giving the OIDs of *25506 *group in prometheus server (where we installed the snmp exporter) Error screenshot mentioned below. [ima

Re: [prometheus-users] SNMP error-Please Help

2021-04-06 Thread Shashidhar
I am still having the same and looking for some help here. @experts: could you please help us in resolving this issue? thanks in advance :) On Tue, Apr 6, 2021 at 7:16 PM Pratik Khandelwal wrote: > Hello, > > were you able to resolve the issue, I am currently facing the same issue, > can you

Re: [prometheus-users] SNMP error-Please Help

2021-04-06 Thread Pratik Khandelwal
Hello, were you able to resolve the issue, I am currently facing the same issue, can you please let me know how did you fix it? On Tuesday, March 30, 2021 at 12:33:55 PM UTC+5:30 msdr...@gmail.com wrote: > kindly help with this query. > thanks in advance > > On Sun, Mar 14, 2021 at 8:09 AM Shas

Re: [prometheus-users] SNMP error-Please Help

2021-03-30 Thread Shashidhar
kindly help with this query. thanks in advance On Sun, Mar 14, 2021 at 8:09 AM Shashidhar wrote: > Yes, the SNMP exporter is up and running > > SNMP_EXPORTER (1/1 up) > show less > > EndpointStateLabelsLast ScrapeScrape DurationError > http:/

Re: [prometheus-users] SNMP error-Please Help

2021-03-13 Thread Shashidhar
Yes, the SNMP exporter is up and running SNMP_EXPORTER (1/1 up) show less EndpointStateLabelsLast ScrapeScrape DurationError http://localhost:9116/metrics UP instance="localhost:9116"job="SNMP_

Re: [prometheus-users] SNMP error-Please Help

2021-03-13 Thread metroplex2850
Did you setup snmp_exporter? On Sat, Mar 13, 2021, 3:32 AM Shashidhar wrote: > Hi Team, > > I am new to the Prometheus tool, I was trying to get the metrics of one of > the node in network over SNMP but i am getting an error below highlighted > in bold letters. please help:((. > > Target Node i

[prometheus-users] SNMP error-Please Help

2021-03-13 Thread Shashidhar
Hi Team, I am new to the Prometheus tool, I was trying to get the metrics of one of the node in network over SNMP but i am getting an error below highlighted in bold letters. please help:((. Target Node is juniper Ex switch snmp (0/1 up) Endpoint State Labels Last Scrape Scrape Duration Error h

[prometheus-users] snmp exporter generator cannot find oid

2021-03-05 Thread Gyula Bencze
Hi Guys, I am trying to add 1.3.6.1.4.1.9.9.109.1.1.1.1 to generator.yml to get some information about resource usage of network devices but when I generate snmp.yml file I get this error: level=info ts=2021-03-05T12:30:43.879Z caller=net_snmp.go:144 msg="Loading MIBs" from=/root/.snmp/mibs:

Re: [prometheus-users] SNMP Exporter Issue.

2021-03-01 Thread s.saurab...@gmail.com
Thanks for the response. Let me check with Dell on the same. Thanks, Saurabh On Monday, March 1, 2021 at 6:12:34 PM UTC+5:30 sup...@gmail.com wrote: > It looks like that device is generating corrupt data. According to Dell's > MIB for that OID, it should be NVT ASCII. It's clearly not. > > I w

Re: [prometheus-users] SNMP Exporter Issue.

2021-03-01 Thread Ben Kochie
It looks like that device is generating corrupt data. According to Dell's MIB for that OID, it should be NVT ASCII. It's clearly not. I would suggest contacting Dell support. On Mon, Mar 1, 2021 at 1:26 PM s.saurab...@gmail.com < s.saurabhjain...@gmail.com> wrote: > Hello everyone, > > I am faci

[prometheus-users] SNMP Exporter Issue.

2021-03-01 Thread s.saurab...@gmail.com
Hello everyone, I am facing strange issue with SNMP Exporter. Approx 100 devices are added in prometheus.yml to get SNMP data via SNMP Exporter however there is one node is showing down all the times in prometheus Targets When I ran URL( http://XX:9116/snmp?target=XX&&module=dell) to debug fur

Re: [prometheus-users] SNMP Exporter Generator - Junos MIBS

2021-02-12 Thread AbdelBaki Yacine Tounsi
i deployed the solution and i don't begin the config you can share with you after test . BR *Mr Tounsi Abdelbaki Yacine* *Mobile : +213 660 32 88 53* http://www.journaldunet.com/management/efficacite-personnelle/citations-pour-discours/equipe.shtml العلم بلا عمل كشجرة بلا ثمرة

Re: [prometheus-users] SNMP Exporter Generator - Junos MIBS

2021-02-12 Thread ryan woods
Hey, Do you mean you have a working example of this? If you do could you please email it to me if your willing to share! Thanks, Ryan Sent from my iPhone > On 12 Feb 2021, at 20:55, AbdelBaki Yacine Tounsi wrote: > >  > idem for me ; have an example for prometheus centos7 install and confi

Re: [prometheus-users] SNMP Exporter Generator - Junos MIBS

2021-02-12 Thread AbdelBaki Yacine Tounsi
idem for me ; have an example for prometheus centos7 install and config for this example ! *Mr Tounsi Abdelbaki Yacine* *Mobile : +213 660 32 88 53* http://www.journaldunet.com/management/efficacite-personnelle/citations-pour-discours/equipe.shtml العلم بلا عمل كشجرة بلا ثمرة

[prometheus-users] SNMP Exporter Generator - Junos MIBS

2021-02-12 Thread rw17...@gmail.com
Hey all, I'm trying to use the snmp exporter generator to generate the config needed to pull some metrics from Junos devices. I've downloaded the Junos mibs and put them in the mibs directory as it instructs. However when I run `generator generate` I get cannot find `oid jnxOperatingCPU`. This

Re: [prometheus-users] snmp-exporter returning non-printable characters

2020-11-10 Thread benbry...@gmail.com
I see, thanks for explaining. I'll raise a support ticket with the vendor. Kind regards, Ben. On Tue, 10 Nov 2020, 23:05 Brian Brazil, wrote: > On Tue, 10 Nov 2020 at 12:58, benbry...@gmail.com > wrote: > >> Hi Brian, >> >> When I manually run an snmpwalk I appear to be getting a string as t

Re: [prometheus-users] snmp-exporter returning non-printable characters

2020-11-10 Thread Brian Brazil
On Tue, 10 Nov 2020 at 12:58, benbry...@gmail.com wrote: > Hi Brian, > > When I manually run an snmpwalk I appear to be getting a string as the > response: > That's the value, the index however in the oid is a single integer followed by a 0 (which is also incorrect). Brian > > > snmpwalk -On

Re: [prometheus-users] snmp-exporter returning non-printable characters

2020-11-10 Thread benbry...@gmail.com
Hi Brian, When I manually run an snmpwalk I appear to be getting a string as the response: snmpwalk -On -v3 -u -l authPriv -a SHA -A -x AES -X 1.2.3.4 asgCoreIndex .1.3.6.1.4.1.2620.1.48.29.1.1.1.0 = STRING: Blade ID .1.3.6.1.4.1.2620.1.48.29.1.1.2.0 = STRING: cpu0 .1.3.6.1.4.1.2620.1.48.29.1

Re: [prometheus-users] snmp-exporter returning non-printable characters

2020-11-10 Thread Brian Brazil
On Tue, 10 Nov 2020 at 12:27, BenB wrote: > Hi Brian, > > thanks for responding. I've tried attached the mib file to this post but > I get an error when submitting. MIB file can be downloaded from > https://supportcenter.checkpoint.com/supportcenter/portal?action=portlets.DCFileAction&eventSubm

Re: [prometheus-users] snmp-exporter returning non-printable characters

2020-11-10 Thread BenB
Hi Brian, thanks for responding. I've tried attached the mib file to this post but I get an error when submitting. MIB file can be downloaded from https://supportcenter.checkpoint.com/supportcenter/portal?action=portlets.DCFileAction&eventSubmit_doGetdcdetails=&fileid=83804 OID name is asg

Re: [prometheus-users] snmp-exporter returning non-printable characters

2020-11-10 Thread Brian Brazil
On Tue, 10 Nov 2020 at 00:37, BenB wrote: > Hi everyone, > > I'm trying to setup the snmp-exporter to poll a Checkpoint Maestro > appliance for system stats. I'm starting small, hitting a single OID, > asgCoreIndex OID which returns a string index with the name of each cpu > core. I can do a wa

[prometheus-users] snmp-exporter returning non-printable characters

2020-11-09 Thread BenB
Hi everyone, I'm trying to setup the snmp-exporter to poll a Checkpoint Maestro appliance for system stats. I'm starting small, hitting a single OID, asgCoreIndex OID which returns a string index with the name of each cpu core. I can do a walk on this OID with snmpwalk and it returns the fol

Re: [prometheus-users] snmp proxy

2020-11-05 Thread Brian Brazil
On Thu, 5 Nov 2020 at 02:39, Michael Thomas wrote: > That did the trick! I didn't understand that relabeling could be used to > modify the url path. Here's the final config that I ended up with: > > - job_name: 'pdu' > static_configs: > - targets: [ 'localhost:9117', ] > labels:

Re: [prometheus-users] snmp proxy

2020-11-04 Thread Michael Thomas
That did the trick! I didn't understand that relabeling could be used to modify the url path. Here's the final config that I ended up with: - job_name: 'pdu' static_configs: - targets: [ 'localhost:9117', ] labels: pduname: 'pdu1' - targets: [ 'localhost:9117', ]

Re: [prometheus-users] snmp proxy

2020-11-04 Thread Brian Brazil
On Wed, 4 Nov 2020 at 23:04, Michael Thomas wrote: > Our SNMP-enabled devices are on a secure, non-routed subnet in our > datacenter. To enable snmp monitoring of them, we use a snmpd proxy[1]. > This allows us to grab snmp data from each device using the same IP > address, but a different commu

[prometheus-users] snmp proxy

2020-11-04 Thread Michael Thomas
Our SNMP-enabled devices are on a secure, non-routed subnet in our datacenter. To enable snmp monitoring of them, we use a snmpd proxy[1]. This allows us to grab snmp data from each device using the same IP address, but a different community name. For example: # snmpget -v2c -On -c pdu1 snmpd

[prometheus-users] SNMP Generator - cannot find oid 'cpmCPUTotal5minRev' to walk

2020-10-22 Thread Zaki Haris
Hi, I tried to generate snmp config to monitor CPU and Memory for CISCO devices Ref: https://www.cisco.com/c/en/us/support/docs/ip/simple-network-management-protocol-snmp/15215-collect-cpu-util-snmp.html CISCO-PROCESS-MIB is automatically downloaded when running `make mibs` Below is my sample

Re: [prometheus-users] SNMP generator - can't get the hostName for CISCO Catalyst 2960x

2020-09-21 Thread Ben Kochie
That OID looks like it's part of an obsolete cisco v1 MIB. On Mon, Sep 21, 2020 at 10:32 AM dykow wrote: > > Hi there! > I am trying to generate config for snmp-exporter, but I get the following > message: > > > > *level=info ts=2020-09-18T15:05:13.192Z caller=net_snmp.go:142 > msg="Loading MIBs

[prometheus-users] SNMP generator - can't get the hostName for CISCO Catalyst 2960x

2020-09-21 Thread dykow
Hi there! I am trying to generate config for snmp-exporter, but I get the following message: *level=info ts=2020-09-18T15:05:13.192Z caller=net_snmp.go:142 msg="Loading MIBs" from=mibslevel=warn ts=2020-09-18T15:05:13.300Z caller=main.go:120 msg="NetSNMP reported parse error(s)" errors=1leve

[prometheus-users] snmp generator "cannot find oid '1.3.6.1.4.1.9.2.1.3' to walk"

2020-09-18 Thread dykow
Hi there! I am trying to generate config for snmp-exporter, but I get the following message: *level=info ts=2020-09-18T15:05:13.192Z caller=net_snmp.go:142 msg="Loading MIBs" from=mibslevel=warn ts=2020-09-18T15:05:13.300Z caller=main.go:120 msg="NetSNMP reported parse error(s)" errors=1leve

Re: [prometheus-users] SNMP collected value shows up under label and not the metric value

2020-09-15 Thread Linkoid01
I do apologize for the tardy response. I've followed the guide posed by Brian on his webpage and the example given by Ben. It works. Thumbs up guys. Khanh, I am sorry I didn't figure out what exactly I need to change to Name. On Wednesday, August 26, 2020 at 8:32:00 AM UTC sup...@gmail.com wrote:

Re: [prometheus-users] SNMP collected value shows up under label and not the metric value

2020-08-26 Thread Ben Kochie
Here's an example for this MIB: https://github.com/SuperQ/tools/tree/master/snmp_exporter/hp On Wed, Aug 26, 2020 at 10:11 AM Brian Candler wrote: > On Sunday, 16 August 2020 13:00:13 UTC+1, Linkoid01 wrote: >> >> I've manually changed the snmp.yml file from OctetString to >> DisplayString and

Re: [prometheus-users] SNMP collected value shows up under label and not the metric value

2020-08-26 Thread Brian Candler
On Sunday, 16 August 2020 13:00:13 UTC+1, Linkoid01 wrote: > > I've manually changed the snmp.yml file from OctetString to > DisplayString and I am able to see the values and not a hex representation. > I've checked the DELL-RAC-MIB and the file is correct, like you said > DellPowerReading ::= D

Re: [prometheus-users] SNMP collected value shows up under label and not the metric value

2020-08-26 Thread Khanh Nguyen Duc
change from current to Name will be get that value. Vào lúc 19:00:13 UTC+7 ngày Chủ Nhật, 16 tháng 8, 2020, Linkoid01 đã viết: > I've manually changed the snmp.yml file from OctetString to > DisplayString and I am able to see the values and not a hex representation. > I've checked the DELL-RAC-

Re: [prometheus-users] [snmp-exporter generator] IP-FORWARD-MIB not usable by generator or custom snmp.yml

2020-08-19 Thread ohey...@gmail.com
arrrg - error was sitting in front of the computer. my generator was too old. thanks a lot for your help. regards olaf On Wednesday, 19 August 2020 at 09:39:19 UTC+2 ohey...@gmail.com wrote: > Your generator.yaml is working, when I execute it, I get: > > level=info ts=2020-08-19T07:33:17.485

Re: [prometheus-users] [snmp-exporter generator] IP-FORWARD-MIB not usable by generator or custom snmp.yml

2020-08-19 Thread ohey...@gmail.com
Your generator.yaml is working, when I execute it, I get: level=info ts=2020-08-19T07:33:17.485Z caller=main.go:52 msg="Generating config for module" module=n9kpx level=warn ts=2020-08-19T07:33:17.743Z caller=tree.go:354 msg="Can't handle index type on node" node=inetCidrRouteStatus index=inetCi

Re: [prometheus-users] [snmp-exporter generator] IP-FORWARD-MIB not usable by generator or custom snmp.yml

2020-08-18 Thread Ben Kochie
I think what you generated was invalid. This is what the generator produces for me: https://github.com/SuperQ/tools/commit/66dafaf4a62ac670e5354dfddbaddb3364fc5a6a On Tue, Aug 18, 2020 at 5:50 PM Ben Kochie wrote: > Can you share your generator.yml? Without it, it's hard to know what's > gone w

Re: [prometheus-users] [snmp-exporter generator] IP-FORWARD-MIB not usable by generator or custom snmp.yml

2020-08-18 Thread Ben Kochie
Can you share your generator.yml? Without it, it's hard to know what's gone wrong. On Tue, Aug 18, 2020 at 5:46 PM ohey...@gmail.com wrote: > Hi, > > the IP-FORWARD-MIB::inetCidrRouteIfIndex metrics are not usable/working by > the snmp generator or a custom snmp.yml for the snmp-exporter, becaus

[prometheus-users] [snmp-exporter generator] IP-FORWARD-MIB not usable by generator or custom snmp.yml

2020-08-18 Thread ohey...@gmail.com
Hi, the IP-FORWARD-MIB::inetCidrRouteIfIndex metrics are not usable/working by the snmp generator or a custom snmp.yml for the snmp-exporter, because ip addresses are part of the oid tree and are not recognized by the snmp-exporter/generator: example: IP-FORWARD-MIB::inetCidrRouteStatus.ipv4

Re: [prometheus-users] SNMP collected value shows up under label and not the metric value

2020-08-16 Thread Linkoid01
I've manually changed the snmp.yml file from OctetString to DisplayString and I am able to see the values and not a hex representation. I've checked the DELL-RAC-MIB and the file is correct, like you said DellPowerReading ::= DisplayString (SIZE (0..32)). How do I get to place the power reading

Re: [prometheus-users] SNMP collected value shows up under label and not the metric value

2020-08-15 Thread Ben Kochie
Interesting, the OID is defined as a "DellPowerReading" drsWattsReading OBJECT-TYPE SYNTAX DellPowerReading ACCESS read-only STATUS mandatory DESCRIPTION "0004.0001.0001.0013 This attribute defines the instantaneous chassis power usage (in Watts)."

[prometheus-users] SNMP collected value shows up under label and not the metric value

2020-08-15 Thread Linkoid01
Hello, I am trying to collect the power consumption for a Dell chassis server. I have the following SNMP oid that I am using successfuly by performing an snmpwalk: oid: *1.3.6.1.4.1.674.10892.2.4.1.1.13* name: *drsWattsReading* This is what I get when performing a snmpwalk on the Dell chassis se

Re: [prometheus-users] snmp-exporter missing metrics

2020-07-31 Thread -MoNsTeRRR
After future investigations, it does appear that Unifi OID are not responding in IPv6 snmpbulkwalk -v 2c -c 1.3.6.1.2.1.2.2.1.7 iso.3.6.1.2.1.2.2.1.7.1 = INTEGER: 1 iso.3.6.1.2.1.2.2.1.7.2 = INTEGER: 1 snmpbulkwalk -v 2c -c 1.3.6.1.4.1.41112.1.6 iso.3.6.1.4.1.41112.1.6 = No Such Object avail

Re: [prometheus-users] snmp-exporter missing metrics

2020-07-31 Thread Ben Kochie
That's pretty strange. The log looks right, but the duration for the OID seems extremely short, like the AP didn't return any data to the exporter. I have some APs that respond to these metrics just fine to the snmp_exporter. Maybe worth doing a tcpdump capture to see what's going over the wire?

  1   2   >