Sorry QNAP – my bad

For 1½ years I have been telling QNAP, that their interface counters were wrong, when queried with SNMP, at least on a TS-419P. It was off by strange factor, that didn’t really fit with anything.

Then today I noticed the command cmdwatch (watch in Linux) and I did a

cmdwatch -n5 snmpget -v 2c -c secretstring qnapnas IF-MIB::ifInOctets.4

Then I saw it, of course. The counter was fluxuating  up and down. Silly me. 😳 I had upgraded all my network equipment to gigabit speed, but I had missed the fact, that a 32 bit counter will wrap within the 5 minute intervals of MRTG querying.

So I had to Google how to query 64 bit counters in MRTG and it was pretty simple, just append :::::2 to the Target line.

I have written to QNAP support and offered them my apology :mrgreen:

Om Uffe R. B. Andersen

Uffes weblog
Dette indlæg blev udgivet i In english, Nørderi. Bogmærk permalinket.

2 Responses to Sorry QNAP – my bad

  1. Mofling skriver:

    You are a gentleman Uffe.

  2. And – I’m white & nerdy 😎

Skriv et svar

Din e-mailadresse vil ikke blive publiceret. Krævede felter er markeret med *

 

This site uses Akismet to reduce spam. Learn how your comment data is processed.