Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
puppet-freeradius
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Projets publics
puppet-freeradius
Commits
1cb343d4
Commit
1cb343d4
authored
Oct 23, 2014
by
Jonathan Gazeley
Browse files
Options
Downloads
Patches
Plain Diff
Remove site-specific Nagios checks from Forge module
parent
c593c27b
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
manifests/init.pp
+0
-1
0 additions, 1 deletion
manifests/init.pp
manifests/nagios.pp
+0
-74
0 additions, 74 deletions
manifests/nagios.pp
with
0 additions
and
75 deletions
manifests/init.pp
+
0
−
1
View file @
1cb343d4
...
@@ -5,7 +5,6 @@ class freeradius (
...
@@ -5,7 +5,6 @@ class freeradius (
)
inherits
freeradius::params
{
)
inherits
freeradius::params
{
include
samba
include
samba
include
nagios::plugins::radius
file
{
'radiusd.conf'
:
file
{
'radiusd.conf'
:
name
=>
"
$fr_basepath
/radiusd.conf"
,
name
=>
"
$fr_basepath
/radiusd.conf"
,
...
...
This diff is collapsed.
Click to expand it.
manifests/nagios.pp
deleted
100644 → 0
+
0
−
74
View file @
c593c27b
class
freeradius::nagios
{
# Add the nrpe user to the radiusd group
User
<|
title
==
'nrpe'
|>
{
groups
+>
'radiusd'
}
# Check radiusd daemon
@@
nagios_service
{
"check_radiusd_
${::fqdn}
"
:
check_command
=>
'check_nrpe!check_radiusd'
,
service_description
=>
'RADIUS'
,
use
=>
'1min-service'
,
}
@@
nagios_servicedependency
{
"check_radiusd_
${::fqdn}
"
:
dependent_host_name
=>
$::fqdn
,
dependent_service_description
=>
'RADIUS'
,
service_description
=>
'NRPE'
,
}
# Check certificate expiry
@@
nagios_service
{
"check_x509cert_
${::fqdn}
"
:
check_command
=>
'check_nrpe!check_x509cert'
,
service_description
=>
'SSL certificates'
,
use
=>
'hourly-service'
,
}
@@
nagios_servicedependency
{
"check_x509cert_
${::fqdn}
"
:
dependent_host_name
=>
$::fqdn
,
dependent_service_description
=>
'SSL certificates'
,
service_description
=>
'NRPE'
,
}
# Check winbind connectivity
@@
nagios_service
{
"check_wbinfo_
${::fqdn}
"
:
check_command
=>
'check_nrpe!check_wbinfo'
,
service_description
=>
'Winbind'
,
use
=>
'1min-service'
,
}
@@
nagios_servicedependency
{
"check_wbinfo_
${::fqdn}
"
:
dependent_host_name
=>
$::fqdn
,
dependent_service_description
=>
'Winbind'
,
service_description
=>
'NRPE'
,
}
# Check NTLM auth backend
@@
nagios_service
{
"check_ntlm_
${::fqdn}
"
:
check_command
=>
'check_nrpe!check_ntlm'
,
service_description
=>
'NTLM'
,
use
=>
'1min-service'
,
}
@@
nagios_servicedependency
{
"check_ntlm_
${::fqdn}
"
:
dependent_host_name
=>
$::fqdn
,
dependent_service_description
=>
'NTLM'
,
service_description
=>
'NRPE'
,
}
# Check RADIUS status server
@@
nagios_service
{
"check_radsstest_
${::fqdn}
"
:
check_command
=>
'check_radsstest'
,
service_description
=>
'RADIUS status'
,
use
=>
'3min-service'
,
}
@@
nagios_service
{
"check_radius_statistics_
${::fqdn}
"
:
check_command
=>
'check_radius_status'
,
service_description
=>
'RADIUS statistics'
,
use
=>
'1min-service'
,
}
# Each server being monitored by RADIUS Statistics needs this file creating on monitor
@@
file
{
"/tmp/radius-stats-
${::ipaddress}
.ini"
:
ensure
=>
present
,
tag
=>
'radius-statistics.ini'
,
owner
=>
'nagios'
,
group
=>
'nagios'
,
mode
=>
'0664'
,
}
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment