freeradius

package
v0.33.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 12, 2022 License: GPL-3.0 Imports: 6 Imported by: 1

README

FreeRADIUS monitoring with Netdata

FreeRADIUS is a modular, high performance free RADIUS suite.

This module will monitor one or more FreeRADIUS servers, depending on your configuration.

Requirements

  • FreeRADIUS with enabled status feature.

The configuration for the status server is automatically created in the sites-available directory. By default, server is enabled and can be queried from every client.

To enable status feature do the following:

  • cd sites-enabled
  • ln -s ../sites-available/status status
  • restart FreeRADIUS server

Charts

It produces following charts:

  • Authentication in pps
  • Authentication Responses in pps
  • Bad Authentication Requests in pps
  • Proxy Authentication in pps
  • Proxy Authentication Responses in pps
  • Proxy Bad Authentication Requests in pps
  • Accounting in pps
  • Bad Accounting Requests in pps
  • Proxy Accounting in pps
  • Proxy Bad Accounting Requests in pps

Configuration

Edit the go.d/freeradius.conf configuration file using edit-config from the Netdata config directory, which is typically at /etc/netdata.

cd /etc/netdata # Replace this path with your Netdata config directory
sudo ./edit-config go.d/freeradius.conf

Here is an example for 2 servers:

jobs:
  - name: local
    host: 127.0.0.1

  - name: remote
    host: 203.0.113.10
    secret: secret 

For all available options please see module configuration file.

Troubleshooting

To troubleshoot issues with the freeradius collector, run the go.d.plugin with the debug option enabled. The output should give you clues as to why the collector isn't working.

First, navigate to your plugins directory, usually at /usr/libexec/netdata/plugins.d/. If that's not the case on your system, open netdata.conf and look for the setting plugins directory. Once you're in the plugin's directory, switch to the netdata user.

cd /usr/libexec/netdata/plugins.d/
sudo -u netdata -s

You can now run the go.d.plugin to debug the collector:

./go.d.plugin -d -m freeradius

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Charts

type Charts = module.Charts

Charts is an alias for module.Charts

type Config added in v0.16.0

type Config struct {
	Address string
	Port    int
	Secret  string
	Timeout web.Duration
}

type Dims

type Dims = module.Dims

Dims is an alias for module.Dims

type FreeRADIUS added in v0.16.0

type FreeRADIUS struct {
	module.Base
	Config `yaml:",inline"`
	// contains filtered or unexported fields
}

func New

func New() *FreeRADIUS

func (FreeRADIUS) Charts added in v0.16.0

func (FreeRADIUS) Charts() *Charts

func (FreeRADIUS) Check added in v0.16.0

func (f FreeRADIUS) Check() bool

func (FreeRADIUS) Cleanup added in v0.16.0

func (FreeRADIUS) Cleanup()

func (*FreeRADIUS) Collect added in v0.16.0

func (f *FreeRADIUS) Collect() map[string]int64

func (*FreeRADIUS) Init added in v0.16.0

func (f *FreeRADIUS) Init() bool

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL