User Blogs

Nagios Semi Auto Config

Cleaning up traceroute output has been a bit of a challange so I think I am requiring a new approach.
Still in the meantime I have a config file that works after I dug through and weeded out the errors - the same host being created multiple times (not good) and hosts with parents that themselves were not listed as a host (not good either). Dug those out and bingo!...

wifi:/usr/local/nagios/etc/objects# /etc/init.d/nagios checkconfig
Running configuration check... OK.
wifi:/usr/local/nagios/etc/objects#

Nagios Circular (Marked Up) is rather impressive:

You can view the full sized map statusmap_29june09_CMU.png


Nagios Auto Cfg

Have been looking at running a script that creates config for Nagios based on the shell command "route -n" now that my route tables are controlled by quagga/bgp/zebra. Awk is my friend ...

Bit of script stuff to find pingable ips on Air-Stream...

route -n | awk '{print($1" " $3)}' | awk '!a[$0]++' | awk '{print("ipcalc "$1"/"$2)}' | sh | awk '{if ($1 == "Network:") print($2)}' | awk '{print("nmap -sP "$0)}' | sh

...and a bit more to parse out the important Nagios bits from (tcp)traceroute output...

cat ip_trace_routes_break_21_6_09 | awk '{
i = 0;
while ($1 != "break") { arr[$1] = $2; getline; i++; }
if (i < 30) if (i > 1) print (arr[i]" "arr[i-1]);else print (arr[i]);
}' | awk '{


Surf Life Savers Club pilot on the boil

Recently I noticed that there have been a number of potential nodes around the Adelaide coast line. Well, tonight at the committee meeting we met with Andrew Bedford to chat about the next step in the pilot project for building a network between the Surf Life Saving clubs. Andrew has some interesting applications, I'm looking forward to see to see how this pans out. Certainly would be good to see the network grow along the coast.


Back Online!

Climbed on the roof this arvo between rain showers and swapped out my old Minitar MNWAPB and replaced it with a Minitar MWGAP. Wet trees in the way does not help but I can ping Air-Stream-Skye again! Yippee!!

--- skye ping statistics ---
9 packets transmitted, 2 received, 77% packet loss, time 8000ms
rtt min/avg/max/mdev = 1313.242/1549.589/1785.937/236.350 ms, pipe 2

Seems that the transmit part of the radio in the MNWAPB failed as though I could site survey fine and the unit reported as "connected" I could never pass a packet. Air-Stream-Skye admin told me that my node was "not there" and when I set the MNWAPB up as an AP it did not work.

Anyway, nice to be passing packets again and I'll keep saving my pennies for a better setup.

PS: Luv Nagios ---


doing some perl hacking...

Needed to do some re-formating of text files. A lot of text files. The main thing being very long unwrapped lines and I needed them to be less than 60 columns wide.

So I used the Text:Autoformat module to reformat the text; http://search.cpan.org/~dconway/Text-Autoformat-1.666.0/lib/Text/Autoformat.pm

I bumped into some issues with the PDA reader not supporting UTF8 characters.

So now I'm exploring options to un-map UTF8 characters on the file reading; http://search.cpan.org/~dankogai/Encode-2.33/Encode.pm


Mikrotik releases 802.11n support and Cards

As listed in the newest mikrotik newsletter: http://www.mikrotik.com/pdf/news18.pdf

----
Newsletter #018. May 22th, 2009 1/2
802.11n support
Announcing two new MikroTik RouterBOARD products - R52n and R2n that both support wireless 802.11n standard in addition to 802.11abg or 802.11bg (in case of R2n).
Finally it’s possible to achieve 200Mbps actual data throughput over wireless links!
Starting with v4.0beta3 RouterOS now includes support for these 802.11n cards, that is unlocked by updating your RouterOS license with the new 8 digit SoftID.


Best unlicenced wireless link.

Hello All,

For my first blog I figured I'd post something that I'm not only proud of, but highlights a pinacle of my wireless achievements so far.
This will also help encourage others and give me a progress bar I can compete against myself with.

http://www.twitpic.com/5okiy

Is a 5.8ghz wireless link I setup for a business nearly 6 months ago now.
Having logged back in to upgraded the devices there to a newer version of RouterOS (was running 3.17) I figured I'd save the moment and challenge others to post something to outdo this. :-)

Enjoy!


Air-Stream-CLG Upgrades

Over the past week, Air-Stream-CLG (Colonel Light Gardens) has undergone several upgrades to improve its throughput to the rest of the network and also its local coverage area.

Upgrades included:
-Switching from a Mitsubishi R100 to a Routerboard RB433
-Switching from a Minitar MNWAPB to a R52H 350mw minipci card to drive the ~8db homebrew 2.4ghz omni
-Extra height on the omni to improve coverage (800mm was added to the mast as that was the only pipe I had available.)
-Switching from an old AT PSU to a Jaycar 24v 1.5A plugpack to power the RB433 over PoE.


SKYE Down

Oops Air-Stream-Skye is down ...

The Minitar is reporting as connected but no packets are flowing, here is minitar/wlsurvey.asp ...

                SSID                BSSID       Channel Type Encrypt Signal Select
                              00:13:d3:86:c7:0f   11     AP    yes    100    (*)
       Air-Stream-betsuin     00:11:2f:e1:00:7c    9     AP    yes     97    ( )
       Wireless               00:09:5b:47:e9:80    1     AP    no      76    ( )
                              00:04:ed:0e:1f:2d    2     AP    yes     72    ( )
       nicks house            00:11:6b:16:6c:08    9     AP    yes     60    ( )
       belkin54g              00:30:bd:9b:e7:a3   11     AP    no      28    ( )

The Bullet!

Daniel was talking to me about a new AP called The Bullet. I screws directly onto the back of the antenna. No cable, so no cable loss. It uses power over for ethernet and power. I need to get more info because it sounds like a really nice way to get compact setup. I wonder what they cost...