Send checks from only 1 network interface

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Zippyduda
Posts: 25
Joined: Thu Oct 10, 2019 7:17 am

Send checks from only 1 network interface

Post by Zippyduda »

Had a search around google and couldn't find anything regarding this.

My Nagios VM has 5 IP addresses for the purpose of netdisco but I would like to only send Nagios checks from only one source network interface/IP address (if possible).

Is this feasible?
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Send checks from only 1 network interface

Post by scottwilkerson »

It is going to use the routing table on the VM. As far as I am aware, you would need to change that to accommodate what you are looking to do.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked