About Radius

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
khinmyintmyat
Posts: 9
Joined: Fri Oct 13, 2017 5:17 am

About Radius

Post 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.
kyang

Re: About Radius

Post by kyang »

Could you tell us which plugin you are using? URL Link?
khinmyintmyat
Posts: 9
Joined: Fri Oct 13, 2017 5:17 am

Re: About Radius

Post 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.
kyang

Re: About Radius

Post 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.
khinmyintmyat
Posts: 9
Joined: Fri Oct 13, 2017 5:17 am

Re: About Radius

Post by khinmyintmyat »

This is my nagios server state information.
Attachments
nagioslog.PNG
kyang

Re: About Radius

Post 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
khinmyintmyat
Posts: 9
Joined: Fri Oct 13, 2017 5:17 am

Re: About Radius

Post 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.
kyang

Re: About Radius

Post 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
khinmyintmyat
Posts: 9
Joined: Fri Oct 13, 2017 5:17 am

Re: About Radius

Post 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
Attachments
This is cat /usr/local/nagios/etc/objects/commands.cfg file.
This is cat /usr/local/nagios/etc/objects/commands.cfg file.
kyang

Re: About Radius

Post 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.
Locked