Hi all, I am configuring JFFNMS to monitor the CPU, Real Memory, and Swap spaces, however, the SLA (rrd_analizer.php) seems to be unable to handle more than one condition. Each time the last condition being evaluated would cause a stack underflow, any clue. I have included a bunch of trouble shooting scenarios below. Also, a second problem, why does the mem_available(0) mib shown 0 rather than the actual value in the neighborhood of 27 MB.
Thanks Scenario 1: all three conditions (Failed) ny6p102swk:$ php -q rrd_analizer.php 17 I17 : ========================================================================================== I17 : Start: 2004-04-12 11:30:00 Stop: 2004-04-12 12:00:00 Measures: 6 I17 : cpu_user_ticks(0) cpu_idle_ticks(98) cpu_wait_ticks(0) cpu_kernel_ticks(0) swap_total(1048672) swap_available(995024) mem_total(131072) mem_available(0) load_average_1(0) load_average_5(0) load_average_15(0) I17 : ------------------------------------------------------------------------------------------ I17 : sla : Cond0: ((98) > 70) = 1 -TRUE- CPU Utilization High Currently at: 0 % I17 : sla : Cond1: ((0/1024) < 30) = 1 -TRUE- Free Real Memory Low Currently at: 0 MB I17 : sla : Cond2: ((995024/1048672 * 100) < 100) = 1 -TRUE- Virtual Memory Low Currently at: 94.88 % I17 : sla : STACK UNDERFLOW, REVIEW THE SLA 10004 !!, stack elements: 3 Scenario 2: Only 2 conditions (Failed) ny6p102swk:$ php -q rrd_analizer.php 17 I17 : ========================================================================================== I17 : Start: 2004-04-12 11:35:00 Stop: 2004-04-12 12:05:00 Measures: 6 I17 : cpu_user_ticks(0) cpu_idle_ticks(98) cpu_wait_ticks(0) cpu_kernel_ticks(0) swap_total(1048672) swap_available(995024) mem_total(131072) mem_available(0) load_average_1(0) load_average_5(0) load_average_15(0) I17 : ------------------------------------------------------------------------------------------ I17 : sla : Cond0: ((98) > 70) = 1 -TRUE- CPU Utilization High Currently at: 0 % I17 : sla : Cond1: ((0/1024) < 30) = 1 -TRUE- Free Real Memory Low Currently at: 0 MB I17 : sla : STACK UNDERFLOW, REVIEW THE SLA 10004 !!, stack elements: 2 Scenario 3: only CPU (Worked) ny6p102swk:$ php -q rrd_analizer.php 17 I17 : ========================================================================================== I17 : Start: 2004-04-12 11:35:00 Stop: 2004-04-12 12:05:00 Measures: 6 I17 : cpu_user_ticks(0) cpu_idle_ticks(98) cpu_wait_ticks(0) cpu_kernel_ticks(0) swap_total(1048672) swap_available(995024) mem_total(131072) mem_available(0) load_average_1(0) load_average_5(0) load_average_15(0) I17 : ------------------------------------------------------------------------------------------ New Event (2112): 2004-04-12 12:11:55 - 12 - 3 - CPU - alert - rrd_analizer_sla - CPU Utilization High Currently at: 0 % - 10004 ==================================================================================================== event 2112: T 3 - P 10 - R 3 If 'type_id(12) !IN 10010,10007,10008,10006,10003,12' (0) Stop I17 : sla : Cond0: ((98) > 70) = 1 -TRUE- CPU Utilization High Currently at: 0 % I17 : sla : Final Eval: True. INFO: CPU Utilization High Currently at: 0 % Scenario 4: Memory First, then CPU (Failed on CPU) ny6p102swk:$ php -q rrd_analizer.php 17 I17 : ========================================================================================== I17 : Start: 2004-04-12 11:35:00 Stop: 2004-04-12 12:05:00 Measures: 6 I17 : cpu_user_ticks(0) cpu_idle_ticks(98) cpu_wait_ticks(0) cpu_kernel_ticks(0) swap_total(1048672) swap_available(995024) mem_total(131072) mem_available(0) load_average_1(0) load_average_5(0) load_average_15(0) I17 : ------------------------------------------------------------------------------------------ I17 : sla : Cond0: ((995024/1048672 * 100) < 100) = 1 -TRUE- Virtual Memory Low Currently at: 94.88 % I17 : sla : Cond1: ((98) > 70) = 1 -TRUE- CPU Utilization High Currently at: 0 % I17 : sla : STACK UNDERFLOW, REVIEW THE SLA 10004 !!, stack elements: 2 Scenario 5: Swap Space only (worked ) ny6p102swk:$ php -q rrd_analizer.php 17 I17 : ========================================================================================== I17 : Start: 2004-04-12 11:35:00 Stop: 2004-04-12 12:05:00 Measures: 6 I17 : cpu_user_ticks(0) cpu_idle_ticks(98) cpu_wait_ticks(0) cpu_kernel_ticks(0) swap_total(1048672) swap_available(995024) mem_total(131072) mem_available(0) load_average_1(0) load_average_5(0) load_average_15(0) I17 : ------------------------------------------------------------------------------------------ New Event (2114): 2004-04-12 12:13:48 - 12 - 3 - CPU - alert - rrd_analizer_sla - Virtual Memory Low Currently at: 94.88 % - 10004 ==================================================================================================== event 2114: T 3 - P 10 - R 3 If 'type_id(12) !IN 10010,10007,10008,10006,10003,12' (0) Stop I17 : sla : Cond0: ((995024/1048672 * 100) < 100) = 1 -TRUE- Virtual Memory Low Currently at: 94.88 % I17 : sla : Final Eval: True. INFO: Virtual Memory Low Currently at: 94.88 % Scenario 6: Real Memory Only (worked) ny6p102swk:$ php -q rrd_analizer.php 17 I17 : ========================================================================================== I17 : Start: 2004-04-12 11:45:00 Stop: 2004-04-12 12:15:00 Measures: 6 I17 : cpu_user_ticks(0) cpu_idle_ticks(99) cpu_wait_ticks(0) cpu_kernel_ticks(0) swap_total(1048672) swap_available(995024) mem_total(131072) mem_available(0) load_average_1(0) load_average_5(0) load_average_15(0) I17 : ------------------------------------------------------------------------------------------ New Event (2119): 2004-04-12 12:23:37 - 12 - 3 - CPU - alert - rrd_analizer_sla - - 10004 ==================================================================================================== event 2119: T 3 - P 10 - R 3 If 'type_id(12) !IN 10010,10007,10008,10006,10003,12' (0) Stop I17 : sla : Cond0: ((0/1024) < 30) = 1 -TRUE- Free Real Memory Low Currently at: 0 MB I17 : sla : Final Eval: True. INFO: ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click _______________________________________________ jffnms-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jffnms-users
