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
solaris check_swap Error
Re: solaris check_swap Error
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
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
-
ganeshanrs1983
- Posts: 55
- Joined: Wed Jun 18, 2014 10:16 am
Re: solaris check_swap Error
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'
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
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
http://exchange.nagios.org/directory/Pl ... ap/details
-
ganeshanrs1983
- Posts: 55
- Joined: Wed Jun 18, 2014 10:16 am
Re: solaris check_swap Error
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
bash-2.05$ sudo tar -xf check_solaris_swap_1.2.tar
tar: tape blocksize error
Re: solaris check_swap Error
After downloading the file, please run the following command against it:
The above should extract it properly.
Code: Select all
tar xfzv check_solaris_swap_1_2.tar.gz-
ganeshanrs1983
- Posts: 55
- Joined: Wed Jun 18, 2014 10:16 am
Re: solaris check_swap Error
Issue is resolved. Please close this thread.