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
TFC
Cacti Pro User
Posts: 739 Joined: Wed Apr 09, 2003 2:17 am
Location: Izmir/Turkey
Post
by TFC » Mon Feb 14, 2005 4:12 am
When I try tı run command:
Code: Select all
C:\>c:\php\php.exe c:\Apache2\htdocs\cacti\cmd.php
I get this output:
Content-type: text/html
X-Powered-By: PHP/4.3.10
#!/usr/bin/php -q
'-O' is not recognized as an internal or external command,
operable program or batch file.
02/14/2005 11:09:24 AM - CMDPHP: Poller[0] Time: 0.4302 s, Theads: N/A, Hosts: 2
Note: I try to only one Ds that about 64-bit interface traffic
What is my problem??
TheWitness
Developer
Posts: 17047 Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:
Post
by TheWitness » Mon Feb 14, 2005 5:36 am
Sounds like a script issue. Review your poller cache "Action: 1" for a bogus script call.
TheWitness
TFC
Cacti Pro User
Posts: 739 Joined: Wed Apr 09, 2003 2:17 am
Location: Izmir/Turkey
Post
by TFC » Mon Feb 14, 2005 5:43 am
which script is used for Interface traffic?
TheWitness
Developer
Posts: 17047 Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:
Post
by TheWitness » Mon Feb 14, 2005 8:09 am
Please post your poller_cache.
TheWitness
TFC
Cacti Pro User
Posts: 739 Joined: Wed Apr 09, 2003 2:17 am
Location: Izmir/Turkey
Post
by TFC » Mon Feb 14, 2005 8:20 am
http://localhost/cacti/utilities.php?ac ... ller_cache :
Data Source: 10.200.100.10 - Traffic - Gi13/14
RRD: C:\Apache2\htdocs\cacti\rra\10_200_100_10_traffic_in_8.rrd
Action: 0, OID: .1.3.6.1.2.1.31.1.1.1.10.70 (Host: 10.200.100.10, Community: tazmania)
Data Source: 10.200.100.10 - Traffic - Gi13/14
RRD: C:\Apache2\htdocs\cacti\rra\10_200_100_10_traffic_in_8.rrd
Action: 0, OID: .1.3.6.1.2.1.31.1.1.1.6.70 (Host: 10.200.100.10, Community: tazmania)
TheWitness
Developer
Posts: 17047 Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:
Post
by TheWitness » Mon Feb 14, 2005 8:22 am
It appears that you have a hacked snmp.php file. You should compare with the distribution version. It's better to use cactid if you are going to be using snmpv2 anyway.
TheWitness
TFC
Cacti Pro User
Posts: 739 Joined: Wed Apr 09, 2003 2:17 am
Location: Izmir/Turkey
Post
by TFC » Mon Feb 14, 2005 8:25 am
I prefer cactid , but cactid for windows is corrupt i think. because when download cactid for windows, I can't extract. I try several times but I got same result
TFC
Cacti Pro User
Posts: 739 Joined: Wed Apr 09, 2003 2:17 am
Location: Izmir/Turkey
Post
by TFC » Mon Feb 21, 2005 4:22 am
Finally I downloaded cactid and I extracted c:\cactid directory.
Then I run :
c:\cactid\cactid
but i get this error:
C:\cactid>cactid
CACTID: Using cactid config file [cactid.conf]
CACTID: MYSQL: Connection failed after 10 attempts : Access denied for user: 'root@localhost' (Using
password: YES)
But, I confgiure my.ini, cacti config.php and cactid.conf file with same DB, DB user and DB password...
TheWitness
Developer
Posts: 17047 Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:
Post
by TheWitness » Mon Feb 21, 2005 2:45 pm
If you are running mysql v 4.1.x, you will have to re-make cactid from source. Sorry. I hope to make the distribution better moving forward.
TheWitness
TFC
Cacti Pro User
Posts: 739 Joined: Wed Apr 09, 2003 2:17 am
Location: Izmir/Turkey
Post
by TFC » Tue Feb 22, 2005 1:13 am
I download and install 0.8.6c instead of 0.8.6d. Then my cactid can connect mysql correctly...
Users browsing this forum: No registered users and 1 guest