Curl doesn't return the output #1518
Unanswered
kommuri-bharath
asked this question in
Q&A
Replies: 2 comments
-
|
Hello, Any inputs are appreciated.. Thanks !! |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Hello, Any inputs are appreciated.. Thanks !! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello All,
I planned to scrape the below OID's from an F5 node and ended up with an empty result.
When I include below OID's the scrape works successfully and gives the output:
f5_bigip_LAN_AZ_060:
walk:
But when I add the "psuStatsTable" to the above list, the curl will not give any result.
The snmpwalk is fine and giving the output.
/usr/bin/snmpwalk -r 2 -t 5 -v 3 -l authPriv -u XXXXX -a SHA -A XXXXX -x AES128 -X XXXXX 10.XXX.79 1.3.6.1.4.1.12276.1.2.1.9.1.1.1
SNMPv2-SMI::enterprises.12276.1.2.1.9.1.1.1.8.112.108.97.116.102.111.114.109.5.112.115.117.45.49 = STRING: "psu-1"
SNMPv2-SMI::enterprises.12276.1.2.1.9.1.1.1.8.112.108.97.116.102.111.114.109.5.112.115.117.45.50 = STRING: "psu-2"
/usr/bin/snmpwalk -r 2 -t 5 -v 3 -l authPriv -u XXXXz -a SHA -A XXXX -x AES128 -X XXXXX 10.XXXX79 1.3.6.1.4.1.12276.1.2.1.9.1.1.2
SNMPv2-SMI::enterprises.12276.1.2.1.9.1.1.2.8.112.108.97.116.102.111.114.109.5.112.115.117.45.49 = STRING: "FZ2242RC1042"
SNMPv2-SMI::enterprises.12276.1.2.1.9.1.1.2.8.112.108.97.116.102.111.114.109.5.112.115.117.45.50 = STRING: "FZ2242RC0695"
I am using generator to generate the yml file.. and the data in yml file looks like this:
modules:
< these entries are #ed >
f5_bigip_LAN_AZ_060:
walk:
retries: 3
timeout: 5s
< these entries are #ed >
WARNING: This file was auto-generated using snmp_exporter generator, manual changes will be lost.
f5_bigip_LAN_AZ_060:
walk:
get:
metrics:
oid: 1.3.6.1.2.1.1.3
type: gauge
help: The time (in hundredths of a second) since the network management portion
of the system was last re-initialized. - 1.3.6.1.2.1.1.3
oid: 1.3.6.1.2.1.1.5
type: DisplayString
help: An administratively-assigned name for this managed node - 1.3.6.1.2.1.1.5
oid: 1.3.6.1.2.1.25.1.1
type: gauge
help: The amount of time since this host was last initialized - 1.3.6.1.2.1.25.1.1
oid: 1.3.6.1.4.1.12276.1.2.1.9.1.1.1
type: DisplayString
help: PSU name - 1.3.6.1.4.1.12276.1.2.1.9.1.1.1
indexes:
type: gauge
type: DisplayString
oid: 1.3.6.1.4.1.12276.1.2.1.9.1.1.2
type: DisplayString
help: Serial number of PSU - 1.3.6.1.4.1.12276.1.2.1.9.1.1.2
indexes:
type: gauge
type: DisplayString
oid: 1.3.6.1.4.1.12276.1.2.1.9.1.1.3
type: DisplayString
help: Part number of PSU - 1.3.6.1.4.1.12276.1.2.1.9.1.1.3
indexes:
type: gauge
type: DisplayString
oid: 1.3.6.1.4.1.12276.1.2.1.9.1.1.4
type: gauge
help: The current input to the power supply unit (PSU) in milliamperes (mA).
indexes:
type: gauge
type: DisplayString
oid: 1.3.6.1.4.1.12276.1.2.1.9.1.1.5
type: gauge
help: The current output from the power supply unit (PSU) in milliamperes (mA).
indexes:
type: gauge
type: DisplayString
oid: 1.3.6.1.4.1.12276.1.2.1.9.1.1.6
type: gauge
help: The voltage input to the power supply unit (PSU) in millivolts (mV). -
1.3.6.1.4.1.12276.1.2.1.9.1.1.6
indexes:
type: gauge
type: DisplayString
oid: 1.3.6.1.4.1.12276.1.2.1.9.1.1.7
type: gauge
help: The voltage output to the power supply unit (PSU) in millivolts (mV).
indexes:
type: gauge
type: DisplayString
oid: 1.3.6.1.4.1.12276.1.2.1.9.1.1.8
type: gauge
help: The first temperature sensor reading of the power supply unit (PSU) in
degrees Celsius. - 1.3.6.1.4.1.12276.1.2.1.9.1.1.8
indexes:
type: gauge
type: DisplayString
oid: 1.3.6.1.4.1.12276.1.2.1.9.1.1.9
type: gauge
help: The second temperature sensor reading of the power supply unit (PSU) in
degrees Celsius. - 1.3.6.1.4.1.12276.1.2.1.9.1.1.9
indexes:
type: gauge
type: DisplayString
oid: 1.3.6.1.4.1.12276.1.2.1.9.1.1.10
type: gauge
help: The third temperature sensor reading of the power supply unit (PSU) in
degrees Celsius. - 1.3.6.1.4.1.12276.1.2.1.9.1.1.10
indexes:
type: gauge
type: DisplayString
oid: 1.3.6.1.4.1.12276.1.2.1.9.1.1.11
type: gauge
help: The speed of the first fan in the power supply unit (PSU) in RPM (Revolutions
Per Minute). - 1.3.6.1.4.1.12276.1.2.1.9.1.1.11
indexes:
type: gauge
type: DisplayString
oid: 1.3.6.1.4.1.12276.1.2.1.9.1.1.12
type: gauge
help: The speed of the second fan in the power supply unit (PSU) in RPM (Revolutions
Per Minute). - 1.3.6.1.4.1.12276.1.2.1.9.1.1.12
indexes:
type: gauge
type: DisplayString
oid: 1.3.6.1.4.1.12276.1.2.1.9.1.1.13
type: gauge
help: The power input to the power supply unit (PSU) in milliwatts (mW). - 1.3.6.1.4.1.12276.1.2.1.9.1.1.13
indexes:
type: gauge
type: DisplayString
oid: 1.3.6.1.4.1.12276.1.2.1.9.1.1.14
type: gauge
help: The power output from the power supply unit (PSU) in milliwatts (mW).
indexes:
type: gauge
type: DisplayString
retries: 3
timeout: 5s
Could someone please help me why I am not receiving any output via curl command when I add "psuStatsTable" to the yml file.
SNMP Exporter version is 0.24.1
Thanks !!
Beta Was this translation helpful? Give feedback.
All reactions