[Nagiosplug-devel] Help with creating a plugin to check RADIUS

Gerd Mueller gmueller at netways.de
Thu Nov 23 10:44:14 CET 2006


Hi Thomas,

I would extend the check_radius_adv plugin but I would need your
requirements. Could you describe want you need, please

Cheers,

Gerd 

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




More information about the Devel mailing list