From 06df83498171217ced8c5e1220e4f284ac4f4a7a Mon Sep 17 00:00:00 2001 From: sparknsh <38894705+sparknsh@users.noreply.github.com> Date: Wed, 17 Oct 2018 12:25:38 -0400 Subject: [PATCH] Application doc updates (#9288) Simple doc updates for agent changes. These changes are to start the clean up of snmp extensions. - https://github.com/librenms/librenms-agent/pull/196 - https://github.com/librenms/librenms-agent/pull/197 - https://github.com/librenms/librenms-agent/pull/198 - https://github.com/librenms/librenms-agent/pull/199 --- doc/Extensions/Applications.md | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/doc/Extensions/Applications.md b/doc/Extensions/Applications.md index aff5a55bd0..5852a5c619 100644 --- a/doc/Extensions/Applications.md +++ b/doc/Extensions/Applications.md @@ -604,14 +604,14 @@ location /nginx-status { ##### SNMP Extend 1. Download the script onto the desired host. ``` -wget https://raw.githubusercontent.com/librenms/librenms-agent/master/snmp/nginx-stats -O /etc/snmp/nginx-stats +wget https://raw.githubusercontent.com/librenms/librenms-agent/master/snmp/nginx -O /etc/snmp/nginx ``` -2. Run `chmod +x /etc/snmp/nginx-stats` +2. Run `chmod +x /etc/snmp/nginx` 3. Edit your snmpd.conf file (usually /etc/snmp/snmpd.conf) and add: ``` -extend nginx /etc/snmp/nginx-stats +extend nginx /etc/snmp/nginx ``` 4. Restart snmpd on your host @@ -638,14 +638,14 @@ A shell script that gets stats from ntp client. ##### SNMP Extend 1. Download the script onto the desired host. ``` -wget https://raw.githubusercontent.com/librenms/librenms-agent/master/snmp/ntp-client.sh -O /etc/snmp/ntp-client.sh +wget https://raw.githubusercontent.com/librenms/librenms-agent/master/snmp/ntp-client -O /etc/snmp/ntp-client ``` -2. Run `chmod +x /etc/snmp/ntp-client.sh` +2. Run `chmod +x /etc/snmp/ntp-client` 3. Edit your snmpd.conf file (usually /etc/snmp/snmpd.conf) and add: ``` -extend ntp-client /etc/snmp/ntp-client.sh +extend ntp-client /etc/snmp/ntp-client ``` 4. Restart snmpd on your host @@ -717,14 +717,14 @@ For pacman users automatically refreshing the database, it is recommended you us ##### SNMP Extend 1. Download the script onto the desired host. ``` -wget https://raw.githubusercontent.com/librenms/librenms-agent/master/snmp/os-updates.sh -O /etc/snmp/os-updates.sh +wget https://raw.githubusercontent.com/librenms/librenms-agent/master/snmp/osupdate -O /etc/snmp/osupdate ``` -2. Run `chmod +x /etc/snmp/os-updates.sh` +2. Run `chmod +x /etc/snmp/osupdate` 3. Edit your snmpd.conf file (usually /etc/snmp/snmpd.conf) and add: ``` -extend osupdate /etc/snmp/os-updates.sh +extend osupdate /etc/snmp/osupdate ``` 4. Restart snmpd on your host @@ -736,15 +736,15 @@ The application should be auto-discovered as described at the top of the page. I ### PHP-FPM #### SNMP Extend -1. Copy the shell script, phpfpm-sp, to the desired host. `wget https://github.com/librenms/librenms-agent/raw/master/snmp/phpfpm-sp -O /etc/snmp/phpfpm-sp` +1. Copy the shell script, phpfpmsp, to the desired host. `wget https://github.com/librenms/librenms-agent/raw/master/snmp/phpfpmsp -O /etc/snmp/phpfpmsp` -2. Run `chmod +x /etc/snmp/phpfpm-sp` +2. Run `chmod +x /etc/snmp/phpfpmsp` 3. Edit your snmpd.conf file (usually /etc/snmp/snmpd.conf) and add: ``` -extend phpfpmsp /etc/snmp/phpfpm-sp +extend phpfpmsp /etc/snmp/phpfpmsp ``` -5. Edit /etc/snmp/phpfpm-sp to include the status URL for the PHP-FPM pool you are monitoring. +5. Edit /etc/snmp/phpfpmsp to include the status URL for the PHP-FPM pool you are monitoring. 6. Restart snmpd on your host