SNMPv3 SHA/AES often returns unknown

All questions related to installations, configurations and maintenance of Advanced Host Monitor (including additional tools such as RMA for Windows, RMA Manager, Web Servie, RCC).
Post Reply
RogerSpraggon
Posts: 65
Joined: Mon Mar 19, 2012 11:51 pm

SNMPv3 SHA/AES often returns unknown

Post by RogerSpraggon »

We have a number of HM tests we use to check the input voltage and battery remaining time on APC/Schneider UPS'.
Recently we have found we are getting a lot of unknown/timeout responses on these tests and have not been able to work out why.
We use a SNMPv3 connection credential with SHA/AES security and have been doing so for a few years.
When we started to get lots of unknown/timeout responses we set up as a test a new SNMPv3 connection credential on HM (and the UPS) using MD5/DES and we are getting much more reliable test responses now.
Anyone else have this issue or got any clues as to why?
KS-Soft
Posts: 12863
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Re: SNMPv3 SHA/AES often returns unknown

Post by KS-Soft »

HostMonitor version?
Timeout? Have you tried to increase it?

Regards
Alex
RogerSpraggon
Posts: 65
Joined: Mon Mar 19, 2012 11:51 pm

Re: SNMPv3 SHA/AES often returns unknown

Post by RogerSpraggon »

HM 14.54
I've increased timeout to 10,000ms and still get the issue
RogerSpraggon
Posts: 65
Joined: Mon Mar 19, 2012 11:51 pm

Re: SNMPv3 SHA/AES often returns unknown

Post by RogerSpraggon »

The timeout mainly happens in the "Time Remaining" test, the voltage test only fails occasionally
KS-Soft
Posts: 12863
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Re: SNMPv3 SHA/AES often returns unknown

Post by KS-Soft »

Could you try to add 1 line into hostmon.ini file and restart HostMonitor?
[Misc] section
snmpv3UseCache=0

Or try to increase Retries value.
Probably this solution is better, it will not affect all SNMP related tests, just will retry requests to this "bad' device.

Regards
Alex
RogerSpraggon
Posts: 65
Joined: Mon Mar 19, 2012 11:51 pm

Re: SNMPv3 SHA/AES often returns unknown

Post by RogerSpraggon »

I changed the retry to 10 and still get timeouts.
I've looked everywhere and can't find hostmon.ini.
I did read where someone was having similar issue with RMA and added that line to the rma.ini file. I didn't think it would work for me but I tried and it didn't so I removed again.
RogerSpraggon
Posts: 65
Joined: Mon Mar 19, 2012 11:51 pm

Re: SNMPv3 SHA/AES often returns unknown

Post by RogerSpraggon »

If it works it gets a successful reply virtually immediately, if it doesn't work it doesn't seem to matter how big you make the timeout or the number of retries
KS-Soft
Posts: 12863
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Re: SNMPv3 SHA/AES often returns unknown

Post by KS-Soft »

Test performed by HostMonitor or RMA?
HostMonitor? Modify hostmon.ini
RMA? Modify rma.ini
RMA version? Some people mixing modules from different versions..

If this does not help, I would suggest to contact manufacturer of the device

Regards
Alex
KS-Soft
Posts: 12863
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Re: SNMPv3 SHA/AES often returns unknown

Post by KS-Soft »

I've looked everywhere and can't find hostmon.ini
If we are talking about HostMonitor (not RMA), then file located in "data" folder. Default location C:\ProgramData\HostMonitor\ but you could choose different location during HostMonitor installation

Regards
Alex
RogerSpraggon
Posts: 65
Joined: Mon Mar 19, 2012 11:51 pm

Re: SNMPv3 SHA/AES often returns unknown

Post by RogerSpraggon »

Thank you; hotmon.ini was where you indicated, I added "snmpv3UseCache=0" and tests now appear to be working
KS-Soft
Posts: 12863
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Re: SNMPv3 SHA/AES often returns unknown

Post by KS-Soft »

We made some SNMP related changes in version 14.80 (Beta should be available later in the week), probably this will help so after update you may try to enable cache again

Regards
Alex
Post Reply