Cacti graph not working

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
puspharaj
Posts: 7
Joined: Sun May 13, 2012 8:14 am

Cacti graph not working

Post by puspharaj »

Hi There,

I've been started to using Cacti for 3 months and found my ucd/net CPU usage and ucd/net Memory graph is working with my two server and not working for several servers.

The working servers are fine with CPU and Memory usage grpahs , On the not working side i have seen nan values in my graph

Some one please pin point where could be the problem

thanks
Puspharaj
Attachments
on another server
on another server
ad1.PNG (56.7 KiB) Viewed 2662 times
working server
working server
web1.PNG (57.7 KiB) Viewed 2662 times
puspharaj
Posts: 7
Joined: Sun May 13, 2012 8:14 am

Re: Cacti graph not working

Post by puspharaj »

Mr.Gandalf,

Please help me out i dont have a clue what went wrong. These servers are my productions servers and i need it to get it done by this week for my critical application launch monitoring.

My cacti log indicates nothing went wrong.

How do i check it manually is that the graph working fine or not ?

Thanks
Puspharaj
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: Cacti graph not working

Post by gandalf »

I fear that you're using the localhost templates. Please use the ucd/net-snmp templates for remote hosts
R.
puspharaj
Posts: 7
Joined: Sun May 13, 2012 8:14 am

Re: Cacti graph not working

Post by puspharaj »

Please take a look at the screen shot
Attachments
Please take a look at the screen shot
Please take a look at the screen shot
prod_search.PNG (93.58 KiB) Viewed 2645 times
puspharaj
Posts: 7
Joined: Sun May 13, 2012 8:14 am

Re: Cacti graph not working

Post by puspharaj »

BUMP any one please !!
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: Cacti graph not working

Post by gandalf »

Then, please see 2nd link of my sig for debugging
R.
puspharaj
Posts: 7
Joined: Sun May 13, 2012 8:14 am

Re: Cacti graph not working

Post by puspharaj »

Gandalf,

I tried to manually fetch the snmp for the ucd/net snmp memory usage

The ouput nothing showed

Here is the log file

05/24/2012 05:05:02 AM - CMDPHP: Poller[0] Host[8] DS[456] WARNING: Result from SNMP not valid. Partial Result: U
05/24/2012 05:05:02 AM - CMDPHP: Poller[0] WARNING: SNMP Get Timeout for Host:'10.172.93.207', and OID:'.1.3.6.1.4.1.2021.4.14.0'
05/24/2012 05:05:02 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/rra/localhost_mem_swap_34.rrd --template mem_swap 1337861101:524280
05/24/2012 05:05:02 AM - CMDPHP: Poller[0] Host[8] DS[457] SNMP: v1: 10.172.93.207, dsname: mem_cache, oid: .1.3.6.1.4.1.2021.4.15.0, output: U
05/24/2012 05:05:02 AM - CMDPHP: Poller[0] Host[8] DS[457] WARNING: Result from SNMP not valid. Partial Result: U
05/24/2012 05:05:02 AM - CMDPHP: Poller[0] WARNING: SNMP Get Timeout for Host:'10.172.93.207', and OID:'.1.3.6.1.4.1.2021.4.15.0'
05/24/2012 05:05:02 AM - CMDPHP: Poller[0] Host[8] DS[458] SNMP: v1: 10.172.93.207, dsname: mem_free, oid: .1.3.6.1.4.1.2021.4.6.0, output: U
05/24/2012 05:05:02 AM - CMDPHP: Poller[0] Host[8] DS[458] WARNING: Result from SNMP not valid. Partial Result: U
05/24/2012 05:05:02 AM - CMDPHP: Poller[0] WARNING: SNMP Get Timeout for Host:'10.172.93.207', and OID:'.1.3.6.1.4.1.2021.4.6.0'

Thanks
Puspharaj
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: Cacti graph not working

Post by gandalf »

puspharaj wrote:Gandalf,

I tried to manually fetch the snmp for the ucd/net snmp memory usage

The ouput nothing showed
In case snmpget does work, Cacti won't work either. Please solve the SNMP issue (e.g. by configuring the target client) before retrying
R.
puspharaj
Posts: 7
Joined: Sun May 13, 2012 8:14 am

Re: Cacti graph not working

Post by puspharaj »

Gandalf,

The snmp failiure is only for the particular OID not for the entire client machine. I got few other grpahs working fine on that machine
From my server i issue this

snmpwalk -v 1 c secret remote_ip .1.3.6.1.4.1.2021.4.14.0

It returns END of MIB or something

thanks
Puspharaj
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: Cacti graph not working

Post by gandalf »

puspharaj wrote:Gandalf,

The snmp failiure is only for the particular OID not for the entire client machine. I got few other grpahs working fine on that machine
From my server i issue this

snmpwalk -v 1 c secret remote_ip .1.3.6.1.4.1.2021.4.14.0

It returns END of MIB or something

thanks
Puspharaj
Again, that is an SNMP error. The SNMPGET must return a valid number to be graphed. This is NOT a cacti issue
R.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest