command not defined
Re: command not defined
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.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: command not defined
Well, this is a stumper. You configs look fine. The following quotes would imply that it is working fine.
Has x.x.x.179 listed, but the nagios box resolves vbgmadb11 to x.x.x.178:
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
Last edited by abrist on Tue Feb 04, 2014 3:55 pm, edited 1 time in total.
Reason: Obfuscate IP
Reason: Obfuscate IP
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: command not defined
Hi abrist,
you are definitively the greatest!
The wrong IP address was indeed the reason for nagios to fail. After correcting it nagios is working fine again. You should change your nick to I-C-everything.
It was "just" a mistake of copy-and-paste.
Thank you very much and kind regards,
Arenist
PS: This posting can be closed.
you are definitively the greatest!
Thank you very much and kind regards,
Arenist
PS: This posting can be closed.
Re: command not defined
Everything is a bit of a stretch. How about "I-C-Somethings" ?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: command not defined
Hi abrist,
I-C-everything should mean "I see everything". I think, this mistake of mine was really hard to find.
Best regards,
Arenist
I-C-everything should mean "I see everything". I think, this mistake of mine was really hard to find.
Best regards,
Arenist