Page 1 of 1
solaris check_swap Error
Posted: Mon Apr 13, 2015 9:58 am
by ganeshanrs1983
Hello,
Getting the below error from locally and as well as from remote server ( nagios server ).
./check_nrpe -H SERVERNAME -c check_swap -a '-w 10% -c 5%'
UNKNOWN: Unknown output from '/usr/local/bin/top -n | /usr/bin/grep "^Memory"': 'Memory: 8192M real, 3967M free, 3036M swap in use, 15G swap free
Re: solaris check_swap Error
Posted: Mon Apr 13, 2015 10:12 am
by jolson
Hello,
There should be no '%' signs in your command. Can you try running it without them please?
./check_nrpe -H SERVERNAME -c check_swap -a '-w 10 -c 5'
Best,
Jesse
Re: solaris check_swap Error
Posted: Mon Apr 13, 2015 11:56 am
by ganeshanrs1983
Still getting the same error.
nagios$ ./check_swap.pl -w 10 -c 5
UNKNOWN: Unknown output from '/usr/local/bin/top -n | /usr/bin/grep "^Memory"': 'Memory: 64G real, 29G free, 24G swap in use, 56G swap free'
Re: solaris check_swap Error
Posted: Mon Apr 13, 2015 1:02 pm
by jolson
It's possible that the check_swap.pl plugin will not work on Solaris. Can you try the following plugin please?
http://exchange.nagios.org/directory/Pl ... ap/details
Re: solaris check_swap Error
Posted: Thu Apr 16, 2015 7:12 am
by ganeshanrs1983
Getting this below error while extracing solaris swap plugin
bash-2.05$ sudo tar -xf check_solaris_swap_1.2.tar
tar: tape blocksize error
Re: solaris check_swap Error
Posted: Thu Apr 16, 2015 9:23 am
by jolson
After downloading the file, please run the following command against it:
Code: Select all
tar xfzv check_solaris_swap_1_2.tar.gz
The above should extract it properly.
Re: solaris check_swap Error
Posted: Thu May 07, 2015 9:08 am
by ganeshanrs1983
Issue is resolved. Please close this thread.