Graphs deleted in every update (every 5 minutes)

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

Moderators: Developers, Moderators

Post Reply
aamantsios
Posts: 4
Joined: Tue Jun 28, 2011 5:06 am

Graphs deleted in every update (every 5 minutes)

Post by aamantsios »

Hello,
installed cacti 0.8.7g on a Centos machine.
Everything is working fine with lot of servers and devices.
The problem i have is that in every update (every 5 minutes) my graphs are deleted.
I check in the directory and they are not there.
They are recreated but they showing old values too.
So is there any way to only update the files and not delete them and create them again?
It's very annoying to see File Not Found all the time and wait the graphs to create again.

Thanks in advanced
Alex
noname
Cacti Guru User
Posts: 1566
Joined: Thu Aug 05, 2010 2:04 am
Location: Japan

Re: Graphs deleted in every update (every 5 minutes)

Post by noname »

Cacti never deletes RRD files by itself.
(RRDclean plugin can do that, but it not be scheduled regularly)

Does another scheduled task (such as backup) run?
Please check:
# crontab -l root
# crontab -l cactiuser (or else)
aamantsios
Posts: 4
Joined: Tue Jun 28, 2011 5:06 am

Re: Graphs deleted in every update (every 5 minutes)

Post by aamantsios »

[root@openfire ~]# crontab -u root -l
no crontab for root

Well i installed cacti with root so there is not cactiuser,cacti or anything else.
The other thing is that i've got mails in my system with the above error.


Subject: Cron <root@openfire> php /var/www/html/cacti/poller.php > /dev/null
Content-Type: text/plain; charset=UTF-8
Auto-Submitted: auto-generated
X-Cron-Env: <SHELL=/bin/bash>
X-Cron-Env: <PATH=/sbin:/bin:/usr/sbin:/usr/bin>
X-Cron-Env: <MAILTO=root>
X-Cron-Env: <HOME=/>
X-Cron-Env: <LOGNAME=root>
X-Cron-Env: <USER=root>

No log handling enabled - turning on stderr logging
snmp_build: unknown failure


You think this might be the problem?

Thanks
Alex
noname
Cacti Guru User
Posts: 1566
Joined: Thu Aug 05, 2010 2:04 am
Location: Japan

Re: Graphs deleted in every update (every 5 minutes)

Post by noname »

aamantsios wrote:[root@openfire ~]# crontab -u root -l
no crontab for root

Well i installed cacti with root so there is not cactiuser,cacti or anything else.
Mmm?
Then, what user runs poller?
aamantsios wrote:The other thing is that i've got mails in my system with the above error.

Subject: Cron <root@openfire> php /var/www/html/cacti/poller.php > /dev/null
- snip -
No log handling enabled - turning on stderr logging
snmp_build: unknown failure

You think this might be the problem?
That message seems to relate with spine.
- http://forums.cacti.net/viewtopic.php?f=21&t=39081
aamantsios
Posts: 4
Joined: Tue Jun 28, 2011 5:06 am

Re: Graphs deleted in every update (every 5 minutes)

Post by aamantsios »

But i don't use spine.
I use cmd.php
Can you tell me how to see which user runs poller?

Thanks
noname
Cacti Guru User
Posts: 1566
Joined: Thu Aug 05, 2010 2:04 am
Location: Japan

Re: Graphs deleted in every update (every 5 minutes)

Post by noname »

>> Can you tell me how to see which user runs poller?

What did you configure crontab when you have installed Cacti?
- Install and Configure Cacti (see step 7.)

Anyway,
if there is no "scheduled" task to delete your RRD files, I have no idea about this issue, sorry.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: Graphs deleted in every update (every 5 minutes)

Post by gandalf »

I know that "CacitEZ" includes some script to delete rrd files on a regular basis.
R.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest