Cactid stoped creating new graph files.
Moderators: Developers, Moderators
Cactid stoped creating new graph files.
Since today morning cacti dont create new rra files
RRDTool Says:
ERROR: opening '/var/www/html/cacti/rra/pae_1115_traffic_in_1570.rrd': No such file or directory
what can it be?
P.S. using cactid & RRD 1.2.x, had no problems before, have 400 devices and 1600 graphs.
RRDTool Says:
ERROR: opening '/var/www/html/cacti/rra/pae_1115_traffic_in_1570.rrd': No such file or directory
what can it be?
P.S. using cactid & RRD 1.2.x, had no problems before, have 400 devices and 1600 graphs.
Last edited by 3AHO3A on Wed Oct 18, 2006 9:15 am, edited 1 time in total.
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Are existing graphs Ok. If so, you may have a permissions issue. Did you just upgrade?
TheWitness
TheWitness
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?
Existing graphs are working, no upgrades were made.
but i found this in logs
10/18/2006 11:55:03 AM - CACTID: Poller[0] ERROR: Problem with MySQL: 'Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)'
P.S. i can connect to mysql but i dont know what socket i am using ...
P.P.S wierd, i didnt change anything
but i found this in logs
10/18/2006 11:55:03 AM - CACTID: Poller[0] ERROR: Problem with MySQL: 'Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)'
P.S. i can connect to mysql but i dont know what socket i am using ...
P.P.S wierd, i didnt change anything
Last edited by 3AHO3A on Wed Oct 18, 2006 5:50 am, edited 1 time in total.
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Do you have enough MySQL connections. Cactid uses quite a few:
1 per thread
1 per process
1 per script server process
So, if you are running in the following mode:
Concurrent processes = 2
Threads per process = 20
Script Servers = 5
You get
2 + 20 + 20 + 5 + 5 Conections or 52.
TheWitness
1 per thread
1 per process
1 per script server process
So, if you are running in the following mode:
Concurrent processes = 2
Threads per process = 20
Script Servers = 5
You get
2 + 20 + 20 + 5 + 5 Conections or 52.
TheWitness
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?
i have:
Maximum Concurrent Poller Processes - 1
Maximum Threads per Process - 1
Number of PHP Script Servers - 1
Script and Script Server Timeout Value - 25
The Maximum SNMP OID's Per SNMP Get Request - 10
Any advices? cause i still dont know how to solver the problem.
P.S. have another MySQL base running on this server that supplies docsis internet
Maximum Concurrent Poller Processes - 1
Maximum Threads per Process - 1
Number of PHP Script Servers - 1
Script and Script Server Timeout Value - 25
The Maximum SNMP OID's Per SNMP Get Request - 10
Any advices? cause i still dont know how to solver the problem.
P.S. have another MySQL base running on this server that supplies docsis internet
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Turn logging to medium, open a shell, cd to the cactid binary directory and then run "./cactid" and see what happens.
You may have an issue with MySQL, but then no items would be updating. I'm afraid it makes no sense.
TheWitness
You may have an issue with MySQL, but then no items would be updating. I'm afraid it makes no sense.
TheWitness
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?
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Hmm, your issue is likely that you have too many files all over your disk and that rrdtool is taking too long because of disk i/o problems.
I plan on making a change to improve that performance 10 fold, but have thus far not received any incentive to do so. Maybe you can help?
TheWitness
I plan on making a change to improve that performance 10 fold, but have thus far not received any incentive to do so. Maybe you can help?
TheWitness
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?
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
I would add my poller interval patch and only update information every 10 minutes for just the modem's. That way you will only poll them every 10 minutes and you will spread the polling of them out over that period. It's hard to explain, but trust me.
TheWitness
TheWitness
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?
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Read the instructions carefully. You will need to create a 10 minute RRA and associate that RRA with some "New/Duplicated" template for your modems.
TheWitness
TheWitness
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?
I increased Maximum Threads per Process and it goes well without errors right now
Also i deleted half of all my graphs which i dont really need them
But my database is increasing
And I am still into helping, if it is needed
So waiting for instructions ;]
Also i deleted half of all my graphs which i dont really need them
But my database is increasing
And I am still into helping, if it is needed
So waiting for instructions ;]
Running cactid on P4 dual core 1024mb
Hosts: more than 400 graphs: more than 1500
Hosts: more than 400 graphs: more than 1500
Who is online
Users browsing this forum: No registered users and 0 guests