Device Unknown & Graphs not showing up

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
spectre240sx
Posts: 8
Joined: Thu Jun 28, 2007 2:02 am

Device Unknown & Graphs not showing up

Post by spectre240sx »

I've got a cheap router that has SNMP v1 capability that is showing an unknown status and the graphs for it aren't showing up. I ran the command that one of the data sources shows in debug mode manually:

Code: Select all

/usr/bin/rrdtool create \
/usr/share/cacti/site/rra/gateway_errors_in_47.rrd \
--step 300  \
DS:discards_out:COUNTER:600:0:10000000 \
DS:discards_in:COUNTER:600:0:10000000 \
DS:errors_in:COUNTER:600:0:10000000 \
DS:errors_out:COUNTER:600:0:10000000 \
RRA:AVERAGE:0.5:1:600 \
RRA:AVERAGE:0.5:6:700 \
RRA:AVERAGE:0.5:24:775 \
RRA:AVERAGE:0.5:288:797 \
RRA:MAX:0.5:1:600 \
RRA:MAX:0.5:6:700 \
RRA:MAX:0.5:24:775 \
RRA:MAX:0.5:288:797 \
This got one of the graphs to show up, so whatever is causing the problem is happening before cacti would get to this point. Cacti is able to pull SNMP data from the device and the query "SNMP - Interface Statistics" returned "Success [33 Items, 6 Rows]". I can also perform a verbose query and I'm seeing all of the correct info returned.

This has really got me stumped. Any input would be appreciated. Thanks!
spectre240sx
Posts: 8
Joined: Thu Jun 28, 2007 2:02 am

Post by spectre240sx »

One other piece of information:
Under the "custom data" section of the data source for one of the graphs, I see "Data query data sources must be created through New Graphs." My other devices, which are graphing properly, have an index type and index specified here.

Also, the poller cache does not show this device, but the SNMP cache does.
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

How new are you with Cacti? Did you use the "Create Graphs" from the Device Edit page?

There is a methodology that should be followed for creating them. Maybe a look over the site docs.cacti.net is in store.

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?
spectre240sx
Posts: 8
Joined: Thu Jun 28, 2007 2:02 am

Post by spectre240sx »

I've been working with Cacti for a while and I'm fairly comfortable with setting up devices from existing templates. I created the graphs by going to the device's configuration page and hitting the "Create Graphs" link as you suggest.

Btw, I think I forgot to mention that I've got localhost and a wireless access point being graphed successfully right now.
spectre240sx
Posts: 8
Joined: Thu Jun 28, 2007 2:02 am

Post by spectre240sx »

I just wanted to report back on this. I've been seeing a lot of strange things going on with the router, so I'm thinking that the firmware is just hosed on it. I don't think it's a cacti issue.
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Good to know.

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?
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests