Hi All, I am new to Cacti, and I was tasked with upgrading our old Cacti server. Since we didn't have that many devices (relatively speaking), I decided to create a completely new system to run concurrently with the old until I get the new system up and running.
Versions on new system:
AlmaLinux release 9.2
mysql Ver 15.1 Distrib 10.5.22-MariaDB, for Linux (x86_64)
PHP 8.0.30
Anything I am leaving out? Just let me know.
I ran into an issue I was hoping to get some guidance on. After entering all the devices, and verifying the system can poll information via SNMP, I proceeded to create the graphs. The issue I am running into is when I click on the Device drop down (navigate from the main menu --> Create --> New Graphs --> Device drop down), it only lists 30 devices, none of the other devices are listed.
Now If I go to (Management --> Devices) I can see all of my devices. Interestingly enough, the default view here only lists 30 devices per page. Related to the issue I am running into above?
As an aside, almost all of my graphs are not showing up, except one. I haven't looked into that yet, as I am trying to work out why the device list under New Graphs isn't fully populated.
The message in the graph placeholder for most devices is:
****************************************************
Failed to open data file, poller may not have run yet:
<device>.rrd
(RRA Folder: Root)
****************************************************
If I go to Console --> Configuration --> Settings --> Poller tab, I see it's running.
Any advice would be appreciated.
Best Regards
Mark
Devices are not showing up when I attempt to create graphs
Moderators: Developers, Moderators
Re: Devices are not showing up when I attempt to create graphs
check permission for directory cacti_path/rra. It must be writable for user which run poller.
Don't forget run poller in cron.
main menu --> Create --> New Graphs --> Device drop down - here is displayed first xx devices. But you can write text here to select another
Don't forget run poller in cron.
main menu --> Create --> New Graphs --> Device drop down - here is displayed first xx devices. But you can write text here to select another
Let the Cacti grow!
Re: Devices are not showing up when I attempt to create graphs
Thanks for the reply. I could not find the rra folder. I read somewhere that it isn't created until the poller runs, does that sound correct?
Regards
Regards
Re: Devices are not showing up when I attempt to create graphs
if you have at least one working graph, you have rra directory. Typically it is subdirectory in your cacti folder.
Let the Cacti grow!
Re: Devices are not showing up when I attempt to create graphs
Hi, thanks. I found the path and permission for the rra folder:
drwxrwxr-x. 2 apache apache 12288 Mar 11 11:57 rra
I also added a cron job for the poller:
*/5 * * * * root /usr/bin/php /var/www/html/cacti/cmd.php > /dev/null 2>&1
Does the above look correct?
I am still only seeing one graph out of all the graphs I have set up. The troubleshooting continues.
Best Regards
Mark
drwxrwxr-x. 2 apache apache 12288 Mar 11 11:57 rra
I also added a cron job for the poller:
*/5 * * * * root /usr/bin/php /var/www/html/cacti/cmd.php > /dev/null 2>&1
Does the above look correct?
I am still only seeing one graph out of all the graphs I have set up. The troubleshooting continues.
Best Regards
Mark
Re: Devices are not showing up when I attempt to create graphs
I just updated the cron job to reflect the following:
*/5 * * * * root /usr/bin/php /var/www/html/cacti/poller.php > /dev/null 2>&1
instead of cmd.php, I put poller.php.
I also ran the following command on one of the rrd files and can see the timestamp increasing over time:
rrdtool last <filename>.rrd
1710184215
run it again:
1710184515
I assume that is a good sign, but it still doesn't graph. Still reading through other posts with somewhat similar issues.
Getting there, I hope!
*/5 * * * * root /usr/bin/php /var/www/html/cacti/poller.php > /dev/null 2>&1
instead of cmd.php, I put poller.php.
I also ran the following command on one of the rrd files and can see the timestamp increasing over time:
rrdtool last <filename>.rrd
1710184215
run it again:
1710184515
I assume that is a good sign, but it still doesn't graph. Still reading through other posts with somewhat similar issues.
Getting there, I hope!
Re: Devices are not showing up when I attempt to create graphs
here is described installation process
https://docs.cacti.net/README.md#cacti-installation
https://docs.cacti.net/README.md#cacti-installation
Let the Cacti grow!
Who is online
Users browsing this forum: No registered users and 3 guests