Hi All ,
I 'm urgently to fix the issue as following , don't know why not able to run option of "-C " , appericate any one can help me on it? The OS is solaris 10 on sparc server , please help ...
/usr/local/nagios/libexec/check_mem.pl -w 10 -c 5 -f
CRITICAL - 0.0% (1507 kB) free!|TOTAL=100663295KB;;;; USED=100661788KB;;;; FREE=
1507KB;;;; CACHES=0KB;;;;
/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!
/usr/perl5/5.6.1/lib/Sun/Solaris>
thanks
Kenny
You can't report on Solaris caches without Sun::Solaris::Kst
-
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:
Have you installed Sun::Solaris::Kstat?
It appears as though the plugin polls this for the required information.
It appears as though the plugin polls this for the required information.
Re: You can't report on Solaris caches without Sun::Solaris:
Hi ,
Thanks your reply , then may I know how to installed Sun::Solaris::Kstat ?
but I 'm fine to run with no "-C" option as folowing so I m not sure Sun::Solaris::Kstat whether installed or not.
/usr/local/nagios/libexec/check_mem.pl -w 10 -c 5 -f
CRITICAL - 0.0% (1560 kB) free!|TOTAL=100663295KB;;;; USED=100661735KB;;;; FREE=
1560KB;;;; CACHES=0KB;;;;
appreciate if reply as soon , I require fix it as soon.
Thanks your reply , then may I know how to installed Sun::Solaris::Kstat ?
but I 'm fine to run with no "-C" option as folowing so I m not sure Sun::Solaris::Kstat whether installed or not.
/usr/local/nagios/libexec/check_mem.pl -w 10 -c 5 -f
CRITICAL - 0.0% (1560 kB) free!|TOTAL=100663295KB;;;; USED=100661735KB;;;; FREE=
1560KB;;;; CACHES=0KB;;;;
appreciate if reply as soon , I require fix it as soon.
Re: You can't report on Solaris caches without Sun::Solaris:
Are you running this check through nrpe or another like-agent? Sun::Solaris::Kstat is installed by default on Solaris boxes, but you need to run the plugin script locally from the solaris box, not from the xi server. This will require an agent.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: You can't report on Solaris caches without Sun::Solaris:
Hi Abrist ,
The plugin is run on local server (Nagios agent installed) not from Nagios server , so no ideal why onnot able to run -C option (Count OS caches as FREE memory\n";) on the server , then it is fine to run -C option on other same OS server with same check_mem.pl plugin, I attach the check_mem.pl for this post .
I really need to fix it as soon.
Thanks in advance
Kenny
The plugin is run on local server (Nagios agent installed) not from Nagios server , so no ideal why onnot able to run -C option (Count OS caches as FREE memory\n";) on the server , then it is fine to run -C option on other same OS server with same check_mem.pl plugin, I attach the check_mem.pl for this post .
I really need to fix it as soon.
Thanks in advance
Kenny
You do not have the required permissions to view the files attached to this post.
-
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:
Hello K,
You will need to install that package to pull the data you are looking for, please reference this post as it already answered the question:
http://support.nagios.com/forum/viewtop ... 974#p42974
You will need to install that package to pull the data you are looking for, please reference this post as it already answered the question:
http://support.nagios.com/forum/viewtop ... 974#p42974