Comments (5)
Hello @mattroell , could you answer us some questions please?
- are you ever work before with snmpcollector ? what version ? Since when does it not work for you?
I would like to see you config - Could you please show export and attach the config for at least one snmp device ( recursive ) ? you could do it from the export/import menu.
from snmpcollector.
Hi @toni-moreno,
- I've been using snmpcollector for a few years now, I started with version 0.7.7. I'm currently running version 0.10.0 - from docker hub. I used to run snmpcollector on a physical server but I started moving applications to docker, and for some reason any version of snmpcollector doesn't write to my Influxdb (all docker).
- Here is the export of one device (I've also attached it):
{"Info":{"FileName":"bulkexport_APC01_20211011_93.json","Description":"Autogenerated","Author":"snmpcollector","Tags":"","AgentVersion":"0.10.0","ExportVersion":"1.0","CreationDate":"2021-10-11T16:03:58.234381007Z"},"Objects":[{"ObjectTypeID":"snmpmetriccfg","ObjectID":"apc-ups-upsProbeCurrentHumid","Options":null,"ObjectCfg":{"ID":"apc-ups-upsProbeCurrentHumid","FieldName":"apc-ups-upsProbeCurrentHumid","Description":" The current humidity reading from the probe in percent\nrelative humidity.","BaseOID":".1.3.6.1.4.1.318.1.1.10.2.3.2.1.6","DataSrcType":"INTEGER","GetRate":false,"Scale":0,"Shift":0,"IsTag":false,"ExtraData":"","Conversion":0},"Error":""},{"ObjectTypeID":"snmpmetriccfg","ObjectID":"apc-ups-upsProbeCurrentTemp","Options":null,"ObjectCfg":{"ID":"apc-ups-upsProbeCurrentTemp","FieldName":"apc-ups-upsProbeCurrentTemp","Description":" The current temperature reading from the probe displayed\nin the units shown in the 'iemStatusProbeTempUnits' OID\n(Celsius or Fahrenheit).","BaseOID":".1.3.6.1.4.1.318.1.1.10.2.3.2.1.4","DataSrcType":"INTEGER","GetRate":false,"Scale":0,"Shift":0,"IsTag":false,"ExtraData":"","Conversion":0},"Error":""},{"ObjectTypeID":"snmpmetriccfg","ObjectID":"apc-ups-upsProbeStatus","Options":null,"ObjectCfg":{"ID
bulkexport_APC01_20211011_93.txt
":"apc-ups-upsProbeStatus","FieldName":"apc-ups-upsProbeStatus","Description":" The connected status of the probe, either\ndisconnected(1) or connected(2).","BaseOID":".1.3.6.1.4.1.318.1.1.10.2.3.2.1.3","DataSrcType":"INTEGER","GetRate":false,"Scale":0,"Shift":0,"IsTag":false,"ExtraData":"","Conversion":0},"Error":""},{"ObjectTypeID":"snmpmetriccfg","ObjectID":"apc-ups-upsProbeName","Options":null,"ObjectCfg":{"ID":"apc-ups-upsProbeName","FieldName":"apc-ups-upsProbeName","Description":" A descriptive name for the probe set by the user.","BaseOID":".1.3.6.1.4.1.318.1.1.10.2.3.2.1.2","DataSrcType":"OCTETSTRING","GetRate":false,"Scale":0,"Shift":0,"IsTag":false,"ExtraData":"","Conversion":0},"Error":""},{"ObjectTypeID":"measurementcfg","ObjectID":"apc-ups-upsProbeTable","Options":null,"ObjectCfg":{"ID":"apc-ups-upsProbeTable","Name":"apc-ups-upsProbeNumber","GetMode":"indexed","IndexOID":".1.3.6.1.4.1.318.1.1.10.2.3.2.1.1","TagOID":"","MultiTagOID":null,"IndexTag":"apc-ups-upsProbeNumber","IndexTagFormat":"","IndexAsValue":false,"MultiIndexCfg":null,"MultiIndexResult":"","MultiIndexVersion":"","Fields":[{"ID":"apc-ups-upsProbeName","Report":1},{"ID":"apc-ups-upsProbeStatus","Report":1},{"ID":"apc-ups-upsProbeCurrentTemp","Report":1},{"ID":"apc-ups-upsProbeCurrentHumid","Report":1}],"Description":" The index of the probe."},"Error":""},{"ObjectTypeID":"snmpmetriccfg","ObjectID":"apc-ups-upsFrequency","Options":null,"ObjectCfg":{"ID":"apc-ups-upsFrequency","FieldName":"apc-ups-upsFrequency","Description":"The input energy usage of the UPS in kWh.","BaseOID":".1.3.6.1.4.1.318.1.1.1.3.2.4.0","DataSrcType":"Gauge32","GetRate":false,"Scale":0,"Shift":0,"IsTag":false,"ExtraData":"","Conversion":0},"Error":""},{"ObjectTypeID":"snmpmetriccfg","ObjectID":"apc-ups-upsVoltage","Options":null,"ObjectCfg":{"ID":"apc-ups-upsVoltage","FieldName":"apc-ups-upsVoltage","Description":" The current utility line voltage in VAC.","BaseOID":".1.3.6.1.4.1.318.1.1.1.3.2.1.0","DataSrcType":"Gauge32","GetRate":false,"Scale":0,"Shift":0,"IsTag":false,"ExtraData":"","Conversion":0},"Error":""},{"ObjectTypeID":"snmpmetriccfg","ObjectID":"apc-ups-upsBatteryLoad","Options":null,"ObjectCfg":{"ID":"apc-ups-upsBatteryLoad","FieldName":"apc-ups-upsBatteryLoad","Description":" The current UPS load expressed in tenths of percent\nof rated capacity.","BaseOID":".1.3.6.1.4.1.318.1.1.1.4.3.3.0","DataSrcType":"Gauge32","GetRate":false,"Scale":0,"Shift":0,"IsTag":false,"ExtraData":"","Conversion":0},"Error":""},{"ObjectTypeID":"measurementcfg","ObjectID":"APC-QuickStats","Options":null,"ObjectCfg":{"ID":"APC-QuickStats","Name":"APC-QuickStats","GetMode":"value","IndexOID":"","TagOID":"","MultiTagOID":null,"IndexTag":"","IndexTagFormat":"","IndexAsValue":false,"MultiIndexCfg":null,"MultiIndexResult":"","MultiIndexVersion":"","Fields":[{"ID":"apc-ups-upsBatteryLoad","Report":1},{"ID":"apc-ups-upsVoltage","Report":1},{"ID":"apc-ups-upsFrequency","Report":1}],"Description":""},"Error":""},{"ObjectTypeID":"snmpmetriccfg","ObjectID":"apc-ups-upsBasicBatteryRunTimeRemaining","Options":null,"ObjectCfg":{"ID":"apc-ups-upsBasicBatteryRunTimeRemaining","FieldName":"apc-ups-upsBasicBatteryRunTimeRemaining","Description":" The UPS battery run time remaining before battery\nexhaustion.","BaseOID":".1.3.6.1.4.1.318.1.1.1.2.2.3.0","DataSrcType":"TimeTicks","GetRate":false,"Scale":0,"Shift":0,"IsTag":false,"ExtraData":"","Conversion":0},"Error":""},{"ObjectTypeID":"snmpmetriccfg","ObjectID":"apc-ups-upsBasicBatteryTemperature","Options":null,"ObjectCfg":{"ID":"apc-ups-upsBasicBatteryTemperature","FieldName":"apc-ups-upsBasicBatteryTemperature","Description":" The current internal UPS temperature expressed in\nCelsius.","BaseOID":".1.3.6.1.4.1.318.1.1.1.2.2.2.0","DataSrcType":"Integer32","GetRate":false,"Scale":0,"Shift":0,"IsTag":false,"ExtraData":"","Conversion":0},"Error":""},{"ObjectTypeID":"snmpmetriccfg","ObjectID":"apc-ups-upsBasicBatteryTimeOnBattery","Options":null,"ObjectCfg":{"ID":"apc-ups-upsBasicBatteryTimeOnBattery","FieldName":"apc-ups-upsBasicBatteryTimeOnBattery","Description":" The elapsed time since the UPS has switched to battery\npower.","BaseOID":".1.3.6.1.4.1.318.1.1.1.2.1.2.0","DataSrcType":"TIMETICKS","GetRate":false,"Scale":0,"Shift":0,"IsTag":false,"ExtraData":"","Conversion":0},"Error":""},{"ObjectTypeID":"measurementcfg","ObjectID":"APC-BasicBattery-Info","Options":null,"ObjectCfg":{"ID":"APC-BasicBattery-Info","Name":"APC-BasicBattery-Info","GetMode":"value","IndexOID":"","TagOID":"","MultiTagOID":null,"IndexTag":"","IndexTagFormat":"","IndexAsValue":false,"MultiIndexCfg":null,"MultiIndexResult":"","MultiIndexVersion":"","Fields":[{"ID":"apc-ups-upsBasicBatteryTimeOnBattery","Report":1},{"ID":"apc-ups-upsBasicBatteryTemperature","Report":1},{"ID":"apc-ups-upsBasicBatteryRunTimeRemaining","Report":1}],"Description":""},"Error":""},{"ObjectTypeID":"snmpmetriccfg","ObjectID":"apc-ups-upsBasicBatteryReplaceIndicator","Options":null,"ObjectCfg":{"ID":"apc-ups-upsBasicBatteryReplaceIndicator","FieldName":"apc-ups-upsBasicBatteryReplaceIndicator","Description":" Indicates whether the UPS batteries need replacing. noBatteryNeedsReplacing(1), batteryNeedsReplacing(2)","BaseOID":".1.3.6.1.4.1.318.1.1.1.2.2.4.0","DataSrcType":"INTEGER","GetRate":false,"Scale":0,"Shift":0,"IsTag":false,"ExtraData":"","Conversion":0},"Error":""},{"ObjectTypeID":"snmpmetriccfg","ObjectID":"apc-ups-upsBasicBatteryLastReplaceDate","Options":null,"ObjectCfg":{"ID":"apc-ups-upsBasicBatteryLastReplaceDate","FieldName":"apc-ups-upsBasicBatteryLastReplaceDate","Description":" The date when the UPS system's batteries were last replaced\nin mm/dd/yy (or yyyy) format. For Smart-UPS models, this value\nis originally set in the factory. When the UPS batteries\nare replaced, this value should be reset by the administrator.\nFor Symmetra PX 250/500 this OID is read only and is configurable in the local display only.","BaseOID":".1.3.6.1.4.1.318.1.1.1.2.1.3.0","DataSrcType":"OCTETSTRING","GetRate":false,"Scale":0,"Shift":0,"IsTag":false,"ExtraData":"","Conversion":0},"Error":""},{"ObjectTypeID":"snmpmetriccfg","ObjectID":"apc-ups-upsBasicBatteryStatus","Options":null,"ObjectCfg":{"ID":"apc-ups-upsBasicBatteryStatus","FieldName":"apc-ups-upsBasicBatteryStatus","Description":" The status of the UPS batteries. A batteryLow(3) value\nindicates the UPS will be unable to sustain the current\nload, and its services will be lost if power is not restored.\nThe amount of run time in reserve at the time of low battery\ncan be configured by the upsAdvConfigLowBatteryRunTime.\nA batteryInFaultCondition(4)value indicates that a battery\ninstalled has an internal error condition.","BaseOID":".1.3.6.1.4.1.318.1.1.1.2.1.1.0","DataSrcType":"INTEGER","GetRate":false,"Scale":0,"Shift":0,"IsTag":false,"ExtraData":"","Conversion":0},"Error":""},{"ObjectTypeID":"snmpmetriccfg","ObjectID":"apc-ups-upsAdvTestLastDiagDate","Options":null,"ObjectCfg":{"ID":"apc-ups-upsAdvTestLastDiagDate","FieldName":"apc-ups-upsAdvTestLastDiagDate","Description":" The date the last UPS diagnostics test was performed in\nmm/dd/yy format.","BaseOID":".1.3.6.1.4.1.318.1.1.1.7.2.4.0","DataSrcType":"OCTETSTRING","GetRate":false,"Scale":0,"Shift":0,"IsTag":false,"ExtraData":"","Conversion":0},"Error":""},{"ObjectTypeID":"snmpmetriccfg","ObjectID":"apc-ups-upsAdvTestDiagnosticsResults","Options":null,"ObjectCfg":{"ID":"apc-ups-upsAdvTestDiagnosticsResults","FieldName":"apc-ups-upsAdvTestDiagnosticsResults","Description":" The results of the last UPS diagnostics test performed.ok(1), failed(2), invalidTest(3), testInProgress(4)","BaseOID":".1.3.6.1.4.1.318.1.1.1.7.2.3.0","DataSrcType":"INTEGER","GetRate":false,"Scale":0,"Shift":0,"IsTag":false,"ExtraData":"","Conversion":0},"Error":""},{"ObjectTypeID":"snmpmetriccfg","ObjectID":"apc-ups-upsAdvTestDiagnostics","Options":null,"ObjectCfg":{"ID":"apc-ups-upsAdvTestDiagnostics","FieldName":"apc-ups-upsAdvTestDiagnostics","Description":" Setting this variable to testDiagnostics(2) causes\nthe UPS to perform a diagnostic self test.\nSetting this value to noTestDiagnostics(1) has no\neffect.\nThe value noTestDiagnostics(1) will always be returned\nwhen the variable is read.","BaseOID":".1.3.6.1.4.1.318.1.1.1.7.2.2.0","DataSrcType":"INTEGER","GetRate":false,"Scale":0,"Shift":0,"IsTag":false,"ExtraData":"","Conversion":0},"Error":""},{"ObjectTypeID":"snmpmetriccfg","ObjectID":"apc-ups-upsAdvTestDiagSch","Options":null,"ObjectCfg":{"ID":"apc-ups-upsAdvTestDiagSch","FieldName":"apc-ups-upsAdvTestDiagSch","Description":" The UPS system's automatic battery test schedule. unknown(1), biweekly(2), weekly(3), atTurnOn(4), never(5), fourWeeks(6), twelveWeeks(7), biweeklySinceLastTest(8), weeklySinceLastTest(9), eightWeeks(10), twentysixWeeks(11), fiftytwoWeeks(12)","BaseOID":"..1.3.6.1.4.1.318.1.1.1.7.2.1.0","DataSrcType":"INTEGER","GetRate":false,"Scale":0,"Shift":0,"IsTag":false,"ExtraData":"","Conversion":0},"Error":""},{"ObjectTypeID":"snmpmetriccfg","ObjectID":"apc-ups-upsAdvIdentSerialNumber","Options":null,"ObjectCfg":{"ID":"apc-ups-upsAdvIdentSerialNumber","FieldName":"apc-ups-upsAdvIdentSerialNumber","Description":" An 8-character string identifying the serial number of\nthe UPS internal microprocessor. This number is set at\nthe factory. NOTE:This number does NOT correspond to\nthe serial number on the rear of the UPS.","BaseOID":".1.3.6.1.4.1.318.1.1.1.1.2.3.0","DataSrcType":"OCTETSTRING","GetRate":false,"Scale":0,"Shift":0,"IsTag":false,"ExtraData":"","Conversion":0},"Error":""},{"ObjectTypeID":"snmpmetriccfg","ObjectID":"apc-ups-upsBasicIdentName","Options":null,"ObjectCfg":{"ID":"apc-ups-upsBasicIdentName","FieldName":"apc-ups-upsBasicIdentName","Description":" An 8 byte ID string identifying the UPS. This object\ncan be set by the administrator.","BaseOID":".1.3.6.1.4.1.318.1.1.1.1.1.2.0","DataSrcType":"OCTETSTRING","GetRate":false,"Scale":0,"Shift":0,"IsTag":false,"ExtraData":"","Conversion":0},"Error":""},{"ObjectTypeID":"snmpmetriccfg","ObjectID":"apc-ups-upsBasicIdentModel","Options":null,"ObjectCfg":{"ID":"apc-ups-upsBasicIdentModel","FieldName":"apc-ups-upsBasicIdentModel","Description":" The UPS model name (e.g. 'APC Smart-UPS 600').","BaseOID":".1.3.6.1.4.1.318.1.1.1.1.1.1.0","DataSrcType":"OCTETSTRING","GetRate":false,"Scale":0,"Shift":0,"IsTag":false,"ExtraData":"","Conversion":0},"Error":""},{"ObjectTypeID":"snmpmetriccfg","ObjectID":"apc-system-sysLocation","Options":null,"ObjectCfg":{"ID":"apc-system-sysLocation","FieldName":"apc-system-sysLocation","Description":" The physical location of this node (e.g.,\n`telephone closet, 3rd floor').","BaseOID":".1.3.6.1.2.1.1.6.0","DataSrcType":"OCTETSTRING","GetRate":false,"Scale":0,"Shift":0,"IsTag":false,"ExtraData":"","Conversion":0},"Error":""},{"ObjectTypeID":"snmpmetriccfg","ObjectID":"apc-system-sysUpName","Options":null,"ObjectCfg":{"ID":"apc-system-sysUpName","FieldName":"apc-system-sysUpName","Description":" An administratively-assigned name for this\nmanaged node. By convention, this is the node's\nfully-qualified domain name.","BaseOID":".1.3.6.1.2.1.1.5.0","DataSrcType":"OCTETSTRING","GetRate":false,"Scale":0,"Shift":0,"IsTag":false,"ExtraData":"","Conversion":0},"Error":""},{"ObjectTypeID":"snmpmetriccfg","ObjectID":"apc-system-sysUpTime","Options":null,"ObjectCfg":{"ID":"apc-system-sysUpTime","FieldName":"apc-system-sysUpTime","Description":" The time (in hundredths of a second) since the\nnetwork management portion of the system was last\nre-initialized","BaseOID":".1.3.6.1.2.1.1.3.0","DataSrcType":"TimeTicks","GetRate":false,"Scale":0,"Shift":0,"IsTag":false,"ExtraData":"","Conversion":0},"Error":""},{"ObjectTypeID":"snmpmetriccfg","ObjectID":"apc-system-sysDescr","Options":null,"ObjectCfg":{"ID":"apc-system-sysDescr","FieldName":"apc-system-sysDescr","Description":" A textual description of the entity. This value\nshould include the full name and version\nidentification of the system's hardware type,\nsoftware operating-system, and networking\nsoftware. It is mandatory that this only contain\nprintable ASCII characters.","BaseOID":".1.3.6.1.2.1.1.1.0","DataSrcType":"OCTETSTRING","GetRate":false,"Scale":0,"Shift":0,"IsTag":false,"ExtraData":"","Conversion":0},"Error":""},{"ObjectTypeID":"measurementcfg","ObjectID":"APC-Basic-Info","Options":null,"ObjectCfg":{"ID":"APC-Basic-Info","Name":"APC-Basic-Info","GetMode":"value","IndexOID":"","TagOID":"","MultiTagOID":null,"IndexTag":"","IndexTagFormat":"","IndexAsValue":false,"MultiIndexCfg":null,"MultiIndexResult":"","MultiIndexVersion":"","Fields":[{"ID":"apc-system-sysDescr","Report":1},{"ID":"apc-system-sysUpTime","Report":1},{"ID":"apc-system-sysUpName","Report":1},{"ID":"apc-system-sysLocation","Report":1},{"ID":"apc-ups-upsBasicIdentModel","Report":1},{"ID":"apc-ups-upsBasicIdentName","Report":1},{"ID":"apc-ups-upsAdvIdentSerialNumber","Report":1},{"ID":"apc-ups-upsAdvTestDiagSch","Report":1},{"ID":"apc-ups-upsAdvTestDiagnostics","Report":1},{"ID":"apc-ups-upsAdvTestDiagnosticsResults","Report":1},{"ID":"apc-ups-upsAdvTestLastDiagDate","Report":1},{"ID":"apc-ups-upsBasicBatteryStatus","Report":1},{"ID":"apc-ups-upsBasicBatteryLastReplaceDate","Report":1},{"ID":"apc-ups-upsBasicBatteryRunTimeRemaining","Report":1},{"ID":"apc-ups-upsBasicBatteryReplaceIndicator","Report":1}],"Description":""},"Error":""},{"ObjectTypeID":"measgroupcfg","ObjectID":"APC","Options":null,"ObjectCfg":{"ID":"APC","Measurements":["APC-Basic-Info","APC-BasicBattery-Info","APC-QuickStats","APC-TestData","apc-ups-upsProbeTable"],"Description":""},"Error":""},{"ObjectTypeID":"snmpdevicecfg","ObjectID":"APC01","Options":null,"ObjectCfg":{"ID":"APC01","Host":"10.0.0.51","Port":161,"SystemOIDs":[""],"Retries":5,"Timeout":20,"Repeat":0,"Active":true,"SnmpVersion":"1","Community":"public","V3SecLevel":"","V3AuthUser":"","V3AuthPass":"","V3AuthProt":"","V3PrivPass":"","V3PrivProt":"","V3ContextEngineID":"","V3ContextName":"","DisableBulk":false,"MaxRepetitions":50,"Freq":60,"UpdateFltFreq":60,"ConcurrentGather":true,"OutDB":"default","LogLevel":"info","LogFile":"","SnmpDebug":false,"DeviceTagName":"UPS","DeviceTagValue":"id","ExtraTags":[""],"DeviceVars":null,"Description":"","MeasurementGroups":["APC"],"MeasFilters":null},"Error":""}]
bulkexport_APC01_20211011_93.txt
}
from snmpcollector.
Hello @mattroell , from 0.7.7 to 0.11.0 just released yesterday has been some breaking changes that system administrators should resolve. ( by example https://github.com/toni-moreno/snmpcollector/blob/master/CHANGELOG.md#breaking-changes-5, and also https://github.com/toni-moreno/snmpcollector/blob/master/CHANGELOG.md#breaking-changes-4 )
Upgrading from server daemon based snmpcollector to a docker based should be done carefully.Config seems to be fine. Let me know if you need professional support and I will redirect to our support manager.
from snmpcollector.
Hi @toni-moreno I just finished setting up v 0.11.0 and its running great.
from snmpcollector.
@mattroell this is a really excellent new, anyway 0.9.X and 0.10.0 has been working on production for months.
from snmpcollector.
Related Issues (20)
- [Bug] Docker Build Error/Deprecated Node Depedencies HOT 12
- [Feature Request ] Refactor old logrus logger to new more performant and structured logging framework HOT 1
- [Bug] non-positive interval for NewTicker HOT 7
- [FR] Normalise versioning tags to vX.Y.Z
- Force returned values as signed int32? HOT 4
- [Bug] Device stats metrics `filter_duration` always is 0
- [Bug] Device SysInfo doesn't update if the device is restarted
- [Bug] SNMP queries retries/timeout option changes to 0/5sec on some devices from version 0.12
- [Question] Filtering Requests HOT 1
- cluster
- Alternate OID Problem/Question HOT 2
- [Feature Request] - Distributed collectors
- [Bug] MultiIndex measurement not reloaded on some cases - use of closed network connection
- Installation Process Hiccups : Does not install with ease ( requires python27 in 2022) HOT 1
- Installation Guide? HOT 6
- [Bug] Adding a metric with a slash(/) in the ID causes 404 errors when trying to edit the metric
- [Security/Build] Node/NPM Dependencies are Out-of-Date & Build Fails w/o Python2
- Cumulus Linux device not connecting
- Get self monitoring grafana dashboards for older collector versions
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from snmpcollector.