[Nagiosplug-help] spacing in regex when querying

Andreas Ericsson ae at op5.se
Mon Oct 16 10:06:56 CEST 2006


I do not run a private support-service. Email concerning Nagios or its 
plugins and addressed directly to me will, as of 5 minutes ago, be 
automatically filtered out.

Venkatesh wrote:
> hi andreas,
> 
> thanks for your help,
> 
> i would like to ask you one more thing, 
> 
> when i give this from the nagios server, 
> 
> ./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"'
> 
> but when i issue the same command on the server 132 it says file OK , no
> match for regex "org.postgresql.util.PSQLException: The connection
> attempt failed because Exception: java.net.NoRouteToHostException: No
> route to host"
> 
> plz advice and help me on this. how can get the output on the nagios.
> 
> regards and thanks
> venki

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231




More information about the Help mailing list