poller not working

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

Moderators: Developers, Moderators

Post Reply
trini18
Posts: 7
Joined: Tue Oct 10, 2006 9:07 pm

poller not working

Post by trini18 »

I followed the install to a tee but the problem am facing is that nothing is polling

cacti log shows
CMDPHP: Poller[0] Host[2] DS[9] WARNING: Result from SNMP not valid. Partial Result:

graphs are there but it just shows nan

if i manually poll some graphs will poll but some don't?

running on fedora core 6

thanks
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

How familiar are you with Cacti? Are you familiar with net-snmp? Do you know what you are doing?

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
trini18
Posts: 7
Joined: Tue Oct 10, 2006 9:07 pm

Post by trini18 »

new to cacti...and no i don't know what am doing..thats why i posted
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

It's good to know that. Well, If you hunt down Gandolf. He has a whole book on Cacti stuff in his signature line.

As far as "snmp not responding". That can be for several of reasons. It could be that the OID does not exist of the agent (most likely), you dont have the correct community string (beginners issue), or the device is busy and could not respond in time, or there are problems in the network and either the request or response was lost.

The best thing to do to test is the following. Knowing the OID that Cacti is polling, you do the following:

snmpget -v <your_snmp_version> -c <your_snmp_community> <your_hostname> <your_oid>

If you get a response, then it might be a timeout. I suspect that one of the aforementioned problems relates to you.

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
trini18
Posts: 7
Joined: Tue Oct 10, 2006 9:07 pm

Post by trini18 »

I know snmp is working on my device becuase I monitor that device on a windows box...I ran snmpget and it did respond back...in cacti under devices it does show the snmp...it is able to ping the device becuase it says its up...the only problem is that cacti cant graph
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Goto Graph Management and Select the Graph of interest. Then from that interface, hit the Graph Debug link and post what it comes back with.

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
trini18
Posts: 7
Joined: Tue Oct 10, 2006 9:07 pm

Post by trini18 »

this is what it comes back with

RRDTool Command:

/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="1.1.1.1 (CORE-SW001) - Traffic - Gi0/1" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bits per second" \
--slope-mode \
DEF:a="/var/www/html/cacti/rra/1_1_1_1_core001_traffic_in_10.rrd":traffic_in:AVERAGE \
DEF:b="/var/www/html/cacti/rra/1_1_1_1_core001_traffic_in_10.rrd":traffic_out:AVERAGE \
CDEF:cdefa=a,8,* \
CDEF:cdefe=b,8,* \
AREA:cdefa#00CF00:"Inbound" \
GPRINT:cdefa:LAST:" Current\:%8.2lf%s" \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf%s" \
GPRINT:cdefa:MAX:"Maximum\:%8.2lf%s\n" \
LINE1:cdefe#002A97:"Outbound" \
GPRINT:cdefe:LAST:"Current\:%8.2lf%s" \
GPRINT:cdefe:AVERAGE:"Average\:%8.2lf%s" \
GPRINT:cdefe:MAX:"Maximum\:%8.2lf%s"


RRDTool Says:

OK
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

So, it's graphing fine. My guess that those warning were for this graph. No item to poll, all zero;s,

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
trini18
Posts: 7
Joined: Tue Oct 10, 2006 9:07 pm

Post by trini18 »

i've added another device and its doing the same thing
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Please follow advise of second link of my signature. Please respond to each of those steps
Reinhard
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests