1
0
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:
Tomas Edwardsson 2013-10-27 22:57:43 +00:00
parent 814426a5a8
commit bc15b653b1
3 changed files with 23 additions and 2 deletions

View File

@ -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

View 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";)

View File

@ -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