Page 1 of 1

You can't report on Solaris caches without Sun::Solaris::Kst

Posted: Thu Jan 24, 2013 2:48 am
by k42388
Hi ,

I had issue to run following command to cature memory usage on solaris 10 server, please advise if anyone had ideal .

$ /usr/local/nagios/libexec/check_mem.pl -w 10 -c 5 -f -C
You can't report on Solaris caches without Sun::Solaris::Kstat available!
$

Thanks in advance.
Kenny

Re: You can't report on Solaris caches without Sun::Solaris:

Posted: Thu Jan 24, 2013 10:41 am
by slansing
Inside the plugin we find this:

Code: Select all

eval "use Sun::Solaris::Kstat";
        if ($@) { #Kstat not available
It appears you must have the Sun::Solaris::Kstat perl module installed via CPAN.