-
Notifications
You must be signed in to change notification settings - Fork 640
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug? in generator #273
Comments
That sounds like your device is not implementing the MIB correctly. What does snmpwalk show for the OID? |
Hi,
```
snmpwalk -v 1 -c public hostname 1.3.6.1.4.1.318.1.1.1.9.3.3.1.16
PowerNet-MIB::upsPhaseOutputPercentPower.1.1.1 = INTEGER: 39
PowerNet-MIB::upsPhaseOutputPercentPower.1.1.2 = INTEGER: 39
PowerNet-MIB::upsPhaseOutputPercentPower.1.1.3 = INTEGER: 37
oid version of result:
.1.3.6.1.4.1.318.1.1.1.9.3.3.1.16.1.1.1 = INTEGER: 40
.1.3.6.1.4.1.318.1.1.1.9.3.3.1.16.1.1.2 = INTEGER: 39
.1.3.6.1.4.1.318.1.1.1.9.3.3.1.16.1.1.3 = INTEGER: 38
```
```
snmpwalk -v 1 -c public hostname 1.3.6.1.4.1.318.1.1.1.9.3.3.1.16.1
PowerNet-MIB::upsPhaseOutputPercentPower.1.1.1 = INTEGER: 40
PowerNet-MIB::upsPhaseOutputPercentPower.1.1.2 = INTEGER: 38
PowerNet-MIB::upsPhaseOutputPercentPower.1.1.3 = INTEGER: 37
```
```
snmpwalk -v 1 -c public hostname 1.3.6.1.4.1.318.1.1.1.9.3.3.1.16.1.1
PowerNet-MIB::upsPhaseOutputPercentPower.1.1.1 = INTEGER: 40
PowerNet-MIB::upsPhaseOutputPercentPower.1.1.2 = INTEGER: 38
PowerNet-MIB::upsPhaseOutputPercentPower.1.1.3 = INTEGER: 37
```
The 3 walks return the same.. If you think this is a bug in MIB/Hardware, i can patch the MIB file.
…----- Mail original -----
De: "Brian Brazil" ***@***.***>
À: "prometheus/snmp_exporter" ***@***.***>
Cc: "nicolas gibelin" ***@***.***>, "Author" ***@***.***>
Envoyé: Mardi 13 Mars 2018 20:06:36
Objet: Re: [prometheus/snmp_exporter] Bug? in generator (#273)
That sounds like your device is not implementing the MIB correctly. What does
snmpwalk show for the OID?
--
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
#273 (comment)
--
--
Nicolas Gibelin
|
Yes, this is a bug in the hardware. That first 1 shouldn't be there. You should file a bug with your vendor. |
Thanks for the answer Regards. |
@nicolas-gibelin , did the vendor fix the bug? |
Hi, no, so i made a script to patch the file generated bu 'generator'
Nicolas Gibelin
…----- Mail original -----
De: "bissquit" ***@***.***>
À: "prometheus/snmp_exporter" ***@***.***>
Cc: "nicolas gibelin" ***@***.***>, "Mention" ***@***.***>
Envoyé: Jeudi 27 Février 2020 07:28:33
Objet: Re: [prometheus/snmp_exporter] Bug? in generator (#273)
@nicolas-gibelin , did the vendor fix the bug?
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
#273 (comment)
|
@nicolas-gibelin , what the vendor said about "device bug"? Did he confirm that? What was the reason not to fix a bug? Thank you! |
the vendor never answered. But it's probably really a bug because we bought it new devices with differents mibs and we had no issue with generator.
Best Regards.
Nico
Nicolas Gibelin
…----- Mail original -----
De: "bissquit" ***@***.***>
À: "prometheus/snmp_exporter" ***@***.***>
Cc: "nicolas gibelin" ***@***.***>, "Mention" ***@***.***>
Envoyé: Mardi 3 Mars 2020 08:57:14
Objet: Re: [prometheus/snmp_exporter] Bug? in generator (#273)
@nicolas-gibelin , what the vendor said about "device bug"? Did he confirm that?
What was the reason not to fix a bug? Thank you!
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
#273 (comment)
|
Infos
PowerNet-MIB
Then
gives
But the config does not work:
After some tests, config (snmp.yml) must be (see the oid):
And returns
But
Then
Gives
The text was updated successfully, but these errors were encountered: