I also noticed that snmp doesn't report Cache Memory. All my Linux boxes monitored by cacti using "Memory usage" graph (standard cacti graph) show Memory Free, Memory Buffers and Cache Memory. On NetBSD Cache memory is "-nan". I'll check which OIDs it is querying.
Regards,On 6 January 2013 00:08, Bartek Krawczyk <bbartlomiej.mail%gmail.com@localhost> wrote:
It seems it helped. Unfortunately I noticed that the patch is missing in pkgsrc 2012Q4 also. Too bad...
Net-snmp also has an issue with not reporting cpu usage correctly when using 2 cpus. It reports usage only for the first core. I had sent a PR about this one didn't have any reply yet.Regards,On 4 January 2013 20:38, Jean-Yves Moulin <jym%baaz.fr@localhost> wrote:
Same version (5.6.1.1) but I applied the pkgsrc patches before edit. The bufspace variable is added by patch-ah (so, you can also change the patch-ah before running it).
On 4 Jan 2013, at 19:34 , Bartek Krawczyk <bbartlomiej.mail%gmail.com@localhost> wrote:
> Which version of net-snmp do you use? I'm using the one from pkgsrc 2012Q3 (net-snmp-5.6.1.1) and my memory_netbsd.c file is a bit different I think. There is no bufspace variable in it. The bufspace variable is present in memory_freebsd.c
best,
jym--
Bartek Krawczyk
network and system administrator
--
Bartek Krawczyk
network and system administrator