Using cacti version 1.2.28 on an Odroid-C4 running ubuntu-22.04-minimal to monitor a few devices on my home network. I was running a very early version (0.8.7g I think) until the Rasperry Pi that was hosting it died at the end of last year. I did try to update it to 1.2.12 a while ago but the Pi didn't meet the hardware requirements so it stayed on the very old version.
One thing I did do on the last version was to monitor the DSL speeds (up and down) AND the attainable speeds (up and down) on my Billion 8900X router, so I had four entries on my 'xDSL stats' graph.
When I had to replace the Pi (which was also my syslog server), I hastily build the Odroid-C4, installed and configured the syslog service and installed the latest cacti.
I was under time constraints as we were due to leave on a long trip, so just added a couple of my devices with basic graphing. I was struggling a bit with the "modern" interface (much preferred the old one) but managed to get the DSL stats (up and down) from my Billion router. This data doesn't appear in the "normal" interface list so has to be gathered via SNMP using a specific OID.
Fast forward a year and I thought I'd add the 'Attainable' (up and down) data rates to my xDSL Stats graph like I had using the old version.
I've been at this on and off for a few days and cannot find what I'm doing wrong or find a way to troubleshoot this. Guidance would be appreciated.
Now to my specific problem; when I create a data source, it is not being used; even though it is linked to a graph.
I've taken a few screen grabs so it might be easier if I talk at them.
01.png - Graph of my xDSL stats. This one has only 'Downstream and Upstream' data.
02.png - Graph template. All items have a CDEF of 'multiply by 1000' as Billion reports xDSL data rates in KBps.
03.png - This is the data source for the "BillionxDSLDown". This doesn't appear in the normal interface stats reported by snmp so I have to 'get' them individually by OID.
04.png - This is the data source I created for the Downstream Attainable. The first time I tried this, I 'duplicated' the
downstream data source and changed the names and OID. When it didn't work, I deleted it and created this one from scratch.
05.png - This is the edited graph template after I added a couple of items (to the bottom) to reference the new data source.
06.png - This is the resulting graph. Note that it seems to be using the Downstream data source instead of the Downstream Attainable data source.
07.png - The data templates after a few polls. Note that the 'Billion xDSL Downstream Attainable' data source is not being used.
08.png - Excerpt from the cacti log display. I logged in at around 1637hr and created the new data source and added it to the graph template prior to 1655hr. Note there is no change in the number of data sources or RRDs processed. A RRD file for the new data source has not been created in the /var/www/html/cacti/rra folder.
09.png - If I goto Console->Management->Devices and click on my 'Billion Router' device, I can see the graph templates toward the bottom. If I then click on 'edit' for the 'Billion xDSL Stats' graph, this comes up. The second column for the Data Source [BillionxDSLDownAtt] is blank (unlike the other two).
10.png - If I click 'unlock graph' in the top right corner, I get this. When I click the drop-down for Data Source [BillioncDSLDownAtt], I don't see anything there that relates to Downstream Attainable.
I've looked at the log in "detailed" mode but I don't see anything relating to my new datasource. It's as though it hasn't been created.
Any pointers you could provide would be very much appreciated. I don't have much hair but it is decreasing by the minute
It appears I can only attach 5 files so I'll have to follow up with the others.
Newly Created Data Source Not Being Used.
Moderators: Developers, Moderators
Newly Created Data Source Not Being Used.
- Attachments
-
- 05.png (118.7 KiB) Viewed 392 times
-
- 04.png (96.23 KiB) Viewed 392 times
-
- 03.png (92.45 KiB) Viewed 392 times
-
- 02.png (111.48 KiB) Viewed 392 times
-
- 01.png (34.47 KiB) Viewed 392 times
Re: Newly Created Data Source Not Being Used.
Here are the other files.
- Attachments
-
- 10.png (65.78 KiB) Viewed 391 times
-
- 09.png (82.01 KiB) Viewed 391 times
-
- 08.png (63.69 KiB) Viewed 391 times
-
- 07.png (56.29 KiB) Viewed 391 times
-
- 06.png (37.4 KiB) Viewed 391 times
- TheWitness
- Developer
- Posts: 17053
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: Newly Created Data Source Not Being Used.
Review the poller cache. Otherwise the post actually contained too much data. If the OID's are missing from the cache, see if the data source is orphaned. If it is, a reindex can fix it. Reindex the device using the verbose mode and review the output in detail.
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?
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?
Re: Newly Created Data Source Not Being Used.
Apologies for being verbose; I was trying to convey as much information as possible.
I'm not sure what you meant by "orphaned", but my new data source was not mentioned in the poller cache.
I re-indexed the device and got a "SNMP timeout" warning. I increased the SNMP timeout from 500mS to 1000mS and tried again.
I amongst the other messages, I got the following highlighted in orange:
I assumed this meant one of my ethernet interfaces had been identified by cacti as 64-bit when it wasn't, so I deleted the interface query and ethernet graph from the Billion device and tried again.
I am now getting the following:
If I wait a few polls and try the re-index again, I get the same error.
I have to attend to some errands this morning but I might try deleting, then adding the device again tonight when I return.
I'm not sure what you meant by "orphaned", but my new data source was not mentioned in the poller cache.
I re-indexed the device and got a "SNMP timeout" warning. I increased the SNMP timeout from 500mS to 1000mS and tried again.
I amongst the other messages, I got the following highlighted in orange:
Code: Select all
AUTOM8 WARNING: Automation Rule[Traffic 64 bit Server] for Device[Billion Router] - DQ[SNMP - Interface Statistics] includes a SQL column ifIP that is not found for the Device. Can not continue.
I am now getting the following:
Code: Select all
POLLER: Poller[Main Poller] PID[957691] WARNING: Detected process that is exited and did not unregister first! (reindex, master, 0, 957691)
I have to attend to some errands this morning but I might try deleting, then adding the device again tonight when I return.
Re: Newly Created Data Source Not Being Used.
Deleting the device and recreating it fixed the issue.
I can't find how to mark this topic as closed or solved. Is there a way to do this??
I can't find how to mark this topic as closed or solved. Is there a way to do this??
Who is online
Users browsing this forum: No registered users and 3 guests