Re: command not defined
Posted: Wed Jan 29, 2014 11:18 am
My apologies, but I never received the pm. My mailbox did fill a few weeks ago though. I would still be happy to look if you want to to resend.
Support for Nagios products and services
https://support.nagios.com/forum/
arenist wrote:Dec 18 14:31:25 vbgmadb11 nrpe[25880]: Added command[check_lsnr]=/usr/local/nagios/libexec/check_listener.bsh
But, I did notice something. Your host definition:arenist wrote:Dec 18 14:31:25 vbgmadb11 nrpe[25880]: Handling the connection...
Dec 18 14:31:25 vbgmadb11 nrpe[25880]: Host is asking for command 'check_lsnr' to be run...
Dec 18 14:31:25 vbgmadb11 nrpe[25880]: Running command: /usr/local/nagios/libexec/check_listener.bsh
Dec 18 14:31:26 vbgmadb11 nrpe[25880]: Command completed with return code 0 and output: Oracle Listener is working fine.
Dec 18 14:31:26 vbgmadb11 nrpe[25880]: Return Code: 0, Output: Oracle Listener is working fine.
Dec 18 14:31:26 vbgmadb11 xinetd[25407]: EXIT: nrpe status=0 pid=25880 duration=1(sec)
Code: Select all
define host{
use linux-server
host_name vbgmadb11
alias VBGMADB11
address x.x.x.179
contact_groups admins
}Could this be your issue?arenist wrote:nagios@madpbk51:~> ping vbgmadb11
PING vbgmadb11.dpma.de (x.x.x.178) 56(84) bytes of data.
64 bytes from vbgmadb11.dpma.de (x.x.x.178): icmp_seq=1 ttl=63 time=0.566 ms
64 bytes from vbgmadb11.dpma.de (x.x.x.178): icmp_seq=2 ttl=63 time=0.359 m