Page 1 of 2
About Radius
Posted: Sun Oct 15, 2017 10:25 pm
by khinmyintmyat
Hi all,
Please help me with this, I want to monitor the freeradius server in nagios server. But the error is Could not interrogate RADIUS server status. How can I solve that.
Re: About Radius
Posted: Mon Oct 16, 2017 11:46 am
by kyang
Could you tell us which plugin you are using? URL Link?
Re: About Radius
Posted: Mon Oct 16, 2017 10:04 pm
by khinmyintmyat
kyang wrote:Could you tell us which plugin you are using? URL Link?
Yes. I'm using URL link, My private IP address. Nagios log tells me, it does not have check_radius. Help me please, how can I add the radius plugin in nagios.
Re: About Radius
Posted: Tue Oct 17, 2017 9:17 am
by kyang
You seem to have two posts about the check_radius plugin.
Is the check_radius_adv doing what you want?
Can you show us those Nagios logs? Thanks.
Re: About Radius
Posted: Mon Oct 23, 2017 9:47 pm
by khinmyintmyat
This is my nagios server state information.
Re: About Radius
Posted: Tue Oct 24, 2017 9:33 am
by kyang
Thanks,
Can you show us how you defined the check_command for this service that uses check_radius.
I want to see how you have this host/service set up and it's command.
Code: Select all
cat /usr/local/nagios/etc/objects/commands.cfg
Code: Select all
cat /usr/local/nagios/etc/objects/Radius.cfg
Re: About Radius
Posted: Wed Oct 25, 2017 5:51 am
by khinmyintmyat
Let me say, for integorate error, I change some config. So now, the error termed to "no output returned from plunins" . All screen shot I sent are for current error (no output). Thank you so much for your advises.
Re: About Radius
Posted: Wed Oct 25, 2017 11:54 am
by kyang
Can you show us what you changed? What config?
I still would like to see how you are using the check_radius plugin. (If you can run the following on the correct path of your radius host)
Code: Select all
cat /usr/local/nagios/etc/objects/Radius.cfg
Re: About Radius
Posted: Wed Oct 25, 2017 11:01 pm
by khinmyintmyat
When I create radius.cfg under /usr/local/nagios/etc/objects/, happends config duplicate. that's why I remove it. still left in commands.cfg. Please, kindly help . I really appreciate all of your advices.
Khin
Re: About Radius
Posted: Thu Oct 26, 2017 9:42 am
by kyang
Thanks for showing us the command definition. What version of Freeradius are you using? I would like to replicate this.
Are you running this plugin only through the terminal?
Yes, i wouldn't create another radius.cfg, but if you could show me the contents that inside of your existing radius.cfg that would help.
I want to see how you are passing the $ARG$ when using the plugin.