Multiple IP addresses on Hosts

21 views
Skip to first unread message

Kristian Strand

unread,
Apr 4, 2016, 4:34:47 AM4/4/16
to nagrestconf-users
Hello again,

I have a question about adding more IP addresses to hosts.
Is there a way to do this?

Let's say that I have a node that has two interfaces, eth0 and a loopback.
And one of them is a MPLS link and the other a VLAN.
And I want to monitor the uptime on the interfaces

Any thoughts on how to configure this?

Cheers :)

Kristian

Mark Clarkson

unread,
Apr 4, 2016, 7:56:30 AM4/4/16
to nagrestconf-users
On Monday, 4 April 2016 09:34:47 UTC+1, Kristian Strand wrote:
Hello again,

I have a question about adding more IP addresses to hosts.
Is there a way to do this?


Pretty sure it's a No.
 
Let's say that I have a node that has two interfaces, eth0 and a loopback.
And one of them is a MPLS link and the other a VLAN.
And I want to monitor the uptime on the interfaces

Any thoughts on how to configure this?


Maybe use the check_iftraffic_nrpe.sh plugin (disclaimer: I wrote it)

  https://exchange.nagios.org/directory/Plugins/Network-Connections%2C-Stats-and-Bandwidth/check_iftraffic_nrpe-2Esh/details

It always alerts if loopback is down. It's got an automatic-smart mode ('-a' option) that will alert depending on whether the administrator set the interface up or not. Not sure how it will monitor the uptime of the interface though. If I needed precisely that then I would probably write a plugin to do it.
 
Cheers :)

Kristian

Kristian Strand

unread,
Apr 4, 2016, 8:34:47 AM4/4/16
to nagrestconf-users
Aight :)
Thanks for the reply Mark, I'll check out your plugin.

Cheers 
Kristian
Reply all
Reply to author
Forward
0 new messages