Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SNMP CONFIG:
- --------------------------------------------------------------------
- <Plugin snmp>
- <Data "if_octets">
- Type "if_octets"
- Table true
- Instance "IF-MIB::ifDescr"
- Values "IF-MIB::ifOutOctets" "IF-MIB::ifInOctets"
- </Data>
- <Data "if_speed">
- Type "bitrate"
- Table true
- Instance "IF-MIB::ifDescr"
- Values "IF-MIB::ifSpeed"
- </Data>
- <Data "temperature">
- Type "temperature"
- Table false
- Instance "device"
- Scale 0.1
- Values "MIKROTIK-MIB::mtxrHlTemperature.0"
- </Data>
- <Data "processorTemperature">
- Type "temperature"
- Table false
- Instance "processor"
- Scale 0.1
- Values "MIKROTIK-MIB::mtxrHlProcessorTemperature.0"
- </Data>
- <Data "fanspeed">
- Type "fanspeed"
- Table false
- Instance "fan_speed"
- Values "MIKROTIK-MIB::mtxrHlFanSpeed1.0"
- </Data>
- <Host "MikroTik">
- Address "192.168.192.1"
- Version 2
- Community "public"
- Collect "if_octets" "if_speed" "temperature" "processorTemperature" "fanspeed"
- Interval 120
- Timeout 10
- Retries 1
- </Host>
- <Host "Smal">
- Address "192.168.192.7"
- Version 2
- Community "public"
- Collect "if_octets" "if_speed"
- Interval 120
- Timeout 10
- Retries 1
- </Host>
- <Host "Brother">
- Address "192.168.192.12"
- Version 2
- Community "public"
- Collect "if_octets" "if_speed"
- Interval 120
- Timeout 10
- Retries 1
- </Host>
- <Host "Apple Switch">
- Address "192.168.192.252"
- Version 2
- Community "public"
- Collect "if_octets" "if_speed"
- Interval 120
- Timeout 10
- Retries 1
- </Host>
- <Host "NE-002">
- Address "192.168.192.254"
- Version 2
- Community "public"
- collect "if_octets" "if_speed"
- Interval 120
- Timeout 10
- retries 1
- </Host>
- <Host "NE-001">
- Address "192.168.192.253"
- Version 2
- Community "public"
- collect "if_octets" "if_speed"
- Interval 120
- Timeout 10
- retries 1
- </Host>
- </Plugin>
- --------------------------------------------------------------------
- WRITE_GRAPHITE CONFIG:
- --------------------------------------------------------------------
- <Plugin write_graphite>
- <Node "metrics">
- Host "{{ carbon_relay_ng_ip }}"
- Port "{{ carbon_relay_ng_port }}"
- Protocol "{{ carbon_relay_ng_protocol }}"
- LogSendErrors true
- Prefix "collectd."
- StoreRates true
- AlwaysAppendDS false
- EscapeCharacter "_"
- SeparateInstances true
- DropDuplicateFields true
- </Node>
- </Plugin>
- --------------------------------------------------------------------
- INTERFACE CONFIG:
- --------------------------------------------------------------------
- <Plugin interface>
- Interface "ens33"
- IgnoreSelected false
- </Plugin>
- --------------------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement