Monitor same IP from 2 NICs - netxms
-
Hello,
I would like to ask if someone knows how to prepare a setup like this:
I have 2 or more WANs and few external IP to monitor using ICMP using both WANs.
I am using ubuntu as a netxms server os, I created virtual NIC so I have e.g. NIC-A: 10.0.0.5 , NIC-B: 10.0.0.6
I set up config from my router side, ICMP from 10.0.0.5 goes through WAN1 , everything from 10.0.0.6 through to WAN2.
I've tested it from ubuntu using ping -I interfaceip it works.
How I configure netxms to use both interfaces for this?
I know It can be accomplish by setting up second server but I dont want to duplicate servers.
Does anyone know how to do it?
Thanks in advance for your help. -
Hi,
I'm afraid no easy solution here. You can run separate agent process use PING subagent - but you can not specify source IP in agent configuration, so you'll have to limit this agent process somehow to see only one interface. Other (probably easier) solution is to create script that will ping targets from correct interface and use it as external parameter or external parameters provider in NetXMS agent.
Best regards,
Victor
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login