Skip to content

Instantly share code, notes, and snippets.

Avatar

Jonathan djjudas21

View GitHub Profile
@djjudas21
djjudas21 / check_radius_status.pl
Last active Mar 22, 2018
Nagios plugin to check RADIUS status
View check_radius_status.pl
#!/usr/bin/perl -w
use strict;
use Config::Tiny;
# Sample command
# echo "Message-Authenticator = 0x00, FreeRADIUS-Statistics-Type = 7" | radclient HOSTNAME:PORT status SECRET
# Sample response
# Received response ID 183, code 2, length = 344