I've a problem with return values from a script server script. When cacti runs it the result in the log file is:
Code: Select all
06/29/2010 12:15:03 AM - SPINE: Poller[0] Host[2] DS[25] SS[5] SERVER: /var/www/cacti/scripts/ss_netadmin.php ss_netadmin 192.168.1.2 get addresses 6, output: 0
06/29/2010 12:15:03 AM - SPINE: Poller[0] Host[2] DS[21] SS[4] SERVER: /var/www/cacti/scripts/ss_netadmin.php ss_netadmin 192.168.1.2 get addresses 2, output: 0
06/29/2010 12:15:03 AM - SPINE: Poller[0] Host[2] DS[20] SS[3] SERVER: /var/www/cacti/scripts/ss_netadmin.php ss_netadmin 192.168.1.2 get addresses 1, output: 0
06/29/2010 12:15:03 AM - SPINE: Poller[0] Host[2] DS[24] SS[2] SERVER: /var/www/cacti/scripts/ss_netadmin.php ss_netadmin 192.168.1.2 get addresses 5, output: 0
06/29/2010 12:15:03 AM - SPINE: Poller[0] Host[2] DS[23] SS[1] SERVER: /var/www/cacti/scripts/ss_netadmin.php ss_netadmin 192.168.1.2 get addresses 4, output: 0
06/29/2010 12:15:03 AM - SPINE: Poller[0] Host[2] DS[22] SS[0] SERVER: /var/www/cacti/scripts/ss_netadmin.php ss_netadmin 192.168.1.2 get addresses 3, output: 0
Code: Select all
[root@localhost cacti]# php script_server.php
PHP Deprecated: Assigning the return value of new by reference is deprecated in /var/www/cacti/lib/adodb/adodb.inc.php on line 866
PHP Deprecated: Assigning the return value of new by reference is deprecated in /var/www/cacti/lib/adodb/adodb.inc.php on line 872
PHP Deprecated: Assigning the return value of new by reference is deprecated in /var/www/cacti/lib/adodb/adodb.inc.php on line 1183
PHP Deprecated: Assigning the return value of new by reference is deprecated in /var/www/cacti/lib/adodb/adodb.inc.php on line 1961
PHP Deprecated: Assigning the return value of new by reference is deprecated in /var/www/cacti/lib/adodb/adodb.inc.php on line 3027
PHP Deprecated: Assigning the return value of new by reference is deprecated in /var/www/cacti/lib/adodb/adodb.inc.php on line 3592
PHP Deprecated: Assigning the return value of new by reference is deprecated in /var/www/cacti/lib/adodb/adodb.inc.php on line 3667
PHP Deprecated: Assigning the return value of new by reference is deprecated in /var/www/cacti/lib/adodb/adodb.inc.php on line 3687
PHP Deprecated: Function split() is deprecated in /var/www/cacti/script_server.php on line 43
PHP Script Server has Started - Parent is cmd
/var/www/cacti/scripts/ss_netadmin.php ss_netadmin 192.168.1.2 get addresses 1
35245
/var/www/cacti/scripts/ss_netadmin.php ss_netadmin 192.168.1.2 get addresses 2
441
/var/www/cacti/scripts/ss_netadmin.php ss_netadmin 192.168.1.2 get addresses 3
724
/var/www/cacti/scripts/ss_netadmin.php ss_netadmin 192.168.1.2 get addresses 4
3494
/var/www/cacti/scripts/ss_netadmin.php ss_netadmin 192.168.1.2 get addresses 5
216
/var/www/cacti/scripts/ss_netadmin.php ss_netadmin 192.168.1.2 get addresses 6
101