Hello,
I create a php script server, that work fine in command line.
I copy it on the cacti server (with Xml file), create a "Data Querie".
I had this data query to one host... and then ....
The php script was emptied !!!!
Before applying to a host :
After applying to to host :
I tried to make a very simple php script server. I have the same behaviour !
Very strange.
Cacti 0.8.8a on RedHat 6.
PHP Script Server strange behaviour !
Moderators: Developers, Moderators
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: PHP Script Server strange behaviour !
Cacti usually does not write to the scripts directory.
You may remove write permission for apache to make sure nothing bad happens.
What does this very script do?
R.
You may remove write permission for apache to make sure nothing bad happens.
What does this very script do?
R.
[solved]Re: PHP Script Server strange behaviour !
In fact i make à mistake in thé XML file.
I put two ">" in the script_path So the command passed during polling is php -q > script.php.
I can now finalize my template and post it ASAP.
Tanks.
I put two ">" in the script_path So the command passed during polling is php -q > script.php.
I can now finalize my template and post it ASAP.
Tanks.
Who is online
Users browsing this forum: No registered users and 1 guest