Hej, i think theres a typo in the applied patch, causing the results to be incorrect.
Line 117: $real_used_pc = ( 100 - ( ( 100 / $total_memory ) * ( $cache_memory + $buffer_memory + $free_memory ) + $slab_memory ) ); The "+ $slab_memory" needs to be inside the brackets: $real_used_pc = ( 100 - ( ( 100 / $total_memory ) * ( $cache_memory + $buffer_memory + $free_memory + $slab_memory ) ) ) ; Greetings, joey Diff: https://secure.opsera.com/wsvn/wsvn/opsview/trunk/opsview-core/nagios-plugins/check_memory?op=diff& On 03/24/2010 05:01 PM, Duncan Ferguson wrote: > > On 10 Mar 2010, at 22:30, Stu Teasdale wrote: > >> To this end I've attached a >> patch which treats SReclaimable memory as free. If people have any comments on my key >> assumption, that it's safe to treat this slab RAM like caches, then please let me know! >> > > Hiya Stu, > > Thanks for the patch - I have applied it and it will be available in 3.7.0 > > Thanks > > Duncs > > > > > > > > Opsera Limited | Unit 69 Suttons Business Park > Reading | Berkshire | RG6 1AZ | UK > > Phone: +44 (0) 845 057 7887 > Mobile: +44 (0) 7968 148 748 > Skype: duncan_j_ferguson Email: [email protected] > www.opsera.com > > Opsera Limited is registered in the UK under Company Number 5396532. Our registered office is Gorse View, Horsell Rise, Woking, Surrey, GU21 4RB. > > > > > _______________________________________________ > Opsview-users mailing list > [email protected] > http://lists.opsview.org/lists/listinfo/opsview-users _______________________________________________ Opsview-users mailing list [email protected] http://lists.opsview.org/lists/listinfo/opsview-users
