Hi guys
I've just installed cacti .At first it was working fine but suddenly it stopped storing data, i'm quite sure it gets all data coz when I check it with realtime plugin it seems to be working
I just don't know where to look for it coz obviously it's connected to mysql and shows old datas and snmp is working fine.
here is screen shot of realtime plugin
cacti does not store data
Moderators: Developers, Moderators
Re: cacti does not store data
Did you check ownership of the rra directory?
- phalek
- Developer
- Posts: 2838
- Joined: Thu Jan 31, 2008 6:39 am
- Location: Kressbronn, Germany
- Contact:
Re: cacti does not store data
and also check:
- DiskSpace
- Size of the cacti.log file (/path/to/cacti/logs/cacti.log). If it's > 2Gb you may hav issues.
- DiskSpace
- Size of the cacti.log file (/path/to/cacti/logs/cacti.log). If it's > 2Gb you may hav issues.
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
Re: cacti does not store data
Thank you for your answers
cacti@CACTI:/usr/share/cacti/site$ ll
total 880
drwxr-xr-x 9 root root 4096 Feb 3 13:30 ./
drwxr-xr-x 7 root root 4096 Feb 8 14:57 ../
-rw-r--r-- 1 root root 5945 Aug 7 2013 about.php
-rw-r--r-- 1 root root 5348 Aug 7 2013 auth_changepassword.php
-rw-r--r-- 1 root root 14288 Aug 7 2013 auth_login.php
-rw-r--r-- 1 root root 21658 Aug 7 2013 cdef.php
-rw-r--r-- 1 root root 26620 Aug 7 2013 cmd.php
-rw-r--r-- 1 root root 6974 Aug 7 2013 color.php
-rw-r--r-- 1 root root 25068 Aug 7 2013 data_input.php
-rw-r--r-- 1 root root 35505 Aug 7 2013 data_queries.php
-rw-r--r-- 1 root root 60117 Aug 7 2013 data_sources.php
-rw-r--r-- 1 root root 32920 Aug 7 2013 data_templates.php
drwxr-xr-x 2 root root 4096 Feb 3 13:30 docs/
-rw-r--r-- 1 root root 6107 Aug 7 2013 gprint_presets.php
-rw-r--r-- 1 root root 3657 Aug 7 2013 graph_image.php
-rw-r--r-- 1 root root 13469 Aug 7 2013 graph.php
-rw-r--r-- 1 root root 9208 Aug 7 2013 graph_settings.php
-rw-r--r-- 1 root root 17426 Aug 7 2013 graphs_items.php
-rw-r--r-- 1 root root 40166 Aug 30 10:41 graphs_new.php
-rw-r--r-- 1 root root 60571 Aug 7 2013 graphs.php
-rw-r--r-- 1 root root 10006 Aug 7 2013 graph_templates_inputs.php
-rw-r--r-- 1 root root 18542 Aug 7 2013 graph_templates_items.php
-rw-r--r-- 1 root root 26703 Aug 7 2013 graph_templates.php
-rw-r--r-- 1 root root 40313 Aug 7 2013 graph_view.php
-rw-r--r-- 1 root root 6022 Aug 7 2013 graph_xport.php
-rw-r--r-- 1 root root 60226 Aug 30 10:41 host.php
-rw-r--r-- 1 root root 20031 Aug 7 2013 host_templates.php
drwxr-xr-x 2 root root 4096 Feb 3 13:30 images/
drwxr-xr-x 4 root root 4096 Feb 3 13:30 include/
-rw-r--r-- 1 root root 2313 Aug 7 2013 index.php
drwxr-xr-x 2 root root 4096 Feb 3 13:30 install/
drwxr-xr-x 2 root root 4096 Feb 3 13:30 lib/
-rw-r--r-- 1 root root 2838 Aug 7 2013 logout.php
drwxr-xr-x 3 root root 4096 Feb 8 14:52 plugins/
-rw-r--r-- 1 root root 27362 Aug 7 2013 plugins.php
-rw-r--r-- 1 root root 4310 Aug 7 2013 poller_commands.php
-rw-r--r-- 1 root root 2243 Aug 7 2013 poller_export.php
-rw-r--r-- 1 root root 18091 Aug 30 10:41 poller.php
lrwxrwxrwx 1 root root 11 Aug 30 10:41 resource -> ../resource/
-rw-r--r-- 1 root root 7394 Aug 7 2013 rra.php
drwxr-xr-x 2 root root 4096 Feb 8 14:15 scripts/
-rw-r--r-- 1 root root 10820 Aug 7 2013 script_server.php
-rw-r--r-- 1 root root 5761 Aug 7 2013 settings.php
-rw-r--r-- 1 root root 6345 Aug 7 2013 templates_export.php
-rw-r--r-- 1 root root 5835 Aug 7 2013 templates_import.php
-rw-r--r-- 1 root root 19529 Aug 7 2013 tree.php
-rw-r--r-- 1 root root 44997 Aug 7 2013 user_admin.php
-rw-r--r-- 1 root root 65635 Aug 7 2013 utilities.php
total 2.3M
drwxr-xr-x 2 www-data www-data 4.0K Feb 9 06:26 ./
drwxr-xr-x 14 root root 4.0K Feb 9 06:26 ../
-rw-r----- 1 www-data www-data 12K Feb 10 10:14 cacti.log
-rw-r----- 1 www-data www-data 5.9K Feb 9 06:25 cacti.log.1.gz
-rw-r----- 1 www-data www-data 2.1M Feb 9 12:45 poller-error.log
-rw-r----- 1 www-data www-data 178K Feb 9 06:25 poller-error.log.1.gz
-rw-r----- 1 www-data www-data 0 Feb 3 13:37 rrd.log
Is there any thing else that I should check in order to find out what the problem is
thanks
I haven't changed the ownership of directory and it's all belong to rootCybex wrote:Did you check ownership of the rra directory?
cacti@CACTI:/usr/share/cacti/site$ ll
total 880
drwxr-xr-x 9 root root 4096 Feb 3 13:30 ./
drwxr-xr-x 7 root root 4096 Feb 8 14:57 ../
-rw-r--r-- 1 root root 5945 Aug 7 2013 about.php
-rw-r--r-- 1 root root 5348 Aug 7 2013 auth_changepassword.php
-rw-r--r-- 1 root root 14288 Aug 7 2013 auth_login.php
-rw-r--r-- 1 root root 21658 Aug 7 2013 cdef.php
-rw-r--r-- 1 root root 26620 Aug 7 2013 cmd.php
-rw-r--r-- 1 root root 6974 Aug 7 2013 color.php
-rw-r--r-- 1 root root 25068 Aug 7 2013 data_input.php
-rw-r--r-- 1 root root 35505 Aug 7 2013 data_queries.php
-rw-r--r-- 1 root root 60117 Aug 7 2013 data_sources.php
-rw-r--r-- 1 root root 32920 Aug 7 2013 data_templates.php
drwxr-xr-x 2 root root 4096 Feb 3 13:30 docs/
-rw-r--r-- 1 root root 6107 Aug 7 2013 gprint_presets.php
-rw-r--r-- 1 root root 3657 Aug 7 2013 graph_image.php
-rw-r--r-- 1 root root 13469 Aug 7 2013 graph.php
-rw-r--r-- 1 root root 9208 Aug 7 2013 graph_settings.php
-rw-r--r-- 1 root root 17426 Aug 7 2013 graphs_items.php
-rw-r--r-- 1 root root 40166 Aug 30 10:41 graphs_new.php
-rw-r--r-- 1 root root 60571 Aug 7 2013 graphs.php
-rw-r--r-- 1 root root 10006 Aug 7 2013 graph_templates_inputs.php
-rw-r--r-- 1 root root 18542 Aug 7 2013 graph_templates_items.php
-rw-r--r-- 1 root root 26703 Aug 7 2013 graph_templates.php
-rw-r--r-- 1 root root 40313 Aug 7 2013 graph_view.php
-rw-r--r-- 1 root root 6022 Aug 7 2013 graph_xport.php
-rw-r--r-- 1 root root 60226 Aug 30 10:41 host.php
-rw-r--r-- 1 root root 20031 Aug 7 2013 host_templates.php
drwxr-xr-x 2 root root 4096 Feb 3 13:30 images/
drwxr-xr-x 4 root root 4096 Feb 3 13:30 include/
-rw-r--r-- 1 root root 2313 Aug 7 2013 index.php
drwxr-xr-x 2 root root 4096 Feb 3 13:30 install/
drwxr-xr-x 2 root root 4096 Feb 3 13:30 lib/
-rw-r--r-- 1 root root 2838 Aug 7 2013 logout.php
drwxr-xr-x 3 root root 4096 Feb 8 14:52 plugins/
-rw-r--r-- 1 root root 27362 Aug 7 2013 plugins.php
-rw-r--r-- 1 root root 4310 Aug 7 2013 poller_commands.php
-rw-r--r-- 1 root root 2243 Aug 7 2013 poller_export.php
-rw-r--r-- 1 root root 18091 Aug 30 10:41 poller.php
lrwxrwxrwx 1 root root 11 Aug 30 10:41 resource -> ../resource/
-rw-r--r-- 1 root root 7394 Aug 7 2013 rra.php
drwxr-xr-x 2 root root 4096 Feb 8 14:15 scripts/
-rw-r--r-- 1 root root 10820 Aug 7 2013 script_server.php
-rw-r--r-- 1 root root 5761 Aug 7 2013 settings.php
-rw-r--r-- 1 root root 6345 Aug 7 2013 templates_export.php
-rw-r--r-- 1 root root 5835 Aug 7 2013 templates_import.php
-rw-r--r-- 1 root root 19529 Aug 7 2013 tree.php
-rw-r--r-- 1 root root 44997 Aug 7 2013 user_admin.php
-rw-r--r-- 1 root root 65635 Aug 7 2013 utilities.php
cacti@CACTI:/var/log/cacti$ ll -hphalek wrote:and also check:
- DiskSpace
- Size of the cacti.log file (/path/to/cacti/logs/cacti.log). If it's > 2Gb you may hav issues.
total 2.3M
drwxr-xr-x 2 www-data www-data 4.0K Feb 9 06:26 ./
drwxr-xr-x 14 root root 4.0K Feb 9 06:26 ../
-rw-r----- 1 www-data www-data 12K Feb 10 10:14 cacti.log
-rw-r----- 1 www-data www-data 5.9K Feb 9 06:25 cacti.log.1.gz
-rw-r----- 1 www-data www-data 2.1M Feb 9 12:45 poller-error.log
-rw-r----- 1 www-data www-data 178K Feb 9 06:25 poller-error.log.1.gz
-rw-r----- 1 www-data www-data 0 Feb 3 13:37 rrd.log
Is there any thing else that I should check in order to find out what the problem is
thanks
Re: cacti does not store data
Please guys
I just need some clues
Thanks
I just need some clues
Thanks
- phalek
- Developer
- Posts: 2838
- Joined: Thu Jan 31, 2008 6:39 am
- Location: Kressbronn, Germany
- Contact:
Re: cacti does not store data
Try running the poller manually in verbose mode and check what it returns. Also increase the logging to high or debug and check what's in there.
Is the cronjob being executed ?
Is the cronjob being executed ?
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
Who is online
Users browsing this forum: No registered users and 6 guests