From: C. B. <be...@be...> - 2010-07-13 22:22:42
|
> I also tried this as well from the server , which does work.... > > ssh 172.xx.xx.xx /usr/local/nagios/libexec/check_users -w 5 -c 8 > > Authorized users only. > > USERS OK - 0 users currently logged in |users=0;5;8;0 > > > This tells me that > 1. ssh as Nagios works > 2. the check_users script runs on the remote client fine > 3. 2 - way communication is good between the client & sever as I got the > response back > > I am thinking there has to be something funky in the check_by_ssh script. > Sound right ?? Waitaminute... Where did that "Authorized users only" part come from? Nagios expects a single line of text, and SSH commands typically don't display banners (in my experience). Is that a banner that appears from the remote host? I wonder if that is confusing things. Can it be temporarily disabled to see if it changes the behavior? Benny -- "Well, we *could* hunt down the perpetrators, pool some $$, and hire 3 or 4 baseball-bat wielding professional explainers to go explain our position to them. Figuring out how to do so without breaking any laws is the tough part..." -- Valdis Kletnieks, 2009-01-23 |