I have installed Cacti on a Winxp machine following 4K Darsch's instructions. It seemed to go well. I able to launch cacti, login and able to see graphs...although I am still yet to have create a working graph of some devices. Anyhow, Here is a copy and paste of when I do a php cmd.php from my cacti directory.
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
H:\>c:
C:\>cd apache2
C:\Apache2>cd htdocs
C:\Apache2\htdocs>cd cacti
C:\Apache2\htdocs\cacti>php cmd.php
'cat' is not recognized as an internal or external command,
operable program or batch file.
Content-type: text/html
X-Powered-By: PHP/4.3.4
command: perl C:\Apache2\htdocs\cacti/scripts/linux_memory.pl MemFree:, output:
'cat' is not recognized as an internal or external command,
operable program or batch file.
command: perl C:\Apache2\htdocs\cacti/scripts/linux_memory.pl SwapFree:, output:
'uptime' is not recognized as an internal or external command,
operable program or batch file.
MULTI command: perl C:\Apache2\htdocs\cacti/scripts/loadavg_multi.pl, output: 1m
in: 5min: 10min:
MULTI expansion: found fieldid: 17, found rrdname: load_1min, value:
MULTI expansion: found fieldid: 18, found rrdname: load_5min, value:
MULTI expansion: found fieldid: 19, found rrdname: load_15min, value:
'who' is not recognized as an internal or external command,
operable program or batch file.
command: perl C:\Apache2\htdocs\cacti/scripts/unix_users.pl, output:
'ps' is not recognized as an internal or external command,
operable program or batch file.
command: perl C:\Apache2\htdocs\cacti/scripts/unix_processes.pl, output:
snmp: 192.168.1.1:161, dsname: 5min_cpu, oid: .1.3.6.1.4.1.9.2.1.58.0, value: 0
update C:\Apache2\htdocs\cacti/rra/localhost_mem_buffers_3.rrd --template mem_bu
ffers N:U
update C:\Apache2\htdocs\cacti/rra/localhost_mem_swap_4.rrd --template mem_swap
N:U
update C:\Apache2\htdocs\cacti/rra/localhost_load_1min_5.rrd --template load_1mi
n:load_5min:load_15min N:::
update C:\Apache2\htdocs\cacti/rra/localhost_users_6.rrd --template users N:U
update C:\Apache2\htdocs\cacti/rra/localhost_proc_7.rrd --template proc N:U
update C:\Apache2\htdocs\cacti/rra/northstar_router_5min_cpu_9.rrd --template 5m
in_cpu N:0
time: 2
C:\Apache2\htdocs\cacti>
---
I can see it is trying to use some unix commands but I was wondering if this will be a problem and if so, how I could resolve it?
Is this okay? noobish question
Moderators: Developers, Moderators
- ichoudhury
- Posts: 46
- Joined: Tue May 31, 2005 8:18 am
-
- Posts: 22
- Joined: Tue Mar 29, 2005 3:51 pm
- ichoudhury
- Posts: 46
- Joined: Tue May 31, 2005 8:18 am
My fault...
I meant to say
Control Panel/System/Advanced/Environment Variable and then update the PATH. (I am used to describing step-by-step from past tech-support background). I work with people with many years experience but I still tell them step-by-step how to even launch a browser...just bad habbit
simply edit the path and add the C:\cygwin\bin after ; ... since rrdtools uses cygwin1.dll also and you might run into conflict due to that. So, just put the rrdtool and cactid binary in c:\cygwin\bin also (you will kill 3 bird with one stone)...
I meant to say
Control Panel/System/Advanced/Environment Variable and then update the PATH. (I am used to describing step-by-step from past tech-support background). I work with people with many years experience but I still tell them step-by-step how to even launch a browser...just bad habbit
simply edit the path and add the C:\cygwin\bin after ; ... since rrdtools uses cygwin1.dll also and you might run into conflict due to that. So, just put the rrdtool and cactid binary in c:\cygwin\bin also (you will kill 3 bird with one stone)...
There are those who think fast, and there are others who sleep on a decision. I belong to the third group.
Who is online
Users browsing this forum: No registered users and 5 guests