![](https://secure.gravatar.com/avatar/0fa97865a0e1ab36152b6b2299eedb49.jpg?s=120&d=mm&r=g)
Put the OID into the custom oid system.
We're not going to implement random filthy hacks like this, it's just counterproductive. This is what the customoid stuff is for.
adam. On 30/01/2017 15:54:17, Gumilar Siegfried siegfried.gumilar@stadtwerke-feldkirch.at wrote: I know exactly what you mean. This is just how I am using it right now J I know it is awkward, but it is sufficient for my needs. I can still get the necessary values out of the graph. It would just be temporarily until counters get implemented… Siegfried Von: observium [mailto:observium-bounces@observium.org] Im Auftrag von Adam Armstrong Gesendet: Montag, 30. Jänner 2017 14:48 An: Observium Network Observation System Betreff: Re: [Observium] HWg-PWR ability read kWh It wouldnt work how you are likely imagining it would work. A sensor is a gauge. It makes no sense to put a counter into a gauge, as all you get is a number which increases forever. Adam. Sent from BlueMail [http://www.bluemail.me/r] On 30 Jan 2017, at 13:07, Gumilar Siegfried <siegfried.gumilar@stadtwerke-feldkirch.at [mailto:siegfried.gumilar@stadtwerke-feldkirch.at]> wrote: I am aware that these are counters. But could you implement support for energy as a sensor until you have implemented code for counters? Right now I am using it like this on our old NMS which I want to fully replace with Observium. I only need the values at the beginning of each month and this is still achievable when using your sensor code. Siegfried Von: observium [mailto:observium-bounces@observium.org [mailto:observium-bounces@observium.org]] Im Auftrag von Adam Armstrong Gesendet: Dienstag, 24. Jänner 2017 16:57 An: Observium Network Observation System Betreff: Re: [Observium] HWg-PWR ability read kWh These aren't sensors, these are counters. They don't fit into the sensor infrastructure. Implementing them requires writing infrastructure for generic counters. Adam. Sent from BlueMail [http://www.bluemail.me/r] On 24 Jan 2017, at 15:54, Gumilar Siegfried <siegfried.gumilar@stadtwerke-feldkirch.at [mailto:siegfried.gumilar@stadtwerke-feldkirch.at]> wrote: Hello, I have added support for these devices: http://jira.observium.org/browse/OBSERVIUM-1945 [http://jira.observium.org/browse/OBSERVIUM-1945] Mike wanted to improve the code for the energy sensors, but I am also desperately waiting for them. Regards Von: observium [mailto:observium-bounces@observium.org [mailto:observium-bounces@observium.org]] Im Auftrag von chott@praha1.net [mailto:chott@praha1.net] Gesendet: Montag, 23. Jänner 2017 21:27 An: observium@observium.org [mailto:observium@observium.org] Betreff: [Observium] HWg-PWR ability read kWh Hello, can i read kWh from HWg-PWR device? i my case Observium read only Voltage, Current and Power (working fine) kWh - for me example OID .1.3.6.1.4.1.21796.4.6.1.3.1.6.2.2004 where .2004 is Total T1+T2 Wh .1.3.6.1.4.1.21796.4.6.1.3.1.6.2.2005 where .2005 is Tarif T1 Wh .1.3.6.1.4.1.21796.4.6.1.3.1.6.2.2006 where .2006 is Tarif T2 Wh like INTEGER: 7642425 Wh walk root@observium:/opt/observium# snmpwalk -v2c -c lsg <IP> .1.3.6.1.4.1.21796.4.6.1.3.1.6.2.2004 iso.3.6.1.4.1.21796.4.6.1.3.1.6.2.2004 = INTEGER: 7642425 Tomas Chott technický ředitel chott@praha1.net [mailto:chott@praha1.net] Phone: +420 245 004 005 Mobile: +420 733 123 135 Metropolitní síť Praha 1 z.s.p.o. Jindrisska 18 110 00 Praha 1 Czech Republic www.praha1.net [http://www.praha1.net] [http://www.facebook.com/praha1net]
observium mailing list observium@observium.org [mailto:observium@observium.org] http://postman.memetic.org/cgi-bin/mailman/listinfo/observium [http://postman.memetic.org/cgi-bin/mailman/listinfo/observium]
observium mailing list observium@observium.org [mailto:observium@observium.org] http://postman.memetic.org/cgi-bin/mailman/listinfo/observium [http://postman.memetic.org/cgi-bin/mailman/listinfo/observium]