mirror of
https://github.com/opinkerfi/nagios-plugins.git
synced 2024-11-04 17:43:46 +01:00
Added examples and documentation
This commit is contained in:
parent
814426a5a8
commit
bc15b653b1
@ -1,3 +1,19 @@
|
||||
check_ipa
|
||||
check_ipa_replication
|
||||
=====================
|
||||
You need some configuration for this plugin to have access to replication
|
||||
information.
|
||||
|
||||
Allow anonymous read to replication information
|
||||
-----------------------------------------------
|
||||
You will need to do this for every IPA server, masters and replicas
|
||||
|
||||
```
|
||||
ldapmodify -x -D "cn=directory manager" -W -f grant_anonymous_replication_view.ldif -h ipa-host.example.com
|
||||
```
|
||||
|
||||
Configure the directory manager credentials
|
||||
-------------------------------------------
|
||||
NOT RECOMENDED, you can use -D and -w with the directory manager credentials
|
||||
and the plugin will work as expected.
|
||||
|
||||
|
||||
Various checks for IPA http://freeipa.org/ server
|
||||
|
4
check_ipa/grant_anonymous_replication_view.ldif
Normal file
4
check_ipa/grant_anonymous_replication_view.ldif
Normal file
@ -0,0 +1,4 @@
|
||||
dn: cn="dc=mr,dc=lan",cn=mapping tree,cn=config
|
||||
changetype: modify
|
||||
add: aci
|
||||
aci: (targetattr=*)(targetfilter="(|(objectclass=nsds5replicationagreement)(objectclass=nsDSWindowsReplicationAgreement))")(version 3.0; aci "permission:Read Replication Agreements"; allow (read, search, compare) groupdn = "ldap:///anyone";)
|
@ -37,6 +37,7 @@ rm -rf %{buildroot}
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc README
|
||||
%doc grant_anonymous_replication_view.ldif
|
||||
%{_libdir}/nagios/plugins/*
|
||||
%config(noreplace) %{_sysconfdir}/nrpe.d/check_ipa.cfg
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user