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
On 30 Jan 2017, at 13:07, Gumilar Siegfried <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]
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
On 24 Jan 2017, at 15:54, Gumilar Siegfried <siegfried.gumilar@stadtwerke-feldkirch.at> wrote:
Hello,
I have added support for these devices:
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]
Im Auftrag von chott@praha1.net
Gesendet: Montag, 23. Jänner 2017 21:27
An: 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 chott@praha1.net |
Metropolitní síť Praha 1 z.s.p.o. |
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium