Hi Support team,
I am using the check_mem.pl plugin for solaris memory usage.below is the option used:-
./check_mem.pl -w 20 -c 10 -f -C
But for few servers it gives kstat error and when I eliminate the -C option and use ./check_mem.pl -w 20 -w 10 -f I get the output.
The issue is for few servers if i do prstat -t and calculate the memory usage and match it with my check_mem.pl output it is not matching and not even nearby. My check_mem.pl gives critical usage and where as the prstat shows just 18% memory used. Please help with how does this plugin calculates the memory usages and why it is not giving correct output for few of the servers.
Regards,
khush
check_mem.pl returns incorrect output for few servers
Re: check_mem.pl returns incorrect output for few servers
I'm not very familiar with this particular plugin, it may be best to just shoot a quick email to the plugin author found on the nagios exchange page: http://exchange.nagios.org/directory/Pl ... pl/details they would probably be the best person to ask 
Re: check_mem.pl returns incorrect output for few servers
Thank you for your reply. Please suggest any other method or plugin using which I can monitor Solaris memory usage and also need graphs 
Re: check_mem.pl returns incorrect output for few servers
I'm not sure what version of check_mem.pl you're using but the version from Nagios Exchange is old. If that's what you're using, give this version a try and see if that helps.