Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Thu Jul 18, 2019 10:58 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: No graphs
PostPosted: Wed Jan 16, 2019 6:25 am 
Offline

Joined: Mon Jan 14, 2019 2:54 am
Posts: 10
Hello.
I got fresh cacti 1.2.0 install on FreeBSD 11.2 from ports. But I can`t get any graphs.

My /etc/cron.d/cacti:
Code:
*/5 * * * *  /usr/local/bin/php /usr/local/share/cacti/poller.php > /dev/null 2>&1


Files and folders perm:
Code:
# ll
total 2444
-rw-r--r--  1 root   wheel  166049 Jan 15 18:50 CHANGELOG
-rw-r--r--  1 root   wheel   15141 Jan 15 18:50 LICENSE
-rw-r--r--  1 root   wheel    8034 Jan 15 18:50 README.md
-rw-r--r--  1 root   wheel    4341 Jan 15 18:50 about.php
-rw-r--r--  1 root   wheel   56513 Jan 15 18:50 aggregate_graphs.php
-rw-r--r--  1 root   wheel   18147 Jan 15 18:50 aggregate_items.php
-rw-r--r--  1 root   wheel   24127 Jan 15 18:50 aggregate_templates.php
-rw-r--r--  1 root   wheel   13637 Jan 15 18:50 auth_changepassword.php
-rw-r--r--  1 root   wheel   28543 Jan 15 18:50 auth_login.php
-rw-r--r--  1 root   wheel   18029 Jan 15 18:50 auth_profile.php
-rw-r--r--  1 root   wheel   22533 Jan 15 18:50 automation_devices.php
-rw-r--r--  1 root   wheel   36740 Jan 15 18:50 automation_graph_rules.php
-rw-r--r--  1 root   wheel   42673 Jan 15 18:50 automation_networks.php
-rw-r--r--  1 root   wheel   30251 Jan 15 18:50 automation_snmp.php
-rw-r--r--  1 root   wheel   18709 Jan 15 18:50 automation_templates.php
-rw-r--r--  1 root   wheel   38726 Jan 15 18:50 automation_tree_rules.php
-rw-r--r--  1 root   wheel    2958 Jan 15 18:50 boost_rrdupdate.php
drwxr-xr-x  6 cacti  wheel     512 Jan 15 19:00 cache/
-rw-r--r--  1 root   wheel  121218 Jan 15 18:50 cacti.sql
-rw-r--r--  1 root   wheel   29116 Jan 15 18:50 cdef.php
drwxr-xr-x  2 root   wheel    2048 Jan 15 19:00 cli/
-rw-r--r--  1 root   wheel    1934 Jan 15 18:50 clog.php
-rw-r--r--  1 root   wheel    1940 Jan 15 18:50 clog_user.php
-rw-r--r--  1 root   wheel   30603 Jan 15 18:50 cmd.php
-rw-r--r--  1 root   wheel    8837 Jan 15 18:50 cmd_realtime.php
-rw-r--r--  1 root   wheel   24323 Jan 15 18:50 color.php
-rw-r--r--  1 root   wheel   22119 Jan 15 18:50 color_templates.php
-rw-r--r--  1 root   wheel   13200 Jan 15 18:50 color_templates_items.php
-rw-r--r--  1 root   wheel   26269 Jan 15 18:50 data_debug.php
-rw-r--r--  1 root   wheel   34636 Jan 15 18:50 data_input.php
-rw-r--r--  1 root   wheel   49269 Jan 15 18:50 data_queries.php
-rw-r--r--  1 root   wheel   34361 Jan 15 18:50 data_source_profiles.php
-rw-r--r--  1 root   wheel   60941 Jan 15 18:50 data_sources.php
-rw-r--r--  1 root   wheel   41528 Jan 15 18:50 data_templates.php
drwxr-xr-x  3 root   wheel    4096 Jan 15 19:00 docs/
drwxr-xr-x  2 root   wheel     512 Jan 15 19:00 formats/
-rw-r--r--  1 root   wheel   14244 Jan 15 18:50 gprint_presets.php
-rw-r--r--  1 root   wheel   21318 Jan 15 18:50 graph.php
-rw-r--r--  1 root   wheel    5510 Jan 15 18:50 graph_image.php
-rw-r--r--  1 root   wheel    8884 Jan 15 18:50 graph_json.php
-rw-r--r--  1 root   wheel   13608 Jan 15 18:50 graph_realtime.php
-rw-r--r--  1 root   wheel   38068 Jan 15 18:50 graph_templates.php
-rw-r--r--  1 root   wheel    9521 Jan 15 18:50 graph_templates_inputs.php
-rw-r--r--  1 root   wheel   25486 Jan 15 18:50 graph_templates_items.php
-rw-r--r--  1 root   wheel   29600 Jan 15 18:50 graph_view.php
-rw-r--r--  1 root   wheel   11955 Jan 15 18:50 graph_xport.php
-rw-r--r--  1 root   wheel   81118 Jan 15 18:50 graphs.php
-rw-r--r--  1 root   wheel   24962 Jan 15 18:50 graphs_items.php
-rw-r--r--  1 root   wheel   31660 Jan 15 18:50 graphs_new.php
-rw-r--r--  1 root   wheel   60365 Jan 15 18:50 host.php
-rw-r--r--  1 root   wheel   30008 Jan 15 18:50 host_templates.php
drwxr-xr-x  2 root   wheel    3584 Jan 15 19:00 images/
drwxr-xr-x  8 root   wheel    1024 Jan 16 12:35 include/
-rw-r--r--  1 root   wheel    5554 Jan 15 18:50 index.php
drwxr-xr-x  4 root   wheel     512 Jan 15 19:00 install/
drwxr-xr-x  2 root   wheel    2048 Jan 15 19:00 lib/
-rw-r--r--  1 root   wheel    2933 Jan 15 18:50 link.php
-rw-r--r--  1 root   wheel   21909 Jan 15 18:50 links.php
drwxr-xr-x  4 root   wheel     512 Jan 15 19:00 locales/
drwxr-xr-x  2 cacti  www       512 Jan 16 13:42 log/
-rw-r--r--  1 root   wheel    4408 Jan 15 18:50 logout.php
-rw-r--r--  1 root   wheel   38211 Jan 15 18:50 managers.php
drwxr-xr-x  2 root   wheel     512 Jan 15 19:00 mibs/
-rw-r--r--  1 root   wheel    3241 Jan 15 18:50 permission_denied.php
drwxr-xr-x  2 root   wheel     512 Jan 15 19:00 plugins/
-rw-r--r--  1 root   wheel   24854 Jan 15 18:50 plugins.php
-rw-r--r--  1 root   wheel   30536 Jan 15 18:50 poller.php
-rw-r--r--  1 root   wheel   36126 Jan 15 18:50 poller_automation.php
-rw-r--r--  1 root   wheel   14607 Jan 15 18:50 poller_boost.php
-rw-r--r--  1 root   wheel    6835 Jan 15 18:50 poller_commands.php
-rw-r--r--  1 root   wheel    7874 Jan 15 18:50 poller_dsstats.php
-rw-r--r--  1 root   wheel   18439 Jan 15 18:50 poller_maintenance.php
-rw-r--r--  1 root   wheel    9750 Jan 15 18:50 poller_realtime.php
-rw-r--r--  1 root   wheel    8737 Jan 15 18:50 poller_recovery.php
-rw-r--r--  1 root   wheel    5284 Jan 15 18:50 poller_reports.php
-rw-r--r--  1 root   wheel    6919 Jan 15 18:50 poller_spikekill.php
-rw-r--r--  1 root   wheel   33544 Jan 15 18:50 pollers.php
-rw-r--r--  1 root   wheel   14235 Jan 15 18:50 remote_agent.php
-rw-r--r--  1 root   wheel    3279 Jan 15 18:50 reports_admin.php
-rw-r--r--  1 root   wheel    3180 Jan 15 18:50 reports_user.php
drwxr-xr-x  5 root   wheel     512 Jan 15 19:00 resource/
-rw-r--r--  1 root   wheel   19216 Jan 15 18:50 rrdcleaner.php
-rw-r--r--  1 root   wheel   10776 Jan 15 18:50 script_server.php
drwxr-xr-x  2 www    www      1536 Jan 16 13:30 scripts/
-rw-r--r--  1 root   wheel   37032 Jan 15 18:50 settings.php
-rw-r--r--  1 root   wheel   18769 Jan 15 18:50 sites.php
-rw-r--r--  1 root   wheel    2416 Jan 15 18:50 snmpagent_mibcache.php
-rw-r--r--  1 root   wheel    3728 Jan 15 18:50 snmpagent_mibcachechild.php
-rw-r--r--  1 root   wheel    5510 Jan 15 18:50 snmpagent_persist.php
-rw-r--r--  1 root   wheel    3969 Jan 15 18:50 spikekill.php
-rw-r--r--  1 root   wheel    6468 Jan 15 18:50 templates_export.php
-rw-r--r--  1 root   wheel    5809 Jan 15 18:50 templates_import.php
-rw-r--r--  1 root   wheel   63140 Jan 15 18:50 tree.php
-rw-r--r--  1 root   wheel  101842 Jan 15 18:50 user_admin.php
-rw-r--r--  1 root   wheel   29701 Jan 15 18:50 user_domains.php
-rw-r--r--  1 root   wheel   87606 Jan 15 18:50 user_group_admin.php
-rw-r--r--  1 root   wheel   92463 Jan 15 18:50 utilities.php
-rw-r--r--  1 root   wheel   28815 Jan 15 18:50 vdef.php


Data collector from webui:
Image

And last log from webui:
Code:
2019/01/16 14:34:07 - AUTOM8 NOTE: Graph Added - Device[Cisco], Graph[Cisco - CPU Usage], DS[Cisco - 5 Minute CPU] Graphs[Cisco - CPU Usage]
2019/01/16 14:34:07 - REINDEX WARNING: Sort Field has Changed for Device[Cisco] and DQ[SNMP - Interface Statistics]. Old Sort:, New Sort:ifName. Re-mapping issues may occur!
2019/01/16 14:30:46 - INSTALL: always: Installation was started at 2019-01-16 12:30:25, completed at 2019-01-16 12:30:46


Top
 Profile  
 
 Post subject: Re: No graphs
PostPosted: Wed Jan 16, 2019 7:07 am 
Offline
Cacti Guru User

Joined: Sun Aug 27, 2017 12:05 am
Posts: 2596
From what I can see, your cron.d/cacti file is missing the username between the last * and the php command.

_________________
Official Cacti Developer

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation

My resources:
How to submit Pull Requests
Development Wiki and How To's
Updated NetSNMP Memory template for Cacti 1.x
Cisco SFP template for Cacti 0.8.8


Top
 Profile  
 
 Post subject: Re: No graphs
PostPosted: Wed Jan 16, 2019 8:13 am 
Offline

Joined: Mon Jan 14, 2019 2:54 am
Posts: 10
netniV wrote:
From what I can see, your cron.d/cacti file is missing the username between the last * and the php command.

Yes, I make it works, but another problem is that I have zero graphs. But, when I click on Real time graph, I got correct counters.


Top
 Profile  
 
 Post subject: Re: No graphs
PostPosted: Wed Jan 16, 2019 8:19 am 
Offline

Joined: Mon Jan 14, 2019 2:54 am
Posts: 10
Changes I made:
change poller to spine and set Poller Interval - 1 minute and Cron Interval - 1 minute.
And log looks like:
https://pastebin.com/6PuDtGh4


Top
 Profile  
 
 Post subject: Re: No graphs
PostPosted: Wed Jan 16, 2019 8:06 pm 
Offline
Cacti Pro User
User avatar

Joined: Mon Jan 05, 2015 10:10 am
Posts: 792
Too much noise. Put it in low first.

_________________
Before history, there was a paradise, now dust.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group