Windows All-In-One Installer [Cacti 1.2.24] [Updated 2023-03-09]

Post support questions that relate to the Windows 2003/2000/XP operating systems.

Moderators: Developers, Moderators

Post Reply
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: Windows Installer [Cacti 0.8.7i - 2011-12-21]

Post by BSOD2600 »

karthiksns:
1) create a new thread
2) read/follow http://forums.cacti.net/viewtopic.php?f=3&t=11747 and report back your findings.
User avatar
smlick
Cacti User
Posts: 267
Joined: Tue May 20, 2008 4:09 am
Location: Italy, Rome

Re: Windows Installer [Cacti 0.8.7i - 2011-12-21]

Post by smlick »

Hi BSOD2600,
tnx again for your precious work.
I tried your last work in a test environment but find some issue.
First when I login into Cacti in the homepage I find "$url_path = '/cacti/'; " so I tried to comment it in config.php and it disappear (but I have it under config.php in my other test/production environment without this issue).
Also the "Plugin Management" doesn't appear in console-->configuration.
I have no this kind of issue with your previous work (0.8.7g) and the other before.

Any idea? I only have this issue?

Regards
Alessio
Cacti Version 0.8.8c production / 0.8.8c test W2008 -- Plugin:Weathermap - Monitor - CAMM 1.6.7 :) - Nectar - GPS Map
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: Windows Installer [Cacti 0.8.7i - 2011-12-21]

Post by BSOD2600 »

1) $url_path = '/cacti/' - I'm not following what the exact problem is. please provide more detail.

2) "Plugin Management". Did you enable this option in the installer? Double-checked plugin management is enabled for your user account?
User avatar
smlick
Cacti User
Posts: 267
Joined: Tue May 20, 2008 4:09 am
Location: Italy, Rome

Re: Windows Installer [Cacti 0.8.7i - 2011-12-21]

Post by smlick »

Hi BSOD2600,
yes I enabled plugin during install.
I get no option about PIA in user management (see image) and also in the image you can see "$url_path = '/cacti/'; " printed.
If I comment this line it disappear however it stay in upper left corner in every page.

Regards
Alessio
Attachments
admin.JPG
admin.JPG (153.12 KiB) Viewed 2826 times
Cacti Version 0.8.8c production / 0.8.8c test W2008 -- Plugin:Weathermap - Monitor - CAMM 1.6.7 :) - Nectar - GPS Map
User avatar
smlick
Cacti User
Posts: 267
Joined: Tue May 20, 2008 4:09 am
Location: Italy, Rome

Re: Windows Installer [Cacti 0.8.7i - 2011-12-21]

Post by smlick »

Ok probably is a my issue.
I have Cacti in one server and db in another one.....so I select all options except mySQL in the server where cacti resides and in the other one only mySQL so the system doesn't create the table into cacti db.

Is that right?
Regards
Alessio
Cacti Version 0.8.8c production / 0.8.8c test W2008 -- Plugin:Weathermap - Monitor - CAMM 1.6.7 :) - Nectar - GPS Map
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: Windows Installer [Cacti 0.8.7i - 2011-12-21]

Post by BSOD2600 »

smlick wrote:I have Cacti in one server and db in another one.....so I select all options except mySQL in the server where cacti resides and in the other one only mySQL so the system doesn't create the table into cacti db.

Is that right?
Regards
Alessio
Right.
Not enabling the MySQL option will cause the installer to skip everything MySQL related... installing the binaries, the cacti/pia databases, and configuration.
wavysong
Posts: 15
Joined: Sun Jan 08, 2012 4:45 am

Re: Windows Installer [Cacti 0.8.7i - 2011-12-21]

Post by wavysong »

hello
i got some confused when installed the latest version on WIN7 today,everything seems ok.
the rrd files could be created,but fail to update.the log output has no evident error:
the cacti was installed on a fat32 file format disk F:

Code: Select all

03/06/2012 01:40:01 AM - SYSTEM STATS: Time:0.7775 Method:cmd.php Processes:2 Threads:N/A Hosts:2 HostsPerProcess:1 DataSources:8 RRDsProcessed:4  
03/06/2012 01:40:01 AM - POLLER: Poller[0] CACTI2RRD: F:/rrdtool/rrdtool.exe update F:\Apache2\htdocs\cacti\rra\3\12.rrd --template traffic_in:traffic_out 1330969201:1538221:349498  
03/06/2012 01:40:01 AM - POLLER: Poller[0] CACTI2RRD: F:/rrdtool/rrdtool.exe update F:\Apache2\htdocs\cacti\rra\3\13.rrd --template traffic_out:traffic_in 1330969201:80609:190593  
03/06/2012 01:40:01 AM - POLLER: Poller[0] CACTI2RRD: F:/rrdtool/rrdtool.exe update F:\Apache2\htdocs\cacti\rra\3\14.rrd --template traffic_out:traffic_in 1330969201:30658:40456  
03/06/2012 01:40:01 AM - POLLER: Poller[0] CACTI2RRD: F:/rrdtool/rrdtool.exe update F:\Apache2\htdocs\cacti\rra\3\15.rrd --template traffic_out:traffic_in 1330969201:30616:360  
but i had noticed the timestamp is not GMT time or my local time.could be this result in the failure of rrd update?

