Re: Health Script does not stop region server

2017-02-11 Thread Lars George
Will do, thanks On Sun, Feb 5, 2017 at 3:57 PM, Ted Yu wrote: > Yesterday I tried snmpwalk on CentOS as well - same behavior. > > Lars: > Can you file a JIRA to fix the bug ? > > Thanks > > On Sun, Feb 5, 2017 at 2:22 AM, Lars George wrote: > >> Hi Ted, >> >> This does not work on Mac as provid

Re: Health Script does not stop region server

2017-02-05 Thread Ted Yu
Yesterday I tried snmpwalk on CentOS as well - same behavior. Lars: Can you file a JIRA to fix the bug ? Thanks On Sun, Feb 5, 2017 at 2:22 AM, Lars George wrote: > Hi Ted, > > This does not work on Mac as provided. I tried on a CentOS 6 machine, > and had to install net-snmp and net-snmp-util

Re: Health Script does not stop region server

2017-02-05 Thread Lars George
Hi Ted, This does not work on Mac as provided. I tried on a CentOS 6 machine, and had to install net-snmp and net-snmp-utils, plus start the snmpd to make it time out quicker. But even even there the snmpwalk return nothing, making the script fail. Anyhow, the snmpwalk failing after the retries i

Re: Health Script does not stop region server

2017-02-04 Thread Ted Yu
Running the command from the script locally (on Mac): $ /usr/bin/snmpwalk -t 5 -Oe -Oq -Os -v 1 -c public localhost if Timeout: No Response from localhost $ echo $? 1 Looks like the script should parse the output from snmpwalk and provide some hint if unexpected result is reported. Cheers On

Health Script does not stop region server

2017-02-04 Thread Lars George
Hi, I tried the supplied `healthcheck.sh`, but did not have snmpd running. That caused the script to take a long time to error out, which exceed the 10 seconds the check was meant to run. That resets the check and it keeps reporting the error, but never stops the servers: 2017-02-04 05:55:08,962