Skip to content

Commit

Permalink
finish some doc stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
VVelox committed Oct 2, 2024
1 parent c820a42 commit b066383
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion snmp/opensearch
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,27 @@ opensearch [B<--version>]
=head1 DESCRIPTION
Using it like below may result in occasional timeouts.
Needs enabled in snmpd.conf like below.
extend opensearch /etc/snmp/extends/opensearch
If you have issues with it timing taking to long to poll and
occasionally timing out, you can set it up in cron like this.
*/5 * * * * /etc/snmp/extends/opensearch -q -w
And then in snmpd.conf like below.
extend opensearch /bin/cat /var/cache/opensearch_extend.json.snmp
Installing the depends can be done like below.
# FreeBSD
pkg install p5-JSON p5-File-Slurp p5-MIME-Base64 p5-libwww p5-LWP-Protocol-https
# Debian
apt-get install libjson-perl libfile-slurp-perl liblwp-protocol-https-perl
=head1 FLAGS
=head2 -a <path>
Expand Down

0 comments on commit b066383

Please sign in to comment.