winxp cacti

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

winxp cacti

Post by research »

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 »

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 »

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 »

anybody can help me please? I'm stuck over here :roll:
User avatar
joed
Posts: 29
Joined: Mon Sep 19, 2005 6:27 am
Location: Germany/Palatinate

Post by joed »

How do you call poller.php?

Like this?

c:\php\php.exe c:\mycacti\website\cacti\poller.php

it's important to include the path!


http://www.cacti.net/downloads/docs/htm ... ndows.html
research
Cacti User
Posts: 72
Joined: Tue Sep 20, 2005 9:27 am

Post by research »

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 »

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 »

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)
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

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 »

like where ?
User avatar
TheWitness
Developer
Posts: 17062
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

OMG! :oops:
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?
research
Cacti User
Posts: 72
Joined: Tue Sep 20, 2005 9:27 am

Post by research »

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 ?
User avatar
TheWitness
Developer
Posts: 17062
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

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
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?
research
Cacti User
Posts: 72
Joined: Tue Sep 20, 2005 9:27 am

Post by research »

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
locasi.JPG (40.9 KiB) Viewed 3475 times
research
Cacti User
Posts: 72
Joined: Tue Sep 20, 2005 9:27 am

Post by research »

also receiving this error while running poller.php
Attachments
cac.JPG
cac.JPG (24.34 KiB) Viewed 3474 times
Post Reply

Who is online

Users browsing this forum: No registered users and 15 guests