Thanks Adam. I thought I had submitted this patch a while back. Obviously not :)

Sent from Outlook




On Thu, Mar 5, 2015 at 4:44 PM -0800, "Adam Armstrong" <adama@memetic.org> wrote:

Fixed :)

adam.

On 06/03/2015 00:26:56, Milton Ngan <milton@valvesoftware.com> wrote:

Sorry, wrong OID. 

snmpwalk -c valvemon -v 2c pdu513.blv .1.3.6.1.4.1.1718.3.2.5.1.6
SNMPv2-SMI::enterprises.1718.3.2.5.1.6.1.1 = INTEGER: 705
SNMPv2-SMI::enterprises.1718.3.2.5.1.6.1.2 = INTEGER: 745
SNMPv2-SMI::enterprises.1718.3.2.5.1.6.2.1 = INTEGER: -1
SNMPv2-SMI::enterprises.1718.3.2.5.1.6.2.2 = INTEGER: -1

snmpwalk -c valvemon -v 2c pdu513.blv .1.3.6.1.4.1.1718.3.2.5.1.6.1
SNMPv2-SMI::enterprises.1718.3.2.5.1.6.1.1 = INTEGER: 705
SNMPv2-SMI::enterprises.1718.3.2.5.1.6.1.2 = INTEGER: 745


On Mar 5, 2015, at 4:22 PM, Milton Ngan <milton@valvesoftware.com> wrote:

Roberto is correct. If you have multiple linked units, then you need to base your walk one OID up, otherwise you only get the stats from the first PDU. 

snmpwalk -c valvemon -v 2c pdu001.sea .1.3.6.1.4.1.1718.3.2.2.1.7
SNMPv2-SMI::enterprises.1718.3.2.2.1.7.1.1 = INTEGER: 256
SNMPv2-SMI::enterprises.1718.3.2.2.1.7.2.1 = INTEGER: 309


On Mar 5, 2015, at 9:35 AM, Adam Armstrong <adama@memetic.org> wrote:

You might want to demonstrate why your change is correct with an snmpwalk or something :)

adam.

On 05/03/2015 17:51:36, Roberto Marcelo Terrabuio <mterra@sc.usp.br> wrote:

Hello,

I found a bug.
I do not know if this is the right place.
But found the wrong parameter in the discovery file.
The oid was with a "1." more.

File: /opt/observium/includes/discovery/sensors/sentry3-mib.inc.php

Line 91:
old=>  $oid        = '.1.3.6.1.4.1.1718.3.2.5.1.6.1.'.$index;
change=>  $oid        = '.1.3.6.1.4.1.1718.3.2.5.1.6.'.$index;
Line 117:
old=>  $oid        = '.1.3.6.1.4.1.1718.3.2.5.1.10.1.'.$index;
change=>  $oid        = '.1.3.6.1.4.1.1718.3.2.5.1.10.'.$index;

If the developers can fix would be great.

Roberto Marcelo Terrabuio
Analista da Seção de Inter-Nuvem
Tel.: (16) 3373-8817
http://www.cisc.usp.br/
Centro de Tecnologia da Informação - CeTI-SC
Universidade de São Paulo


De: "Milton Ngan" <milton@valvesoftware.com>
Para: "Observium Network Observation System" <observium@observium.org>
Enviadas: Quinta-feira, 5 de Março de 2015 14:16:50
Assunto: Re: [Observium] ServerTech Sentry PDUs

Server tech returns temperatures in 0.1 of a degree, so divide the values by 10. 

On Mar 5, 2015, at 8:48 AM, Roberto Marcelo Terrabuio <mterra@sc.usp.br> wrote:

Hello,

We have a PDU CS-24V4-P32MA - ServerTech.
The PDU tells us all the data, less temperature and humidity.
We have the sensor on the ruler and the web console just told us the correct data.
We consulted the snmp and it returns:
--------------
# snmpget -v2c -c Energia2 192.168.224.212 1.3.6.1.4.1.1718.3.2.5.1.6.1.1                  
SNMPv2-SMI::enterprises.1718.3.2.5.1.6.1.1 = INTEGER: 200 
--------------

The temperature was 20º C.

something to do?

Version: Observium Professional 0.15.1.6200

Thanks

Roberto Marcelo Terrabuio
Analista da Seção de Inter-Nuvem
Tel.: (16) 3373-8817
http://www.cisc.usp.br/
Centro de Tecnologia da Informação - CeTI-SC
Universidade de São Paulo

_______________________________________________
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

_______________________________________________
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