Forum Discussion

Baqar_Husain_81's avatar
Baqar_Husain_81
Icon for Nimbostratus rankNimbostratus
Mar 03, 2009

Cacti - Memory Graph Issues

Keep on getting the following error logged:

 

03/03/2009 12:55:12 PM - CMDPHP: Poller[0] Host[2] DS[117] WARNING: Result from SERVER not valid. Partial Result: U

 

 

Did a debug and here's the extra log information:

 

 

03/02/2009 11:15:02 PM - PHPSVR: Poller[0] DEBUG: INC: '/usr/local/cacti/scripts/ss_f5-bigip-tmm-memory.php' FUNC: 'ss_f5tmm_mem' PARMS: '10.xxx.xxx.xxx public 2 161 500'

 

03/02/2009 11:15:02 PM - CMDPHP: Poller[0] Host[2] DS[90] WARNING: Result from SERVER not valid. Partial Result: U

 

03/02/2009 11:15:02 PM - CMDPHP: Poller[0] Host[2] DS[90] SERVER: /usr/local/cacti/scripts/ss_f5-bigip-tmm-memory.php ss_f5tmm_mem 10.xxx.xxx.xxx public 2 161 500 , output: U

 

 

I did a rrdtool fetch and it's filled with nan's:

 

1236014700: nan nan

 

1236015000: nan nan

 

1236015300: nan nan

 

1236015600: nan nan

 

1236015900: nan nan

 

 

If I try to run the script manually I get NaN

 

 

[host]/usr/local/cacti/scripts /usr/bin/php ./ss_f5-bigip-tmm-memory.php ss_f5tmm_mem "10.xxx.xxx.xxx" "public" "2" "161" "500"

 

PHP Warning: Missing argument 7 for ss_f5tmm_mem() in /usr/local/cacti/scripts/ss_f5-bigip-tmm-memory.php on line 16

 

Content-type: text/html

 

X-Powered-By: PHP/4.3.9

 

 

sysStatMemoryTotal:NaN sysStatMemoryUsed:NaN

 

 

but interestingly if I remove ss_f5tmm_mem from the command I get a response:

 

[host]/usr/local/cacti/scripts /usr/bin/php ./ss_f5-bigip-tmm-memory.php "10.xxx.xxx.xxx" "public" "2" "161" "500"

 

PHP Warning: Missing argument 6 for ss_f5tmm_mem() in /usr/local/cacti/scripts/ss_f5-bigip-tmm-memory.php on line 16

 

PHP Warning: Missing argument 7 for ss_f5tmm_mem() in /usr/local/cacti/scripts/ss_f5-bigip-tmm-memory.php on line 16

 

Content-type: text/html

 

X-Powered-By: PHP/4.3.9

 

 

sysStatMemoryTotal: 1794113536 sysStatMemoryUsed: 21322956

 

 

I'm not understanding what's going on - any help is appreciated. Thanks.
  • anyone else have this problem with the Memory Graphs?

     

    03/04/2009 03:50:45 PM - CMDPHP: Poller[0] Host[5] DS[142] WARNING: Result from SERVER not valid. Partial Result: U

     

     

    This is all running on RedHat Enterprise Server el5

     

    rrdtool-1.2.30

     

    cacti-0.8.7d

     

    php-4.3.9-3.22.9

     

    php-snmp-4.3.9-3.22.9

     

    php-mysql-4.3.9-3.22.9

     

    php-pear-4.3.9-3.22.9

     

     

    Thanks.
  • If anyone else experiences this issue with 0.8.7d, download the "SNMP value trim issue" patch release on 3/2/2009.

     

    http://www.cacti.net/download_patches.php