[[outputs.influxdb]] urls = ["$INFLUX_URL"] skip_database_creation = false # snmpget -v 3 -u $username -a SHA -A $password -l authPriv -x AES -X $password 192.168.10.21 RFC1213-MIB::sysName.0 # Device: SW oppe, type: switch [[inputs.snmp]] agents = [ "192.168.10.10" ] version = 2 community = "public" name = "snmp_mem" [[inputs.snmp.field]] oid = "RFC1213-MIB::sysName.0" name = "name" is_tag = true [[inputs.snmp.field]] oid = "RFC1213-MIB::sysLocation.0" name = "location" is_tag = true [[inputs.snmp.table]] oid = "IF-MIB::ifXTable" name = "snmp_if_iftable" inherit_tags = ["name", "location"] [[inputs.snmp.table.field]] oid = "IF-MIB::ifName" is_tag = true [[inputs.snmp.table.field]] oid = "IF-MIB::ifLinkUpDownTrapEnable" is_tag = true [[inputs.snmp.table.field]] oid = "IF-MIB::ifHighSpeed" is_tag = true [[inputs.snmp.table.field]] oid = "IF-MIB::ifPromiscuousMode" is_tag = true [[inputs.snmp.table.field]] oid = "IF-MIB::ifConnectorPresent" is_tag = true [[inputs.snmp.table.field]] oid = "IF-MIB::ifAlias" is_tag = true [[inputs.snmp.table.field]] oid = "IF-MIB::ifCounterDiscontinuityTime" is_tag = true # # snmp_la_table # [[inputs.snmp.table]] oid = "UCD-SNMP-MIB::laTable" name = "snmp_la_table" inherit_tags = ["name", "location"] [[inputs.snmp.table.field]] oid = "UCD-SNMP-MIB::laNames" is_tag = true # # memory # [[inputs.snmp.field]] name = "memTotalSwap" oid = "UCD-SNMP-MIB::memTotalSwap.0" [[inputs.snmp.field]] name = "memAvailSwap" oid = "UCD-SNMP-MIB::memAvailSwap.0" [[inputs.snmp.field]] name = "memTotalReal" oid = "UCD-SNMP-MIB::memTotalReal.0" [[inputs.snmp.field]] name = "memAvailReal" oid = "UCD-SNMP-MIB::memAvailReal.0" [[inputs.snmp.field]] name = "memTotalFree" oid = "UCD-SNMP-MIB::memTotalFree.0" [[inputs.snmp.field]] name = "memShared" oid = "UCD-SNMP-MIB::memShared.0" [[inputs.snmp.field]] name = "memBuffer" oid = "UCD-SNMP-MIB::memBuffer.0" [[inputs.snmp.field]] name = "memCached" oid = "UCD-SNMP-MIB::memCached.0" [[inputs.snmp.table.field]] oid = "UBNT-UniFi-MIB::unifiIfName" is_tag = true # Device: SW nede, type: switch [[inputs.snmp]] agents = [ "192.168.10.11" ] version = 2 community = "public" name = "snmp_mem" [[inputs.snmp.field]] oid = "RFC1213-MIB::sysName.0" name = "name" is_tag = true [[inputs.snmp.field]] oid = "RFC1213-MIB::sysLocation.0" name = "location" is_tag = true [[inputs.snmp.table]] oid = "IF-MIB::ifXTable" name = "snmp_if_iftable" inherit_tags = ["name", "location"] [[inputs.snmp.table.field]] oid = "IF-MIB::ifName" is_tag = true [[inputs.snmp.table.field]] oid = "IF-MIB::ifLinkUpDownTrapEnable" is_tag = true [[inputs.snmp.table.field]] oid = "IF-MIB::ifHighSpeed" is_tag = true [[inputs.snmp.table.field]] oid = "IF-MIB::ifPromiscuousMode" is_tag = true [[inputs.snmp.table.field]] oid = "IF-MIB::ifConnectorPresent" is_tag = true [[inputs.snmp.table.field]] oid = "IF-MIB::ifAlias" is_tag = true [[inputs.snmp.table.field]] oid = "IF-MIB::ifCounterDiscontinuityTime" is_tag = true # # snmp_la_table # [[inputs.snmp.table]] oid = "UCD-SNMP-MIB::laTable" name = "snmp_la_table" inherit_tags = ["name", "location"] [[inputs.snmp.table.field]] oid = "UCD-SNMP-MIB::laNames" is_tag = true # # memory # [[inputs.snmp.field]] name = "memTotalSwap" oid = "UCD-SNMP-MIB::memTotalSwap.0" [[inputs.snmp.field]] name = "memAvailSwap" oid = "UCD-SNMP-MIB::memAvailSwap.0" [[inputs.snmp.field]] name = "memTotalReal" oid = "UCD-SNMP-MIB::memTotalReal.0" [[inputs.snmp.field]] name = "memAvailReal" oid = "UCD-SNMP-MIB::memAvailReal.0" [[inputs.snmp.field]] name = "memTotalFree" oid = "UCD-SNMP-MIB::memTotalFree.0" [[inputs.snmp.field]] name = "memShared" oid = "UCD-SNMP-MIB::memShared.0" [[inputs.snmp.field]] name = "memBuffer" oid = "UCD-SNMP-MIB::memBuffer.0" [[inputs.snmp.field]] name = "memCached" oid = "UCD-SNMP-MIB::memCached.0" [[inputs.snmp.table.field]] oid = "UBNT-UniFi-MIB::unifiIfName" is_tag = true # Device: SW cloud, type: switch [[inputs.snmp]] agents = [ "192.168.10.12" ] version = 2 community = "public" name = "snmp_mem" [[inputs.snmp.field]] oid = "RFC1213-MIB::sysName.0" name = "name" is_tag = true [[inputs.snmp.field]] oid = "RFC1213-MIB::sysLocation.0" name = "location" is_tag = true [[inputs.snmp.table]] oid = "IF-MIB::ifXTable" name = "snmp_if_iftable" inherit_tags = ["name", "location"] [[inputs.snmp.table.field]] oid = "IF-MIB::ifName" is_tag = true [[inputs.snmp.table.field]] oid = "IF-MIB::ifLinkUpDownTrapEnable" is_tag = true [[inputs.snmp.table.field]] oid = "IF-MIB::ifHighSpeed" is_tag = true [[inputs.snmp.table.field]] oid = "IF-MIB::ifPromiscuousMode" is_tag = true [[inputs.snmp.table.field]] oid = "IF-MIB::ifConnectorPresent" is_tag = true [[inputs.snmp.table.field]] oid = "IF-MIB::ifAlias" is_tag = true [[inputs.snmp.table.field]] oid = "IF-MIB::ifCounterDiscontinuityTime" is_tag = true # # snmp_la_table # [[inputs.snmp.table]] oid = "UCD-SNMP-MIB::laTable" name = "snmp_la_table" inherit_tags = ["name", "location"] [[inputs.snmp.table.field]] oid = "UCD-SNMP-MIB::laNames" is_tag = true # # memory # [[inputs.snmp.field]] name = "memTotalSwap" oid = "UCD-SNMP-MIB::memTotalSwap.0" [[inputs.snmp.field]] name = "memAvailSwap" oid = "UCD-SNMP-MIB::memAvailSwap.0" [[inputs.snmp.field]] name = "memTotalReal" oid = "UCD-SNMP-MIB::memTotalReal.0" [[inputs.snmp.field]] name = "memAvailReal" oid = "UCD-SNMP-MIB::memAvailReal.0" [[inputs.snmp.field]] name = "memTotalFree" oid = "UCD-SNMP-MIB::memTotalFree.0" [[inputs.snmp.field]] name = "memShared" oid = "UCD-SNMP-MIB::memShared.0" [[inputs.snmp.field]] name = "memBuffer" oid = "UCD-SNMP-MIB::memBuffer.0" [[inputs.snmp.field]] name = "memCached" oid = "UCD-SNMP-MIB::memCached.0" [[inputs.snmp.table.field]] oid = "UBNT-UniFi-MIB::unifiIfName" is_tag = true # Device: Over stue, type: ap [[inputs.snmp]] agents = [ "192.168.10.20" ] version = 2 community = "public" name = "snmp_mem" [[inputs.snmp.field]] oid = "RFC1213-MIB::sysName.0" name = "name" is_tag = true [[inputs.snmp.field]] oid = "RFC1213-MIB::sysLocation.0" name = "location" is_tag = true [[inputs.snmp.table]] oid = "IF-MIB::ifXTable" name = "snmp_if_iftable" inherit_tags = ["name", "location"] [[inputs.snmp.table.field]] oid = "IF-MIB::ifName" is_tag = true [[inputs.snmp.table.field]] oid = "IF-MIB::ifLinkUpDownTrapEnable" is_tag = true [[inputs.snmp.table.field]] oid = "IF-MIB::ifHighSpeed" is_tag = true [[inputs.snmp.table.field]] oid = "IF-MIB::ifPromiscuousMode" is_tag = true [[inputs.snmp.table.field]] oid = "IF-MIB::ifConnectorPresent" is_tag = true [[inputs.snmp.table.field]] oid = "IF-MIB::ifAlias" is_tag = true [[inputs.snmp.table.field]] oid = "IF-MIB::ifCounterDiscontinuityTime" is_tag = true # # snmp_la_table # [[inputs.snmp.table]] oid = "UCD-SNMP-MIB::laTable" name = "snmp_la_table" inherit_tags = ["name", "location"] [[inputs.snmp.table.field]] oid = "UCD-SNMP-MIB::laNames" is_tag = true # # memory # [[inputs.snmp.field]] name = "memTotalSwap" oid = "UCD-SNMP-MIB::memTotalSwap.0" [[inputs.snmp.field]] name = "memAvailSwap" oid = "UCD-SNMP-MIB::memAvailSwap.0" [[inputs.snmp.field]] name = "memTotalReal" oid = "UCD-SNMP-MIB::memTotalReal.0" [[inputs.snmp.field]] name = "memAvailReal" oid = "UCD-SNMP-MIB::memAvailReal.0" [[inputs.snmp.field]] name = "memTotalFree" oid = "UCD-SNMP-MIB::memTotalFree.0" [[inputs.snmp.field]] name = "memShared" oid = "UCD-SNMP-MIB::memShared.0" [[inputs.snmp.field]] name = "memBuffer" oid = "UCD-SNMP-MIB::memBuffer.0" [[inputs.snmp.field]] name = "memCached" oid = "UCD-SNMP-MIB::memCached.0" # # unifi_radio # [[inputs.snmp.table]] oid = "UBNT-UniFi-MIB::unifiRadioTable" name = "unifi_radio" index_as_tag = true inherit_tags = ["name", "location"] [[inputs.snmp.table.field]] oid = "UBNT-UniFi-MIB::unifiRadioName" is_tag = true [[inputs.snmp.table.field]] oid = "UBNT-UniFi-MIB::unifiRadioRadio" is_tag = true # # unifi_vap # [[inputs.snmp.table]] oid = "UBNT-UniFi-MIB::unifiVapTable" name = "unifi_vap" index_as_tag = true inherit_tags = ["name", "location"] [[inputs.snmp.table.field]] oid = "UBNT-UniFi-MIB::unifiVapBssId" is_tag = true [[inputs.snmp.table.field]] oid = "UBNT-UniFi-MIB::unifiVapCcq" is_tag = true [[inputs.snmp.table.field]] oid = "UBNT-UniFi-MIB::unifiVapEssId" is_tag = true [[inputs.snmp.table.field]] oid = "UBNT-UniFi-MIB::unifiVapName" is_tag = true [[inputs.snmp.table.field]] oid = "UBNT-UniFi-MIB::unifiVapRadio" is_tag = true [[inputs.snmp.table.field]] oid = "UBNT-UniFi-MIB::unifiVapUp" is_tag = true [[inputs.snmp.table.field]] oid = "UBNT-UniFi-MIB::unifiVapUsage" is_tag = true # # unifi_if_table # [[inputs.snmp.table]] oid = "UBNT-UniFi-MIB::unifiIfTable" name = "unifi_if_table" inherit_tags = ["name", "location"] [[inputs.snmp.table.field]] oid = "UBNT-UniFi-MIB::unifiIfName" is_tag = true # Device: Over kjøkken, type: ap [[inputs.snmp]] agents = [ "192.168.10.21" ] version = 2 community = "public" name = "snmp_mem" [[inputs.snmp.field]] oid = "RFC1213-MIB::sysName.0" name = "name" is_tag = true [[inputs.snmp.field]] oid = "RFC1213-MIB::sysLocation.0" name = "location" is_tag = true [[inputs.snmp.table]] oid = "IF-MIB::ifXTable" name = "snmp_if_iftable" inherit_tags = ["name", "location"] [[inputs.snmp.table.field]] oid = "IF-MIB::ifName" is_tag = true [[inputs.snmp.table.field]] oid = "IF-MIB::ifLinkUpDownTrapEnable" is_tag = true [[inputs.snmp.table.field]] oid = "IF-MIB::ifHighSpeed" is_tag = true [[inputs.snmp.table.field]] oid = "IF-MIB::ifPromiscuousMode" is_tag = true [[inputs.snmp.table.field]] oid = "IF-MIB::ifConnectorPresent" is_tag = true [[inputs.snmp.table.field]] oid = "IF-MIB::ifAlias" is_tag = true [[inputs.snmp.table.field]] oid = "IF-MIB::ifCounterDiscontinuityTime" is_tag = true # # snmp_la_table # [[inputs.snmp.table]] oid = "UCD-SNMP-MIB::laTable" name = "snmp_la_table" inherit_tags = ["name", "location"] [[inputs.snmp.table.field]] oid = "UCD-SNMP-MIB::laNames" is_tag = true # # memory # [[inputs.snmp.field]] name = "memTotalSwap" oid = "UCD-SNMP-MIB::memTotalSwap.0" [[inputs.snmp.field]] name = "memAvailSwap" oid = "UCD-SNMP-MIB::memAvailSwap.0" [[inputs.snmp.field]] name = "memTotalReal" oid = "UCD-SNMP-MIB::memTotalReal.0" [[inputs.snmp.field]] name = "memAvailReal" oid = "UCD-SNMP-MIB::memAvailReal.0" [[inputs.snmp.field]] name = "memTotalFree" oid = "UCD-SNMP-MIB::memTotalFree.0" [[inputs.snmp.field]] name = "memShared" oid = "UCD-SNMP-MIB::memShared.0" [[inputs.snmp.field]] name = "memBuffer" oid = "UCD-SNMP-MIB::memBuffer.0" [[inputs.snmp.field]] name = "memCached" oid = "UCD-SNMP-MIB::memCached.0" # # unifi_radio # [[inputs.snmp.table]] oid = "UBNT-UniFi-MIB::unifiRadioTable" name = "unifi_radio" index_as_tag = true inherit_tags = ["name", "location"] [[inputs.snmp.table.field]] oid = "UBNT-UniFi-MIB::unifiRadioName" is_tag = true [[inputs.snmp.table.field]] oid = "UBNT-UniFi-MIB::unifiRadioRadio" is_tag = true # # unifi_vap # [[inputs.snmp.table]] oid = "UBNT-UniFi-MIB::unifiVapTable" name = "unifi_vap" index_as_tag = true inherit_tags = ["name", "location"] [[inputs.snmp.table.field]] oid = "UBNT-UniFi-MIB::unifiVapBssId" is_tag = true [[inputs.snmp.table.field]] oid = "UBNT-UniFi-MIB::unifiVapCcq" is_tag = true [[inputs.snmp.table.field]] oid = "UBNT-UniFi-MIB::unifiVapEssId" is_tag = true [[inputs.snmp.table.field]] oid = "UBNT-UniFi-MIB::unifiVapName" is_tag = true [[inputs.snmp.table.field]] oid = "UBNT-UniFi-MIB::unifiVapRadio" is_tag = true [[inputs.snmp.table.field]] oid = "UBNT-UniFi-MIB::unifiVapUp" is_tag = true [[inputs.snmp.table.field]] oid = "UBNT-UniFi-MIB::unifiVapUsage" is_tag = true # # unifi_if_table # [[inputs.snmp.table]] oid = "UBNT-UniFi-MIB::unifiIfTable" name = "unifi_if_table" inherit_tags = ["name", "location"] [[inputs.snmp.table.field]] oid = "UBNT-UniFi-MIB::unifiIfName" is_tag = true # Device: Kontor, type: ap [[inputs.snmp]] agents = [ "192.168.10.22" ] version = 2 community = "public" name = "snmp_mem" [[inputs.snmp.field]] oid = "RFC1213-MIB::sysName.0" name = "name" is_tag = true [[inputs.snmp.field]] oid = "RFC1213-MIB::sysLocation.0" name = "location" is_tag = true [[inputs.snmp.table]] oid = "IF-MIB::ifXTable" name = "snmp_if_iftable" inherit_tags = ["name", "location"] [[inputs.snmp.table.field]] oid = "IF-MIB::ifName" is_tag = true [[inputs.snmp.table.field]] oid = "IF-MIB::ifLinkUpDownTrapEnable" is_tag = true [[inputs.snmp.table.field]] oid = "IF-MIB::ifHighSpeed" is_tag = true [[inputs.snmp.table.field]] oid = "IF-MIB::ifPromiscuousMode" is_tag = true [[inputs.snmp.table.field]] oid = "IF-MIB::ifConnectorPresent" is_tag = true [[inputs.snmp.table.field]] oid = "IF-MIB::ifAlias" is_tag = true [[inputs.snmp.table.field]] oid = "IF-MIB::ifCounterDiscontinuityTime" is_tag = true # # snmp_la_table # [[inputs.snmp.table]] oid = "UCD-SNMP-MIB::laTable" name = "snmp_la_table" inherit_tags = ["name", "location"] [[inputs.snmp.table.field]] oid = "UCD-SNMP-MIB::laNames" is_tag = true # # memory # [[inputs.snmp.field]] name = "memTotalSwap" oid = "UCD-SNMP-MIB::memTotalSwap.0" [[inputs.snmp.field]] name = "memAvailSwap" oid = "UCD-SNMP-MIB::memAvailSwap.0" [[inputs.snmp.field]] name = "memTotalReal" oid = "UCD-SNMP-MIB::memTotalReal.0" [[inputs.snmp.field]] name = "memAvailReal" oid = "UCD-SNMP-MIB::memAvailReal.0" [[inputs.snmp.field]] name = "memTotalFree" oid = "UCD-SNMP-MIB::memTotalFree.0" [[inputs.snmp.field]] name = "memShared" oid = "UCD-SNMP-MIB::memShared.0" [[inputs.snmp.field]] name = "memBuffer" oid = "UCD-SNMP-MIB::memBuffer.0" [[inputs.snmp.field]] name = "memCached" oid = "UCD-SNMP-MIB::memCached.0" # # unifi_radio # [[inputs.snmp.table]] oid = "UBNT-UniFi-MIB::unifiRadioTable" name = "unifi_radio" index_as_tag = true inherit_tags = ["name", "location"] [[inputs.snmp.table.field]] oid = "UBNT-UniFi-MIB::unifiRadioName" is_tag = true [[inputs.snmp.table.field]] oid = "UBNT-UniFi-MIB::unifiRadioRadio" is_tag = true # # unifi_vap # [[inputs.snmp.table]] oid = "UBNT-UniFi-MIB::unifiVapTable" name = "unifi_vap" index_as_tag = true inherit_tags = ["name", "location"] [[inputs.snmp.table.field]] oid = "UBNT-UniFi-MIB::unifiVapBssId" is_tag = true [[inputs.snmp.table.field]] oid = "UBNT-UniFi-MIB::unifiVapCcq" is_tag = true [[inputs.snmp.table.field]] oid = "UBNT-UniFi-MIB::unifiVapEssId" is_tag = true [[inputs.snmp.table.field]] oid = "UBNT-UniFi-MIB::unifiVapName" is_tag = true [[inputs.snmp.table.field]] oid = "UBNT-UniFi-MIB::unifiVapRadio" is_tag = true [[inputs.snmp.table.field]] oid = "UBNT-UniFi-MIB::unifiVapUp" is_tag = true [[inputs.snmp.table.field]] oid = "UBNT-UniFi-MIB::unifiVapUsage" is_tag = true # # unifi_if_table # [[inputs.snmp.table]] oid = "UBNT-UniFi-MIB::unifiIfTable" name = "unifi_if_table" inherit_tags = ["name", "location"] [[inputs.snmp.table.field]] oid = "UBNT-UniFi-MIB::unifiIfName" is_tag = true # Device: Garasje, type: ap [[inputs.snmp]] agents = [ "192.168.10.23" ] version = 2 community = "public" name = "snmp_mem" [[inputs.snmp.field]] oid = "RFC1213-MIB::sysName.0" name = "name" is_tag = true [[inputs.snmp.field]] oid = "RFC1213-MIB::sysLocation.0" name = "location" is_tag = true [[inputs.snmp.table]] oid = "IF-MIB::ifXTable" name = "snmp_if_iftable" inherit_tags = ["name", "location"] [[inputs.snmp.table.field]] oid = "IF-MIB::ifName" is_tag = true [[inputs.snmp.table.field]] oid = "IF-MIB::ifLinkUpDownTrapEnable" is_tag = true [[inputs.snmp.table.field]] oid = "IF-MIB::ifHighSpeed" is_tag = true [[inputs.snmp.table.field]] oid = "IF-MIB::ifPromiscuousMode" is_tag = true [[inputs.snmp.table.field]] oid = "IF-MIB::ifConnectorPresent" is_tag = true [[inputs.snmp.table.field]] oid = "IF-MIB::ifAlias" is_tag = true [[inputs.snmp.table.field]] oid = "IF-MIB::ifCounterDiscontinuityTime" is_tag = true # # snmp_la_table # [[inputs.snmp.table]] oid = "UCD-SNMP-MIB::laTable" name = "snmp_la_table" inherit_tags = ["name", "location"] [[inputs.snmp.table.field]] oid = "UCD-SNMP-MIB::laNames" is_tag = true # # memory # [[inputs.snmp.field]] name = "memTotalSwap" oid = "UCD-SNMP-MIB::memTotalSwap.0" [[inputs.snmp.field]] name = "memAvailSwap" oid = "UCD-SNMP-MIB::memAvailSwap.0" [[inputs.snmp.field]] name = "memTotalReal" oid = "UCD-SNMP-MIB::memTotalReal.0" [[inputs.snmp.field]] name = "memAvailReal" oid = "UCD-SNMP-MIB::memAvailReal.0" [[inputs.snmp.field]] name = "memTotalFree" oid = "UCD-SNMP-MIB::memTotalFree.0" [[inputs.snmp.field]] name = "memShared" oid = "UCD-SNMP-MIB::memShared.0" [[inputs.snmp.field]] name = "memBuffer" oid = "UCD-SNMP-MIB::memBuffer.0" [[inputs.snmp.field]] name = "memCached" oid = "UCD-SNMP-MIB::memCached.0" # # unifi_radio # [[inputs.snmp.table]] oid = "UBNT-UniFi-MIB::unifiRadioTable" name = "unifi_radio" index_as_tag = true inherit_tags = ["name", "location"] [[inputs.snmp.table.field]] oid = "UBNT-UniFi-MIB::unifiRadioName" is_tag = true [[inputs.snmp.table.field]] oid = "UBNT-UniFi-MIB::unifiRadioRadio" is_tag = true # # unifi_vap # [[inputs.snmp.table]] oid = "UBNT-UniFi-MIB::unifiVapTable" name = "unifi_vap" index_as_tag = true inherit_tags = ["name", "location"] [[inputs.snmp.table.field]] oid = "UBNT-UniFi-MIB::unifiVapBssId" is_tag = true [[inputs.snmp.table.field]] oid = "UBNT-UniFi-MIB::unifiVapCcq" is_tag = true [[inputs.snmp.table.field]] oid = "UBNT-UniFi-MIB::unifiVapEssId" is_tag = true [[inputs.snmp.table.field]] oid = "UBNT-UniFi-MIB::unifiVapName" is_tag = true [[inputs.snmp.table.field]] oid = "UBNT-UniFi-MIB::unifiVapRadio" is_tag = true [[inputs.snmp.table.field]] oid = "UBNT-UniFi-MIB::unifiVapUp" is_tag = true [[inputs.snmp.table.field]] oid = "UBNT-UniFi-MIB::unifiVapUsage" is_tag = true # # unifi_if_table # [[inputs.snmp.table]] oid = "UBNT-UniFi-MIB::unifiIfTable" name = "unifi_if_table" inherit_tags = ["name", "location"] [[inputs.snmp.table.field]] oid = "UBNT-UniFi-MIB::unifiIfName" is_tag = true