Skip to main content
Solved

UNKNOWN: SNMP Table Request: Timeout qnap

  • October 20, 2023
  • 5 replies
  • 1761 views

Forum|alt.badge.img+5

Hi,

in order to monitor volumes IN QNAP, 

 /usr/lib/centreon/plugins//centreon_qnap.pl --plugin=storage::qnap::snmp::plugin --mode=volumes --hostname='192.168.1.1' --snmp-version='1' --snmp-community='public'  --filter-name='' --warning-space-usage='' --critical-space-usage='' --warning-space-usage-free='' --critical-space-usage-free='' --warning-space-usage-prct='' --critical-space-usage-prct='' --warning-volume-status='%{status} =~ /degraded|warning/i' --critical-volume-status='%{status} =~ /critical/i' --snmp-autoreduce  --verbose

 

but i get this error: 

UNKNOWN: SNMP Table Request: Timeout

i tryed to add this option but i got this same error : --snmp-timeout='60'

 

Best answer by m.lazar

I successfully addressed the issue by incorporating these options: --snmp-timeout='10' and --force-counters-legacy.

5 replies

lpinsivy
Centreonian
Forum|alt.badge.img+21
  • Centreonian
  • October 23, 2023

HI @m.lazar do you have network equipment such as firewall can block SNMP on port UPD/161 between your Centreon server and your QNAP?


Forum|alt.badge.img+5
  • Author
  • Steward **
  • October 23, 2023

Hi @Laurent , thank you for your feedback,

Yes, I have a firewall in place. However, I can still access other servers on the SNMP port without any issues.

I was able to monitor the QNAP  until I performed the upgrade.


lpinsivy
Centreonian
Forum|alt.badge.img+21
  • Centreonian
  • October 24, 2023

can you try to use: --snmp-autoreduce


Forum|alt.badge.img+5
  • Author
  • Steward **
  • October 25, 2023

i use it but it didn’t work


Forum|alt.badge.img+5
  • Author
  • Steward **
  • Answer
  • December 14, 2023

I successfully addressed the issue by incorporating these options: --snmp-timeout='10' and --force-counters-legacy.