Added mdadm application documentation (#10430)

* Add mdadm application documentation
* Update Applications.md
This commit is contained in:
SourceDoctor
2019-07-09 23:47:32 +02:00
committed by PipoCanaja
parent 3142748a65
commit a875c1d8a5

View File

@@ -97,6 +97,7 @@ by following the steps under the `SNMP Extend` heading.
1. [Freeswitch](#freeswitch) - SNMP extend, Agent
1. [GPSD](#gpsd) - SNMP extend, Agent
1. [Mailscanner](#mailscanner) - SNMP extend
1. [Mdadm](#mdadm) - SNMP extend
1. [Memcached](#memcached) - SNMP extend
1. [Munin](#munin) - Agent
1. [MySQL](#mysql) - SNMP extend, Agent
@@ -706,6 +707,29 @@ The application should be auto-discovered as described at the top of
the page. If it is not, please follow the steps set out under `SNMP
Extend` heading top of page.
# Mdadm
This shell script checks mdadm health and array data
## SNMP Extend
1. Download the script onto the desired host.
```
wget https://raw.githubusercontent.com/librenms/librenms-agent/master/snmp/mdadm -O /etc/snmp/mdadm
```
2. Run `chmod +x /etc/snmp/mdadm`
3. Edit your snmpd.conf file (usually /etc/snmp/snmpd.conf) and add:
```
extend mdadm /etc/snmp/mdadm
```
4. Restart snmpd on your host
The application should be auto-discovered as described at the
top of the page. If it is not, please follow the steps set out
under `SNMP Extend` heading top of page.
# Memcached
## SNMP Extend