Currently attempting to use the "Script - Script Server (PHP)" method. Here is the input string I have:
Code: Select all
<path_cacti>/scripts/ss_tping.php ss_tping <hostname>
Code: Select all
C:\Documents and Settings\Administrator>php c:\cacti\script_server.php
PHP Script Server has Started - Parent is cmd
c:\cacti\scripts\ss_tping.php ss_tping google.com
AV:13.25 PL:0
quit
PHP Script Server Shutdown request received, exiting
Code: Select all
07/14/2005 05:40:20 PM - PHPSVR: Poller[0] DEBUG: INCLUDE: 'C:\cacti/scripts/ss_tping.php' SCRIPT: 'ss_tping' CMD: 'google.com'
07/14/2005 05:40:24 PM - PHPSVR: Poller[0] SERVER: C:\cacti/scripts/ss_tping.php ss_tping google.com output AV:79.75 PL:17
07/14/2005 05:40:24 PM - CMDPHP: Poller[0] Host[10] DS[38] SERVER: C:\cacti/scripts/ss_tping.php ss_tping google.com, output: AV:79.75 PL:17
I could not find any documentation after a bit of looking on the xml files which are located in /resource/script_server. As a result, I didn't write one for my script... Any possibility that this is the problem?
If any additional information is needed, I'll be glad to post. And hopefully I can get this working and post the windows ping script that a lot of people seem to want.
Thanks for any suggestions anyone might have.