Strange Path in Cacti Log - SMTP ok, No Graphs
Moderators: Developers, Moderators
-
- Posts: 5
- Joined: Wed Sep 07, 2005 12:15 pm
Strange Path in Cacti Log - SMTP ok, No Graphs
I am gathing SMTP data, but I am not getting any graphs or RRA's created. When I look at the Cacti Log, I see the following:
09/07/2005 01:09:13 PM - WEBLOG: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe graph - --imgformat=PNG --start=1126026552 --end=1126112952 --title="YORS0201 - Used Space - Physical Memory" --rigid --base=1024 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 COMMENT:"From 2005/09/06 13\:09\:12 To 2005/09/07 13\:09\:12\c" COMMENT:" \n" --vertical-label="bytes" --slope-mode DEF:a="C\:\Apache\Apache2\htdocs\cacti/rra/yors0201_hdd_total_13.rrd":hdd_total:AVERAGE DEF:b="C\:\Apache\Apache2\htdocs\cacti/rra/yors0201_hdd_total_13.rrd":hdd_used:AVERAGE AREA:a#002A97:"Total" GPRINTLAST:"Current\:%8.2lf %s" GPRINTAVERAGE:"Average\:%8.2lf %s" GPRINTMAX:"Maximum\:%8.2lf %s\n" AREA:b#F51D30:"Used" GPRINTLAST:" Current\:%8.2lf %s" GPRINTAVERAGE:"Average\:%8.2lf %s" GPRINTMAX:"Maximum\:%8.2lf %s\n"
That path is wrong:
a="C\:\Apache\Apache2\htdocs\cacti/rra
Where can I adjust that? I have been looking, but no dice. Thanks!
Jason
09/07/2005 01:09:13 PM - WEBLOG: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe graph - --imgformat=PNG --start=1126026552 --end=1126112952 --title="YORS0201 - Used Space - Physical Memory" --rigid --base=1024 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 COMMENT:"From 2005/09/06 13\:09\:12 To 2005/09/07 13\:09\:12\c" COMMENT:" \n" --vertical-label="bytes" --slope-mode DEF:a="C\:\Apache\Apache2\htdocs\cacti/rra/yors0201_hdd_total_13.rrd":hdd_total:AVERAGE DEF:b="C\:\Apache\Apache2\htdocs\cacti/rra/yors0201_hdd_total_13.rrd":hdd_used:AVERAGE AREA:a#002A97:"Total" GPRINTLAST:"Current\:%8.2lf %s" GPRINTAVERAGE:"Average\:%8.2lf %s" GPRINTMAX:"Maximum\:%8.2lf %s\n" AREA:b#F51D30:"Used" GPRINTLAST:" Current\:%8.2lf %s" GPRINTAVERAGE:"Average\:%8.2lf %s" GPRINTMAX:"Maximum\:%8.2lf %s\n"
That path is wrong:
a="C\:\Apache\Apache2\htdocs\cacti/rra
Where can I adjust that? I have been looking, but no dice. Thanks!
Jason
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
That path will work in windows.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
-
- Posts: 5
- Joined: Wed Sep 07, 2005 12:15 pm
Thanks for the quick response. I guess I am trying to narrow down why I am not getting any .rrd files generated. I can do a Verbose Query and get data back from the device. I am not even getting rrd's from the Localhost...I am going to fish around and see if there is a permissions issue, etc. I used the Windows Install doc that is on the site, but something isn't clicking...I have done a few installs on Fedora, but this is my first Windows install, and I am a Windows guy!
Any thoughts would be appreciated.
I am running Win2k3, no IIS, Apache 2.0.54, mySQL 4.1.14, php5.0.5, rrdtool 1.2.11 from Cacti.net, cacti 0.8.6f, cactid 0.8.6e
Thanks!
Any thoughts would be appreciated.
I am running Win2k3, no IIS, Apache 2.0.54, mySQL 4.1.14, php5.0.5, rrdtool 1.2.11 from Cacti.net, cacti 0.8.6f, cactid 0.8.6e
Thanks!
Another issue
I am also seeing this issue... Here is one of the log lines from the poller, clearly it is trying to create the RRD file, but nothing is actually being created.
When I paste this into the command prompt it works just fine. What gives?
09/07/2005 04:02:07 PM - POLLER: Poller[0] CACTI2RRD: c:/netmon/rrdtool/rrdtool.exe create c:\netmon\cacti/rra/ncwilswjbdgrdista_traffic_in_45.rrd --step 300 DS:traffic_out:COUNTER:600:0:100000000 DS:traffic_in:COUNTER:600:0:100000000 RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775 RRA:AVERAGE:0.5:288:797 RRA:MAX:0.5:1:600 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797
When I paste this into the command prompt it works just fine. What gives?
09/07/2005 04:02:07 PM - POLLER: Poller[0] CACTI2RRD: c:/netmon/rrdtool/rrdtool.exe create c:\netmon\cacti/rra/ncwilswjbdgrdista_traffic_in_45.rrd --step 300 DS:traffic_out:COUNTER:600:0:100000000 DS:traffic_in:COUNTER:600:0:100000000 RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775 RRA:AVERAGE:0.5:288:797 RRA:MAX:0.5:1:600 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797
-
- Posts: 5
- Joined: Wed Sep 07, 2005 12:15 pm
Rony, I think the Windows instructions are dated as well.
I would be happy to help throw together an updated verison for you guys. Maybe we can clean up the Apache vs IIS sections. The Linux side is very clean and simple to install. The Windows side should be just as easy.
Are you guys seeing any major differences between Win2k3 and previous versions? Out of the box, IIS6 should be locked down a little tighter than IIS5.
Just a thought. First things first, cleaning up this issue.
Gashalot, what versions are you running? Thanks!
Jason
I would be happy to help throw together an updated verison for you guys. Maybe we can clean up the Apache vs IIS sections. The Linux side is very clean and simple to install. The Windows side should be just as easy.
Are you guys seeing any major differences between Win2k3 and previous versions? Out of the box, IIS6 should be locked down a little tighter than IIS5.
Just a thought. First things first, cleaning up this issue.
Gashalot, what versions are you running? Thanks!
Jason
gashalot: Does the user running the scheduled task for cacti have rights to create files in your rrd directory? What about read/execute rights on rrdtool.exe and cmd.exe ?
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
-
- Posts: 5
- Joined: Wed Sep 07, 2005 12:15 pm
When you look at the debug log (turn the logging level to debug), do you see cacti collecting valid data or does it return U ?
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
- TheWitness
- Developer
- Posts: 17061
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Best advice is to run the following sequence from the command line in DEBUG mode:
1) php <path_cacti>/cmd.php
2) php poller.php
In 1) you should get messages with valid data being polled
In 2) you should get a bunch of "Ok" messages
If you get no "Ok" messages and it appears to run error free:
3) mysql -u root -p cacti
>truncate table poller_output;
>quit
If 3) fixes your problem, increase you MAX memory in you PHP.INI file.
Larry
1) php <path_cacti>/cmd.php
2) php poller.php
In 1) you should get messages with valid data being polled
In 2) you should get a bunch of "Ok" messages
If you get no "Ok" messages and it appears to run error free:
3) mysql -u root -p cacti
>truncate table poller_output;
>quit
If 3) fixes your problem, increase you MAX memory in you PHP.INI file.
Larry
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?
Guys:
After some more careful forum searching, I was able to narrow down my issue to the wrong version of RRD (RRD native, not the Cacti-compatible RRD Cygwin). Once I switched it out, the issue was resolved.
For the record I was on Cacti 0.8.6f + patches, Win2k, Apache 2.0.54, PHP 5.0.5, MySQL 4.1.14.
After some more careful forum searching, I was able to narrow down my issue to the wrong version of RRD (RRD native, not the Cacti-compatible RRD Cygwin). Once I switched it out, the issue was resolved.
For the record I was on Cacti 0.8.6f + patches, Win2k, Apache 2.0.54, PHP 5.0.5, MySQL 4.1.14.
- TheWitness
- Developer
- Posts: 17061
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Glad to be of service.
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?
- quirijn.taudinchabot@sand
- Posts: 6
- Joined: Wed Sep 14, 2005 4:01 am
Welll
So, the topic's subject is describing my problem, but I dont get it to work...
I use WinXP, build in IIS, php, mysql and cactid all latest versions, rrdtool from the cactiwebsite, but still:
09/14/2005 12:31:14 PM - WEBLOG: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe graph - --imgformat=PNG --start=1126692074 --end=1126693874 --title="NLPSW5 - Traffic - Gi0/2" --rigid --base=1000 --height=100 --width=300 --alt-autoscale-max --lower-limit=0 --no-legend COMMENT:"From 2005-09-14 12\:01\:14 To 2005-09-14 12\:31\:14\c" COMMENT:" \n" --vertical-label="bytes per second" --slope-mode DEF:a="C\:/cacti/rra/nlpsw4_traffic_in_81.rrd":traffic_in:AVERAGE DEF:b="C\:/cacti/rra/nlpsw4_traffic_in_81.rrd":traffic_out:AVERAGE AREA:a#00CF00:"" COMMENT:"" LINE1:b#002A97:"" COMMENT:""
notice the strange path: C\:/****** , what is going wrong here??
I use WinXP, build in IIS, php, mysql and cactid all latest versions, rrdtool from the cactiwebsite, but still:
09/14/2005 12:31:14 PM - WEBLOG: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe graph - --imgformat=PNG --start=1126692074 --end=1126693874 --title="NLPSW5 - Traffic - Gi0/2" --rigid --base=1000 --height=100 --width=300 --alt-autoscale-max --lower-limit=0 --no-legend COMMENT:"From 2005-09-14 12\:01\:14 To 2005-09-14 12\:31\:14\c" COMMENT:" \n" --vertical-label="bytes per second" --slope-mode DEF:a="C\:/cacti/rra/nlpsw4_traffic_in_81.rrd":traffic_in:AVERAGE DEF:b="C\:/cacti/rra/nlpsw4_traffic_in_81.rrd":traffic_out:AVERAGE AREA:a#00CF00:"" COMMENT:"" LINE1:b#002A97:"" COMMENT:""
notice the strange path: C\:/****** , what is going wrong here??
There is nothing wrong with that path. Thats just the (odd) way rrdtool does it.
If cacti isn't collecting valid data for your graph(s) then you won't see anything being graphed.
If cacti isn't collecting valid data for your graph(s) then you won't see anything being graphed.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
- quirijn.taudinchabot@sand
- Posts: 6
- Joined: Wed Sep 14, 2005 4:01 am
how can you tell it isnt collecting data? As you might notice, im a newbee to Cacti.
there's nothitng inside the cacti\rra directory exept for .placeholder.....
( I have created devices ( see it connects using SNMP), and told what to graph. I am sure theres data ( Its on of the most active interfaces on my switch) but nothing is being graphed, but get a red X)
there's nothitng inside the cacti\rra directory exept for .placeholder.....
( I have created devices ( see it connects using SNMP), and told what to graph. I am sure theres data ( Its on of the most active interfaces on my switch) but nothing is being graphed, but get a red X)
Turn on debugging for logging in Cacti then look in your log file.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Who is online
Users browsing this forum: No registered users and 0 guests