Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upTargets are UP but no metrics #2909
Comments
This comment has been minimized.
This comment has been minimized.
|
Could you also share the prometheus logs? |
This comment has been minimized.
This comment has been minimized.
|
I have just restarted Prometheus and this is the log since restart:
|
This comment has been minimized.
This comment has been minimized.
|
I have solved it. The problem was that I had snmp OIDs in my snmp.yml file, but there were no walk OIDs. I added walk OIDs and now it is functioning. |
MaksimBalticom
closed this
Jul 7, 2017
This comment has been minimized.
This comment has been minimized.
lock
bot
commented
Mar 23, 2019
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
lock
bot
locked and limited conversation to collaborators
Mar 23, 2019
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
MaksimBalticom commentedJul 6, 2017
Hello,
I have a list of devices in .yml file that I query with snmp_exporter. The problem is that I see these devies in Status - Target. All devices are UP. But there are no metrics for those devices. There should be many o them according to snmp.yml file.
What did you do?
Configured prometheus.yml to use different jobs (job per switch model). Configured 3 new modules in snmp.yml.
What did you expect to see?
Many new metrics for now models.
What did you see instead? Under which circumstances?
'no data' in Console tab
Environment
Mem: 7974664 715016 6247176 8548 1012472 6929064
Swap: 8257532 0 8257532
processor : 0,1,2,3
vendor_id : GenuineIntel
cpu family : 6
model : 42
model name : Intel Xeon E312xx (Sandy Bridge)
stepping : 1
microcode : 0x1
cpu MHz : 3092.972
cache size : 4096 KB
physical id : 0
siblings : 1
core id : 0
cpu cores : 1
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx rdtscp lm constant_tsc rep_good nopl eagerfpu pni pclmulqdq ssse3 cx16 sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm fsgsbase smep erms xsaveopt
bogomips : 6185.94
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:
Linux 3.10.0-514.26.1.el7.x86_64 x86_64
prometheus, version 1.7.1 (branch: master, revision: 3afb3ff)
build user: root@0aa1b7fc430d
build date: 20170612-11:44:05
go version: go1.8.3