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

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
k42388
Posts: 4
Joined: Thu Jan 24, 2013 2:39 am

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

Post 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
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

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

Post 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.
Locked