[SOLVED] no rrd files being generated
Moderators: Developers, Moderators
[SOLVED] no rrd files being generated
Hi @ll,
as im about to cut my server into pieces i will try this way before
Yesterday i've installed rrdtool and cacti 0.8.6i.
First everythings seems to work fine. But there are nor graphs at all. As i've figured out, cacti doesnt generate any rrd files in the rra directory.
As cacti is running under the apache user i've tried to generate an rrd file over cli under the apache user, which works fine.
Now, about 10 hours later, i really ran out of ideas. Nothing of the threads in this forum and nothing of the ideas google brought out seems to work.
Poll.php seems to work fine but didn't seem to update anything. Ive removed the -q and ran it over cli but it returned nothing.
Even an hand created rrd in the right directory won't be updated.
The cacti log level is on HIGH. But the log remains empty. If i turn loglevel to DEBUG i see all the sql queries but nothing more - no errors or warnings at all! Even if i remove a device and add it again and ran poll.php after that the log remains empty.
I'm not really sure but i think even in syslog there is nothing to see.
So after im sure snmpd is working right (MRTG is working really fine on the very same machine) and rrdtool is working (as said before im able to execute the rrdt commands, cacti shows me successfully) what can i do to make cacti realizing i like it to work even on my little machine? kneefalls doesn't help - i've tried so believe me
Im working on Debian Sarge with rrdtool 1.0.49, net-smnp 5.1.2. Both are from stable. Cacti is from the cacti website.
Any more informations i can provide?
The "NaN Debugging" howto doesn't help me 'cause there is no graph at all.
The Apache user is able to create files. I've tried to generate an upload from typo3 backend which worked fine. Even thoug apache is able to write in cactis' /log/ directory, which has the same permissions as the /rra/ directory.
I will be really pleased if someone can point me to the right direction.
as im about to cut my server into pieces i will try this way before
Yesterday i've installed rrdtool and cacti 0.8.6i.
First everythings seems to work fine. But there are nor graphs at all. As i've figured out, cacti doesnt generate any rrd files in the rra directory.
As cacti is running under the apache user i've tried to generate an rrd file over cli under the apache user, which works fine.
Now, about 10 hours later, i really ran out of ideas. Nothing of the threads in this forum and nothing of the ideas google brought out seems to work.
Poll.php seems to work fine but didn't seem to update anything. Ive removed the -q and ran it over cli but it returned nothing.
Even an hand created rrd in the right directory won't be updated.
The cacti log level is on HIGH. But the log remains empty. If i turn loglevel to DEBUG i see all the sql queries but nothing more - no errors or warnings at all! Even if i remove a device and add it again and ran poll.php after that the log remains empty.
I'm not really sure but i think even in syslog there is nothing to see.
So after im sure snmpd is working right (MRTG is working really fine on the very same machine) and rrdtool is working (as said before im able to execute the rrdt commands, cacti shows me successfully) what can i do to make cacti realizing i like it to work even on my little machine? kneefalls doesn't help - i've tried so believe me
Im working on Debian Sarge with rrdtool 1.0.49, net-smnp 5.1.2. Both are from stable. Cacti is from the cacti website.
Any more informations i can provide?
The "NaN Debugging" howto doesn't help me 'cause there is no graph at all.
The Apache user is able to create files. I've tried to generate an upload from typo3 backend which worked fine. Even thoug apache is able to write in cactis' /log/ directory, which has the same permissions as the /rra/ directory.
I will be really pleased if someone can point me to the right direction.
Last edited by Andy1972 on Sun Oct 22, 2006 7:21 am, edited 1 time in total.
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
1) Have you added snmp devices and created graphs?
2) have your run "php cmd.php" in MEDIUM yet?
3) set your poller to cmd.php and run "php poller.php".
Post the output of all steps.
TheWitness
2) have your run "php cmd.php" in MEDIUM yet?
3) set your poller to cmd.php and run "php poller.php".
Post the output of all steps.
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?
YesTheWitness wrote:1) Have you added snmp devices and created graphs?
Output:
SNMP Information
System: SpeedTouch 5x6
Uptime: 20350708 (2 days, 8 hours, 31 minutes)
Hostname: SpeedTouch 5x6
Location: Customer Premises
Contact: Service Provider
And a long list of Data Query Information. Shuold i post this also?
Output of 'Create Graphs for this Host':
+ Created graph: Speedtouch 546 - Traffic - IP: loop
+ Created graph: Speedtouch 546 - Traffic - IP: Internet
+ Created graph: Speedtouch 546 - Traffic - IP: LocalNetwor
+ Created graph: Speedtouch 546 - Traffic - ethport1
+ Created graph: Speedtouch 546 - Traffic - ethport2
+ Created graph: Speedtouch 546 - Traffic - ethport3
+ Created graph: Speedtouch 546 - Traffic - ethport4
+ Created graph: Speedtouch 546 - Traffic - ethoa_Internet
+ Created graph: Speedtouch 546 - Traffic - AAL5
+ Created graph: Speedtouch 546 - Traffic - ATM: PORT 0
+ Created graph: Speedtouch 546 - Traffic - ATM: PORT 1
+ Created graph: Speedtouch 546 - Traffic - ATM: PORT 2
+ Created graph: Speedtouch 546 - Traffic - PVIF: ATM PORT
+ Created graph: Speedtouch 546 - Traffic - PVIF: ATM PORT
+ Created graph: Speedtouch 546 - Traffic - adsl601
+ Created graph: Speedtouch 546 - Traffic - adsl602
+ Created graph: Speedtouch 546 - Traffic - adsl603
No, i've only run poller.php.TheWitness wrote:2) have your run "php cmd.php" in MEDIUM yet?
But cmd.php produces no output on the command line, even if i remove the '-q' option.
That's what i've done all the time before. As said before, no output here.TheWitness wrote: 3) set your poller to cmd.php and run "php poller.php".
TheWitness wrote: Post the output of all steps.
TheWitness
Really strange: The cacti.log remains empty:
10/21/2006 12:28:56 AM - WEBUI: Cacti Log Cleared from Web Management Interface
Thats all!
I really don't know how to go on.
Any forther ideas?
Aditionally: i'm running PHP 5.1.4
i don't know why but right now i've found a new entry in my cacti.log:
10/21/2006 07:57:30 PM - CMDPHP: Poller[0] ERROR: SQL Cell Failed "select output_string from data_input where id=3"
which ist true because there is no field 'output_string' in 'data_input'. even in cacti.sql the table definition for 'data_input' does't show such a field.
as far as i can remember its the first time that this error occurs.
maybe this can help someone to help me?
10/21/2006 07:57:30 PM - CMDPHP: Poller[0] ERROR: SQL Cell Failed "select output_string from data_input where id=3"
which ist true because there is no field 'output_string' in 'data_input'. even in cacti.sql the table definition for 'data_input' does't show such a field.
as far as i can remember its the first time that this error occurs.
maybe this can help someone to help me?
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Where did you get your install from? Have you applied any mod's/plugins? I don't seem to recall that call either.
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?
The cacti Installation is from the cacti Website. I've installed it as told in the howto. It's the naked cacti Installation as it comes out the .tar.gz file without any mods or plugins.TheWitness wrote:Where did you get your install from? Have you applied any mod's/plugins? I don't seem to recall that call either.
TheWitness
-
- Posts: 31
- Joined: Wed Jan 19, 2005 2:34 pm
Hi!fla_roadkill wrote:Hello, can you please explain what you did? I am having the same issue and its driving me up a wall. Im running Fedora Core 5, Cacti-i and Cactidi, no RRD's are being generated.
Well, my problem was, that the command line version of php used an other php.ini where MySQL-Support was disabled. So the poller wasn't able to get and store informations from and to the database.
I've figured out which php.ini is responsible (php -i|grep php.ini) for the cli-php binary, added the right extension_dir to the mysql.so library and enabled the mysql extension through extension=mysql.so.
But as it seems that you are using cactid (have you activated the daemon in Console -> Settings -> Poller -> Poller Type?) i really don't know whether your problem is the same or not. If i'm right cactid is a C-Programm which doesn't need PHP. But i've never used it since now. It's even not be installed on my machine right now.
Hope this helps.
-
- Posts: 6
- Joined: Mon Dec 31, 2007 6:26 am
- Location: UK
Solaris 10-PollerPbm-solved of php.ini suggestion thanks
Hi
Just wanted to say thanks, you seemed to have corrected our poller problem by pointing us to a (non-existent) php.ini file which should have been in the php5/etc directory.
By the way we are using Solaris 10 x86, Coolstack 1.2, with other stuff.
Thanks at least the poller is now working, however we don't seem to be creating rrd files, any ideas?
Best regards
Just wanted to say thanks, you seemed to have corrected our poller problem by pointing us to a (non-existent) php.ini file which should have been in the php5/etc directory.
By the way we are using Solaris 10 x86, Coolstack 1.2, with other stuff.
Thanks at least the poller is now working, however we don't seem to be creating rrd files, any ideas?
Best regards
Re: no rrd files being generated
able to create one graph on one host AOK - second host failed
tried to add a graph to a second device
(the same type of graph on the same type of device)
data is collected and remains in poller_output at end of cycle
WARNING: Poller Output Table not Empty. Issues Found: 2, Data Sources: traffic_in(DS[7228]), traffic_out(DS[7228])
but the corresponding rrd file is never created
ping latency graph running AOK of both devices
Host Template - Mikrotic
Data Source Template - Mikrotik - Queue - Simple Packets
Data Input Method - Get SNMP Data (Indexed)
Graph Template - Mikrotik - Queue - Simple Traffic (bits/sec, Total Bandwidth)
where do I start look for the problem?
utilities.php.html attached
tried to add a graph to a second device
(the same type of graph on the same type of device)
data is collected and remains in poller_output at end of cycle
WARNING: Poller Output Table not Empty. Issues Found: 2, Data Sources: traffic_in(DS[7228]), traffic_out(DS[7228])
but the corresponding rrd file is never created
ping latency graph running AOK of both devices
Host Template - Mikrotic
Data Source Template - Mikrotik - Queue - Simple Packets
Data Input Method - Get SNMP Data (Indexed)
Graph Template - Mikrotik - Queue - Simple Traffic (bits/sec, Total Bandwidth)
where do I start look for the problem?
utilities.php.html attached
Who is online
Users browsing this forum: No registered users and 2 guests