Monitoring service from remote host

Hi all,

I have a Nagios host server(let say server A) and a remote Nagios server (server :roll:. The remote server(:roll: send its passive checks via nscp to the Nagios host server(A).

I tried to let the remote server(:roll: also do a check_smtp on the Nagios host server(A) and send it via the nscp to the Nagios host server(A).
On the Nagios host server(A) i disabled active checks for check_smtp but allowed passive check.

Unfortunatly it does not seem to be allowed to do a check_smtp from the Remote server(A) on the Nagios host server(A) and send it via nscp.

Can someone tell me how i should setup this?

Thanks!
Grz. Johan

"Unfortunatly it does not seem to be allowed to do a check_smtp from the Remote server(A) on the Nagios host server(A) and send it via nscp."
I see no reason that it’s not allowed, since that is what the service check is for (check_smpt). Perhaps you have another issue like a firewall.

Hi Jakke!

It turned out that if you do a syntaxt check with nagios (nagios -v) you need to use the full path for the binary and the nagios cfg file.
I experienced syntax errors which where not there…:frowning:

This was the cause of the problems.
Thanks for your reply anyway!

Grz. Johan

I’v got it working now, but on the main page from Nagios is now shows in red that the service is disabled (that is true because it only receive passive check results from another service).
I only find it annoying that i see something red while the passive check is green and so everything is as planned.

Is there something to do about this behaviour?

Thanks again!
Grz. Johan

main page? what is that? tactical display maybe? If that is the case, then no, it will show that it’s disabled, since it truely is.

it is the tactical display indeed.
Ok, that the way it is.
Thanks.

Grz. Johan