Code: Select all

RRDTool Command:

F:/rrdtool/rrdtool.exe graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="localhost - Traffic - ethernet_6" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bits per second" \
--slope-mode \
--font TITLE:10: \
--font AXIS:7: \
--font LEGEND:8: \
--font UNIT:7: \
DEF:a="F\:/Apache2/htdocs/cacti/rra/3/12.rrd":traffic_in:AVERAGE \
DEF:b="F\:/Apache2/htdocs/cacti/rra/3/12.rrd":traffic_out:AVERAGE \
CDEF:cdefa=a,8,* \
CDEF:cdefe=b,8,* \
AREA:cdefa#00CF00FF:"Inbound"  \
GPRINT:cdefa:LAST:" Current\:%8.2lf %s"  \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s"  \
GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s\n"  \
LINE1:cdefe#002A97FF:"Outbound"  \
GPRINT:cdefe:LAST:"Current\:%8.2lf %s"  \
GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s"  \
GPRINT:cdefe:MAX:"Maximum\:%8.2lf %s\n" 
RRDTool Says:
there also no "ok" shown for the debug output of a releated graph.

thanks
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: Windows Installer [Cacti 0.8.7i - 2011-12-21]

Post by BSOD2600 »

wavysong:
1) Is this a new cacti installation?
2) The rrd files are not getting updated every 5 minutes?
3) If you manually run rrdtool at the command prompt, are there any errors?
4) a lack of "rrdtool says" typically signifies a permission problem on cmd.exe and/or rrdtool.exe, which prevents the Apache service account from executing them.
wavysong
Posts: 15
Joined: Sun Jan 08, 2012 4:45 am

Re: Windows Installer [Cacti 0.8.7i - 2011-12-21]

Post by wavysong »

BSOD2600 wrote:wavysong:
1) Is this a new cacti installation?
2) The rrd files are not getting updated every 5 minutes?
3) If you manually run rrdtool at the command prompt, are there any errors?
4) a lack of "rrdtool says" typically signifies a permission problem on cmd.exe and/or rrdtool.exe, which prevents the Apache service account from executing them.
thanks for your advices,they do great help for me.

i had resolved the problem just now.
1. change the permission of cacti folder by granted full permission to "authenticated users"
rra.jpg
rra.jpg (38.68 KiB) Viewed 2766 times
2.modify the timezone configuration in file of php.ini under php folder.which is

Code: Select all

date.timezone="Asia/Hong_Kong"

change it to my local timezone
3. modify my.ini under mysql folder,add follow code:

Code: Select all

default-time-zone = '+8:00'
remember to restart mysql service.

then my graph appears again,as i had made a new installtion of version 0.8.7i.
rhcrew
Posts: 2
Joined: Mon Mar 12, 2012 1:41 pm

Re: Windows Installer [Cacti 0.8.7i - 2011-12-21]

Post by rhcrew »

i hope this cacti works for me,...i have give my time for cacti but still get no graph... :( :evil:
by the way...thanks...
rhcrew
Posts: 2
Joined: Mon Mar 12, 2012 1:41 pm

Re: Windows Installer [Cacti 0.8.7i - 2011-12-21]

Post by rhcrew »

i have install this installer on xp system, but unfortunately i can't access localhost/cacti via browser... when i try to access localhost/ the web browser just show "It Works" words on the left up-side of the web browser page. i did nothing after the installation finished. help me please...i need this cacti works for my presentation in the class room.... :cry: :( :( :(
bolds04
Posts: 3
Joined: Tue Mar 13, 2012 9:47 am

Re: Windows Installer [Cacti 0.8.7i - 2011-12-21]

Post by bolds04 »

BSOD2600, When I debug my graphs I don't have anything under RRDTOOL SAYS. Should I?

4) a lack of "rrdtool says" typically signifies a permission problem on cmd.exe and/or rrdtool.exe, which prevents the Apache service account from executing them.

Which brings me to my question which hopefully has a simple answer.

