Hello,

 

As you have a lot of Eaton UPS, do you also have a restart of the SNMP service every 6 hours ?

 

 

Best Regards

 

Thibault

 

De : observium <observium-bounces@observium.org> De la part de Mike Stupalov
Envoyé : jeudi 13 septembre 2018 10:40
À : Observium <observium@observium.org>
Objet : Re: [Observium] snmpget on multiple OID fails on Eaton UPS

 

We have ability set limit in os definition.
But I think limit to 3 Oids in one request will reduce polling time..

Tim, you sure that this device not have fixed (new) firmware?


Adam Armstrong wrote on 12/09/2018 19:34:

Lol, excellent behaviour.

There isn't any way of configuring this at the moment, since being able to snmpget more than one thing is something you should reasonably be able to expect any SNMP stack to handle.

Is this behaviour also apparent when using v2c?

Adam.

Sent from BlueMail

On 12 Sep 2018, at 17:17, Mailing Lists <lists@coop3r.com> wrote:

 

We have around 22 Eaton UPS devices currently monitored on Observium and I have been investigating today why about 25% of them refuse to return a syslocation.

 

It seems that the devices just don't reliably return snmpget when multiple OID are queried at once, at least for these objects.

 

Specifically, when taking the following command from the poller debug and running it manually:

 

/usr/bin/snmpget -t '4' -r '2' -v3 -l 'authPriv' -n '' -x 'DES' -X 'removed' -a 'MD5' -A 'removed' -u 'observium' -Pu -OQUs -m SNMPv2-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'device':'161' sysUpTime.0 sysLocation.0 sysContact.0 sysName.0

 

The request times out even when increasing the timeout.

 

When reducing the number of OID queried to 3 or less the device seems to respond:

 

/usr/bin/snmpget -t '4' -r '2' -v3 -l 'authPriv' -n '' -x 'DES' -X 'removed' -a 'MD5' -A 'removed' -u 'observium' -Pu -OQUs -m SNMPv2-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'device':'161' sysUpTime.0 sysLocation.0 sysContact.0

sysUpTime.0 = 0:0:31:01.19

sysLocation.0 = location

sysContact.0 = user@example.com

 

/usr/bin/snmpget -t '4' -r '2' -v3 -l 'authPriv' -n '' -x 'DES' -X 'removed' -a 'MD5' -A 'removed' -u 'observium' -Pu -OQUs -m SNMPv2-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'device':'161' sysLocation.0 sysContact.0 sysName.0

sysLocation.0 = location

sysContact.0 = user@example.com

sysName.0 = device

 

Is there a way to configure the behaviour to reduce the number of simultaneous OID requested to make this work reliably?



Thanks,

Tim C


 
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

 

--
Mike Stupalov
Observium Limited, http://observium.org