[Nagiosplug-help] regarding regex in check_file plugin

Venkatesh venki_lin at fastmail.us
Mon Oct 16 12:23:55 CEST 2006


hello All,

I have problem with check_file plugin which checking for regex 

previous i had sent  a mail to nagiosplugin-help on this, but now i am
getting wierd output,

./check_by_ssh 192.168.1.132 -C '/usr/lib/nagios/plugins/check_file -f
/home/jboss-3.2.3/server/default/log/server.log -e
"org.postgresql.util.PSQLException: The connection attempt failed
because Exception: java.net.NoRouteToHostException: No route to host"'

i get the output as this.....below

Unable to open pipe: /usr/bin/ssh 192.168.1.132
'/usr/lib/nagios/plugins/check_file -f
/home/jboss-3.2.3/server/default/log/server.log -e
"org.postgresql.util.PSQLException: The connection attempt failed
because Exception: java.net.NoRouteToHostException: No route to host"'

My Queries:

1. why does this "unable to open pipe" comes
2. how can we overcome spacing in regexp
3. when i give the same above command on the same server, though the -e
"org.postgresql.util.PSQLException: The connection attempt failed
because Exception: java.net.NoRouteToHostException: No route to host"'
exits in the file server.log, it says file OK, 

can any one advice/help me on this.  

thanks and regards
venkatesh
-- 
  Venkatesh
  venki_lin at fastmail.us

-- 
http://www.fastmail.fm - Access all of your messages and folders
                          wherever you are





More information about the Help mailing list