mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
* fix a few bare URLs * make mdl happy * make Weathermap.md as mdl happy as possible * make Varnish.md as mdl happy as possible * make Two-Factor-Auth.md mdl happy * touch one header for Syslog.md, but little can be done about the rest * make Sub-Directory.md as mdl happy as possible * make SNMP-Trap-Handler.md lint happy * make SNMP-Proxy.md mdl happy * make Smokeping.md as mdl happy as possible * make Services.md mdl happy * make RRDTune.md mdl happy * cleanup RRDCached.md as much as possible * make RRDCached-Security.md mdl happy * make Rancid.md as mdl happy as possible * make Proxmox.md mdl happy * make Plugin-System.md as mdl happy as possible * make PeeringDB.md mdl happy * make Oxidized.md more lint happy * make Network-Map.md mdl happy * make MIB-based-polling.md as mdl happy as possible * make Metric-Storage.md mdl happy * make IRC-Bot.md as mdl happy as possible * make IRC-Bot-Extensions.md as mdl happy as possible * make * make Graylog.md mdl happy * make Gateone.md mdl happy * make Fast-Ping-Check.md mdl happy * make Distributed-Poller.md as mdl happy as possible * make Dispatcher-Service.md as mdl happy as possible * make Device-Groups.md mdl happy * make Dell-OpenManage.md mdl happy * make Dashboard.md mdl happy * make Customizing-the-Web-UI.md as mdl happy as possible * make Component.md mdl happy * make Billing-Module.md mdl happy * make Auto-Discovery.md mostly mdl happy * make Authentication.md as mdl happy as possible * tidy up a few lines in Applications.md * make Agent-Setup.md as mdl happy as possible * make metrics/OpenTSDB.md mdl happy * spelling fix
42 lines
1.3 KiB
Markdown
42 lines
1.3 KiB
Markdown
source: Extensions/SNMP-Proxy.md
|
|
path: blob/master/doc/
|
|
|
|
# SNMP Proxy
|
|
|
|
If you have machines that you want to monitor but are not reachable
|
|
directly, you can use [SNMPD
|
|
Proxy](http://www.net-snmp.org/wiki/index.php/Snmpd_proxy). This will
|
|
use the reachable SNMPD to proxy requests to the unreachable SNMPD.
|
|
|
|
## Example configuration
|
|
|
|
We want to poll 'unreachable.example.com' via
|
|
|
|
'hereweare.example.com'. Use the following config:
|
|
|
|
On 'hereweare.example.com':
|
|
|
|
```
|
|
view all included .1
|
|
com2sec -Cn ctx_unreachable readonly <poller-ip> unreachable
|
|
access MyROGroup ctx_unreachable any noauth prefix all none none
|
|
proxy -Cn ctx_unreachable -v 2c -c private unreachable.example.com .1.3
|
|
```
|
|
|
|
On 'unreachable.example.com':
|
|
|
|
```
|
|
view all included .1 80
|
|
com2sec readonly <hereweare.example.com ip address> private
|
|
group MyROGroup v1 readonly
|
|
group MyROGroup v2c readonly
|
|
group MyROGroup usm readonly
|
|
access MyROGroup "" any noauth exact all none none
|
|
```
|
|
|
|
You can now poll community 'private' on
|
|
'unreachable.example.com' via community 'unreachable' on host
|
|
'hereweare.example.com'. Please note that requests on
|
|
'unreachable.example.com' will be coming from
|
|
'hereweare.example.com', not your poller.
|