Hello
very nice tool ! but i have 2 problems :
when i use load the cmd.php on XP i have this result for my command
d:\outils\easyphp\php\php.exe :\outils\EasyPHP\www\cacti\cmd.php
result :
ERROR: expected 1 data source readings (got 2) from N:X-Powered-By::...
X-Powered-By: PHP/4.2.0
Content-type: text/html
this is a vb script for percent free space on hard disk.
when i watch the cron printout the result is :
X-Powered-By: PHP/4.2.0 Content-type: text/html 39
when i watch the datasource-> edit data the result is 39 (my free percent disk)
I have configure the graph as define in the documentation, but no graph, the rrd file is generate but no plot !
any body have an idea
my second problem is concerning the get snmp data :
i have a error with the cmd.php who said for IP adress thi is not à command file.
thank for your help
error on cmd.php
Moderators: Developers, Moderators
-
- Posts: 38
- Joined: Tue Feb 04, 2003 12:05 pm
- Location: Dallas, TX
- Contact:
Your error is being caused by the PHP headers that are returned when you run your script. There must be an option in the PHP.INI file to turn these off, but I found a workaround. Add "-q" to the command line you are using in your DIS. Example from my DIS:
c:\php\php -q <path_cacti>/scripts/diskutils.php <server> <option> <disk>
c:\php\php -q <path_cacti>/scripts/diskutils.php <server> <option> <disk>
Who is online
Users browsing this forum: No registered users and 1 guest