I installed the Windows installer per your instructions about a month ago. Everything was working as should. There was one day that I spent the entire day adding devices and building graphs. Ever since that day, it seems that all of the new devices I added don't graph. The strange thing is I'm still graphing on some of the devices I added several weeks back. So I have a mixture of devices that are graphing and ones that are not. The ones that are not, all have the -1#j in them. I have tried following your debug steps, even adding full control to the cacti folder as well as the RRA folder. All with no luck. I can add more log files if you need them. Please let me know if you or anyone can help. Thanks, Brandon

Here is a debug from a graph that is working.
RRDTool Command:
C:/rrdtool/rrdtool.exe graph - \
--imgformat=PNG \
--start=-86400 \
--end=-60 \
--title="MVHC-Tulelake - Traffic - Mu1" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bits per second" \
--slope-mode \
--font TITLE:10: \
--font AXIS:7: \
--font LEGEND:8: \
--font UNIT:7: \
DEF:a="C\:/inetpub/wwwroot/cacti/rra/6/30.rrd":traffic_in:AVERAGE \
DEF:b="C\:/inetpub/wwwroot/cacti/rra/6/30.rrd":traffic_out:AVERAGE \
CDEF:cdefa=a,8,* \
CDEF:cdefe=b,8,* \
AREA:cdefa#00CF00FF:"Inbound" \
GPRINT:cdefa:LAST:" Current\:%8.2lf %s" \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s\n" \
LINE1:cdefe#002A97FF:"Outbound" \
GPRINT:cdefe:LAST:"Current\:%8.2lf %s" \
GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefe:MAX:"Maximum\:%8.2lf %s\n" \
\
HRULE:107321.37#FF0000FF:"95th Percentile" \
COMMENT:"(0.11 mbit in+out)\n"
RRDTool Says:

******************************************* Here is a debug from a graph that is NOT working.
RRDTool Command:
C:/rrdtool/rrdtool.exe graph - \
--imgformat=PNG \
--start=-86400 \
--end=-60 \
--title="ASHE_MEMORIAL_DIA - Traffic - Mu1" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bits per second" \
--slope-mode \
--font TITLE:10: \
--font AXIS:7: \
--font LEGEND:8: \
--font UNIT:7: \
DEF:a="C\:/inetpub/wwwroot/cacti/rra/93/463.rrd":traffic_in:AVERAGE \
DEF:b="C\:/inetpub/wwwroot/cacti/rra/93/463.rrd":traffic_out:AVERAGE \
CDEF:cdefa=a,8,* \
CDEF:cdeff=b,8,* \
AREA:cdefa#00CF00FF:"Inbound" \
GPRINT:cdefa:LAST:" Current\:%8.2lf %s" \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s\n" \
LINE1:cdefa#002A97FF:"Outbound" \
GPRINT:cdeff:LAST:"Current\:%8.2lf %s" \
GPRINT:cdeff:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdeff:MAX:"Maximum\:%8.2lf %s"
RRDTool Says
bolds04
Posts: 3
Joined: Tue Mar 13, 2012 9:47 am

Re: Windows Installer [Cacti 0.8.7i - 2011-12-21]

Post by bolds04 »

I have attached the Cacti Tech-Support file in case someone needs to know more details on my system. Thanks, Brandon
Attachments
Cacti-Technical1.doc
(369.5 KiB) Downloaded 151 times
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: Windows Installer [Cacti 0.8.7i - 2011-12-21]

Post by BSOD2600 »

bolds04:
When you enabled debugging logging on cacti.log, did you see an rrdtool update command issued for wwwroot/cacti/rra/93/463.rrd ? Is the modified date on that file changing every 5 minutes?

You're using IIS, right? Are you sure the security has been properly applied for all the various user accounts? http://docs.cacti.net/manual:087:1_inst ... e_security
bolds04
Posts: 3
Joined: Tue Mar 13, 2012 9:47 am

Re: Windows Installer [Cacti 0.8.7i - 2011-12-21]

Post by bolds04 »

BSOD2600 - Thanks for looking into this. I have gone over your documentation once again to verify permissions. Based on the link in your post I have everything matching up. I took the time again this morning to run debug for 3 consecutive polling cycles. I then took the file and scrubbed it so that it only has the node that isn't graphing. I was able to verify that the date timestamp on the file changes to match the poller interval every 5 min. It matches files that have nodes that are graphing as well.
So hopefully you can pull something out of the debug file that I attached that I don't know what to look for to help me get these to start graphing like the rest.

Thanks, Brandon
Attachments
cacti-debug-31512.doc
(38.5 KiB) Downloaded 111 times
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests