Nagios and network interfaces

I have two network interfaces, one on “server” subnet (eth0), one on “client” subnet (eth1).
Can i configure some nagios services to do check through eth0 and the others to do check through eth1?

sorry, for bad english.

I have 3 interfaces on the nagios server and nagios uses the correct routing depending on which IP address it has to check :slight_smile:

Ciao, Luca

did you configured static route with route command? Or nagios understand it automatically?

many thanks for your reply

the usual unix routing. if you ping an address of the private network the operating system knows which interface to use. If you can ping the different machines Nagios will reach them :slight_smile:

Luca

ok, but now i have a problem.
I have a host on server subnet (eth0) that i want to check from client subnet (eth1).

I must check it from client’s subnet because the dhcp service on that server offer ip address to pc that are on client’s subnet…

How i can do it? it making me mad…

thanks again for reply

EDIT:
i’ve solved the dhcp problem with -i parameter of check_dhcp plugin… now the question is: how i can check a server from client’s subnet?
server = eth0
client = eth1

for Luca: are you italian?
Edited Thu Mar 17 2005, 03:13PM ]

If the server is available to the client subnet it should have a “client net” IP address. or not? :slight_smile:

Luca

PS: Si, nel profilo trovi indicazioni per MSN e ICQ :slight_smile:

[quote=“luca”]If the server is available to the client subnet it should have a “client net” IP address. or not? :slight_smile:

Luca

PS: Si, nel profilo trovi indicazioni per MSN e ICQ :slight_smile: [/quote]

yes, but the plugins by default goes through the server’s interface…