data input method - script server php

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
lucky
Cacti User
Posts: 62
Joined: Mon Sep 30, 2002 3:23 am
Location: Germany

data input method - script server php

Post by lucky »

hello.

i've make a little php-script. it works well from console.
my problem is this:
Content-type: text/html
X-Powered-By: PHP/4.3.8

here_the_value_i_need

now, i have selected script server (PHP) in the data input method for input type

input string: php.exe <path_cacti>/scripts/syslog.php --<selected_row>

input fields: selected_rows

output fields: syslog_value

but it did not works. i get 0 as value. whats wrong?
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Please proceed as documented in http://forums.cacti.net/viewtopic.php?t=7738
Reinhard
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests