Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
Post support questions that relate to the Windows 2003/2000/XP operating systems.
Moderators: Developers , Moderators
research
Cacti User
Posts: 72 Joined: Tue Sep 20, 2005 9:27 am
Post
by research » Mon Sep 26, 2005 8:58 am
Well,
after I tried to run this on bsd platfrom, and failed, I passed to win xp.. Maybe I can get cacti running on xp pro...
I have installed apache2triad, when I run cmd.php I receive :
09/26/2005 04:50:34 PM - CMDPHP: Poller[0] ERROR: The PHP Script: CMD.PHP Must be started using the full path to the file and in lower case. This is a PHP Bug!!!
--
---
and cacti log :
Code: Select all
09/26/2005 04:56:48 PM - CMDPHP: Poller[0] PHP Script Server Started Properly
09/26/2005 04:56:50 PM - CMDPHP: Poller[0] Host[1] SNMP: Host did not respond to SNMP
09/26/2005 04:56:50 PM - PHPSVR: Poller[0] DEBUG: PHP Script Server Shutdown request received, exiting
09/26/2005 04:56:50 PM - CMDPHP: Poller[0] Time: 3.3737 s, Theads: N/A, Hosts: 1
09/26/2005 04:56:51 PM - SYSTEM STATS: Time:8.1752 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:5 RRDsProcessed:0
09/26/2005 04:56:51 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: C:/apache2triad/php/bin/php.exe, ARGS: -q C:/apache2triad/htdocs/cacti/poller_commands.php]
09/26/2005 04:56:51 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: C:/apache2triad/php/bin/php.exe, ARGS: -q C:/apache2triad/htdocs/cacti/poller_export.php]
[/code]
Last edited by
research on Mon Sep 26, 2005 9:29 am, edited 1 time in total.
research
Cacti User
Posts: 72 Joined: Tue Sep 20, 2005 9:27 am
Post
by research » Mon Sep 26, 2005 9:54 am
okay graphs rendering but no contains any data.. says "NAN"
research
Cacti User
Posts: 72 Joined: Tue Sep 20, 2005 9:27 am
Post
by research » Mon Sep 26, 2005 9:58 am
also, do I have to configure something for perl settings?
and "<path_cacti>" am I have to remove "<>" ?
research
Cacti User
Posts: 72 Joined: Tue Sep 20, 2005 9:27 am
Post
by research » Mon Sep 26, 2005 10:45 am
anybody can help me please? I'm stuck over here
research
Cacti User
Posts: 72 Joined: Tue Sep 20, 2005 9:27 am
Post
by research » Mon Sep 26, 2005 11:02 am
running as:
C:\apache2triad\php\bin\php.exe C:/apache2triad/htdocs/cacti/poller.php
research
Cacti User
Posts: 72 Joined: Tue Sep 20, 2005 9:27 am
Post
by research » Mon Sep 26, 2005 11:03 am
but I havent installed cactid ?
I have rrd files under rra/ , so rrdtool is working but I cant get that why no data on the graphs ?
research
Cacti User
Posts: 72 Joined: Tue Sep 20, 2005 9:27 am
Post
by research » Mon Sep 26, 2005 11:31 am
Code: Select all
09/26/2005 07:30:29 PM - CMDPHP: Poller[0] Host[1] DS[4] CMD: perl C:/apache2triad/htdocs/cacti/scripts/linux_memory.pl SwapFree:, output: U
09/26/2005 07:30:29 PM - CMDPHP: Poller[0] Host[1] DS[5] WARNING: Result from CMD not valid. Partial Result: 1min: 5min: 10
09/26/2005 07:30:29 PM - CMDPHP: Poller[0] Host[1] DS[5] CMD: perl C:/apache2triad/htdocs/cacti/scripts/loadavg_multi.pl, output: U
09/26/2005 07:30:29 PM - CMDPHP: Poller[0] Host[1] DS[6] WARNING: Result from CMD not valid. Partial Result:
09/26/2005 07:30:29 PM - CMDPHP: Poller[0] Host[1] DS[6] CMD: perl C:/apache2triad/htdocs/cacti/scripts/unix_users.pl, output: U
09/26/2005 07:30:29 PM - CMDPHP: Poller[0] Host[1] DS[7] WARNING: Result from CMD not valid. Partial Result:
09/26/2005 07:30:29 PM - CMDPHP: Poller[0] Host[1] DS[7] CMD: perl C:/apache2triad/htdocs/cacti/scripts/unix_processes.pl, output: U
09/26/2005 07:30:29 PM - CMDPHP: Poller[0] Host[1] DS[3] WARNING: Result from CMD not valid. Partial Result:
09/26/2005 07:30:29 PM - CMDPHP: Poller[0] Host[1] DS[3] CMD: perl C:/apache2triad/htdocs/cacti/scripts/linux_memory.pl MemFree:, output: U
09/26/2005 07:30:29 PM - PHPSVR: Poller[0] DEBUG: PHP Script Server Shutdown request received, exiting
also I think it cant run .pl files ?
perl -v shows :
This is perl, v5.8.7 built for MSWin32-x86-multi-thread
(with 7 registered patches, see perl -V for more detail)
BSOD2600
Cacti Moderator
Posts: 12171 Joined: Sat May 08, 2004 12:44 pm
Location: USA
Post
by BSOD2600 » Mon Sep 26, 2005 7:14 pm
Those Linux perl scripts won't work on a Windows host. There are Windows equavalant scripts in cacti.
research
Cacti User
Posts: 72 Joined: Tue Sep 20, 2005 9:27 am
Post
by research » Tue Sep 27, 2005 1:44 am
like where ?
research
Cacti User
Posts: 72 Joined: Tue Sep 20, 2005 9:27 am
Post
by research » Tue Sep 27, 2005 4:34 am
The Witness ,
What ?
I cant run cacti maybe because of this perl issue ? Can you tell me where is located windows versions of these scripts ?
TheWitness
Developer
Posts: 17062 Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:
Post
by TheWitness » Tue Sep 27, 2005 4:38 am
Delete the localhost device, start from scratch using the Windows template to get your feet wet. Take your time, there is much to see.
TheWitness
research
Cacti User
Posts: 72 Joined: Tue Sep 20, 2005 9:27 am
Post
by research » Tue Sep 27, 2005 4:53 am
oh
localhost machine is not winxp..
I have installed cacti on a winxp pro machine with apache2triad. But I dont want to watch winxp pro. I want to watch a linux server.
I think screenshot will tell ya something
Attachments
locasi.JPG (40.9 KiB) Viewed 3476 times
research
Cacti User
Posts: 72 Joined: Tue Sep 20, 2005 9:27 am
Post
by research » Tue Sep 27, 2005 4:55 am
also receiving this error while running poller.php
Attachments
cac.JPG (24.34 KiB) Viewed 3475 times
Users browsing this forum: No registered users and 3 guests