Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


memTotalxxx and memAvailxxx problem

 
Post new topic   Reply to topic    Cacti Forum Index -> Help: Linux/Unix Specific
Author Message
kasimong



Joined: 02 Oct 2007
Posts: 35
Location: Bremerhaven,Bremen,Germany

PostPosted: Wed Jul 23, 2008 10:16 am    Post subject: memTotalxxx and memAvailxxx problem Reply with quote

hi,
my ucd 10 Memory and ucd 11 swap graphs shows not the right memory usage.
for my linux and solaris server
cacti snmp is ok
UCD-SNMP-MIB::memTotalReal.0 = INTEGER: 32457808
UCD-SNMP-MIB::memAvailReal.0 = INTEGER: 966360
UCD-SNMP-MIB::memTotalSwap.0 = INTEGER: 40162460
UCD-SNMP-MIB::memAvailSwap.0 = INTEGER: 37356176

any ideas

Wolfgang



swap.png
 Description:
 Filesize:  25.65 KB
 Viewed:  433 Time(s)

swap.png



mem2.png
 Description:
 Filesize:  52.2 KB
 Viewed:  433 Time(s)

mem2.png



mem.png
 Description:
 Filesize:  39.79 KB
 Viewed:  433 Time(s)

mem.png


Back to top
TheWitness
Developer


Joined: 14 May 2002
Posts: 9723
Location: MI, USA

PostPosted: Thu Jul 24, 2008 11:44 pm    Post subject: Reply with quote

Likely a CDEF issue on the Area/Stack element.

TheWitness
Back to top
kasimong



Joined: 02 Oct 2007
Posts: 35
Location: Bremerhaven,Bremen,Germany

PostPosted: Mon Jul 28, 2008 3:45 am    Post subject: Reply with quote

Ok,
i have reimport the "UNIX Template Set for Cacti: HP-UX, Solaris, Linux"
the swap graph is ok but not the memory
here the output from cacti:
07/28/2008 10:30:02 AM - CMDPHP: Poller[0] Host[4] DS[77] SNMP: v2: xxx, dsname: ucd_memTotalReal, oid: .1.3.6.1.4.1.2021.4.5.0, output: 8257080
07/28/2008 10:30:02 AM - CMDPHP: Poller[0] Host[4] DS[76] SNMP: v2: xxx, dsname: ucd_memAvailReal, oid: .1.3.6.1.4.1.2021.4.6.0, output: 6949760

and here from snmpget
UCD-SNMP-MIB::memTotalReal.0 = INTEGER: 8257080
UCD-SNMP-MIB::memAvailReal.0 = INTEGER: 701204
the memAvailReal in cacti is wrong but the oid is correct
kasimong


Last edited by kasimong on Mon Jul 28, 2008 6:27 am; edited 1 time in total
Back to top
TheWitness
Developer


Joined: 14 May 2002
Posts: 9723
Location: MI, USA

PostPosted: Mon Jul 28, 2008 6:03 am    Post subject: Reply with quote

The graph template is incorrect. Please goto http://www.rrdtool.org and become familiar with RRDtool syntax. Then "audit" the graph template to verify the correct CDEF's are used. I am afraid, I can't say more.

TheWitness
Back to top
kasimong



Joined: 02 Oct 2007
Posts: 35
Location: Bremerhaven,Bremen,Germany

PostPosted: Mon Jul 28, 2008 6:31 am    Post subject: Reply with quote

kasimong wrote:

07/28/2008 10:30:02 AM - CMDPHP: Poller[0] Host[4] DS[76] SNMP: v2: xxx, dsname: ucd_memAvailReal, oid: .1.3.6.1.4.1.2021.4.6.0, output: 6949760
from snmpget
UCD-SNMP-MIB::memAvailReal.0 = INTEGER: 701204

swap is it ok.
look up the quote

kasimong
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Help: Linux/Unix Specific All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group