/var/blog/messages Små skriverier, om dagligdags tanker jeg gør mig.

20/12/2011

Sorry QNAP – my bad

Filed under: In english,Nørderi — Uffe R. B. Andersen @ 23:31

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:

2 Comments »

  1. You are a gentleman Uffe.

    Kommentar by Mofling — 21/12/2011 @ 20:39

  2. And – I’m white & nerdy 😎

    Kommentar by Uffe R. B. Andersen — 22/12/2011 @ 9:40

RSS feed for comments on this post. TrackBack URL

Leave a comment

 

Powered by WordPress