Build precise queries to find exactly what you need
Press ESC to close
Your review has been submitted and is pending approval.
This plugin is based on the check_radius_adv (by Gerd.Mueller). Now attributes can be introduced by command line
Current Version
Last Release Date
June 23, 2009
Owner
Nagios Exchange
Tar gziped distribution
++ The advanced featetures compared to original check_radius_adv are:
* radius attributes used for the authentication can be defined on command line.
++ Installation Just unpack the file. And afterwards use ./configure and make
++ Command line {{ check_radius_ih -h Usage: # ./check_radius_ih OPTIONS...
OPTIONS -v verbose (output with verification) -u [username] cleartext username -p [password] cleartext password -s [shared secret] shared secret for RADIUS server -r [radius server] radius server to auth off of -c [radius port] radius server port -t [auth timeout] interval to wait until auth timeout in seconds -a [attributes] filename of the attributes file (see samplefile) -A [attributes] attributes list semicolon separated (same format
as samplefile)
-o [ok state] auth reply code which will return ok state -m [replymsg] expected replymsg (type=18) -h this menu
Examples: ./check_radius_ih
-v -u pepito -p 'r3pikn' -s 'kmPANAs' -r localhost -t 10 -A '4 0 0 A 192.168.20.1; 61 0 0 I 15; 26 3414 41 I 1; 26 3414 42 I 2'
}}
Useless: password+shared secret is encrypted wrongly, as shown by garbage User-Password received at Freeradius. This is still the case after fixing the most immediately obvious bugs: --- check_radius_ih.c.orig 2018-02-15 13:35:01.467142532 +0000 +++ check_radius_ih.c 2018-02-15 13:35:21.572082237 +0000 @@ -38,6 +38,7 @@ #include #include #include +#include ^lt;limits.h> #include "md5.h" @@ -254,7 +255,7 @@ void fnInitialize(RADIUS_HEADER *radhead) { memset(&global,0,sizeof(GLOBAL)); - memset(radhead,0,sizeof(radhead)); + memset(radhead,0,sizeof(*radhead)); radhead->rad_attr = NULL; @@ -558,7 +559,7 @@ } regfree(®ex); } - memset(buffer,MAX_BUFFER,0); + memset(buffer,0,MAX_BUFFER); } /*
Heloo compile error: check_radius_ih.c:148:18: error: ‘PATH_MAX’ undeclared here (not in a function) solution: add to file check_radius_ih.c #include example: #include #include #include #include #include #include #include #include #include #include #include #include #include :-) Havrla
You must be logged in to submit a review.
To:
From:
We’ve completely redesigned the world’s largest repository of Nagios plugins and monitoring tools. Join thousands of users sharing monitoring solutions for servers, applications, and everything in between.
Due to our redesign, all existing accounts require a password reset to access your account again.
Ready to explore 6,100+ projects and contribute to the community?
Reset Password Create Account
Happy Monitoring!