5 | | chmod 755 check_eduroam_login.pl |
| 5 | |
| 6 | == Requirements == |
| 7 | |
| 8 | * Become root user. `sudo su` |
| 9 | |
| 10 | * Install eap test and rad eap test packages on your Icinga monitoring server. |
| 11 | |
| 12 | {{{ |
| 13 | |
| 14 | apt-get install git libssl-dev devscripts pkg-config libnl-3-dev libnl-genl-3-dev |
| 15 | |
| 16 | cd ~ |
| 17 | |
| 18 | git clone --depth 1 --no-single-branch https://github.com/FreeRADIUS/freeradius-server.git |
| 19 | |
| 20 | cd freeradius-server/scripts/ci/ |
| 21 | |
| 22 | ./eapol_test-build.sh |
| 23 | |
| 24 | cp ./eapol_test/eapol_test /usr/local/bin/ |
| 25 | |
| 26 | cd ~ |
| 27 | |
| 28 | mkdir rad_eap_test |
| 29 | |
| 30 | cd rad_eap_test |
| 31 | |
| 32 | wget https://raw.githubusercontent.com/CESNET/rad_eap_test/master/rad_eap_test |
| 33 | |
| 34 | chmod +x rad_eap_test |
| 35 | |
| 36 | cp rad_eap_test /usr/local/bin/ |
| 37 | |
| 38 | }}} |
| 39 | |
| 40 | |
| 41 | * Download monitoring plugin to icinga plugin directory ( we use a small script from REANNZ ) |
| 42 | |
| 43 | {{{ |
| 44 | cd /usr/lib/nagios/plugins |
| 45 | |
| 46 | wget https://raw.githubusercontent.com/REANNZ/etcbd/master/environment/icinga/content/usr/local/lib/nagios/plugins/check_eduroam_login.pl |
| 47 | |
| 48 | chmod 755 check_eduroam_login.pl |
| 49 | }}} |
| 50 | |