My graphs does not display anything and when i check my cacti logs these messages appeared, what do these mean????
CMDPHP: Poller[0] Host[1] WARNING: Result from CMD not valid. Partial Result
CMDPHP: Poller[0] Host[1] WARNING: Result from CMD not valid. Partial Result
SYSTEM STATS: Time: 1.2382 s, Method: cmd.php, Processes: 1, Threads: N/A, Hosts: 3, Hosts/Process: 3
CMDPHP error --help
Moderators: Developers, Moderators
Enable debugging for the logs and run the script again. Paste the output here.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Here's one log...BSOD2600 wrote:Enable debugging for the logs and run the script again. Paste the output here.
Data Source Debug
c:/rrdtool/rrdtool.exe create \
c:\apache\htdocs\cacti/rra/localhost_cpu_15.rrd \
--step 300 \
DS:cpu:GAUGE:600:0:100 \
RRA:AVERAGE:0.5:1:600 \
RRA:AVERAGE:0.5:6:700 \
RRA:AVERAGE:0.5:24:775 \
RRA:AVERAGE:0.5:288:797 \
RRA:MAX:0.5:1:600 \
RRA:MAX:0.5:6:700 \
RRA:MAX:0.5:24:775 \
RRA:MAX:0.5:288:797 \
by the way I use,
cacti-0.8.6c
net-snmp 5.2.1-1
mysql 4.1.10
php 4.3.10
rrdtool 1.0.49
apache 1.3.33
and I run it on windows 2000 advance server...thanks!
and here's an output of my cacti.log
02/21/2005 01:37:03 PM - CMDPHP: Poller[0] Host[1] WARNING: Result from CMD not valid. Partial Result:
02/21/2005 01:37:03 PM - CMDPHP: Poller[0] Host[1] WARNING: Result from CMD not valid. Partial Result:
02/21/2005 01:37:03 PM - CMDPHP: Poller[0] Host[1] WARNING: Result from CMD not valid. Partial Result:
02/21/2005 01:37:03 PM - CMDPHP: Poller[0] Host[1] WARNING: Result from CMD not valid. Partial Result:
02/21/2005 01:37:03 PM - CMDPHP: Poller[0] Host[1] WARNING: Result from CMD not valid. Partial Result:
02/21/2005 01:37:03 PM - SYSTEM STATS: Time: 1.2382 s, Method: cmd.php, Processes: 1, Threads: N/A, Hosts: 3, Hosts/Process: 3
02/21/2005 02:05:14 PM - CMDPHP: Poller[0] Host[1] WARNING: Result from CMD not valid. Partial Result:
02/21/2005 02:05:14 PM - CMDPHP: Poller[0] Host[1] WARNING: Result from CMD not valid. Partial Result:
02/21/2005 02:05:14 PM - CMDPHP: Poller[0] Host[1] WARNING: Result from CMD not valid. Partial Result:
02/21/2005 02:05:14 PM - CMDPHP: Poller[0] Host[1] WARNING: Result from CMD not valid. Partial Result:
02/21/2005 02:05:14 PM - CMDPHP: Poller[0] Host[1] WARNING: Result from CMD not valid. Partial Result:
02/21/2005 02:05:15 PM - SYSTEM STATS: Time: 1.0478 s, Method: cmd.php, Processes: 1, Threads: N/A, Hosts: 2, Hosts/Process: 2
02/21/2005 04:41:49 PM - CMDPHP: Poller[0] Host[1] WARNING: Result from CMD not valid. Partial Result:
02/21/2005 04:41:49 PM - CMDPHP: Poller[0] Host[1] WARNING: Result from CMD not valid. Partial Result:
02/21/2005 04:41:49 PM - CMDPHP: Poller[0] Host[1] WARNING: Result from CMD not valid. Partial Result:
02/21/2005 04:41:49 PM - CMDPHP: Poller[0] Host[1] WARNING: Result from CMD not valid. Partial Result:
02/21/2005 04:41:49 PM - CMDPHP: Poller[0] Host[1] WARNING: Result from CMD not valid. Partial Result:
02/21/2005 04:41:49 PM - CMDPHP: Poller[0] Host[6] WARNING: Result from SNMP not valid. Partial Result:
02/21/2005 04:41:49 PM - CMDPHP: Poller[0] Host[6] WARNING: Result from SNMP not valid. Partial Result:
02/21/2005 04:41:51 PM - SYSTEM STATS: Time: 1.9495 s, Method: cmd.php, Processes: 1, Threads: N/A, Hosts: 3, Hosts/Process: 3
02/22/2005 11:57:26 AM - CMDPHP: Poller[0] Host[1] WARNING: Result from CMD not valid. Partial Result:
02/22/2005 11:57:26 AM - CMDPHP: Poller[0] Host[1] WARNING: Result from CMD not valid. Partial Result:
02/22/2005 11:57:26 AM - CMDPHP: Poller[0] Host[1] WARNING: Result from CMD not valid. Partial Result:
02/22/2005 11:57:26 AM - CMDPHP: Poller[0] Host[1] WARNING: Result from CMD not valid. Partial Result:
02/22/2005 11:57:26 AM - CMDPHP: Poller[0] Host[6] WARNING: Result from SNMP not valid. Partial Result:
02/22/2005 11:57:26 AM - CMDPHP: Poller[0] Host[6] WARNING: Result from SNMP not valid. Partial Result:
02/22/2005 11:57:27 AM - SYSTEM STATS: Time: 1.6158 s, Method: cmd.php, Processes: 1, Threads: N/A, Hosts: 3, Hosts/Process: 3
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Please run 1 pass of poller with logging set to DEBUG and post your output.
TheWitness
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?
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?
I also get the same PHPCMD Error
I run Apache 1.3 with windows 2000 and php 4.3.10.
grpahs were not plotting, so when i ran poller.php from command line, i got the following error.
earlier doc root was e:\program files\apache\htdocs
the document root now in httpd.conf is set to e:\apache\htdocs, i dont know why it tries to search for scripts in e:\program files" path
Can't open perl script "e:\program": No such file or directory
Can't open perl script "e:\program": No such file or directory
Can't open perl script "e:\program": No such file or directory
Can't open perl script "e:\program": No such file or directory
ERROR: opening 'e:\program': No such file or directory
OK
ERROR: opening 'e:\program': No such file or directory
OK
ERROR: opening 'e:\program': No such file or directory
OK
ERROR: opening 'e:\program': No such file or directory
OK
ERROR: opening 'e:\program': No such file or directory
COK
ontent-type: ERROR: opening 'e:\program': No such file or directory
tOK
ext/htmlOK
OK
X-Powered-By: PHP/4.3.10
02/23/2005 12:43:59 PM - SYSTEM STATS: Time: 2.0835 s, Method: cmd.php, Processe
s: 1, Threads: N/A, Hosts: 4, Hosts/Process: 4
grpahs were not plotting, so when i ran poller.php from command line, i got the following error.
earlier doc root was e:\program files\apache\htdocs
the document root now in httpd.conf is set to e:\apache\htdocs, i dont know why it tries to search for scripts in e:\program files" path
Can't open perl script "e:\program": No such file or directory
Can't open perl script "e:\program": No such file or directory
Can't open perl script "e:\program": No such file or directory
Can't open perl script "e:\program": No such file or directory
ERROR: opening 'e:\program': No such file or directory
OK
ERROR: opening 'e:\program': No such file or directory
OK
ERROR: opening 'e:\program': No such file or directory
OK
ERROR: opening 'e:\program': No such file or directory
OK
ERROR: opening 'e:\program': No such file or directory
COK
ontent-type: ERROR: opening 'e:\program': No such file or directory
tOK
ext/htmlOK
OK
X-Powered-By: PHP/4.3.10
02/23/2005 12:43:59 PM - SYSTEM STATS: Time: 2.0835 s, Method: cmd.php, Processe
s: 1, Threads: N/A, Hosts: 4, Hosts/Process: 4
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Long file names are not supported. You can set the executable path in the the PATH environment variable however and simply use either "perl" or "php" instead of the full path. Your choice.
TheWitness
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?
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?
Who is online
Users browsing this forum: No registered users and 2 guests