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?
Monitoring Wireless Bridges Efficiently
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Monitoring Wireless Bridges Efficiently
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
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$
then if you used the example above you would setup the service to have the IP on the $ARG3$ of the service
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
}
Code: Select all
define command {
command_name check_ping
command_line $USER1$/check_ping -H $ARG3$ -w $ARG1$ -c $ARG2$ -p 5
}
Re: Monitoring Wireless Bridges Efficiently
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 portion of the definition, I have the two hosts the bridge is connecting with.
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.
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
Code: Select all
parents device_1,device_2
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.
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Monitoring Wireless Bridges Efficiently
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.
Re: Monitoring Wireless Bridges Efficiently
OK... More RTFM and less asking here then.
I don't even know what the legacy map purpose is.
I don't even know what the legacy map purpose is.
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Monitoring Wireless Bridges Efficiently
The Legacy map is another map visualization, but it has the ability to draw the lines linking multiple parents to a single hostbmallett wrote:OK... More RTFM and less asking here then.
I don't even know what the legacy map purpose is.
Re: Monitoring Wireless Bridges Efficiently
Gotcha. Just nothing in regards to the custom logos, etc. Good to know though.
Thanks,
Thanks,
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Monitoring Wireless Bridges Efficiently
Let us know if there is any other questionsbmallett wrote:Gotcha. Just nothing in regards to the custom logos, etc. Good to know though.
Thanks,