Re: start nanny in verbose mode
Sébastien Bonnet <[email protected]>
| Newsgroups | gmane.linux.redhat.piranha |
|---|---|
| Message-ID | <[email protected]> |
> I am having a problem reading the remote load using ssh and when > I run the command manually "ssh ip_addr uptime" it works fine, > but nanny is complainning about it... How can I start nanny in > verbose mode from pulse or lvs.cf so I can see what's happening ? It's not about getting the uptime output (BTW did you check root@director can ssh RS without passwd ?) but parsing it. nanny is a bit picky with that. If all RS and linux/unix, you should start rwhod on all of them and using the following script as load_monitor : [sbt@lilas sbt]$ cat /etc/sysconfig/ha/ruptime-piranha #! /bin/sh ruptime | grep -E "^$1[[:space:]]+" | \ sed -e 's/ load / load average: /g' Be careful to name your RS in lvs.cf with their real short hostnames. -- Sébastien Bonnet Centre de contacts - Experian France