The below info was great as I also had to perform the steps below to avoid the 
error.  

After making the changes I still have one more error:  It now displays " 
Statistics not available yet " always.
Any ideas on how this can be resolved?

Regards
Srini

 
On 26-Dec-2012, at 4:20 AM, Mykhaylo Dobrovolskyy 
<[email protected]> wrote:

> Ok, Resolution for me was to remove $lastDigit and also to add 
> CONFIG:$RRD_DB_DIR into SNMP Poller to get it working.
> 
> As far as I see an issue:
> 
> Even if in SNMP Poller you will be able to determine lastDigit(what it can't 
> as I can see) of farmId -> you have nothing to add(switch in 
> server/statistics.php file) those xN1xN2 params. (in that case you will never 
> able to get image for stats)
> 
> Also because you leave var_dump inside server output for stats:
> 
>                 #$farm_rrddb_dir = 
> CONFIG::$STATISTICS_RRD_DB_DIR."/{$folder}/{$farminfo['id']}";
>                 $farm_rrddb_dir = 
> CONFIG::$STATISTICS_RRD_DB_DIR."/{$farminfo['id']}";
> 
>                 if ($watchername == 'ServersNum')
>                         $rrddbpath = 
> "{$farm_rrddb_dir}/{$role_name}/SERVERS/db.rrd";
>                 else^M
>                         $rrddbpath = 
> "{$farm_rrddb_dir}/{$role_name}/{$watchername}/db.rrd";
> 
>                         #var_dump($rrddbpath);
> 
> it will never showed up to people as server can't process JSON answer from 
> server
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "scalr-discuss" group.
> To view this discussion on the web visit 
> https://groups.google.com/d/msg/scalr-discuss/-/tH-1sQjV5JkJ.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/scalr-discuss?hl=en.

-- 


Reply via email to