Monitoring Wireless Bridges Efficiently

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
bmallett
Posts: 16
Joined: Fri Feb 22, 2019 10:28 am

Monitoring Wireless Bridges Efficiently

Post by bmallett »

I need to monitor our wireless bridges in a simplistic manner if possible. Currently they are just for redundancy, but some are being repurposed for main vein use. So I figured it best to wrap my head around a good way now.

The bridges span remote locations as shown below. Each antenna obtaining its IP address from a wired switch at that location.

SW -> WB <--> WB <- SW

The switches are currently siblings in regards to position on the map. Each of those having a plethora of children. While the bridge, I am assuming, would be a child of each switch, how would be the best way to incorporate this into the nagios system for easiest display on the map?
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Monitoring Wireless Bridges Efficiently

Post by scottwilkerson »

You can accomplish this a few different ways, the easiest would be to setup a ping service for each of the IPs.

With a default ping command this

Code: Select all

define command {
    command_name    check_ping
    command_line    $USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -p 5
}
It would pull the hostname from the host, you will need to setup a different ping command like the following to pull toe IP you want to ping from $ARG3$

Code: Select all

define command {
    command_name    check_ping
    command_line    $USER1$/check_ping -H $ARG3$ -w $ARG1$ -c $ARG2$ -p 5
}
then if you used the example above you would setup the service to have the IP on the $ARG3$ of the service
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
bmallett
Posts: 16
Joined: Fri Feb 22, 2019 10:28 am

Re: Monitoring Wireless Bridges Efficiently

Post by bmallett »

Scott,

Thanks for the reply. What would be the best visual/cgi method of chaining for this configuration?

The way I currently have it, I just have a single device/host for the bridge. Then in the

Code: Select all

parents
portion of the definition, I have the two hosts the bridge is connecting with.

Code: Select all

parents				            device_1,device_2
This ends up showing the bridge host descending from each switch host but not clearly identifying in the cgi map that the bridge is connecting the device. (At least not for the eyes that prefer to see it)

With including both devices it is connecting (like above) I was hoping the link lines would clearly be from one logo icon (bridge) to both parent hosts. However, this is not the case.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Monitoring Wireless Bridges Efficiently

Post by scottwilkerson »

It all depends on preference, however, if you add multiple parents to a host, the new map cannot display this properly, and in-fact is the primary reason you still see the link for the Legacy Map in the interface.
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
bmallett
Posts: 16
Joined: Fri Feb 22, 2019 10:28 am

Re: Monitoring Wireless Bridges Efficiently

Post by bmallett »

OK... More RTFM and less asking here then. ;)

I don't even know what the legacy map purpose is.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Monitoring Wireless Bridges Efficiently

Post by scottwilkerson »

bmallett wrote:OK... More RTFM and less asking here then. ;)

I don't even know what the legacy map purpose is.
The Legacy map is another map visualization, but it has the ability to draw the lines linking multiple parents to a single host
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
bmallett
Posts: 16
Joined: Fri Feb 22, 2019 10:28 am

Re: Monitoring Wireless Bridges Efficiently

Post by bmallett »

Gotcha. Just nothing in regards to the custom logos, etc. Good to know though.

Thanks,
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Monitoring Wireless Bridges Efficiently

Post by scottwilkerson »

bmallett wrote:Gotcha. Just nothing in regards to the custom logos, etc. Good to know though.

Thanks,
Let us know if there is any other questions
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Locked