<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7650.28">
<TITLE>RE: [Nagiosplug-devel] Help with creating a plugin to check RADIUS</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=2>Effectively it is down.<BR>
<BR>
I found this one from Debian:<BR>
<BR>
<A HREF="http://ftp.debian.org/debian/pool/main/r/radiusclient/radiusclient_0.3.2.orig.tar.gz">http://ftp.debian.org/debian/pool/main/r/radiusclient/radiusclient_0.3.2.orig.tar.gz</A><BR>
<BR>
I diff'ed it with my version, here's the only difference I came up with (This patch probably avoid some useless logging, it's well possible that I changed that myself...):<BR>
<BR>
--- radiusclient-0.3.2/lib/log.c        1997-12-29 18:07:22.000000000 -0500<BR>
+++ ../radiusclient-0.3.2/lib/log.c    2006-03-07 10:22:49.000000000 -0500<BR>
@@ -49,5 +49,5 @@<BR>
     vsnprintf(buff, sizeof(buff), format, ap);<BR>
     va_end(ap);<BR>
                                                            <BR>
-       syslog(prio, "%s", buff);<BR>
+//     syslog(prio, "%s", buff);<BR>
 }<BR>
<BR>
<BR>
Thomas<BR>
<BR>
-----Original Message-----<BR>
From: King, Michael [<A HREF="mailto:MKing@bridgew.edu">mailto:MKing@bridgew.edu</A>]<BR>
Sent: Wed 22-Nov-06 21:49<BR>
To: Thomas Guyot-Sionnest<BR>
Subject: RE: [Nagiosplug-devel] Help with creating a plugin to check RADIUS<BR>
<BR>
Hi Thomas,<BR>
<BR>
Would you have a link to radiusclient?<BR>
<BR>
The only link I've been able to find is on freshmeat, and the FTP server<BR>
does not respond.<BR>
<BR>
> -----Original Message-----<BR>
> From: Thomas Guyot-Sionnest [<A HREF="mailto:Thomas@zango.com">mailto:Thomas@zango.com</A>]<BR>
> Sent: Wednesday, November 22, 2006 6:57 PM<BR>
> To: King, Michael<BR>
> Subject: RE: [Nagiosplug-devel] Help with creating a plugin<BR>
> to check RADIUS<BR>
><BR>
> I'm not sure which plugin you're talking about but have you<BR>
> tried with the radius plugin that comes with Nagios-plugins?<BR>
><BR>
> You'll need to install radiusclient to compile it (I used<BR>
> radiusclient-0.3.2 if you want the specific version).<BR>
><BR>
> Thomas<BR>
><BR>
> > -----Original Message-----<BR>
> > From: nagiosplug-devel-bounces@lists.sourceforge.net<BR>
> > [<A HREF="mailto:nagiosplug-devel-bounces@lists.sourceforge.net">mailto:nagiosplug-devel-bounces@lists.sourceforge.net</A>] On<BR>
> Behalf Of<BR>
> > Michael King<BR>
> > Sent: November 22, 2006 18:08<BR>
> > To: nagiosplug-devel@lists.sourceforge.net<BR>
> > Subject: [Nagiosplug-devel] Help with creating a plugin to check<BR>
> > RADIUS<BR>
> ><BR>
> > I'll have to preface this that I'm a beginner at both Nagios, and<BR>
> > Creating plugins.  We have a small deployment in our<BR>
> office, and I'm<BR>
> > trying to get it tomonitor our RADIUS servers.<BR>
> ><BR>
> > We initially wanted to use the check_radius_adv plugin, but<BR>
> we found<BR>
> > that it wasn't capable of performing a full EAP<BR>
> conversation. (If it<BR>
> > is, please tell me so I don't reinvent the wheel here)<BR>
> ><BR>
> > Poking around, I found that wpa_supplicant includes a<BR>
> utility called<BR>
> > EAPOL_TEST which DOES perform a full EAP conversation with<BR>
> the RADIUS<BR>
> > server.<BR>
> ><BR>
> > Here's where i get stuck...<BR>
> ><BR>
> > What should I be returning Nagios?  Right now I have it as<BR>
> a simple (5<BR>
> > line) shell script.  All it really does is dump all the<BR>
> program output<BR>
> > of eapol_test into /dev/null and return a pass or fail. <BR>
> (eapol_test<BR>
> > returns a 1 if good, or 0 if bad, so i just stuck it in an IF<BR>
> > statement)<BR>
> ><BR>
> > There is a wealth of information that is in the program<BR>
> output. (Round<BR>
> > trip times, exact error of why EAP failed)  I just don't have the<BR>
> > skill to utilize them.<BR>
> ><BR>
> > Thanks<BR>
> ><BR>
> > Mike<BR>
> ><BR>
> ><BR>
> > --------------------------------------------------------------<BR>
> > -----------<BR>
> > Take Surveys. Earn Cash. Influence the Future of IT Join<BR>
> > SourceForge.net's Techsay panel and you'll get the chance to share<BR>
> > your opinions on IT & business topics through brief surveys<BR>
> - and earn<BR>
> > cash <A HREF="http://www.techsay.com/default.php?page=join.php&p=sourceforge">http://www.techsay.com/default.php?page=join.php&p=sourceforge</A><BR>
> > &CID=DEVDEV<BR>
> > _______________________________________________________<BR>
> > Nagios Plugin Development Mailing List<BR>
> > Nagiosplug-devel@lists.sourceforge.net<BR>
> > Unsubscribe at<BR>
> > <A HREF="https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel">https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel</A><BR>
> > ::: Please include plugins version (-v) and OS when reporting any<BR>
> > issue.<BR>
> > ::: Messages without supporting info will risk being sent<BR>
> to /dev/null<BR>
> ><BR>
><BR>
<BR>
</FONT>
</P>

</BODY>
</HTML>