mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Update docs for Opensearch for the newest version of the extend (#16482)
This commit is contained in:
committed by
GitHub
parent
aa58140fef
commit
76050e3b3c
@@ -1779,16 +1779,16 @@ chmod +x /etc/snmp/opensearch
|
|||||||
3. Install the required Perl dependencies.
|
3. Install the required Perl dependencies.
|
||||||
```
|
```
|
||||||
# FreeBSD
|
# FreeBSD
|
||||||
pkg install p5-JSON p5-libwww
|
pkg install p5-JSON p5-File-Slurp p5-MIME-Base64 p5-LWP-Protocol-https
|
||||||
# Debian/Ubuntu
|
# Debian/Ubuntu
|
||||||
apt-get install libjson-perl libwww-perl
|
apt-get install libjson-perl libfile-slurp-perl liblwp-protocol-https-perl libmime-base64-perl
|
||||||
# cpanm
|
# cpanm
|
||||||
cpanm JSON Libwww
|
cpanm JSON Libwww File::Slurp LWP::Protocol::HTTPS MIME::Base64
|
||||||
```
|
```
|
||||||
|
|
||||||
4. Update your snmpd.conf.
|
4. Update your snmpd.conf.
|
||||||
```
|
```
|
||||||
extend opensearch /bin/cat /var/cache/opensearch.json
|
extend opensearch /bin/cat /var/cache/opensearch.json.snmp
|
||||||
```
|
```
|
||||||
|
|
||||||
5. Update root crontab with. This is required as it will this will
|
5. Update root crontab with. This is required as it will this will
|
||||||
@@ -1796,11 +1796,19 @@ likely time out otherwise. Use `*/1` if you want to have the most
|
|||||||
recent stats when polled or to `*/5` if you just want at exactly a 5
|
recent stats when polled or to `*/5` if you just want at exactly a 5
|
||||||
minute interval.
|
minute interval.
|
||||||
```
|
```
|
||||||
*/5 * * * * /etc/snmp/opensearch > /var/cache/opensearch.json
|
*/5 * * * * /etc/snmp/opensearch -w -q
|
||||||
```
|
```
|
||||||
|
|
||||||
6. Enable it or wait for the device to be re-disocvered.
|
6. Enable it or wait for the device to be re-disocvered.
|
||||||
|
|
||||||
|
Alternatively cron can be skipped and the extend can be told to run
|
||||||
|
like below, but if under heavy load it time out waiting for Opensearch
|
||||||
|
to respond.
|
||||||
|
|
||||||
|
```
|
||||||
|
extend opensearch /etc/snmp/opensearch
|
||||||
|
```
|
||||||
|
|
||||||
## Open Grid Scheduler
|
## Open Grid Scheduler
|
||||||
|
|
||||||
Shell script to track the OGS/GE jobs running on clusters.
|
Shell script to track the OGS/GE jobs running on clusters.
|
||||||
|
Reference in New Issue
Block a user